Commit Graph

278 Commits

Author SHA1 Message Date
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 c51347c532 Drop MODE_VIDEO_SCREENSHOTS_ENABLE 2013-04-13 09:09:56 +02:00
twinaphex 2b3334fc23 (RMenu) use memcpy/memset to copy over/flush from one struct to another
(for pop_menu_stack/push_menu_stack purposes)
2013-04-12 12:41:49 +02:00
twinaphex f8a040e286 (Filebrowser) Refactor filebrowser - get rid of second filebrowser
instance in rmenu.c
2013-04-12 12:25:36 +02:00
twinaphex 345a9c77e8 (Filebrowser) Don't expose filebrowser_get_current_path function 2013-04-12 10:33:55 +02:00
twinaphex 459a371982 (RMenu) Slimmer filebrowser dir popping 2013-04-12 00:16:23 +02:00
twinaphex 9d53311e33 (Filebrowser) Get rid of unnecessary filebrowser_init 2013-04-11 23:00:01 +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 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 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 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 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 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 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
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
twinaphex b02e9f374c (RMenu) Further implement ingame_menu_core_options 2013-04-07 19:21:20 +02:00
twinaphex 3b82e779fe (RMenu) Implement stub Core Options menu - real implementation
tomorrow
2013-04-07 08:30:30 +02:00
twinaphex b430ded254 (RMenu/Xbox 1) Hardcode some positioning values 2013-04-07 05:20:19 +02:00
twinaphex 4102d1cfb8 Make sinc resampler the default and remove Hermite - audio
quality at high samplerates was too bad to be of any use
2013-04-07 03:41:06 +02:00
twinaphex 15eba51b22 (PS3) Get it at least compiling 2013-04-07 02:34:41 +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 69c460bbec (RMenu) Set 'selected' to FIRST_VIDEO_SETTING after selecting 'Change Game'
in Ingame Menu
2013-04-07 00:31:12 +02:00
twinaphex 81896840f0 (RMenu) Remove ingame_menu function / make it part of select_setting 2013-04-06 23:49:28 +02:00
twinaphex 2ab049fd05 (Xbox 1) Addendum to 'always load panel' prior commit 2013-04-06 23:17:50 +02:00
twinaphex ff19ff671d (Xbox 1) Panel should always be loaded regardless of low RAM mode 2013-04-06 23:13:35 +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 bcbac5aac7 (RARCH_CONSOLE) Remove shader_dir from default_paths struct 2013-04-06 22:16:12 +02:00
twinaphex cc05981455 (PS3/360) Now uses embedded shaders instead of stock shader from
common-shaders
2013-04-06 21:53:03 +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 1c5144f9bd (RMenu) Move RMenu logic out of graphics driver context files 2013-04-06 17:44:07 +02:00
twinaphex a2d9129782 Kill off set_fbo_state and get_fbo_state function pointers 2013-04-06 06:21:11 +02:00
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 4f1cd6a5ee Revert "(PS3) Remove fixed shader slots"
This reverts commit f58a038a5f.
2013-04-06 03:54:57 +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 09c123859d Revert "(RMenu) take out no longer used HAVE_FBO ifdef"
This reverts commit 5f6601ac7e.
2013-04-06 03:53:18 +02:00
twinaphex 5f6601ac7e (RMenu) take out no longer used HAVE_FBO ifdef 2013-04-06 00:24:11 +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 f58a038a5f (PS3) Remove fixed shader slots 2013-04-05 23:58:30 +02:00
twinaphex 52d6c0158f (RMenu) Fixes INGAME_MENU_CHANGE_GAME 2013-04-01 09:53:31 +02:00
twinaphex f5667f0297 (RMenu) Fixed 'Change Game' action 2013-04-01 09:38:16 +02:00
twinaphex 5d3949c610 (RMenu) Rewritten ingame menu 2013-04-01 09:18:30 +02:00
twinaphex 6f8a008d1b (RMenu) Change menu labels 2013-04-01 06:31:17 +02:00
twinaphex d2521204a0 (RMenu) Change 'Return to menu' to 'Change game' 2013-03-31 01:47:00 +01:00
twinaphex 57b4de45a3 (RMenu) Can now use L3 + R3 to exit ingame menu 2013-03-30 19:56:16 +01:00
twinaphex 426b3a255d Revert "(PS3) Add third-pass shaders (ifdeffed for PS3 for now - could" -
going to do this better

This reverts commit 8b4e6bed93.
2013-03-29 01:55:08 +01: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 fa80fbf5bb (RMenu) select_setting - cleanups 2013-03-26 15:26:16 +01:00
twinaphex d58122c655 (RMenu) select_setting refactor pt. 2 - don't put array of struct
on heap anymore
2013-03-26 15:15:38 +01:00
twinaphex 32791fe59c (RMenu) Refactor of select_setting 2013-03-26 15:06:08 +01:00
twinaphex 7d9ca5bf6a (RMenu) Rewrite select_setting 2013-03-26 08:15:48 +01:00
twinaphex 0fb415fa82 (RMenu) Move pressed_down/pressed_up logic inside for loop - select_settings 2013-03-26 00:23:05 +01:00
twinaphex d1b691a696 (RMenu) Take input states out of rmenu_state 2013-03-25 22:37:40 +01:00
twinaphex f0794daa34 (RMenu) Pass input states by value instead of by reference 2013-03-25 22:31:09 +01:00
twinaphex 9b893e2154 (RMenu) More cleanups pt. 2 2013-03-25 21:55:42 +01:00
twinaphex afda4b1a63 (RMenu) More cleanups 2013-03-25 21:24:51 +01:00
twinaphex 8568246454 (RMenu) Clean up init_filebrowser and free_filebrowser - make part of
RMenu
2013-03-25 21:01:04 +01:00
twinaphex fee0d9d77a Embed menu_stack into rmenu.c 2013-03-25 20:41:53 +01:00
twinaphex d57484e6eb Revert "(RMenu) RMenu cleanups pt. 3"
This reverts commit bcc5f906b6.
2013-03-25 20:19:43 +01:00
twinaphex bcc5f906b6 (RMenu) RMenu cleanups pt. 3 2013-03-25 19:04:23 +01:00
twinaphex 986806ca78 (RMenu) RMenu cleanups pt. 2 2013-03-25 18:36:15 +01:00
twinaphex 5a8aa57ae9 (RMenu) Cleanups 2013-03-25 17:47:47 +01:00
twinaphex f004e98f85 (RMenu) Fix build 2013-03-25 08:06:40 +01:00
twinaphex c9e2dd937d (Android) Update overlays - now adds an RGUI toggle button
(RMenu PS3) Clean up some unneeded function callbacks
2013-03-25 03:07:58 +01:00
twinaphex 0fa8c04984 Remove menu_settings.c 2013-03-23 19:34:38 +01:00
twinaphex 9058143953 Move create_menu_item_label to rmenu_xui.cpp 2013-03-23 18:11:03 +01:00
twinaphex 6d8871c76c Combine menu_settings_set and menu_settings_set_default and
move to settings.c
2013-03-23 17:21:42 +01:00
twinaphex 82d80cf24f (PS3) Multiman cleanups 2013-03-23 05:17:39 +01:00
twinaphex a8a277ec3b (RMenu) Cleanups 2013-03-18 18:31:14 +01:00
twinaphex 93522723b0 (RMenu) Replace more snprintfs in rmenu.c 2013-03-18 18:05:15 +01:00
twinaphex 2dc3adcde3 (Filebrowser) Remove redundant filebrowser_get_current_dir 2013-03-18 05:25:18 +01:00
twinaphex cf7f868e0a (RMenu) Replace more snprintfs with strlcpy 2013-03-18 05:11:36 +01:00
twinaphex 8930afd11c (RMENU) Replace snprintfs with strlcpy 2013-03-18 03:49:54 +01:00
twinaphex 11b2ca07b5 (RMenu) Build fix 2013-03-15 02:26:34 +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 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 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 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 d67e96c603 (RARCH_CONSOLE) Remove rarch_default_libretro_keybind_name_lut 2013-03-13 03:27:21 +01:00
twinaphex 17022672fc (Filebrowser) Clea up filebrowser code 2013-03-13 02:52:41 +01:00
twinaphex 713aa0ecbe (Input) Remove dpad_emulation_name_lut 2013-03-13 01:07:27 +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 dcf14aae38 Revert "(RMenu) Attempt same glitch fix as in RGUI for 'exit immediately"
This reverts commit 95342e7638.
2013-03-11 02:07:11 +01:00
twinaphex 95342e7638 (RMenu) Attempt same glitch fix as in RGUI for 'exit immediately
on first menu toggle press'
2013-03-11 01:51: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 7be75b29dc (PS3/XDK) Remove gfx_ctx_set_overscan 2013-03-10 20:13:06 +01:00
twinaphex ae9ddf362b (Xbox 1) Make xdk_ctx independent of HAVE_RMENU 2013-03-10 16:29:08 +01:00
twinaphex 92573940bd Move rmenu_set_default_pos to rmenu.c 2013-03-10 15:52:36 +01:00
twinaphex d74b7156fa Move more RMenu stuff to rmenu.c and out of the context drivers 2013-03-10 15:23:34 +01:00
twinaphex 59ff094b3b Add set_blend to video_poke interface 2013-03-10 03:53:42 +01:00
twinaphex 91e3355268 (RMenu) Use video_poke interface for RMenu as well 2013-03-10 02:58:55 +01:00
twinaphex 04c9b14b7e Remove S_DELAY macros 2013-03-09 22:21:53 +01:00
twinaphex 43d865cc5e Rename rmenu_settings to menu_settings 2013-03-09 22:19:25 +01:00
twinaphex b4fad2dab2 (RGUI) Get rid of rmenu_ namespace 2013-03-09 22:15:20 +01:00
twinaphex e7f206be79 Revert "Move rmenu_settings.c to settings.c + add header file"
This reverts commit b827075d55.
2013-03-09 17:09:40 +01:00
twinaphex b827075d55 Move rmenu_settings.c to settings.c + add header file 2013-03-09 17:00:52 +01:00
twinaphex 5e53be4b25 Rename rmenu_iterate to menu_iterate 2013-03-09 16:22:11 +01:00
twinaphex 34515fd7f5 (RARCH_CONSOLE) Integrate rarch-console_video into gfx_common 2013-03-09 03:20:59 +01:00
twinaphex 684a339651 (RMenu) Move some header stuff over to rmenu.c 2013-03-02 17:55:43 +01:00
twinaphex 145bad0b36 (RMenu) Indent fixes 2013-02-17 22:02:42 +01:00
twinaphex 3fe68149a6 (RMenu) Improve Low RAM mode for RMenu 2013-02-17 22:01:08 +01:00
twinaphex 0357f1510c (RMenu) Add low RAM mode 2013-02-17 20:23:27 +01:00
twinaphex c92decb983 (RMenu) Add extra param to rarch_resampler_realloc 2013-02-16 20:45:13 +01:00
twinaphex 27748e6c3a (Xbox 1) Buid fix 2013-02-13 20:00:24 +01:00
Themaister ecde4d477f memset struct before gl_cg_save_cgp. 2013-02-11 08:57:40 +01:00
twinaphex 1734586c24 (PS3) Fixes setting CGP preset file 2013-02-10 22:45:25 +01:00
twinaphex 4fdbd7deec (RMenu) Some cleanups to RMenu resampler code 2013-02-08 16:44:15 +01:00
twinaphex 094d076944 (PS3/Xbox 1/Rmenu) Add resampler type option 2013-02-08 14:40:22 +01:00
twinaphex dfe7e760d7 (PS3) Add ability to set menu skin 2013-02-01 07:42:36 +01:00
twinaphex 4ce9e580eb (PS3/RMenu) fixed menu toggle issues/crashes 2013-01-31 19:56:12 +01:00
twinaphex 8f0ef74cb0 (RMenu) Default libretro core option now switches cores instantly 2013-01-22 20:50:05 +01:00
twinaphex 7abeca067d (Filebrowser) Remove MODE_FILEBROWSER_REFRESH_PENDING 2013-01-22 20:42:11 +01:00
twinaphex 8a4efb6189 Refactor console_load_game 2013-01-22 01:12:02 +01:00
twinaphex 8efc01b321 (RARCH_CONSOLE) Use new unzip code and remove console-centric
stuff
2013-01-22 00:14:24 +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 5d33861c8b (RMenu) Add rewind_granularity option 2013-01-19 08:54:39 +01:00
twinaphex 0ab9de154d (RMenu) Prevent being able to pop filebrowser off menu stack 2013-01-17 17:11:02 +01:00
twinaphex 3b43155b06 rarch_console_rsound.c code moved to audio/utils.c 2013-01-17 14:21:49 +01:00
twinaphex d21e778c94 (PS3) Cleaup in osk_callback_enter_filename 2013-01-17 14:03:55 +01:00
twinaphex ca9edec941 (PS3) Add PAL60 mode 2013-01-17 12:17:02 +01:00
twinaphex 95961d1ccb (PS3) Fixes OSK code 2013-01-17 10:40:35 +01:00
twinaphex 32495632d8 (Filebrowser/RMenu) Now refreshes filebrowser when unzipping a file 2013-01-13 08:58:57 +01:00
twinaphex d2a20483fb (RMenu) Split up more settings into rmenu_settings 2013-01-13 08:04:06 +01:00
twinaphex 15cbab4876 (RARCH_CONSOLE) Add new Unzip mode : Unzip, Load First File, Then Delete
- tested first on PS3
2013-01-13 07:12:21 +01:00
twinaphex 61518f51b7 (RMenu) Add refresh rate option - setting not saved to config
for safety reasons
2013-01-13 05:52:00 +01:00