Commit Graph

7372 Commits

Author SHA1 Message Date
Themaister e4089af307 Allow multiple samplers in cg2glsl. 2013-04-12 00:30:03 +02:00
Themaister 88e2ac3c9c Fix issue with blinky.cg in cg2glsl. 2013-04-12 00:30:03 +02:00
twinaphex e75ed86fde (Filebrowser) Cleanups 2013-04-12 00:27:00 +02:00
twinaphex 459a371982 (RMenu) Slimmer filebrowser dir popping 2013-04-12 00:16:23 +02:00
Themaister dc3e22a5ea Enable RGUI by default. 2013-04-11 23:31:00 +02:00
twinaphex 9d53311e33 (Filebrowser) Get rid of unnecessary filebrowser_init 2013-04-11 23:00:01 +02:00
twinaphex da8bbde11d Simplify some _WIN32 includes 2013-04-11 22:35:15 +02:00
twinaphex ddd6acd4e2 (Blackberry) S_ISDIR would be broken if left undefined on Blackberry -
figure out what the deal is here
2013-04-11 19:05:28 +02:00
twinaphex 63020f42d7 (Android) Some leftover Android garbage that was never expanded upon - scrub 2013-04-11 17:31:46 +02:00
twinaphex 30e190bdae Remove superfluous wcstombs / mbstowcs wrappers 2013-04-11 17:18:23 +02:00
twinaphex 74edbf7339 (RMenu XUI / 360) Made RMenu XUI independent of MODE_MENU_DRAW - MODE_MENU_DRAW
removed
2013-04-11 16:38:41 +02:00
Themaister 91c8fea8e9 Fix crash in shader browser. 2013-04-11 16:15:09 +02:00
Themaister aebb2cb52e Add initial GLSL loading in RGUI. 2013-04-11 16:15:09 +02:00
twinaphex a49fe27d21 (GX) Make Wii/Gamecube gx_video no longer depend on MODE_MENU_DRAW 2013-04-11 16:10:09 +02:00
Themaister f4c89be017 Use CGP/GLSL-style format on Android and iOS. 2013-04-11 15:40:57 +02:00
Themaister d7c1957586 Rename cg2xml to cg2glsl.
Outputs CGP/GLSL style shaders now.
2013-04-11 15:40:57 +02:00
twinaphex 7bb9f0d288 (RMenu) No longer rely on MODE_MENU_DRAW 2013-04-11 15:29:43 +02:00
twinaphex ea969282f4 (XDK1 RMenu) Don't call texture_image_render for panel anymore in rmenu.c 2013-04-11 15:05:42 +02:00
twinaphex 0f60833cac (RMenu) Do video rendering in RMenu after input - same as RGUI - will also
avoid having to 'skip' video swap when doing the render cached
frame call
2013-04-11 15:00:58 +02:00
twinaphex 9e09ba8a0a (PS3) Don't spam cellDbgFontDraw - do it once per frame and
instead just increase the buffer
2013-04-11 14:10:24 +02:00
twinaphex 8f0ea4c1a6 (GX) Build fix (in light of removing set_blend function pointer) 2013-04-11 13:47:45 +02:00
twinaphex 8c777110f7 (RMenu) Run glClear or equivalent function at start of driver_frame function
so that we can use rarch_render_cached_frame for menu purposes at
all times (instead of doing explicit clearing in our menu loops
beforehand for low-RAM modes where no menu texture is being drawn
but we don't want ghosting in the picture)
2013-04-11 13:42:02 +02:00
twinaphex 1171b7576a Get rid of set_blend callback - the rgui draw texture function is
now in charge of making sure texture is properly blended - note
to OV2/maister - test if this breaks D3D9 PC driver and if so
fix accordingly
2013-04-11 13:13:37 +02:00
twinaphex 717621ac0d (PS3) Move cellSysUtilCheckCallback to gfx_ctx_swap_buffers 2013-04-11 09:13:28 +02:00
Squarepusher 7c94cbf996 Merge pull request #177 from CatalystG/master
(BlackBerry) Fix PlayBook crash
2013-04-10 23:43:42 -07:00
CatalystG a54c377e6f (BlackBerry) Fix BB10 this time. Previous change didn't work on both. 2013-04-10 21:25:38 -04:00
CatalystG fdcc6e2087 (BlackBerry) Fix PlayBook crash after selecting a game from RGUI 2013-04-10 20:27:49 -04:00
Themaister 1e9e703375 Add support for CGP/GLSL.
Serves to unify shader support across the board
on platforms which cannot use Cg (EGL, GLES).
Spec is exactly the same as CGP except that extension is
.glslp. Expected extension on individual shaders are .glsl.
2013-04-10 22:38:45 +02:00
Themaister acd3b481be Let RGUI CGP be used across driver reinit. 2013-04-10 21:04:28 +02:00
Themaister c8fa2483bb Fix rotation when using Apply Shader.
load_preset() duped prg[0] too early, before
prg[0].mvp was set. This caused MVP to not be set correctly,
not allowing rotation to work correctly when using pass-through
last shader.
2013-04-10 20:55:48 +02:00
Themaister 49e4020437 Move forced IOS viewport logic further up.
If using multipass, the forced viewport update
will ruin the viewport.
2013-04-10 20:43:32 +02:00
Themaister 7de7c3d743 Fix RGUI in gl.c.
RGUI sets MODE_MENU_DRAW causing
context_swap_func to be skipped entirely.
Tried removing MODE_MENU_DRAW in rgui, but gx_video still seems to rely
on MODE_MENU_DRAW being set, so I didn't fix it in RGUI. Someone needs
to fix gx_video to not depend on lifecycle.
2013-04-10 20:15:51 +02:00
twinaphex 2c29884d7d (RMenu) Don't break menu stack when shortcut exiting from screenshot mode 2013-04-10 19:12:25 +02:00
twinaphex 37b90574ac (PS3 RMenu) Fullblown shader manager support - still unsure whether
I'm setting FBO values right though - maister - please code review
the FBO scaling incrementing/decrementing logic
2013-04-10 15:57:36 +02:00
twinaphex adbfa4af90 (RMenu) Get rid of checks for main_is_init (for load/save CGP) 2013-04-10 13:24:56 +02:00
twinaphex 872c0a8133 (RMenu XDK1) Build fix 2013-04-10 13:24:27 +02:00
twinaphex ad31643b51 (PS3 RMenu) Add initial options to Shader Manager - Load CGP function
works
2013-04-10 13:17:01 +02:00
twinaphex 6aadc5f2c2 (Cg) Remove Cg menu shader 2013-04-10 11:28:44 +02:00
twinaphex c52530d03e (RMenu) Stub Shader Manager menu in - now to fill it in 2013-04-10 11:20:28 +02:00
twinaphex 4c0da898ae (RMenu) Simplify some more lengthy strings that won't fit on 640x480
screen
2013-04-10 10:20:27 +02:00
twinaphex 65bc6850d5 (RMenu) shorter descriptions so that they fit on Xbox 1 resolution 2013-04-10 10:15:03 +02:00
twinaphex 2dba4c9359 Move texture_image_render to xdk_d3d.cpp 2013-04-10 10:06:15 +02:00
twinaphex a871b6da54 (XDK) Remove texture_image_free - will have to manually do freeing
memory management without a public function for Xbox
2013-04-10 09:59:29 +02:00
twinaphex de31ccef3e Revert "(XDK1 RMenu) Free up tmpBrowser for every switch between game and menu as well"
This reverts commit 4fa02a1952.
2013-04-10 09:57:13 +02:00
twinaphex 4fa02a1952 (XDK1 RMenu) Free up tmpBrowser for every switch between game and menu as well 2013-04-10 09:49:04 +02:00
twinaphex c0f9c0dc6f (RMenu) Get casts working for C99 as well - argh 2013-04-10 09:48:56 +02:00
twinaphex 9cabedca58 (RMenu) C++98 compatibility casts 2013-04-10 09:46:52 +02:00
twinaphex 5f24e5daf4 (RMenu) Put menu_texture and menu_panel textures on heap - free
them for Xbox 1 after going out of the menu and into the game
2013-04-10 09:34:46 +02:00
twinaphex 22ce22ca14 (360) Take out obsolete resampler type option 2013-04-10 07:55:59 +02:00
twinaphex 87d0843b13 (360) RMenu XUI now goes through the same RGUI functions for
rendering
2013-04-10 07:47:11 +02:00