Commit Graph

66 Commits

Author SHA1 Message Date
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