Commit Graph

135 Commits

Author SHA1 Message Date
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
twinaphex
d9094506c7 Rough implementation of game loading from database 2015-02-03 00:59:16 +01:00
twinaphex
49a2bce941 Cleanups - move input code to menu_input.c 2015-01-27 01:29:33 +01:00
twinaphex
04062497de There is only one menu driver now 2015-01-26 10:54:13 +01:00
twinaphex
7e24fdfdc7 Cleanup unnecessary list_mainmenu 2015-01-25 05:39:08 +01:00
twinaphex
da88bcdd91 Rename gfx_shader* to video_shader* 2015-01-19 21:24:08 +01:00
twinaphex
657401b033 Remove MENU_TEXTURE_FULLSCREEN - was always set to false when HAVE_RGUI
is defined so not sure what the purpose here was
2015-01-15 02:08:39 +01:00
twinaphex
22ccfc7db7 (menu.c) Cleanups 2015-01-11 06:14:13 +01:00
twinaphex
73d4622b54 Create pre_state_checks 2015-01-10 22:51:03 +01:00
twinaphex
5bacd9ed1b Rename apply_deferred_settings 2015-01-10 06:37:27 +01:00
twinaphex
d32e9ed4c5 Move input_frame to menu_input_line_cb.c and rename it menu_input_frame 2015-01-10 06:33:05 +01:00
twinaphex
fbac91cd79 Document menu_init_list/menu_free_list 2015-01-10 06:13:12 +01:00
twinaphex
62b430e6eb Rename function to menu_load_content 2015-01-10 06:09:30 +01:00
twinaphex
ef720d3815 Remove menu_type_is - now obsolete 2015-01-10 05:25:37 +01:00
twinaphex
b95cdd2215 Rename menu_common.c to menu.c 2015-01-10 04:53:37 +01:00