Commit Graph

93 Commits

Author SHA1 Message Date
twinaphex 0e467f99ed (Menu) Refactor 2015-05-15 14:42:55 +02:00
twinaphex 29a10e5cb3 Create menu_setting_apply_deferred 2015-05-15 00:22:26 +02:00
twinaphex 42ee2606a1 Remove menu_entries.c 2015-05-12 13:14:04 +02:00
twinaphex 76407c9ef2 Start updating menu->input.joypad and menu->input.mouse per-frame 2015-05-11 22:43:16 +02:00
Twinaphex 014c1b343d Get rid of unused variables 2015-05-11 18:47:08 +02:00
twinaphex a014f2db88 Move framebuffer is dirty and other menu-related state flags
to menu_handle_t
2015-05-11 18:46:06 +02:00
twinaphex 1a152677a3 Get rid of entry_iterate callback in menu driver 2015-05-11 18:31:44 +02:00
twinaphex 0731e8c1fa MOve menu_update_libretro_info to driver.c and make it a static function 2015-04-27 05:38:27 +02:00
twinaphex 5e75d59894 (XMB) Shows XMB categories again 2015-04-27 04:03:44 +02:00
Higor Eurípedes 1532ab3a58 (Menu) Actually free menu in menu_free() 2015-04-25 20:42:12 -03:00
twinaphex 943ecee554 (Menu) Update menu_update_libretro_info 2015-04-23 02:11:57 +02:00
twinaphex 62899fc046 (Menu) Change void * arguments in signatures 2015-04-23 01:27:43 +02:00
twinaphex a104517168 (Menu) Create menu_display.c/menu_display.h 2015-04-21 14:44:26 +02:00
Twinaphex a3e9a5c8f9 Get rid of unused variables 2015-04-14 12:57:41 +02:00
twinaphex 930913ee8b (Menu) Cleanups 2015-04-14 12:56:37 +02:00
twinaphex 0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
twinaphex 2fbc79e9f3 Cleanup some header includes 2015-04-07 22:21:08 +02:00
Jean-André Santoni 2cc5ad1476 (Menu) Prevent calling context reset twice, fixes the white screen on RPi 1 2015-04-05 15:52:19 +02:00
Higor Eurípedes 2008667640 (Menu) Fix core loading from history 2015-03-22 19:17:40 -03:00
twinaphex 636fd426f6 Create set_texture_enable wrapper function 2015-03-22 18:59:16 +01:00
Twinaphex 242bfaba78 Remove unused variables 2015-03-22 09:36:32 +01:00
twinaphex 81cef83f54 Cleanup previous commit 2015-03-22 06:31:31 +01:00
twinaphex 6a15f8e540 Fix fullscreen toggle 2015-03-22 06:29:51 +01:00
twinaphex e8060a2423 Create more menu driver wrapper functions 2015-03-22 05:32:43 +01:00
twinaphex 0fd8fb77e9 Create menu context wrapper functions 2015-03-22 05:21:14 +01:00
twinaphex c0ab69f67f (menu.c) Cleanups 2015-03-22 04:48:50 +01:00
twinaphex e661d980cf Create menu_context_reset 2015-03-22 04:42:45 +01:00
twinaphex 508ade73f9 Rename menu_driver_resolve to menu_driver_get_ptr 2015-03-21 23:56:42 +01:00
twinaphex e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex 7bc845006b Start replacing more g_settings usages 2015-03-20 20:43:22 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex 7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex 761177a885 Update more old code to go through the new wrapper function 2015-03-15 02:59:38 +01:00
twinaphex 00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex a2d82612ad (Menu) Get rid of wrongly implemented menu.action.active 2015-03-11 17:59:01 +01:00
twinaphex 72ba8abefa (Menu) Don't call draw_frame if g_runloop.is_idle is true 2015-03-11 17:02:46 +01:00
twinaphex eca5431c7e (Menu) Take menu.action.active check outside of 'display update pending' function
- menu.action.active should be properly implemented regardless
2015-03-11 16:52:21 +01:00
twinaphex 23fde82836 Create menu_display_update_pending 2015-03-11 16:35:12 +01:00
Higor Eurípedes e4de8eda8b (Menu) Fix clock update 2015-03-08 18:25:00 -03:00
Higor Eurípedes f74f44d8d1 (Menu) Move set_texture to after draw_frames() 2015-03-08 16:37:53 -03:00
Higor Eurípedes 50b09109d9 (Menu) Let the menu driver clear the dirty bits 2015-03-08 15:18:50 -03:00
twinaphex 981d012b4b (Menu) Simplify draw_frame calls 2015-03-08 18:35:55 +01:00
Higor Eurípedes de883704e4 (Menu) Set framebuf.dirty = true in menu_init 2015-03-08 13:36:34 -03:00
twinaphex f773853908 (Menu) Hook up menu.framebuf.dirty too 2015-03-08 17:27:58 +01:00
Twinaphex 4eb2c8f4a7 (Menu) Only call rarch_render_cached_frame when a state change has
occurred that requires the video state to be flushed
2015-03-08 17:26:19 +01:00
twinaphex b5b59608dd Add three ways to indicate that the menu should update video -
(1) an animation is active, (2) a label has its contents updated (can be a message ticker or say an FPS monitor label being constantly updated, and (3) the menu framebuffer is 'dirty' (meaning its contents has changed and therefore we need to upload it again to the GPU.
2015-03-08 16:55:25 +01:00
twinaphex e86efd320c Create g_runloop.frame.video.current.menu.is_animated and
g_runloop.frame.video.current.menu.framebuf_dirty - will be used
to inform processes or runloops outside of RA's runloop that video update
needs to happen because of animations or video state changes
occurring.
2015-03-07 17:16:41 +01:00
twinaphex 817c4d3d91 Add RARCH_CMD_LOAD_CORE_PERSIST 2015-03-07 14:45:16 +01:00
twinaphex f7fa179301 Turn menu_update_libretro_info static 2015-03-07 14:41:43 +01:00