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
58b6de008b
Revert "Purge fixed-style second_pass_shader."
...
This reverts commit 160bbf0218
.
2013-04-06 03:54:38 +02:00
Themaister
160bbf0218
Purge fixed-style second_pass_shader.
2013-04-06 00:03:28 +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
d550a263ae
Merge branch 'cgp-refactor' of github.com:Themaister/RetroArch into cgp-refactor
2013-04-03 21:09:03 +02:00
Themaister
248e3ddfe6
Deprecate "ruby" prefix and legacy XML shaders.
2013-04-02 23:14:14 +02:00
Themaister
211e17250c
Major refactor to CGP parsing.
...
Adds saving functionality for CGPs.
2013-04-01 15:34:02 +02:00
Themaister
773c511179
Add floating point FBO support.
2013-03-25 16:42:41 +01:00
Themaister
e326db8fb5
Drop debugging log.
2013-03-25 15:08:12 +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
meancoot
a37a19e40d
First revision of iOS port. Only tested on simulator thus far.
2013-02-06 10:14:05 -05:00
Themaister
551a464978
Rework index parameter to set_shader().
2013-01-08 04:08:15 +01:00
twinaphex
085a90d018
Get rid of RARCH_GPU_PERFORMANCE_MODE
2013-01-04 21:32:22 +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
276b588217
Add custom xml parser. Use as fallback.
2013-01-02 15:18:42 +01:00
Themaister
0b4cf2d053
Update license headers to 2013.
2013-01-01 01:41:15 +01:00
twinaphex
707bcd483f
(Android) Some patches for RMenu compatibility
2012-12-14 01:29:01 +01:00
Themaister
e5acc803e9
Fix Python state tracker.
2012-11-18 21:23:34 +01:00
Themaister
fd58a38ff2
Greatly refactor XML code juggling in shader_glsl.
2012-11-18 19:40:18 +01:00
Themaister
c9c1404d70
Add support for loading GLSL sources externally.
2012-11-18 17:39:39 +01:00
Themaister
86e21686f7
Refactor out buggy 'in-line' path handling.
2012-11-18 17:16:20 +01:00
Themaister
3e77039a42
Rewrite how gl.c interfaces with shader backends.
2012-11-14 22:51:08 +01:00
twinaphex
e0e5e8cb1b
(Android GLSL) MAX_PROGRAMS 8 instead of 16, MAX_TEXTURES 4 instead
...
of 8, PREV_TEXTURES 3 instead of 7
2012-11-03 09:35:18 +01:00
Themaister
461cf0fef3
Pre-cache uniform locations in GLSL.
2012-10-21 03:05:10 +02:00
Themaister
93078889cc
Begin reworking RGB565 as default pixel format.
2012-10-20 01:12:02 +02:00
twinaphex
be1abb6f38
(Android) Runs now - note - we might want to refactor HAVE_XML ifdefs
...
to HAVE_GLSL since I currently don't have HAVE_XML defined for
Android NDK
2012-10-16 15:38:25 +02:00
Themaister
1968603451
Fix warning train on OSX.
2012-10-12 21:24:23 +02:00
Themaister
8dd51016dc
Make sure LOAD_GL_SYM doesn't get double define.
2012-10-02 23:36:18 +02:00
Themaister
4db4d414a9
Should fix build on OSX.
2012-10-01 22:48:36 +02:00
Themaister
d0e220bbf1
Refactor all GL context handling code.
2012-09-25 01:37:23 +02:00
Themaister
b2316efe05
No GLES2 extensions are used. Drop header include.
2012-09-16 01:29:45 +02:00
Themaister
5365087311
Fix LUT textures in GLES.
2012-09-15 23:59:52 +02:00
Themaister
759a4c811d
Use GL_LUMINANCE_ALPHA for fonts.
2012-09-15 23:15:19 +02:00
Themaister
dd2982b148
Force modern XML shaders for GLES2.
2012-09-15 15:46:02 +02:00
Themaister
b9f605cc9d
Fall back to default shader in GLES2.
2012-09-15 15:37:08 +02:00
Themaister
ff60bcb5e5
Add experimental X/EGL support.
2012-09-15 15:17:34 +02:00
Themaister
5a4c51a5cb
Drop redundant branching in GL.
...
Pointers are always set.
2012-09-14 21:35:32 +02:00
Themaister
ca50a90c09
Workaround/hack for platforms without working get_proc_address().
2012-09-14 21:30:41 +02:00
Twinaphex
3c8b967008
(GL) Make EGL context file - have PSL1GHT build use eglGetProcAddress
...
- doesn't currently link
2012-09-14 11:07:50 +02:00
Twinaphex
2cf02a50b7
(PSL1GHT) At last it links... now prepare for onslaught of trouble
2012-09-14 05:07:33 +02:00
Themaister
311eb65e7d
Shader_glsl.c can work without XML shader support.
2012-09-13 20:15:37 +02:00
Themaister
d8a89fe20e
Add #ifdefs for GL_ES in stock frag shader.
2012-09-13 19:55:42 +02:00
Themaister
2e538e0eb5
Drop "special macros" for apple.
2012-09-12 20:57:14 +02:00
Themaister
cdb16feeb4
Enforce vertex shader in modern GLSL.
2012-09-12 20:46:38 +02:00
Themaister
c29f678935
Don't include SDL headers in shader_glsl.c.
2012-09-12 20:20:22 +02:00
Twinaphex
939b9dd259
(GLSL) Add compatible header inludes for modern GL/GLES -
...
NOTE - we need a proper HAVE_SDL define since we are not going
to be using SDL for Rarch on either Android or PSL1GHT
2012-09-12 16:40:28 +02:00
Themaister
e1fc6d7ab5
Do not use SDL_SYM_WRAP outside sdl_ctx.c.
2012-09-12 09:30:36 +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
a283a54bee
Use calculated MVP directly in shader params.
2012-08-09 23:21:59 +02:00
Twinaphex
1386e2ee90
Restructuring of sdlwrap.c for portability reasons -
...
could need a code review
2012-05-26 04:47:24 +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
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
Themaister
9ab02b12be
Move compat functionality to compat/.
2012-03-16 23:26:57 +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
b4248038fb
Update license headers.
2012-01-08 01:12:05 +01:00
Themaister
3d1b0ef35b
Merge branch 'fix'
2012-01-02 13:33:27 +01:00
Themaister
c2ba0d474c
Use limits.h and PATH_MAX.
2012-01-02 13:33:03 +01:00
Themaister
44da8a6749
:v
2011-12-26 01:32:19 +01:00
Themaister
d5fca50a2f
Can build for C++.
2011-12-24 15:26:01 +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
face42a888
Disable used attributes on shader change.
2011-11-12 18:20:54 +01:00
Themaister
45fa6795c3
Fixups.
2011-11-12 16:43:59 +01:00
Themaister
a9d339efb4
Use glColorPointer().
2011-11-12 15:51:37 +01:00
Themaister
60841b01a5
Use custom "stock" program.
2011-11-12 15:26:24 +01:00
Themaister
ad67511483
Cleanups. PREV{1-6} for GLSL as well.
2011-11-12 14:18:10 +01:00
Themaister
b3d422b5cd
rubyFrameDirection / IN.frame_direction.
2011-11-09 23:45:34 +01:00
Themaister
fad89f9d2d
More gracious error handling for state tracker.
2011-10-26 19:51:10 +02:00
Themaister
97f937ec6d
Use floating point values for uniforms from Python.
2011-10-26 10:26:09 +02:00
Themaister
d01a4fe61b
Only load second pass shaders when render-to-texture is set.
2011-09-26 22:45:28 +02:00
Themaister
924848fdad
Start working towards SDL 1.2/1.3 compat.
2011-09-13 14:06:49 +02:00
Themaister
600efab1bd
Consistently use BGRA for possible performance gains.
2011-08-29 17:19:38 +02:00
Themaister
508cfdbda7
Start implementing access to previous texture.
2011-07-03 15:39:35 +02:00
Themaister
26ac00ad76
Fix incompatible type.
2011-06-29 03:26:21 +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
f339560550
Put all scripts in <script>
2011-06-07 16:28:58 +02:00
Themaister
11b58d8c69
Clean up error handling a bit.
2011-06-07 15:58:30 +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
4d96fbba6a
Python works :P
2011-06-06 18:50:36 +02:00
Themaister
5bc9ca216e
Clean up shader compilation slightly.
2011-06-02 13:49:22 +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
aec44b093e
Add new transition_previous.
2011-05-26 16:23:11 +02:00
Themaister
b0d1a98cd1
Fix when too many variables are used.
2011-05-25 20:55:38 +02:00
Themaister
94ff67ee15
Stuff seems to work :)
2011-05-25 17:31:07 +02:00
Themaister
8d2a7e4593
More work on state monitor ... compiles.
2011-05-25 15:58:12 +02:00