Commit Graph

752 Commits

Author SHA1 Message Date
Hans-Kristian Arntzen ef79734e7c Use same system as dynamic cores to get system info. 2016-03-21 22:58:13 +01:00
twinaphex 64a77af881 Use RARCH_DISPLAY_CTL_HW_CONTEXT_GET directly instead of
going through video_driver_callback
2016-03-04 20:49:55 +01:00
twinaphex 05ce32efe4 Add RUNLOOP_CTL_FORCED_NONBLOCK_{} actions 2016-03-04 19:20:00 +01:00
twinaphex e34943194c Refactor camera driver code 2016-03-04 18:16:07 +01:00
twinaphex a6c2e2981d Move comment to driver.c 2016-02-11 02:29:49 +01:00
twinaphex 9bb1127727 Add more state to RARCH_MENU_CTL_DEINIT 2016-02-10 07:17:26 +01:00
twinaphex bbe7221d95 driver_ctl - return default return value to true 2016-02-10 04:12:20 +01:00
twinaphex f604afeede Create RARCH_MENU_CTL_FIND_DRIVER 2016-02-09 16:49:23 +01:00
twinaphex 5cd66a19b2 Create RARCH_MENU_CTL_INIT 2016-02-09 16:45:28 +01:00
twinaphex 2cbb18b4e4 Create RARCH_DRIVER_CTL_FIND_INDEX 2016-02-01 13:15:53 +01:00
twinaphex 668373f9f8 Refactor away some functions 2016-02-01 12:56:17 +01:00
twinaphex b47caeb58b Refactor away runloop_msg_queue_push_new 2016-01-29 14:30:09 +01:00
twinaphex 1a9479ed04 Create core_ctl commands CORE_CTL_INIT / CORE_CTL_DEINIT 2016-01-27 03:14:36 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex 63e2d13b8f Create string_is_equal_noncase - try not to use strcasecmp so much 2016-01-20 17:34:19 +01:00
twinaphex 454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex 4fd5f1cad6 Improvements to unsetting the video driver callback 2015-12-28 21:34:57 +01:00
twinaphex 7c8bd76821 Fix statement is unreachable warning 2015-12-26 09:49:58 +01:00
twinaphex 91f61afa16 Start using string_is_empty 2015-12-26 07:07:01 +01:00
twinaphex 5e1390bb5a Add RARCH_MENU_CTL_CONTEXT_DESTROY 2015-12-12 23:36:43 +01:00
twinaphex 3f4b0012d3 Create RARCH_MENU_CTL_CONTEXT_RESET 2015-12-12 23:34:49 +01:00
twinaphex c491207b78 Create RARCH_DRIVER_CTL_UNINIT 2015-12-11 11:23:32 +01:00
twinaphex ab36e92595 Create RARCH_DRIVER_CTL_INIT 2015-12-11 11:21:17 +01:00
twinaphex 60f606fc65 Create RARCH_DRIVER_CTL_UPDATE_SYSTEM_AV_INFO 2015-12-11 11:12:20 +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 0a01eab115 Create RARCH_DRIVER_CTL_INIT_PRE 2015-12-11 10:52:15 +01:00
twinaphex f2911269d5 Create driver_ctl 2015-12-11 10:43:53 +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 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
Twinaphex 637eb68bed Create RARCH_CAMERA_CTL_DESTROY and RARCH_LOCATION_CTL_DESTROY 2015-12-07 08:05:52 +01:00
twinaphex c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex 88a1f48cc3 Create RARCH_MENU_CTL_DESTROY 2015-12-06 17:15:32 +01:00
twinaphex cc626877a9 Cleanups 2015-12-06 15:29:41 +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
twinaphex fadeb4b3e4 Turn some functions static 2015-12-05 23:03:05 +01:00
twinaphex e87c38bbed Remove driver_clear_state 2015-12-05 21:14:44 +01:00
twinaphex 5ba14b45ce Change some header includes 2015-12-05 20:05:32 +01: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 7e5d1f3117 Only rcord_driver.c references driver->recording now 2015-12-05 16:05:35 +01:00
twinaphex 271975954f move camera_driver.h header incldue out of driver.h 2015-12-05 15:55:26 +01:00
twinaphex 54dc5ca071 Move camera driver state out of driver_t 2015-12-05 15:52:25 +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 3790b1d566 Move location driver handle data to location_driver.c 2015-12-05 15:44:54 +01:00
twinaphex ade194b1cc Create location_driver_ctl 2015-12-05 15:40:29 +01:00
twinaphex a766d1c1c1 Create camera_driver_ctl 2015-12-05 14:40:04 +01:00
twinaphex 841d6010a5 Create RARCH_MENU_CTL_DEINIT 2015-12-05 13:04:21 +01:00
twinaphex 783881941a Create menu_driver_ctl 2015-12-05 13:00:45 +01:00
twinaphex 351077dc78 Start reimplementing audio/video/input driver deiniting 2015-12-04 14:30:59 +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 dc5060df79 Move g_driver to static loval variable for driver_get_ptr 2015-12-04 07:05:12 +01:00
twinaphex b62738465c Move video_active to gfx/video_driver.c 2015-11-29 21:38:47 +01:00
twinaphex 1d44619f41 Move driver->video_cache_context and driver->video_cache_context_ack
to video_driver.c
2015-11-29 20:44:51 +01:00
twinaphex df9f0fc6d1 Move input_data_own to input_driver.c 2015-11-29 20:34:35 +01:00
twinaphex ff13338ca9 Move audio_data_own to audio_driver.c 2015-11-29 20:26:30 +01:00
twinaphex c62150c2a2 Move video_data_own to gfx/video_driver.c 2015-11-29 20:23:16 +01:00
twinaphex 1c867cedf0 Move nonblock_state to input_driver.c (NOTE: we probably need
to relocate this later on)
2015-11-29 17:53:11 +01:00
twinaphex f7bb3650d9 Simplify driver_set_nonblock_state 2015-11-29 17:45:07 +01:00
twinaphex 9643edfac7 Create RARCH_INPUT_CTL_DESTROY 2015-11-25 18:49:37 +01:00
twinaphex 73ce9c0d23 Add another RARCH_INPUT_CTL_* command 2015-11-25 18:33:18 +01:00
twinaphex c9db73e944 Contain driver->input_data usage pt. 2 2015-11-25 03:25:31 +01:00
twinaphex 09fe26257c header include changes 2015-11-23 21:58:39 +01:00
twinaphex e0f0590269 Rearrange header includes 2015-11-23 19:40:09 +01:00
twinaphex 24400bc797 Divorce audio_data from driver_t struct 2015-11-23 19:22:18 +01:00
twinaphex 389cf13db5 Don't reference driver->video_data outside of gx/video_driver.c anymore 2015-11-23 18:51:04 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex e02fdd5b5b Cleanups 2015-11-23 10:13:27 +01:00
twinaphex 9e83fedcd9 Create more RARCH_AUDIO_CTL_ commands 2015-11-22 15:07:11 +01:00
twinaphex a88ae583cc Create RARCH_AUDIO_CTL_DEINIT/RARCH_AUDIO_CTL_INIT 2015-11-22 14:28:00 +01:00
twinaphex 0425f0564c Remove audio/audio_monitor.h 2015-11-22 13:35:57 +01:00
twinaphex 85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +01:00
twinaphex a7cb5b8491 Add RARCH_DISPLAY_CTL_MONITOR_ADJUST_SYSTEM_RATES 2015-11-20 20:47:47 +01:00
twinaphex e1ac9aed6b Add RARCH_DISPLAY_CTL_MONITOR_RESET 2015-11-20 19:04:00 +01:00
twinaphex 21cabec759 Add RARCH_DISPLAY_CTL_{DEINIT/INIT} 2015-11-20 19:01:13 +01:00
twinaphex 3e986f9562 Add RARCH_DISPLAY_CTL_SET_NONBLOCK_STATE 2015-11-20 17:22:19 +01:00
twinaphex a59ca22457 Add RARCH_DISPLAY_CTL_FIND_DRIVER 2015-11-20 15:59:01 +01:00
twinaphex df01279cf3 Add non-HAVE_MENU ifdefs 2015-10-28 00:55:11 +01:00
twinaphex e1c1917ed5 Cleanup headers 2015-09-05 19:24:21 +02:00
twinaphex 4ebfe7a779 Cleanups 2015-09-04 21:11:00 +02:00
twinaphex c8c35ed8d3 g_driver no longer a pointer 2015-07-27 14:46:18 +02:00
twinaphex cdef82b185 Make late binding possible for frontend drivers
(PS3) Fix shutdown/quit hang - now we have to fix exitspawn instead
2015-07-27 03:44:28 +02:00
twinaphex 3308ce365f (driver.c) use msg_hash.h 2015-07-02 05:26:10 +02:00
twinaphex 216da45b1e Add another entry to msg_hash_us.c 2015-07-01 02:08:44 +02:00
twinaphex cc7d54ba2e (driver.c) Use rarch_system_info_get_ptr 2015-06-25 13:33:27 +02:00
twinaphex 9326151a3f (decompress/7zip_support.c) Cleanups 2015-06-12 23:24:36 +02:00
twinaphex 4d381d9a61 (driver.c) Do away with series of strcmps 2015-06-04 22:37:00 +02:00
twinaphex 0cfeff8e1e Cleanups 2015-06-02 18:28:51 +02:00
twinaphex a81baed9e2 Move hw_render_callbakc to video driver state and take it out
of global state
2015-05-20 19:56:12 +02:00
twinaphex a053b41223 Create video_viewport_get_system_av_info and video_viewport_get_custom -
move custom viewport and system av info outside of global state
2015-05-20 18:57:17 +02:00
twinaphex a0ba714239 Create video_monitor_reset 2015-05-20 03:02:00 +02:00
twinaphex 4afc100924 Move audio_data out of global struct to prevent threading issues 2015-05-19 21:18:07 +02:00
Higor Eurípedes feef97f0df Set the global variable to NULL on free in driver.c and runloop.c 2015-05-19 14:01:02 -03:00
twinaphex 0e467f99ed (Menu) Refactor 2015-05-15 14:42:55 +02:00
Higor Eurípedes 7b66809b57 (driver.c) Deinitialize in the reverse order of initialization 2015-05-10 18:48:07 -03:00
twinaphex 9b9e65abf3 Start using video_driver_get_frame_count 2015-05-09 16:04:12 +02:00
twinaphex 6fbd9df9d9 Take out runloop-related code in gfx/video_driver.c's init_video
function
2015-05-09 10:41:36 +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
twinaphex 943ecee554 (Menu) Update menu_update_libretro_info 2015-04-23 02:11:57 +02:00
twinaphex 94150cef70 Add 'Record Driver' option 2015-04-15 13:37:38 +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 ef825e0c6a (Menu/video) Cleanups 2015-04-11 05:44:35 +02:00
twinaphex aeb359f5b5 Go through more menu driver wrapper functions 2015-04-11 05:28:40 +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
twinaphex 289085b248 (driver.c) Cleanups 2015-03-24 09:04:06 +01:00
twinaphex dc46785c14 Create more audio wrapper functions 2015-03-23 02:44:49 +01:00
twinaphex 42cf31ef2c Use video_driver_set_nonblock_state 2015-03-22 10:29:13 +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 e661d980cf Create menu_context_reset 2015-03-22 04:42:45 +01:00
twinaphex 4b8de58878 Rename functions 2015-03-22 03:41:20 +01:00
twinaphex 2a8f9fdfc0 Put g_driver on heap and make it a pointer 2015-03-22 01:16:57 +01:00
twinaphex 0087801ea7 Turn 'driver' static 2015-03-21 22:04:34 +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 00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex 9b442f9711 Start implementing wraparound for changing drivers 2015-03-09 14:32:58 +01:00
twinaphex 23eb3fa2ad Add returntype to find_next_driver/find_prev_driver 2015-03-09 04:22:41 +01:00
twinaphex d11006e041 Move frame_count to g_runloop 2015-03-07 13:14:04 +01:00
twinaphex 795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +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 fc373630ce Start to approach OSK driver in a different way 2015-01-29 20:33:27 +01:00
twinaphex bf736b53a8 (driver.c) cleanup some header includes 2015-01-26 20:45:04 +01:00
twinaphex 6e21d03ce7 Move code to gfx/video_driver.c 2015-01-26 20:30:48 +01:00
twinaphex bb481a158c Move get_proc_address/get_current_framebuffer to gfx/video_driver.c 2015-01-19 04:19:30 +01:00
twinaphex 3ec9005c5c Move set_rumble function to input/input_driver.c 2015-01-19 04:16:43 +01:00
twinaphex 51d97c3fbb Rename gfx_common.c to win32_dwm_common.c 2015-01-19 01:49:08 +01:00
twinaphex 6d7ad56d51 Take out include in general.h 2015-01-19 00:47:48 +01:00
twinaphex 80d4de7c3f Add gfx/video_viewport.c/viewport.h 2015-01-18 23:59:57 +01:00
twinaphex 7a0c7bd712 Split up pixconv code to gfx/video_pixel_converter.c 2015-01-18 23:17:16 +01:00
twinaphex a87940afc5 Refactor init_video_input 2015-01-18 22:48:47 +01:00
twinaphex e995cbdfa9 Add 'Suspend Screensaver Enable Hint' 2015-01-18 22:37:22 +01:00
twinaphex c4310ec813 Implement suspend_screensaver callback 2015-01-18 22:32:14 +01:00
twinaphex 4d9805b79c Refactor init_video_pixel_converter 2015-01-18 20:19:40 +01:00
twinaphex b4a26e2e30 Make driver_adjust_system_rates into a static function again 2015-01-18 19:32:40 +01:00
twinaphex be3ac6eccd Split up sensor code into its own file 2015-01-18 19:28:51 +01:00
twinaphex e9d2d966cd Reimplement driver_adjust_rates 2015-01-18 19:08:07 +01:00
twinaphex e3897c8641 Less dependencies on driver.h 2015-01-18 19:01:13 +01:00
twinaphex 0703b3c867 Add audio_monitor.c files 2015-01-18 18:47:53 +01:00
twinaphex 5c32acf91f Split up video_monitor code into separate file 2015-01-18 18:28:14 +01:00
twinaphex 0286078f8f Start properly namespacing monitor_* functions 2015-01-18 18:17:59 +01:00
twinaphex 069fb556f0 Rename graphics context drivers 2015-01-12 22:19:31 +01:00
twinaphex 8b95cfe6e3 Get rid of RARCH_INTERNAL-specific code in resampler.c 2015-01-12 21:12:48 +01:00