Commit Graph

13386 Commits

Author SHA1 Message Date
twinaphex
a844c3997a (GL) Get rid of some more _func macros 2014-10-02 15:43:11 +02:00
twinaphex
ca004c370c (HLSL) Cleanup hlsl_filter_type too 2014-10-02 15:25:51 +02:00
twinaphex
4c6fa4f059 (Cg/GLSL) Cleanups to filter_type implementation 2014-10-02 15:25:01 +02:00
twinaphex
e7e441d32d Rename shader_cg.c to shader_gl_cg.c 2014-10-02 15:19:21 +02:00
twinaphex
b22cf18228 (GL/Shaders) Put fixed-function vertex/matrix coord code inside shader
backend files as fallback routines
2014-10-02 15:17:21 +02:00
twinaphex
53c7bf65ed Turn fixed-function vertex coord/matrix code into macros 2014-10-02 14:50:24 +02:00
twinaphex
aed7afb31d Move gl_shader_set_coords from gl.c to gl_common.c 2014-10-02 14:20:50 +02:00
twinaphex
7e2dd769e9 (GL) Simplify gl_shader_set_coords 2014-10-02 14:13:08 +02:00
twinaphex
59be30825c (GL) Do away with most of the checks for 'shader' now that shader
will never be NULL
2014-10-02 14:05:11 +02:00
twinaphex
4fbbb8aa2f (GL) Always have gl->shader point to a valid driver (including nullshader) 2014-10-02 13:47:45 +02:00
twinaphex
64c2305017 Add 'ident' to shader driver - add shader context functions 2014-10-02 13:42:40 +02:00
Twinaphex
7bfde3df63 Merge pull request #1077 from lakkatv/lakka
(Lakka) Un-hardcode alpha values
2014-10-02 13:39:05 +02:00
Jean-André Santoni
30f4572fda (Lakka) Un-hardcode alpha values 2014-10-02 13:36:03 +02:00
Twinaphex
860c690cbf Merge pull request #1076 from heuripedes/sdl2-device-ids
(SDL2) Implement joypad vendor/product id detection
2014-10-02 13:34:01 +02:00
twinaphex
6c675e6580 Create gfx/gl_common.c 2014-10-02 13:32:42 +02:00
Higor Eurípedes
9bcf72a7e2 (SDL2) Implement joypad vendor/product id detection 2014-10-02 08:29:06 -03:00
twinaphex
b2f6a025c8 Create shader_gl_common.c 2014-10-02 13:27:35 +02:00
twinaphex
6b054da299 Rename shader_common to shader_context 2014-10-02 13:21:45 +02:00
twinaphex
28ab662668 (PS3) Build fixes 2014-10-02 13:00:04 +02:00
twinaphex
75be6ccec9 (GL) Turn gl_set_projection into a static function too 2014-10-02 12:57:01 +02:00
twinaphex
c574025370 (GL) Make gl_deinit_fbo a static function again 2014-10-02 12:55:19 +02:00
twinaphex
486dc3adec Get rid of shader_cg.h header 2014-10-02 12:50:27 +02:00
twinaphex
dd506443e9 gl_set_shader - don't set shader backend to 'null shader driver'
if shader type cannot be determined
2014-10-02 12:15:14 +02:00
twinaphex
f1c9343285 (GL) Make gl_init_fbo a static function again 2014-10-02 12:14:12 +02:00
twinaphex
780c3220a0 Build fix for targets with shaders - get rid of now
obsolete menu_common_backend.h header
2014-10-02 11:36:52 +02:00
twinaphex
e07ae03047 (GX) Build fix 2014-10-02 11:34:06 +02:00
twinaphex
e4fd66ed98 (menu_shader.c) Fix dependency on shaders being there 2014-10-02 11:31:31 +02:00
twinaphex
89e449cc86 Get rid of header dependencies on GL in shader_common.h 2014-10-02 11:27:11 +02:00
twinaphex
039a5d7ab3 Create shader_null.c and make shader_backend less dependent
on GL
2014-10-02 11:11:34 +02:00
twinaphex
2e4352dea4 (GL) Pass shader pointer to gl_frame_fbo 2014-10-02 10:45:20 +02:00
twinaphex
475283a35f (GL) Grab pointer to shader first 2014-10-02 10:39:13 +02:00
twinaphex
6316876ad3 (GL) Cleanup gl_shader_set_coords 2014-10-02 10:34:52 +02:00
twinaphex
a1260e05bd (GL) Some further cleanups 2014-10-02 10:27:36 +02:00
twinaphex
cc174d041c (GL) Get rid of context_destroy_func macro 2014-10-02 10:24:41 +02:00
twinaphex
2637c45b9a (GL) gl_common.h - get rid of some macros 2014-10-02 10:21:36 +02:00
twinaphex
1b45023528 Move get_alignment inlined function to gfx/gl.c 2014-10-02 01:11:01 +02:00
twinaphex
33398a550b (py_state.c) Indenting - style nits 2014-10-02 01:09:03 +02:00
twinaphex
c861b4f994 Move gl_wrap_type_to_enum to gfx/gl.c 2014-10-02 01:02:13 +02:00
twinaphex
306d1f8809 (GL/Gfx) Cleanup 2014-10-02 00:49:38 +02:00
twinaphex
ca12482af0 Move shader files to gfx/shader/ 2014-10-02 00:45:11 +02:00
twinaphex
2afcb61f37 (GL) Turn set_texture_coords into macro 2014-10-02 00:35:01 +02:00
Twinaphex
a9850a1ea7 Merge pull request #1075 from lakkatv/lakka
(Lakka) Fix label display with video_threaded
2014-10-01 23:54:01 +02:00
twinaphex
da42ab2ad5 (GL) Style nits pt. 2 2014-10-01 23:53:18 +02:00
Jean-André Santoni
abe6aa79fe (Lakka) Fix label display with video_threaded 2014-10-01 23:52:04 +02:00
twinaphex
7ae81daba9 (GL) Style nits 2014-10-01 23:50:58 +02:00
twinaphex
3a2f3755ad Rename some files 2014-10-01 23:27:52 +02:00
Twinaphex
3c760d27a8 Merge pull request #1074 from lakkatv/lakka
(Lakka) Make effects depending on FBO optional and disabled for now
2014-10-01 23:00:22 +02:00
twinaphex
0135d763db Move g_extern.netplay to driver.netplay_data 2014-10-01 23:00:05 +02:00
Jean-André Santoni
66cf8bd820 (Lakka) Make effects depending on FBO optional and disabled for now 2014-10-01 22:44:36 +02:00
twinaphex
dead11f182 Move driver_active variables over to driver global 2014-10-01 22:34:48 +02:00