Commit Graph

164 Commits

Author SHA1 Message Date
twinaphex 098e6b0e9b Move menu_common_load_content to menu.c 2015-06-08 11:38:27 +02:00
twinaphex 27a7f66c2a Header include nits 2015-06-05 18:23:06 +02:00
twinaphex 9c6f8eed40 Put menu settings functions into namespace 2015-06-03 21:27:47 +02:00
twinaphex bfcf1a7288 Revert "Make some functions static"
This reverts commit 6b04db075d.
2015-06-03 10:13:25 +02:00
twinaphex 6b04db075d Make some functions static 2015-06-03 10:13:03 +02:00
twinaphex 1222bb609b (Menu) Create menu->playlist 2015-05-26 04:27:21 +02:00
twinaphex 9abe3ec6e8 Remove menu->db_playlist, refactor code 2015-05-26 01:58:52 +02:00
twinaphex 8fb8887c34 Create new playlist format 2015-05-26 00:12:49 +02:00
twinaphex 2f0b2460e7 Move code to database_info.c 2015-05-25 04:50:07 +02:00
Higor Eurípedes 15d8570e5b (menu_list.c) Fix leak 2015-05-19 17:02:23 -03:00
twinaphex 375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
twinaphex a49e50896c Create wrapper functions menu_display_fb_set_dirty and menu_display_fb_unset_dirty 2015-05-18 23:14:56 +02:00
twinaphex c91ddf794f Simplify call to menu_do_refresh 2015-05-16 17:33:12 +02:00
twinaphex 02b29e08ad Move menu_do_refresh to rarch_main_data_iterate 2015-05-16 17:27:16 +02:00
twinaphex 324e55f66d Create menu_do_refresh 2015-05-15 22:22:23 +02:00
twinaphex 8dfbc1b54e Wrap menu->need_refresh 2015-05-15 22:06:42 +02:00
twinaphex f525899e0e Create menu_set_refresh/menu_unset_refresh 2015-05-15 21:39:13 +02:00
twinaphex 1b4ce6d25e Cleanup menu_iterate 2015-05-15 21:26:37 +02:00
twinaphex dd7d1493a6 Revert "Create menu_refresh"
This reverts commit 7baa41422d.
2015-05-15 18:05:52 +02:00
twinaphex 7baa41422d Create menu_refresh 2015-05-15 17:58:09 +02:00
twinaphex f23962ff3b Change how MENU_ACTION_REFRESH gets invoked 2015-05-15 16:57:45 +02:00
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
twinaphex e4abe6f0bf Simplify menu_update_libretro_info 2015-03-07 14:38:05 +01:00
twinaphex 795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
twinaphex a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
Jean-André Santoni ab84c14b66 (Menu) Delta timing 2015-03-06 16:00:46 +01:00
twinaphex 2e0902fda1 Revert "(Menu) Delta timing"
This reverts commit 24f7acb93c.
2015-02-24 03:06:25 +01:00
twinaphex fc75b55219 Revert "(Menu) Limit delta time to an acceptable range"
This reverts commit 319fcca439.
2015-02-24 03:06:18 +01:00
twinaphex 64527f2cef Revert "(Menu) cleaner dt formulas"
This reverts commit b6e214128a.
2015-02-24 03:06:13 +01:00
Twinaphex e3b6b89a55 Merge pull request #1444 from lakkatv/xmb
(Menu) cleaner dt formulas
2015-02-24 11:11:47 +11:00
Jean-André Santoni b6e214128a (Menu) cleaner dt formulas 2015-02-24 01:09:14 +01:00
Twinaphex d4e6a1ddda Merge pull request #1443 from lakkatv/xmb
(Menu) Limit delta time to an acceptable range
2015-02-24 10:44:15 +11:00
Jean-André Santoni 319fcca439 (Menu) Limit delta time to an acceptable range 2015-02-24 00:42:44 +01:00
Twinaphex 54163d20fc Merge pull request #1442 from lakkatv/xmb
(Menu) Delta timing
2015-02-24 10:31:44 +11:00
Jean-André Santoni 24f7acb93c (Menu) Delta timing 2015-02-24 00:28:11 +01:00
twinaphex e795e01f7a Add menu message queue 2015-02-24 00:01:45 +01:00
twinaphex d1483d1530 (GX) Buildfix 2015-02-13 19:11:53 +01:00
twinaphex 4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
twinaphex 3f46f97abd Prevent some memory leaks in menu_init 2015-02-12 19:14:10 +01:00
twinaphex 6b8aece1f7 (Menu) Cleanups 2015-02-11 19:28:06 +01:00
twinaphex b0bd9fdd9d (menu.c) menu_iterate - cleanups 2015-02-11 19:17:30 +01:00
twinaphex 8e42857488 (Menu) Move set_texture call to higher-level iterate function 2015-02-11 19:16:06 +01:00
twinaphex 00cd281a1f Move menu_ticker_line to menu_animation.c 2015-02-11 18:52:59 +01:00
twinaphex 915c97b76f Refactor menu_driver.h 2015-02-11 18:36:37 +01:00
twinaphex 3d83c1fa75 Free menu->frame_buf in menu_free 2015-02-11 07:02:12 +01:00
twinaphex 46003314a8 Refactor menu_animation.c 2015-02-11 00:40:18 +01:00
Jean-André Santoni e330f03124 (Menu) init_lists was not used either 2015-02-10 15:02:38 +01:00
Jean-André Santoni 274cfe0f9f (Menu) input_postprocess was not used anymore by any menu driver 2015-02-10 14:52:25 +01:00
Jean-André Santoni f24bdb1cbf (Menu) No more core_info manipulation on the menu driver side. Instead, we ensure that core_info is inited before menu init, and call context reset after core info update. 2015-02-05 00:39:59 +01:00
Toad King 75b02236d5 throttle menu better when libretro_pause is off 2015-02-02 21:55:30 -06:00
Toad King 002fba476d add menu throttle for 120+Hz displays 2015-02-02 20:25:29 -06:00