Commit Graph

4102 Commits

Author SHA1 Message Date
twinaphex
280281e644 menu_driver.h - Remove input_driver.h 2015-12-11 12:08:19 +01:00
twinaphex
3fa9abe3aa menu_driver.h - don't include menu_displaylist.h 2015-12-11 12:06:24 +01:00
twinaphex
c282027b50 Cleanups 2015-12-11 12:02:21 +01:00
twinaphex
fdf17808e0 Create MENU_ANIMATION_CTL_DEINIT 2015-12-11 12:00:49 +01:00
twinaphex
2d0a8ec9b5 Cleanups 2015-12-11 11:58:48 +01:00
twinaphex
c21c04d73b Create MENU_NAVIGATION_CTL_DEINIT 2015-12-11 11:57:43 +01:00
twinaphex
8ea64378f8 Create MENU_INPUT_CTL_DEINIT 2015-12-11 11:56:31 +01:00
twinaphex
45de6fe3b5 Create RARCH_DRIVER_CTL_SET_NONBLOCK_STATE 2015-12-11 11:04:16 +01:00
twinaphex
1b768f7dcd Create RARCH_DRIVER_CTL_SET_REFRESH_RATE 2015-12-11 11:00:12 +01:00
Twinaphex
47dbee7102 Merge pull request #2548 from lakkatv/master
(Menu) Use the alternative quickmenu for the history list. Step 1.
2015-12-11 10:17:32 +01:00
twinaphex
a8c6fc150b Add RUNLOOP_CTL_DATA_ITERATE 2015-12-11 10:17:18 +01:00
Jean-André Santoni
339082c153 (Menu) Use the alternative quickmenu for the history list. Step 1. 2015-12-11 16:13:18 +07:00
twinaphex
746b7dde73 Add memset to end of RARCH_MENU_CTL_SYSTEM_INFO_DENIT 2015-12-10 23:10:17 +01:00
twinaphex
d7fd52b03f Make g_system_menu no longer a global 2015-12-10 23:08:34 +01:00
twinaphex
fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex
25f4b89f1f Indenting nits 2015-12-10 21:08:21 +01:00
twinaphex
2f3f335bc5 Get rid of unused variable 2015-12-10 21:07:33 +01:00
twinaphex
5fbfabab5b Divorce menu->shader from menu_handle_t 2015-12-10 20:12:08 +01:00
twinaphex
aaf6d64432 Create RARCH_MENU_CTL_SHADER_DEINIT 2015-12-10 20:09:15 +01:00
twinaphex
201f3e780a Cleanup 2015-12-10 20:07:10 +01:00
twinaphex
800b62e458 Cleanups 2015-12-10 20:05:00 +01:00
twinaphex
b22e192bc5 Cleanups - go through RARCH_MENU_CTL_SHADER_GET 2015-12-10 20:02:44 +01:00
twinaphex
77b623bdcd Go through RARCH_MENU_CTL_SHADER_GET 2015-12-10 19:59:21 +01:00
twinaphex
8392d944e5 Create RARCH_MENU_CTL_SHADER_GET 2015-12-10 19:56:08 +01:00
twinaphex
4202e9e9d3 Cleanup 2015-12-10 19:43:25 +01:00
twinaphex
65c59eb9f1 Cleanups 2015-12-10 19:38:46 +01:00
twinaphex
d6538bb7ae Pass userdata pointer to list_insert callback 2015-12-10 19:08:28 +01:00
twinaphex
b42149c826 Pass void pointers to list_push callback 2015-12-10 19:02:01 +01:00
twinaphex
ae995f6986 Cleanups 2015-12-10 18:49:26 +01:00
twinaphex
8ef1e9c0b0 Cleanups 2015-12-10 17:26:29 +01:00
twinaphex
42643088f4 Refine earlier commit 2015-12-10 17:25:40 +01:00
twinaphex
78db1845dc Move data pointer to navigation_clear callback 2015-12-10 17:24:56 +01:00
twinaphex
cfaca8439d Cleanups 2015-12-10 17:08:17 +01:00
twinaphex
18d3cb0649 Pass data to context_reset callback 2015-12-10 17:01:06 +01:00
twinaphex
02bac66c9e Pass userdata to context_destroy callback 2015-12-10 16:57:48 +01:00
twinaphex
71548e2e10 Pass userdata to toggle callback 2015-12-10 16:54:46 +01:00
twinaphex
19f0a23e7e load_image - add userdata handle 2015-12-10 16:51:59 +01:00
twinaphex
94248be657 Pass userdata variable to populate_entries 2015-12-10 16:45:38 +01:00
twinaphex
333ee443e3 Change pointer_tap callback 2015-12-10 16:26:40 +01:00
twinaphex
604cbc585f Pass userdata pointer to environ callback 2015-12-10 16:23:32 +01:00
twinaphex
bd0a427df1 Pass userdata pointer to list_cache callback 2015-12-10 16:17:23 +01:00
twinaphex
f0a8867487 (XMB) Refactors 2015-12-10 16:14:53 +01:00
twinaphex
08a9bdfc12 Cleanup 2015-12-10 16:10:21 +01:00
twinaphex
f70acd4a64 Cleanups 2015-12-10 15:49:37 +01:00
twinaphex
bf73abc753 Cleanups 2015-12-10 15:48:04 +01:00
twinaphex
46b5c5e79f (XMB) Cleanup 2015-12-10 15:47:08 +01:00
twinaphex
bed86cc57e (XMB) Cleanup 2015-12-10 15:46:15 +01:00
twinaphex
e44f6d5d81 Update RMenu XUI 2015-12-10 15:45:05 +01:00
twinaphex
87ff4d7d82 Pass userdata handle to frame callback 2015-12-10 15:44:26 +01:00
twinaphex
6db1a8eb0d Cleanups 2015-12-10 15:40:44 +01:00
twinaphex
6bff83478f (MUI) Cleanups 2015-12-10 15:33:10 +01:00
twinaphex
114bce9f0f (MUI) Cleanups 2015-12-10 15:31:17 +01:00
twinaphex
527f7c7266 (XMB) Cleanups 2015-12-10 15:28:05 +01:00
twinaphex
a173b5a2bb Some more cleanups 2015-12-10 15:23:43 +01:00
twinaphex
14427dd725 (XMB) Cleanups 2015-12-10 15:21:20 +01:00
twinaphex
fbdfad6250 Remove unused void * parameter for init_main_font 2015-12-10 15:19:41 +01:00
twinaphex
d2c5139ab1 Revert "Add userdata pointer to frame callback"
This reverts commit ca9520a522.
2015-12-10 15:17:37 +01:00
twinaphex
ca9520a522 Add userdata pointer to frame callback 2015-12-10 15:12:47 +01:00
twinaphex
abc2315c78 Remove unused pointer 2015-12-10 14:52:34 +01:00
twinaphex
b0a0a8d9a7 Cleanup one unused pointer 2015-12-10 14:52:02 +01:00
twinaphex
686bcf723d Move scroll_y to userdata 2015-12-10 14:50:43 +01:00
twinaphex
f4695c7547 Pass userdata pointer to render callback 2015-12-10 14:45:34 +01:00
twinaphex
2930997c25 Pass userdata to messagebox callback 2015-12-10 14:40:56 +01:00
twinaphex
f374e12143 Cleanup 2015-12-10 14:36:31 +01:00
twinaphex
02fb8dd052 Avoid warning 2015-12-10 14:03:34 +01:00
twinaphex
a1b4ba9280 Cleanups 2015-12-10 14:00:28 +01:00
twinaphex
8acaa19d01 CLeanups 2015-12-10 13:48:41 +01:00
twinaphex
7274e6bc3e Cleanups 2015-12-10 12:37:24 +01:00
twinaphex
f0e11659c7 Header include changes 2015-12-09 09:53:43 +01:00
twinaphex
3c765e30d3 Add RUNLOOP_CTL_GET_CORE_OPTION_SIZE 2015-12-09 09:37:54 +01:00
twinaphex
fee5d2a880 Add RUNLOOP_CTL_HAS_CORE_OPTIONS 2015-12-09 09:34:19 +01:00
twinaphex
86c6848281 Fix CORE_OPTION_NEXT 2015-12-09 09:31:22 +01:00
twinaphex
99824bcad0 Move more code to do with core options to runloop.c 2015-12-09 09:21:49 +01:00
twinaphex
39499eb107 Silence 'cannot be reached' warnings 2015-12-08 19:54:36 +01:00
twinaphex
e6360627ab menu_cbs_right.c - cleanup 2015-12-08 15:20:44 +01:00
twinaphex
34dbd35642 Revert "Remove some unnecesary functions"
This reverts commit 1f13f26ba4.
2015-12-08 12:55:43 +01:00
twinaphex
1f13f26ba4 Remove some unnecesary functions 2015-12-08 11:21:57 +01:00
twinaphex
9f96742576 Take out some header includes 2015-12-08 09:30:44 +01:00
twinaphex
df60523f6c Move current_shader pointer to video_shader_driver.c 2015-12-08 09:27:25 +01:00
twinaphex
1e522f4035 (Android) Start calling SET_STUB_FRAME for LOST_FOCUS/GAINED_FOCUS 2015-12-07 21:07:04 +01:00
twinaphex
faad85e596 Create MENU_DISPLAY_CTL_SET_STUB_DRAW_FRAME/MENU_DISPLAY_CTL_UNSET_STUB_DRAW_FRAME 2015-12-07 20:57:24 +01:00
twinaphex
5ec501f934 move prevent_populate to menu_driver_ctl 2015-12-07 16:57:06 +01:00
Higor Eurípedes
e56c8feec9 (menu_display.c) Improve fallback DPI logic 2015-12-07 12:28:22 -03:00
twinaphex
b7982d9662 Cleanup 2015-12-07 16:14:36 +01:00
twinaphex
6664bf2522 Don't use menu_driver_get_ptr outside of menu/ files at all 2015-12-07 16:11:53 +01:00
twinaphex
b0b35ba9e5 Remove more references to menu_driver_get_ptr outside of menu/ files 2015-12-07 16:00:48 +01:00
twinaphex
2daf9832a9 Create new function types 2015-12-07 15:54:06 +01:00
twinaphex
2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex
5b1e1592cb Rename rarch_main_iterate and rarch_main_data_iterate 2015-12-07 15:22:36 +01:00
Twinaphex
c2e0e8d9fb (menu_entries.c) Less pointer grabbing 2015-12-07 07:13:18 +01:00
twinaphex
0d52b8ec3a Header include nits 2015-12-06 22:48:57 +01:00
twinaphex
4218ff7781 move elem0_path 2015-12-06 21:23:18 +01:00
twinaphex
d84ffcc915 Attempt to make action_get_title_generic more robust 2015-12-06 21:22:19 +01:00
twinaphex
91cf0508fe core_info.c - Refactor 2015-12-06 20:44:21 +01:00
twinaphex
c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex
883c2a172a Exclude performance.h from runloop.h 2015-12-06 19:10:58 +01:00
twinaphex
8829b27cd2 Create RARCH_MENU_CTL_SET_TEXTURE 2015-12-06 18:30:45 +01:00
twinaphex
99ea0095a3 Create RARCH_MENU_CTL_FRAME 2015-12-06 18:28:37 +01:00
twinaphex
bea3f938d9 RARCH_MENU_CTL_DESTROY: Make sure all static local variables are
set back to default state
2015-12-06 18:23:46 +01:00
twinaphex
d1fa703991 Buildfix 2015-12-06 17:56:18 +01:00
twinaphex
1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex
8e8f69bb69 Refactor away menu_driver_toggle 2015-12-06 17:41:00 +01:00
twinaphex
88a1f48cc3 Create RARCH_MENU_CTL_DESTROY 2015-12-06 17:15:32 +01:00
twinaphex
9471020bf7 Reduce some more msg char variables 2015-12-06 15:55:05 +01:00
twinaphex
c4d1f2c49d Get rid of some implicit memsets for font_params local variables 2015-12-06 14:46:50 +01:00
twinaphex
39e9d5c5ba Start cutting down on the size of some char local variables - we
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
Higor Eurípedes
e18e4494e7 (menu) Fix heap overflow
Some struct video_shader fields have sizes defined by macros, menu.h and
video_shader_parse.h had different values for some of them. This
resulted in menu.c allocating a ~120KB struct video_shader while
video_shader_parse.c tried to memset() a ~150KB. For some reason this
was only triggered in 32bit environments.
2015-12-05 18:15:35 -03:00
twinaphex
5b939e810c Get rid of driver_t and driver_get_ptr 2015-12-05 16:54:13 +01:00
twinaphex
18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex
271975954f move camera_driver.h header incldue out of driver.h 2015-12-05 15:55:26 +01:00
twinaphex
19a7ee6486 Move header include for location/location_driver.h out of
driver.h
2015-12-05 15:47:33 +01:00
Twinaphex
aac2ceba02 Don't set menu_driver_ctx yet to NULL at RARCH_MENU_CTL_DEINIT time 2015-12-05 14:03:39 +01:00
twinaphex
736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex
2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
twinaphex
66582c3f06 Move variables to menu_driver.c and turn them staticc 2015-12-05 13:13:49 +01:00
twinaphex
688ddcfd9e Rename the two variables 2015-12-05 13:09:27 +01:00
twinaphex
d3bc47c6dc Create RARCH_MENU_CTL_IS_SET_TEXTURE 2015-12-05 13:06:22 +01:00
twinaphex
841d6010a5 Create RARCH_MENU_CTL_DEINIT 2015-12-05 13:04:21 +01:00
twinaphex
3845df84ef Small buildfix 2015-12-05 13:01:15 +01:00
twinaphex
783881941a Create menu_driver_ctl 2015-12-05 13:00:45 +01:00
twinaphex
c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex
978f05ef3b remove unused variables 2015-12-05 12:19:15 +01:00
twinaphex
78fef6422b Create font_driver_get_message_width 2015-12-05 12:17:58 +01:00
twinaphex
df813ad58b Create font_driver_flush 2015-12-05 12:10:12 +01:00
twinaphex
df1c6344be Merge font_renderer_driver.c and font_driver.c 2015-12-05 12:07:22 +01:00
twinaphex
7246d219b6 Cut down on dependencies on driver->font_osd_driver 2015-12-05 11:48:06 +01:00
twinaphex
1c1ac91221 Don't need first param for menu_display_font_flush_block 2015-12-05 11:42:46 +01:00
twinaphex
c5879028b3 Not sure why an empty handle was being passed to menu_display_font_bind_block 2015-12-05 11:40:49 +01:00
twinaphex
a747af2687 Nothing was done with first param of menu_display_font_bind_block 2015-12-05 11:38:18 +01:00
twinaphex
44b708642c Expand font_driver_bind_block 2015-12-05 11:34:56 +01:00
twinaphex
988162ed62 Cut down on code duplication 2015-12-05 11:29:06 +01:00
twinaphex
4c8a2a3f88 Create font_driver_bind_block 2015-12-05 10:59:03 +01:00
twinaphex
a26e64e24d Expand font_driver_free 2015-12-05 10:54:53 +01:00
twinaphex
63c12b0083 Don't include ui_companion_driver.h inside driver.h 2015-12-05 10:04:06 +01:00
twinaphex
29dcf06a2e Move ui_companion_driver code all to ui_companion_driver.c 2015-12-05 09:55:13 +01:00
twinaphex
ddff980161 Remove unused variables 2015-12-05 09:14:55 +01:00
twinaphex
f72b69e8d1 Don't include frontend_driver.h as part of driver.h 2015-12-05 09:09:31 +01:00
twinaphex
5ed7c3abed Simplify call to main_load_content 2015-12-05 08:10:01 +01:00
twinaphex
e735f84baa Refactor shader subsystem 2015-12-05 07:33:32 +01:00
twinaphex
c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex
3b176eed6f move frame_time_last out of system_t struct and make it
a static local variable inside rarch_main_iterate
2015-12-04 12:26:39 +01:00
twinaphex
d9ab26c6e0 Turn menu_animation_state into static local variable 2015-12-04 11:45:33 +01:00
twinaphex
526e41f271 Turn menu_input_state into static local variable 2015-12-04 11:43:42 +01:00
twinaphex
fdfcbaa042 Backport/rewrites wmarquesr pt. 7.5 2015-12-04 11:08:12 +01:00
twinaphex
b280d25f8a Backport/rewrites wmarquesr pt. 8 2015-12-04 11:06:33 +01:00
twinaphex
456252582e (menu_navigation.c) Turn static variable into local static variable 2015-12-04 03:26:48 +01:00
Higor Eurípedes
f63468d783 Fix some potential null derefs 2015-12-03 21:22:29 -03:00
Jean-André Santoni
a6d4e596bb (Menu) Fix a regression in menu_displaylist_parse_settings 2015-12-04 07:01:52 +07:00
Jean-André Santoni
5874805fe4 (Menu) Fix the empty setting list edge case. Prevents being stuck in an empty menu. Fixes #2509 2015-12-04 05:16:05 +07:00
twinaphex
584e0c5110 Prevent crash in Android 2015-12-03 21:37:52 +01:00