Commit Graph

6546 Commits

Author SHA1 Message Date
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
twinaphex
9d6f4590e8 (RMenu XDK1) Updated RMenu for Xbox 1 to use new
RGUI/RMenu rendering funtions
2013-04-10 06:54:16 +02:00
twinaphex
d313e9b8f9 (PS3 RMenu) RMenu now renders background texture the same way
as RGUI
2013-04-10 06:22:37 +02:00
twinaphex
7cf75e5eb4 SETTING_EMU_SKIN action was mistakenly inside a HAVE_SHADER_MANAGER
ifdef
2013-04-10 04:57:49 +02:00
twinaphex
af5dcd106a (XDK1 RMenu) Show panel again even in low RAM mode 2013-04-10 04:54:22 +02:00
twinaphex
80390d8143 (XDK1 RMenu) Build fixes 2013-04-10 04:51:36 +02:00
twinaphex
3a131cf5b8 (PS3) Compile in HAVE_OVERLAY 2013-04-10 04:39:27 +02:00
twinaphex
43c9195a77 Get rid of rarch_position_t structure and move RMenu texture to
rmenu.c instead of somewhere in g_extern global
2013-04-10 04:26:18 +02:00
twinaphex
7728e80e0f (RMenu) Get rid of messy set_default_pos functions 2013-04-10 01:34:40 +02:00
twinaphex
6a87900f1a (RMenu) Use HAVE_SHADER_MANAGER define for RMenu now as well 2013-04-10 00:47:14 +02:00
Themaister
37a276af9b Load RGUI CGP on startup. 2013-04-09 21:48:03 +02:00
Themaister
d2f9eb300b Clarify error message. 2013-04-09 21:41:38 +02:00
Themaister
a8f2317400 Can apply shaders in RGUI.
Kinda hoky, but basics seem to be down now.
2013-04-09 21:39:02 +02:00
Themaister
fc353f0582 Pop menu stack correctly after picking shader. 2013-04-09 21:23:34 +02:00
Themaister
16b8bff6a7 Can browse for shader files.
Directory stack is not popped correctly however.
Pathnames are not correctly truncated in browser either. Looks kinda
ugly atm.
2013-04-09 21:01:43 +02:00
Themaister
fdf7a443ad More work on shader manager.
Mostly missing filebrowser for shaders now.
2013-04-09 19:43:24 +02:00
twinaphex
b91527749e (RMenu) Some RMenu fixes - deal with overflow on 'pressed up'
state in core options menu along with some other things
2013-04-09 09:58:26 +02:00
twinaphex
6a845dec64 (RMenu) Fix - Pops menu stack for a submenu - hack - needs a cleaner implementation 2013-04-09 09:16:23 +02:00
twinaphex
56de3696d0 (RMenu) Initial core options working - only FBA core currently shows
'extra garbage' characters when updating a specific option -
"CPU Speed Overclock; 100%|110%|120%|130%|140%" etc - doesn't
happen in RGUI - could be the percentage sign
2013-04-09 08:55:54 +02:00
Squarepusher
2ea3b9d24a Update AUTHORS 2013-04-09 05:08:41 +03:00
Squarepusher
b176eb7cd4 Merge pull request #176 from CatalystG/master
(BlackBerry) Build fix
2013-04-08 19:06:36 -07:00
CatalystG
e2c6a5d3a8 (BlackBerry) Build fix 2013-04-08 21:36:28 -04:00
twinaphex
e26359a564 (Blackberry) Minor style nit 2013-04-09 02:33:50 +02:00
Squarepusher
5232bc2683 Merge pull request #175 from CatalystG/gamepad
(BlackBerry) Gamepad support on BB10, keyboard for all
2013-04-08 17:28:52 -07:00
CatalystG
f9de811505 (BlackBerry) Modify device handling to allow keyboards on PlayBook. 2013-04-08 19:55:10 -04:00
CatalystG
df777c0264 (BlackBerry) Add initial Keyboard support for BB10. 2013-04-08 19:55:09 -04:00
CatalystG
eb6429d6ca (BlackBerry) Fix device ID check for gamepads. 2013-04-08 19:55:09 -04:00