41 Commits

Author SHA1 Message Date
twinaphex
9ab31824f8 Use retro_read_file in more places 2016-01-30 03:58:33 +01:00
twinaphex
673aab5282 (PATCH) Strip lines with #pragma parameter.
It's not valid GLSL to have quotes in them, and it's meaningless to pass in the #pragmas to the driver.
2016-01-29 02:07:37 +01:00
twinaphex
2542e4a04e Use CORE_CTL_* callbacks 2016-01-28 03:22:23 +01:00
twinaphex
df972d0fd5 (shader_glsl.c) Uniquely name functions 2016-01-23 04:53:20 +01:00
twinaphex
157eb71606 Use string_is_equal more 2016-01-20 06:16:55 +01:00
twinaphex
71d9a89de9 Revert "gl_glsl_destroy_resources - use glIsBuffer to check if buffer is"
This reverts commit 0deb243c626a3201e0f5e18185ca235665c958cb.
2015-12-09 22:36:43 +01:00
twinaphex
0deb243c62 gl_glsl_destroy_resources - use glIsBuffer to check if buffer is
bound
2015-12-09 18:23:39 +01:00
twinaphex
a710d7057f gl_glsl_destroy_resources - use glIsProgram as a final check 2015-12-09 17:57:25 +01:00
Higor Eurípedes
9bb36cac38 (shader_glsl.c) Fix memory leak 2015-12-06 14:23:51 -03:00
twinaphex
e735f84baa Refactor shader subsystem 2015-12-05 07:33:32 +01:00
twinaphex
8c3c22f15a Move rewind.h header include to shader_glsl.c 2015-12-04 16:54:09 +01:00
Twinaphex
d0340d0f80 (GLSL) Fix regression 2015-12-01 07:12:26 +01:00
twinaphex
321322ab7d (GLSL) Don't use driver struct anymore 2015-11-30 02:20:49 +01:00
twinaphex
239ae7de53 Move gl_common to gfx/common 2015-11-17 08:01:33 +01:00
twinaphex
2d62493157 Cleanups 2015-10-31 20:53:08 +01:00
Twinaphex
89d5eaa7c8 (GLSL) Add precision hack for GLES 2015-10-29 01:39:08 +01:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
Andre Leiradella
5fce3f4138 grouped core functions inside a retro_core_t structure; swapped core function globals by one retro_core_t variable 2015-10-06 14:34:09 -03:00
twinaphex
576626ead0 Refactor frame_is_reversed - shader drivers should no longer
be dependent upon global state
2015-09-16 11:14:43 +02:00
Twinaphex
e8d266cb9d Revert "Revert "Add support for shader pass feedback."" 2015-08-30 18:37:41 +02:00
Twinaphex
ad1825ca50 Revert "Add support for shader pass feedback." 2015-08-30 18:21:07 +02:00
CautiousAlbino
aee5e74001 Add support for shader pass feedback. 2015-08-30 16:23:55 +02:00
twinaphex
4b8e65322c Rename gl_tex_info to gfx_tex_info 2015-07-12 04:16:40 +02:00
twinaphex
527c0c29d4 Rename gl_coords to gfx_coords 2015-07-12 03:57:06 +02:00
twinaphex
4c9077568d Shorten some variables 2015-07-10 19:17:26 +02:00
twinaphex
e74e402cdc More C89 build fixes 2015-06-30 14:37:11 +02:00
Alcaro
febcbc5ce4 C89 cleanups part 2 2015-06-26 17:48:43 +02:00
twinaphex
682867b9a1 MAX_SHADERS should only be defined in gl_common.h 2015-06-22 21:09:18 +02:00
twinaphex
bc592859cc Cleanups 2015-06-15 06:01:54 +02:00
twinaphex
43c8f282db (Gfx) Cleanups 2015-06-13 02:10:06 +02:00
twinaphex
7fbbac544e Some C89 build fixes 2015-04-12 19:29:38 +02:00
twinaphex
16b7b454a9 Move gl_common.c to gfx/drivers 2015-04-09 04:57:17 +02:00
twinaphex
09c481342b Turn gl_ff_vertex/gl_ff_matrix into functions 2015-03-30 02:59:39 +02:00
twinaphex
2409da4afe global_get_ptr update pt. 3 2015-03-21 05:55:31 +01:00
twinaphex
3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex
2f63b75697 Move rewind state variables in struct 2015-02-16 18:09:00 +01:00
twinaphex
ceb09648eb Change to ssize_t 2015-02-16 03:46:27 +01:00
twinaphex
935b112a11 Refactor read_file 2015-02-16 03:31:37 +01:00
twinaphex
da88bcdd91 Rename gfx_shader* to video_shader* 2015-01-19 21:24:08 +01:00
twinaphex
b0548e1329 Properly namespace video_shader_parse.c functions 2015-01-19 21:09:39 +01:00
twinaphex
64411558eb Rename gfx/shader/ to gfx/drivers_shader 2015-01-12 22:23:48 +01:00