Commit Graph

184 Commits

Author SHA1 Message Date
Themaister
9f0211d9d7 Fixup C++ build. 2012-04-09 22:30:29 +02:00
Themaister
e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister
e012e290ae Builds clean. 2012-04-09 22:04:44 +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
Twinaphex
2a6551a62a Fixup includes 2012-03-16 23:31:26 +01: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
21e39eea2b Use config_get_float. 2012-02-13 22:04:25 +01:00
Themaister
5aa6acf031 Add *_equal semantics. 2012-02-12 18:05:33 +01:00
Themaister
9c861f13be Fix additional exclamation marks. 2012-02-11 21:16:01 +01:00
Themaister
315b28862a Add gl_cg_save_cgp(). 2012-02-08 17:23:44 +01:00
Themaister
18c259e19a Revert "(PS3) Fix for Cg reset context - seems to work on PS3"
This reverts commit 56e862edf8.
Implementation is not quite correct.
2012-02-02 20:42:20 +01:00
TwinAphex51224
56e862edf8 (PS3) Fix for Cg reset context - seems to work on PS3 2012-02-02 13:13:16 +01:00
Themaister
230f47d00c Add helper function to replace Cg shaders on-the-fly. 2012-01-29 23:43:11 +01:00
TwinAphex51224
a07514c88b (PS3) Fixed the crash at SYSUTIL_REQUEST_EXITGAME triggering 2012-01-28 00:34:05 +01:00
Themaister
badf807ae9 Remove useless macro. 2012-01-28 00:34:05 +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
1451ba9610 Use ARGB_SCE on PS3. 2012-01-25 00:17:00 +01:00
Themaister
b4248038fb Update license headers. 2012-01-08 01:12:05 +01:00
Themaister
c2ba0d474c Use limits.h and PATH_MAX. 2012-01-02 13:33:03 +01:00
Themaister
d5fca50a2f Can build for C++. 2011-12-24 15:26:01 +01:00
TwinAphex51224
5bc7ea4045 (PS3) Properly exits now with shader loaded 2011-12-03 03:10:23 +01:00
TwinAphex51224
d67e6b7c15 (PS3) Cg shader support fixed 2011-12-03 01:26:56 +01:00
Themaister
1c4d88eb04 Compiles ... properly. 2011-12-03 00:49:09 +01:00
Themaister
04d0d84d01 Fix up more paths. 2011-11-30 18:31:09 +01:00
Themaister
57816edfd3 Fix some hardcoding. 2011-11-13 17:44:20 +01:00
Themaister
29dd4727b8 Disable used attribs in Cg as well. 2011-11-12 18:31:22 +01:00
Themaister
ad67511483 Cleanups. PREV{1-6} for GLSL as well. 2011-11-12 14:18:10 +01:00
Themaister
104fb4fb16 nits. 2011-11-12 13:00:37 +01:00
Themaister
816ef095ed Lots of PREV frames in Cg. 2011-11-12 12:55:03 +01:00
Themaister
79353f861c Do not report dupes. 2011-11-10 00:49:45 +01:00
Themaister
f3f4efe304 Improve error reporting in Cg. 2011-11-10 00:46:39 +01:00
Themaister
b3d422b5cd rubyFrameDirection / IN.frame_direction. 2011-11-09 23:45:34 +01:00
Themaister
0f010cf3d2 Fix style nits. 2011-11-02 19:31:36 +01:00
Themaister
5e28d82af2 Fix compile with HAVE_CONFIGFILE=0. 2011-10-28 17:10:58 +02:00
Themaister
fad89f9d2d More gracious error handling for state tracker. 2011-10-26 19:51:10 +02:00
Themaister
d01a4fe61b Only load second pass shaders when render-to-texture is set. 2011-09-26 22:45:28 +02:00
Themaister
0823d72dee Add coloring to fonts. 2011-09-05 17:00:28 +02:00
Themaister
600efab1bd Consistently use BGRA for possible performance gains. 2011-08-29 17:19:38 +02:00
Themaister
783ab7acd5 Improve error handling. 2011-07-04 13:33:09 +02:00
Themaister
19a46b1f8b Seems to work in Cg as well. 2011-07-03 15:53:56 +02:00
Themaister
508cfdbda7 Start implementing access to previous texture. 2011-07-03 15:39:35 +02:00
Themaister
d81b9ee0a7 Print full compile error in Cg. 2011-07-03 13:41:24 +02:00
Themaister
5385806e74 Hrm ... 2011-06-11 22:02:05 +02:00
Themaister
99e85684db Input capturing semantic. 2011-06-11 20:02:17 +02:00
Themaister
fd70a1c875 Make sure we only call semantics once per frame. 2011-06-08 17:59:29 +02:00
Themaister
3717f7442c Inline XML python. 2011-06-07 15:33:29 +02:00
Themaister
e02d9f41e8 Transition count semantic. 2011-06-06 21:32:10 +02:00
Themaister
884e2881a0 Add script support to Cg. 2011-06-06 20:18:31 +02:00
Themaister
838a85a719 Could make coordinate flipping consistent ... Finally. 2011-06-01 12:19:48 +02:00
Themaister
44c52ca4f8 Add -pedantic for shits 'n giggles.
Fix portability issues with void* -> void (*)(void) casts.
Use a more ... bizarre technique ;)
2011-05-31 15:03:59 +02:00
Themaister
7bbaa6ee31 Add pixel size uniform. 2011-05-30 14:32:31 +02:00
Themaister
02344f9048 Bitmasking. 2011-05-29 23:58:04 +02:00
Themaister
200d2b598b Slight cleanup. 2011-05-28 15:06:46 +02:00
Themaister
9fb827d238 Stuff seems to work. 2011-05-27 03:48:59 +02:00
Themaister
24f802023a Start adding tracker stuff to Cg as well. 2011-05-27 02:25:26 +02:00
Themaister
7cc8c01a1e Fix slight bug. Also add missing scale_type_x/y. 2011-05-26 23:55:46 +02:00
Themaister
7c5f36be61 Fix build when config file support isn't compiled in. 2011-05-26 20:44:12 +02:00
Themaister
f2ad94f1c3 Finally figure it all out ... Damn. 2011-05-26 12:34:14 +02:00
Themaister
3aed471d57 This bug is driving me nuts. It cannot possibly be my bug ... 2011-05-26 02:03:38 +02:00
Themaister
3ee19ec75f Found something ... unsettling. 2011-05-26 00:23:36 +02:00
Themaister
2782c9da91 Ifdef CG debugging. 2011-05-23 21:43:08 +02:00
Themaister
2f539cd326 Seems to work in Cg as well ... :) 2011-05-23 21:04:25 +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
5dced40c98 LUT textures work :) 2011-05-22 18:48:43 +02:00
Themaister
3f58932c2b Seems to work :) Yay! 2011-05-22 17:36:18 +02:00
Themaister
373b9dcc37 Some fixups. 2011-05-22 17:07:47 +02:00
Themaister
993bdfb75f Start working on Cg preset spec. 2011-05-22 17:02:09 +02:00
Themaister
59c6de69b0 Frame counter for shaders. Not in spec currently. 2011-05-11 13:24:59 +02:00
Themaister
4878a283ed Properly deinit Cg. 2011-03-29 19:18:06 +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