Commit Graph

291 Commits

Author SHA1 Message Date
twinaphex
ed5a5124f6 (XDK) Same deal for XDK 2013-04-14 15:06:17 +02:00
twinaphex
6824617031 (XDK1/RMenu) Build fix 2013-04-13 17:00:46 +02:00
twinaphex
6b01ce78cc (XDK1) Reduce menu image to 320x240 and upscale to 640x480 -
to hell with how this looks - it saves over 2MB of RAM - you
try and justify that over stupid eye candy on an outdated
console and I'll call you a damn fool
2013-04-13 15:19:57 +02:00
twinaphex
e59f7e5a79 (XDK1) Define HAVE_MENU_PANEL in xdk_d3d.cpp 2013-04-13 14:46:50 +02:00
Themaister
e389220df8 Refactor frame_counter.
Graphics drivers get the task of updating this.
If threaded driver is used, main thread cannot update the counter
due to race conditions.
2013-04-13 14:28:12 +02:00
twinaphex
3e2855429f (XDK D3D) Start dehardcoding tex_w / tex_h == 512 2013-04-13 12:08:52 +02:00
twinaphex
d955f14ff7 (XDK1) Build fix 2013-04-12 22:17:06 +02:00
twinaphex
a5bbc7da5f (HLSL) Fix build - work with new shader backend 2013-04-12 21:56:43 +02:00
twinaphex
a6db35875d (Cg/HLSL) Since everything goes through the shader backend interface now,
we can drop public scope on all the functions and make them static
instead
2013-04-12 21:25:16 +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
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
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
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
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
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
9e807aae33 (XDK1) Build fixes 2013-04-07 19:43:54 +02:00
twinaphex
229891db59 (360) Build fix 2013-04-07 03:00:08 +02:00
twinaphex
909122122d Take out obsolete console-style overscan options - just use
Resize Mode instead
2013-04-07 01:23:10 +02:00
twinaphex
abeb4a889e (Xbox 1) Build fix 2013-04-06 23:10:15 +02:00
twinaphex
bb0821b514 Remove screenshots_dir and cgp_dir from default_paths - cgp_dir
is now the same as shaders_dir
2013-04-06 22:37:07 +02:00
twinaphex
ec0e3e6087 (RMenu) Remove RMenu screenshot_dump function pointer - implement
screenshot_dump instead for XDK1
2013-04-06 18:14:06 +02:00
twinaphex
a2d9129782 Kill off set_fbo_state and get_fbo_state function pointers 2013-04-06 06:21:11 +02:00
twinaphex
9f5c6678b5 Revert "(XDK D3D) Scrub second-pass"
This reverts commit 5ea29f1882.
2013-04-06 03:54:05 +02:00
twinaphex
cbfe5ff111 Revert "More scrubbing - no more render_to_texture, fbo_scale_x / fbo_scale_y,"
This reverts commit 7155dd9ca9.
2013-04-06 03:53:57 +02:00
twinaphex
7155dd9ca9 More scrubbing - no more render_to_texture, fbo_scale_x / fbo_scale_y,
etc
2013-04-06 00:16:10 +02:00
twinaphex
5ea29f1882 (XDK D3D) Scrub second-pass 2013-04-06 00:07:30 +02:00
twinaphex
39c0ed745c (PS3) Get rid of QUICKMENU_TOGGLE define - was surpassing 64 entries
on PS3 - now going to do 'menu toggle behavior' logic instead -
menu toggle now triggers ingame menu - will be configurable
2013-03-30 07:19:42 +01:00
twinaphex
4bfbd8d9e9 (XDK) D3D - Drop BeginScene/EndScene - they are just stub on XDK 2013-03-17 15:09:51 +01:00
twinaphex
ad2cd4e492 Revert "Remove platform-specific MAX_PADS - use global define MAX_PLAYERS"
This reverts commit fb1355b975.
2013-03-16 17:51:45 +01:00
twinaphex
f028a8555e Revert "Move set_keybinds autoconfiguration (that is done on every console"
This reverts commit c26653fca8.
2013-03-16 17:51:37 +01:00
twinaphex
c26653fca8 Move set_keybinds autoconfiguration (that is done on every console
port) to driver.c - reducing lots of duplicate code
2013-03-16 17:24:24 +01:00
twinaphex
fb1355b975 Remove platform-specific MAX_PADS - use global define MAX_PLAYERS
instead and customize it for certain ports
2013-03-16 17:13:28 +01:00
twinaphex
840361b76c (XDK) Get rid of unused primitive_t struct 2013-03-16 17:04:30 +01:00
twinaphex
375aa08e58 Remove rarch_conole_input - runtime button remapping should have
no more RARCH_CONSOLE dependencies
2013-03-14 21:55:10 +01:00
twinaphex
477b6ed893 Bugfix to previous commit 2013-03-14 18:04:16 +01:00
twinaphex
44ccbe0122 Implement KEYBINDS_ACTION_GET_BIND_LABEL - will be used through
set_keybinds
2013-03-14 18:02:19 +01:00
twinaphex
fd05b5a25c rarch_input_set_keybind refactored away - input driver's set_keybinds
function now provides the functionality
2013-03-14 15:01:36 +01:00
twinaphex
85f5a36268 (XDK) Build fix 2013-03-14 02:30:52 +01:00
twinaphex
ede829c354 Refactor set_default_keybinds callback into set_keybinds - remove
set_analog_dpad_mapping and have it go through set_keybinds - expand
functionality of set_keybinds
2013-03-14 02:24:57 +01:00
twinaphex
4fa8d0f3c6 (Android) Rewritten input_autodetect- now implements set_default_keybinds 2013-03-13 23:17:33 +01:00
twinaphex
1219177c00 (XDK D3D RGUI) Change base_size to RGUI_WIDTH * 2 - still shows
nothing
2013-03-13 18:53:52 +01:00
twinaphex
3a9d191885 (XDK RGUI) Blit rgui_data into RGUI D3D texture - still shows
nothing though
2013-03-13 18:49:48 +01:00
twinaphex
ece717f2cc Rename set_default_keybind_lut to set_default_keybinds 2013-03-13 16:30:01 +01:00
twinaphex
4bd0999940 Remove rarch_input_set_default_keybinds - merge with function
pointer set_default_keybind_lut
2013-03-13 16:06:13 +01:00
twinaphex
8f5a49dc7e Refactor default_binds - now becomes a member ni retro_keybind
called def_joykey
2013-03-13 15:34:33 +01:00
twinaphex
afc90aa33d (XDK) Cleanup xdk_resources.cpp 2013-03-13 01:51:03 +01:00
twinaphex
2718847f11 (XDK) Clean up xdk_d3d.h header 2013-03-13 01:15:37 +01:00
twinaphex
8f497cce6e (XDK) Build fix 2013-03-13 01:08:46 +01:00
twinaphex
545911d4da (Input) Remove post_init and make it part of input_init 2013-03-13 00:34:46 +01:00
twinaphex
42bdd80ec4 Combine rarch_input_set_controls_default and post_init 2013-03-13 00:12:29 +01:00
twinaphex
8edab3d970 Skip D-pad emulation polling when dpad_emulation is disabled 2013-03-12 23:45:47 +01:00
twinaphex
dfcd7f38da (RGUI XDK) Quick build fixes 2013-03-12 18:41:01 +01:00
twinaphex
441d4a0698 (Xbox 1) Initial RGUI code - incomplete 2013-03-12 02:43:02 +01:00
twinaphex
05faa24307 (XDK) Build fixes 2013-03-11 22:04:56 +01:00
twinaphex
b4108eb343 Add set_osd_msg to video_poke 2013-03-11 21:42:02 +01:00
twinaphex
63883a1131 Combine render_msg and render_msg_place with params argument 2013-03-11 20:05:05 +01:00
twinaphex
039fc644d5 Revert "Menu toggle without delay timers (more testing might be needed -"
This reverts commit 54a6175a55.
2013-03-11 02:07:50 +01:00
twinaphex
54a6175a55 Menu toggle without delay timers (more testing might be needed -
tested on PS3 RMenu and seemed to work well enough)
2013-03-11 01:12:19 +01:00
twinaphex
6149031c2a (XDK D3D) Add set_rgui_texture 2013-03-10 23:24:28 +01:00
twinaphex
dbc6d8263f (360) Build fix 2013-03-10 21:18:04 +01:00
twinaphex
cf4b45e49b (360) Implemented get_fbo_state 2013-03-10 20:28:45 +01:00
twinaphex
dd697ded76 (XDK) Ifdef FBO video_poke functions with HAVE_FBO 2013-03-10 20:24:19 +01:00
twinaphex
9400d4030f (XDK) Implement apply_state_changes 2013-03-10 20:00:58 +01:00
twinaphex
59ff094b3b Add set_blend to video_poke interface 2013-03-10 03:53:42 +01:00
twinaphex
6c622c4e4b (XDK1) Build fix 2013-03-10 03:39:05 +01:00
twinaphex
79a27e34ed (XDK) Start to implement video_poke interface 2013-03-10 03:34:37 +01:00
twinaphex
13de2c5acd (360) Move class definitions to rmenu_xui.cpp instead of header 2013-03-09 22:31:13 +01:00
twinaphex
ae0dbd4702 (XDK) Build fix 2013-03-09 18:33:08 +01:00
twinaphex
66e7606b25 HAVE_RGUI and HAVE_RMENU are now mutually exclusive - no longer
have to be defined both for (say) the Android port
2013-03-09 17:42:19 +01:00
twinaphex
0b6e5a6388 Rename RARCH_RMENU_TOGGLE to RARCH_MENU_TOGGLE 2013-03-09 16:14:26 +01:00
twinaphex
34515fd7f5 (RARCH_CONSOLE) Integrate rarch-console_video into gfx_common 2013-03-09 03:20:59 +01:00
twinaphex
037edbd247 (360) Build fixes 2013-03-09 01:02:30 +01:00
twinaphex
a23bc3a13f Control flow change for RGUI/RMENU - no longer have to invoke RARCH_QUIT_KEY to toggle menu 2013-03-07 19:02:44 +01:00
twinaphex
6da1a22978 (XDK) Remove xdk_xinput_input.h header file 2013-01-22 01:05:48 +01:00
twinaphex
3405c7f08c (RMenu) Make current_menu variable static to prevent crashes
on Xbox 1
2013-01-19 21:34:46 +01:00
twinaphex
f9fcb55835 (XDK) Some Xbox 1 input changes - try to prevent menu crashing
when idle
2013-01-19 20:49:41 +01:00
twinaphex
4a2c0ea4f7 (XDK) Fixes re-entrancy 2013-01-19 12:45:35 +01:00
twinaphex
328e60ceac (XDK) Reset works correctly now 2013-01-19 12:35:16 +01:00
twinaphex
267819f5f4 (XDK) Reimplement restart - use d3dr->Reset (one half of the
screen uses a leftover frame)
2013-01-19 12:19:54 +01:00
twinaphex
ce640ea777 (XDK) Try to setup xdk_d3d_restart - still errors out 2013-01-19 10:59:52 +01:00
twinaphex
0f2e36d349 (RARCH_CONSOLE) Move default_binds 2013-01-13 03:17:13 +01:00
twinaphex
04cacb5e30 Upgrade lifecycle_menu_state to 64bit variable lifecycle_mode_state 2013-01-12 03:13:03 +01:00
twinaphex
c7adeb9ed0 (RMenu) Rmenu now uses g_settings.video.font_size 2013-01-11 21:05:15 +01:00
twinaphex
cc43b84ff2 (RARCH_CONSOLE) Refactor more state variables 2013-01-11 19:44:34 +01:00
twinaphex
d84dec4c96 (360) Fix build 2013-01-11 18:22:18 +01:00
twinaphex
b67fd69c26 (RARCH_CONSOLE) Refactored out rmenu_hd/rmenu_widescreen 2013-01-11 18:14:54 +01:00
twinaphex
ca3be92255 (RARCH_CONSOLE) Refactor msg_fps variable 2013-01-11 06:56:05 +01:00
twinaphex
5bf022fd99 (RARCH_CONSOLE) Use local variable copy of g_extern.lifecycle_menu_state in frame
functions - more state functionality will be moved here (for console ports)
2013-01-11 06:32:35 +01:00
twinaphex
9bc24151f2 (XDK D3D) Go through local pointer to render device 2013-01-11 00:58:08 +01:00
twinaphex
3c8bb7333e (RMenu) Refactor g_extern.draw_menu 2013-01-10 19:43:00 +01:00
twinaphex
530fe37373 (Xbox 1) Move xbox1/image.c to xdk/image.c 2013-01-10 09:22:33 +01:00
twinaphex
27a71de056 (360) Build fix 2013-01-09 17:59:23 +01:00
twinaphex
84f7a2f5f8 Indenting nits 2013-01-09 07:27:05 +01:00
twinaphex
f3a74fe44f (XDK) Clear to black in xdk_d3d_frame 2013-01-08 19:16:06 +01:00
twinaphex
7b63268036 (XDK) Bind xdk_d3d_set_shader to callback system 2013-01-08 19:07:06 +01:00
twinaphex
3fbb716a8e (360) Do Clear() at start of xdk_frame - should do menu
rendering properly now
2013-01-08 19:03:42 +01:00
twinaphex
4df53478a9 (Xbox 1) Fixes controls for Xbox 1 too - X/Y buttons inverted 2013-01-08 18:54:10 +01:00
twinaphex
686e43b911 (360) Fixes controls - X and Y button were inverted 2013-01-08 18:42:24 +01:00