6578 Commits

Author SHA1 Message Date
Themaister
5bc2ea3187 Use VAOs for completion. 2013-03-29 16:13:00 +01:00
OV2
88d457baab win32: style, remove left over opacity shader 2013-03-29 15:36:48 +01:00
Themaister
063a2e091c Be more explicit about GLES2 or GL context. 2013-03-29 15:26:47 +01:00
Themaister
0604f8e7ee Drop ALPHA_TEST. It is legacy GL. 2013-03-29 14:12:51 +01:00
Themaister
403a3faea2 Clean out some more GL state. 2013-03-29 14:11:53 +01:00
Themaister
5d81093481 Merge branch 'master' into gl-render 2013-03-29 14:10:28 +01:00
Themaister
5e755671da Add show_mouse() context callback. 2013-03-29 13:46:11 +01:00
Themaister
067e00b3dd Remove post_render context callback.
Was supposed to be used for overlay, but is useless now.
2013-03-29 13:26:07 +01:00
OV2
29fa71b664 style 2013-03-29 11:50:05 +01:00
OV2
34b2a3b210 win32: use stock shader and color for overlay opacity 2013-03-29 11:48:33 +01:00
OV2
a00858a6be win32: use color in d3d stock shader, pass valid color values 2013-03-29 11:46:56 +01:00
Themaister
d844dfce00 Merge branch 'master' into gl-render 2013-03-29 02:53:27 +01:00
Themaister
50af927de6 Add depth/stencil buffers to HW GL. 2013-03-29 02:50:42 +01:00
Themaister
f4e9547e68 Fix Win32 HW render. 2013-03-29 02:12:08 +01:00
twinaphex
426b3a255d Revert "(PS3) Add third-pass shaders (ifdeffed for PS3 for now - could" -
going to do this better

This reverts commit 8b4e6bed938cf3461e8a8ad2b786c9bf96512302.
2013-03-29 01:55:08 +01:00
meancoot
a8eaeece3d (OSX) Build fix for gfx/gl.c 2013-03-28 20:23:30 -04:00
meancoot
21fcc5c14b (iOS) Build fixes 2013-03-28 20:16:46 -04: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
f0c5499bbc (RGL PS3) Group more switch case statements together for vertex program 2013-03-28 17:59:54 +01:00
twinaphex
2e3d77e8f2 (RGL PS3) Optimize FIFO out of space callback 2013-03-28 16:21:32 +01:00
OV2
f250cc14ab style 2013-03-28 15:33:50 +01:00
OV2
2b51d48b2b win32: adjust makefile 2013-03-28 15:05:12 +01:00
OV2
15f6026c86 win32: fix compile without HAVE_OVERLAY 2013-03-28 14:55:42 +01:00
OV2
66b4b45f5c win32: add opacity shader to overlay 2013-03-28 14:30:39 +01:00
OV2
b782ec2d33 win32: specify vertex declaration for overlay 2013-03-28 14:30:39 +01:00
OV2
a61afbde52 win32: add overlay to d3d9 2013-03-28 14:30:32 +01:00
Themaister
6758bca69d Test GL core works in GLES as well. 2013-03-28 12:46:40 +01:00
Themaister
4bcc566afb Fix some possible segfaults with HW render. 2013-03-28 12:27:40 +01:00
Themaister
d1b204e63e Merge branch 'master' into gl-render 2013-03-28 12:15:39 +01:00
Themaister
8783cbb010 Handle GL state more carefully. 2013-03-28 12:13:41 +01:00
twinaphex
ea916d95d5 (RGL PS3) Disable RGB remap - was never used up to now - set gamma to 0 -
call GCM functions directly - some other ghetto inlining tweaks
2013-03-28 07:24:44 +01:00
Themaister
77861f5a59 Render something in motion. 2013-03-28 01:19:48 +01:00
twinaphex
e6bc99f929 (RGL PS3) Faster texture upload 2013-03-28 01:14:30 +01:00
Themaister
1cececac18 Add get_proc_address.
Render something "real" in GL.
2013-03-28 01:11:32 +01:00
twinaphex
3593501003 (RGL PS3) Clean up what we no longer need 2013-03-27 23:32:27 +01:00
twinaphex
acdbd054e9 (RGL PS3) Remove ifndef __CELLOS_LV2__ code in rgl_ps3_cg.cpp 2013-03-27 22:46:17 +01:00
twinaphex
05e94a2326 (RGL PS3) Don't set embedded constants to default values - we presume shader
already does this
2013-03-27 22:12:26 +01:00
twinaphex
8aaf6bea39 (RGL PS3) Remove runtime semantics 2013-03-27 20:51:03 +01:00
twinaphex
5a43f485d9 (RGL PS3 Cg) Remove runime created parameters (CG_RT) and
connection parameters
2013-03-27 20:27:55 +01:00
twinaphex
a3692f8854 (RGL PS3) Slim down Cg implementation 2013-03-27 19:18:48 +01:00
twinaphex
949e2c3cae (RGL PS3) Remove cgGLSet/GetManageTextureParameters - take away more state
code associated to it (and speed up cgGLBindProgram in the process)
2013-03-27 17:07:42 +01:00
Themaister
f7cab36188 Fix viewport when rendering to FBO. 2013-03-27 16:22:56 +01:00
Themaister
af40f3e9b8 Add initial GL direct rendering test. 2013-03-27 16:15:15 +01:00
twinaphex
b8178a60eb (RGL PS3) Take out ppuData from struct 2013-03-27 06:51:55 +01:00
twinaphex
6823e6ca98 (RGL PS3) Get rid of RGLCLAMP macro 2013-03-27 06:35:15 +01:00
twinaphex
97fc410df2 (RGL PS3) Optimizations - significant lag reduction / fps improvement (+2fps average) 2013-03-27 05:56:58 +01:00
meancoot
b0329be296 (iOS) Cache the RAModuleInfo structures instead of reloading the each time a RAModuleList is created. 2013-03-26 22:40:37 -04:00
meancoot
8995ce2cb2 (iOS) Fixes:
Update the default directory used when file browser can't load a directory.
   Add a cancel button to controller type selection screen.
   Remove the HAVE_RGUI option. Until the main loop is updated all it does is cause the game to close.
   Don't show the controller type selection screen if bluetooth is already enabled.
   Remove unneeded None option for aspect ratio setting.
2013-03-26 22:40:37 -04:00
meancoot
bb4b254be7 (iOS, BTstack) More refactoring; Now have to choose the type of pad to connect (annoying, but there's no other way the code gets stable) 2013-03-26 22:40:36 -04:00
twinaphex
b4721106f6 (RGL PS3) Main memory is not managed 2013-03-27 02:53:52 +01:00