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
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
twinaphex
76ddce84a3
(RGL PS3) Cleanups - we don't need string/enum reporting
2013-03-29 18:58:50 +01:00
twinaphex
426b3a255d
Revert "(PS3) Add third-pass shaders (ifdeffed for PS3 for now - could" -
...
going to do this better
This reverts commit 8b4e6bed93
.
2013-03-29 01:55:08 +01:00
twinaphex
8b4e6bed93
(PS3) Add third-pass shaders (ifdeffed for PS3 for now - could
...
be added to PC as well)
2013-03-28 20:59:49 +01:00
twinaphex
986806ca78
(RMenu) RMenu cleanups pt. 2
2013-03-25 18:36:15 +01:00
Themaister
773c511179
Add floating point FBO support.
2013-03-25 16:42:41 +01:00
Themaister
a8dd5da5bb
Add frame_count_mod to XML and Cg shaders.
...
Allows frame count shaders to avoid floating point inaccuracies
when frame count gets large. Avoids having to mod manually in shader.
2013-03-25 14:47:33 +01:00
Themaister
82a3e373c0
Should set RMENU smooth options correctly.
2013-02-17 01:20:34 +01:00
twinaphex
f4454b004f
(Android) Bump up to version r11
...
(PS3) Get rid of ifndef
2013-02-11 12:34:16 +01:00
twinaphex
5fad427e15
(PS3) Improvement on prevous commit
2013-02-11 00:11:42 +01:00
twinaphex
1734586c24
(PS3) Fixes setting CGP preset file
2013-02-10 22:45:25 +01:00
Themaister
1643b30146
Update Cg shader settings when loading .cgp.
...
Needed in RMenu as .cgp are treated more like presets.
2013-02-10 21:38:20 +01:00
Themaister
551a464978
Rework index parameter to set_shader().
2013-01-08 04:08:15 +01:00
Themaister
e9cfb95900
Add fallback path for RGBA.
...
This is necessary for GLES devices which do not support BGRA_EXT.
2013-01-03 01:20:35 +01:00
Themaister
0b4cf2d053
Update license headers to 2013.
2013-01-01 01:41:15 +01:00
Themaister
9b58fac354
Always compile in config file support.
2012-12-23 13:55:59 +01:00
Themaister
b1ea2dcc1e
Log vertex/frag profiles used in Cg.
2012-11-18 23:51:38 +01:00
Themaister
86e21686f7
Refactor out buggy 'in-line' path handling.
2012-11-18 17:16:20 +01:00
Themaister
0e729bcaa0
Style nits.
2012-11-15 09:40:31 +01:00
Themaister
3e77039a42
Rewrite how gl.c interfaces with shader backends.
2012-11-14 22:51:08 +01:00
OV2
54d39dff74
win32: make d3d9 compile in msvc, add linker pragmas to source files
2012-11-14 21:07:06 +01:00
Themaister
1c32afa715
Clarifying comment in shader_cg.
2012-10-27 12:24:06 +02:00
Themaister
93078889cc
Begin reworking RGB565 as default pixel format.
2012-10-20 01:12:02 +02:00
Themaister
657c9ea3e8
Fix build on PS3.
2012-10-02 20:23:10 +02:00
Themaister
e351dcc59c
Should allow fast path for PS3 on glTexImage2D.
2012-10-02 20:16:55 +02:00
Themaister
ee8a93973f
Drop redundant call to UNPACK_ROW_LENGTH.
2012-09-27 20:54:24 +02:00
TwinAphex51224
a8f255e357
Revert "(PS3) Use texture references for PSGL/RGL - NOTE: will form part"
...
This reverts commit 10605eabe3
.
2012-09-27 20:24:05 +02:00
TwinAphex51224
fdd78b08d3
Use new define HAVE_CG_RUNTIME_COMPILER
2012-09-27 17:45:49 +02:00
TwinAphex51224
903ab0ccad
Comment out RARCH_CG_DEBUG again
2012-09-27 17:30:28 +02:00
TwinAphex51224
10605eabe3
(PS3) Use texture references for PSGL/RGL - NOTE: will form part
...
of RGL now
2012-09-27 17:28:38 +02:00
TwinAphex51224
accbb57e10
(PS3) Set NO_GL_FF_VERTEX for PSGL-based builds
2012-09-25 04:07:36 +02:00
Themaister
5365087311
Fix LUT textures in GLES.
2012-09-15 23:59:52 +02:00
Themaister
a55915b694
Should fix shader_cg build on PS3.
2012-09-15 15:21:58 +02:00
Themaister
7eb9c8474a
Use attrib arrays in Cg.
...
Attempt to modernize by avoiding glVertexPointer, etc if possible, so
that CG *might* work in a modern GL setting.
This appears to work fine on PC, but it is unknown if this will work
on PS3s CG implementation. If it works, it might be possible to strip
down RGL more by avoiding glVertexPointer and that jazz.
If not, this should be reverted.
2012-09-15 11:22:07 +02:00
Themaister
4c99652a60
Rework attribute and MVP passing in GL.
2012-09-11 23:32:00 +02:00
Themaister
756f8fb3db
Cleanup PBO handling. Makes it optional via ./configure.
2012-09-10 23:17:48 +02:00
Themaister
f4ecdf2bce
Remove use of cgGLSetStateMatrixParameter.
2012-08-09 23:53:15 +02:00
Themaister
a283a54bee
Use calculated MVP directly in shader params.
2012-08-09 23:21:59 +02:00
Themaister
e5b3a61f9f
Replace use of unsafe strtok() with strtok_r.
...
Implement compatibility for strtok_r() on Win32.
2012-06-24 02:37:19 +02:00
Themaister
79d508b05a
Fix crash when only scale_type_x/y were used.
2012-05-28 14:05:34 +02:00
Themaister
f73a8d9875
Fix coding derp.
2012-05-06 22:38:25 +02:00
Themaister
a5f1634dca
NULL sets a program to stock.
2012-05-06 22:35:29 +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
Twinaphex
6f56942d44
(HLSL) Add skeleton gfx/shader_hlsl.c (for initial use with 360)
2012-04-14 20:33:56 +02:00
Themaister
60cf4e569a
Fix some warnings.
2012-04-11 20:17:17 +02:00
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