Commit Graph

1377 Commits

Author SHA1 Message Date
Themaister 7a20cfa79c Don't crash if Cg is init with NULL. 2013-04-06 20:50:22 +02:00
twinaphex 7111558359 wgl_ctx.c - ifdef HAVE_EGL portions of code 2013-04-06 19:28:19 +02:00
twinaphex a57f03e682 (PS3/XDK) Remove stub EGL image functions 2013-04-06 19:17:39 +02:00
twinaphex fde1ea7193 (PS3 PSGL) No longer ifndef float FBOs - also no longer have
separate copies of gl_copy_frame for PSGL etc.
2013-04-06 18:40:50 +02:00
twinaphex ec0e3e6087 (RMenu) Remove RMenu screenshot_dump function pointer - implement
screenshot_dump instead for XDK1
2013-04-06 18:14:06 +02:00
twinaphex 1c5144f9bd (RMenu) Move RMenu logic out of graphics driver context files 2013-04-06 17:44:07 +02:00
twinaphex 9a4ddfd2e0 Forgot a conditional check in shader_cg.c before doing freeing of
menu_cg_program - some other cleanups to do with setting stock
shaders in Cg
2013-04-06 16:29:00 +02:00
Themaister bd550ce53c Remove glsl in shader_parse.
It'll be done slightly different later.
2013-04-06 14:10:09 +02:00
Themaister e649db253c Reintroduce CGP refactor.
Fix several issues that caused crashes.
2013-04-06 12:00:10 +02:00
Themaister c3ac3028b5 Reuse gl_disable_client_arrays. 2013-04-06 11:26:06 +02:00
twinaphex a2d9129782 Kill off set_fbo_state and get_fbo_state function pointers 2013-04-06 06:21:11 +02:00
twinaphex eb0feac9e3 (PS3/All) Purge fixed-style shaders again - this time avoiding
breakage on PS3. Maister -you will need to redo shader_parse.c
again though - and this time I need to test it on PS3 to avoid
a regression that happened two pages prior again
2013-04-06 05:46:09 +02:00
twinaphex 0340f2043c Revert "Major refactor to CGP parsing."
This reverts commit 211e17250c.
2013-04-06 04:37:17 +02:00
twinaphex 8396f71004 Revert "Don't dump frame_count_mod unless needed."
This reverts commit eeddfea425.
2013-04-06 04:37:05 +02:00
twinaphex 881e7a299d Revert "Don't compile in debug dump."
This reverts commit a5dfbb8a85.
2013-04-06 04:36:54 +02:00
twinaphex 2484c4e526 Revert "(Cg) Take out second_pass_shader / FBO functionality - everything"
This reverts commit deeaf981f7.
2013-04-06 03:55:17 +02:00
twinaphex 1c87c26e72 Revert "(HLSL Xbox 360) Take out second_pass_shader/fbo"
This reverts commit 5172168143.
2013-04-06 03:55:07 +02:00
twinaphex 58b6de008b Revert "Purge fixed-style second_pass_shader."
This reverts commit 160bbf0218.
2013-04-06 03:54:38 +02:00
twinaphex 83ffe437b3 Revert "Fix Win32 build."
This reverts commit cf655355d7.
2013-04-06 03:54:18 +02:00
twinaphex c083efb5a4 Revert "Remove obsolete struct."
This reverts commit 7ea61067ec.
2013-04-06 03:53:44 +02:00
twinaphex 820fcbaa07 Revert "Don't set prg[2] with load_plain()."
This reverts commit a19d1e9776.
2013-04-06 03:53:27 +02:00
twinaphex e889f5c548 Revert "Remove redundant line."
This reverts commit 2a09f52cc8.
2013-04-06 03:53:07 +02:00
Themaister 2a09f52cc8 Remove redundant line. 2013-04-06 00:26:14 +02:00
Themaister a19d1e9776 Don't set prg[2] with load_plain(). 2013-04-06 00:22:27 +02:00
Themaister 7ea61067ec Remove obsolete struct. 2013-04-06 00:18:18 +02:00
Themaister cf655355d7 Fix Win32 build. 2013-04-06 00:06:51 +02:00
Themaister 160bbf0218 Purge fixed-style second_pass_shader. 2013-04-06 00:03:28 +02:00
twinaphex 5172168143 (HLSL Xbox 360) Take out second_pass_shader/fbo 2013-04-05 23:51:33 +02:00
twinaphex deeaf981f7 (Cg) Take out second_pass_shader / FBO functionality - everything
will go through CGP files from now on
2013-04-05 23:48:18 +02:00
OV2 a49f0ef576 win32: fix x/y scale types 2013-04-04 23:23:16 +02:00
OV2 2b1082df63 derp 2013-04-04 21:23:00 +02:00
OV2 7924e06732 win32: respect last float_framebuffer if applicable 2013-04-04 21:15:35 +02:00
Themaister 262b867ae0 Update MSVC2010 build.
Add RGUI, add folder query for Windows, fix GL HW render bug.
2013-04-04 20:25:41 +02:00
Themaister bae11ddc24 Fix CXX_BUILD. 2013-04-04 14:36:24 +02:00
OV2 d1b384ccaf win32: d3d9 float_fbo fix 2013-04-04 01:01:06 +02:00
Themaister d550a263ae Merge branch 'cgp-refactor' of github.com:Themaister/RetroArch into cgp-refactor 2013-04-03 21:09:03 +02:00
Themaister 52edca883e Drop stencil for now in HW render context.
Doesn't seem to work reliably anyways.
2013-04-02 23:29:26 +02:00
Themaister 248e3ddfe6 Deprecate "ruby" prefix and legacy XML shaders. 2013-04-02 23:14:14 +02:00
Themaister 3b392dfcd6 Rename bsnes_shader_path to xml_shader_path. 2013-04-02 22:40:26 +02:00
Themaister a5dfbb8a85 Don't compile in debug dump. 2013-04-01 15:41:01 +02:00
Themaister eeddfea425 Don't dump frame_count_mod unless needed. 2013-04-01 15:40:11 +02:00
Themaister 211e17250c Major refactor to CGP parsing.
Adds saving functionality for CGPs.
2013-04-01 15:34:02 +02:00
Themaister 73df40fe8e Use better scope on RGL ifdef. 2013-03-30 15:40:53 +01:00
twinaphex 454c329746 (PS3) If HAVE_RGL is defined, GL render subsystem will not be
built in
2013-03-30 15:39:00 +01:00
OV2 0c3b1a7514 style 2013-03-30 14:37:29 +01:00
Hans-Kristian Arntzen ebd7dcf721 Merge pull request #169 from Themaister/gl-render
HW GL render for libretro.
2013-03-30 06:33:53 -07:00
OV2 144fb0de43 win32: set stock shaders after last pass, destroy cg programs on deinit 2013-03-30 14:20:40 +01:00
OV2 c9f4db8dcc win32: add float_framebuffer and frame_count_mod to d3d9 2013-03-30 14:20:34 +01:00
twinaphex 76ddce84a3 (RGL PS3) Cleanups - we don't need string/enum reporting 2013-03-29 18:58:50 +01:00
Themaister 292bc36b43 Basic mouse grabbing for X11. 2013-03-29 18:55:54 +01:00