Commit Graph

45 Commits

Author SHA1 Message Date
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister
6dd7ea935e Add GL_SHADER_STOCK_BLEND.
Replace stock shader with a special shader which does not apply color.
This is a necessary on Android.
2013-04-20 15:46:50 +02:00
twinaphex
b7ebfa6945 (GL/PS3) Get rid of gl_cg_reinit - no longer needed anymore 2013-04-12 22:19:37 +02:00
twinaphex
a6db35875d (Cg/HLSL) Since everything goes through the shader backend interface now,
we can drop public scope on all the functions and make them static
instead
2013-04-12 21:25:16 +02:00
twinaphex
6aadc5f2c2 (Cg) Remove Cg menu shader 2013-04-10 11:28:44 +02:00
twinaphex
142c6335c9 (Cg/PS3) Embed menu shader 2013-04-06 21:05:30 +02:00
Themaister
e649db253c Reintroduce CGP refactor.
Fix several issues that caused crashes.
2013-04-06 12:00:10 +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
c083efb5a4 Revert "Remove obsolete struct."
This reverts commit 7ea61067ec.
2013-04-06 03:53:44 +02:00
Themaister
7ea61067ec Remove obsolete struct. 2013-04-06 00:18:18 +02:00
Themaister
211e17250c Major refactor to CGP parsing.
Adds saving functionality for CGPs.
2013-04-01 15:34:02 +02:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister
3e77039a42 Rewrite how gl.c interfaces with shader backends. 2012-11-14 22:51:08 +01:00
Themaister
4c99652a60 Rework attribute and MVP passing in GL. 2012-09-11 23:32:00 +02:00
Themaister
a283a54bee Use calculated MVP directly in shader params. 2012-08-09 23:21:59 +02:00
Themaister
ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister
aab8fb6151 ssnes_* => rarch_*. 2012-04-21 23:25:32 +02:00
Themaister
9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
Themaister
e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister
62c96ea937 Change license header. 2012-04-09 22:03:57 +02:00
Themaister
9698cd7dbd Change headers. 2012-04-09 22:03:57 +02:00
Themaister
9c664b875a LUT info for Cg. 2012-02-22 23:35:01 +01:00
Themaister
a13684c80c gl_cg_invalidate_context. 2012-02-22 20:45:58 +01:00
Themaister
9bcbd27988 Add gl_cg_reinit(). 2012-02-20 16:22:58 +01:00
Themaister
6a7144d41c Add absolute paths to .cgp. 2012-02-20 15:45:38 +01:00
Themaister
315b28862a Add gl_cg_save_cgp(). 2012-02-08 17:23:44 +01:00
Themaister
230f47d00c Add helper function to replace Cg shaders on-the-fly. 2012-01-29 23:43:11 +01:00
Themaister
14ffd07b70 Refactorin' ... 2012-01-25 22:55:34 +01:00
Themaister
9cb5eea20b Add some useful interfaces to Cg for PS3. Some cleanups ... 2012-01-25 22:00:18 +01:00
Themaister
b4248038fb Update license headers. 2012-01-08 01:12:05 +01:00
Themaister
d5fca50a2f Can build for C++. 2011-12-24 15:26:01 +01:00
Themaister
508cfdbda7 Start implementing access to previous texture. 2011-07-03 15:39:35 +02:00
Themaister
eebe0ae5d0 Getting there ... But passN textures aren't set properly ;x 2011-05-23 19:57:52 +02:00
Themaister
f9c5c7c8a5 Path to check initial texture with GLSL. 2011-05-23 17:43:29 +02:00
Themaister
59c6de69b0 Frame counter for shaders. Not in spec currently. 2011-05-11 13:24:59 +02:00
Themaister
e2daab9ce9 Fetch some scale values (this is not in the standard (yet!)) 2011-03-14 22:51:03 +01:00
Themaister
ef19ea7a85 Add fbo structures, ready to implement. :v 2011-03-14 22:09:35 +01:00
Themaister
01cf24f15f Add filter attributes. 2011-03-14 21:28:30 +01:00
Themaister
8b241c3deb Preparation for new XML shader specs. 2011-03-12 15:30:57 +01:00
Themaister
b541c27226 FBO seems to work! :D 2011-03-06 19:56:35 +01:00
Themaister
2267c7d048 Update licensing headers. 2011-01-23 20:29:28 +01:00
Themaister
0c10f10edd Add shaders in the mix. Can disable/enable shaders on the fly. 2011-01-23 00:49:09 +01:00
Themaister
c7e6e73bcb Fix a blooper in headers. 2011-01-17 20:54:58 +01:00
Themaister
633cc43949 Refactor shader code. Start adding code for bSNES xml shaders as well... 2011-01-05 17:22:12 +01:00