Commit Graph

45 Commits

Author SHA1 Message Date
twinaphex
5558fdd085 Get rid of global dependency for video_viewport_get_custom 2015-05-20 23:13:39 +02:00
twinaphex
b363060262 Move frame_cache from global state to video driver state 2015-05-20 21:36:08 +02:00
twinaphex
d2b76a7d13 Move pix_fmt to video_state 2015-05-20 20:59:12 +02:00
twinaphex
197820c797 Move filter state code to video_state and out of global 2015-05-20 20:49:52 +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
b255b5a325 Create video_driver_set_aspect_ratio_value and video_driver_get_aspect_ratio 2015-05-20 18:24:45 +02:00
twinaphex
533a0b7f7f Move frame_time_samples to video_driver.c 2015-05-20 05:35:41 +02:00
twinaphex
415a983705 Move buffer_free_samples variables to audio_driver.c 2015-05-20 05:27:53 +02:00
twinaphex
684b9decb0 (Video driver) Cleanups - no longer depend on global pointer for
video width/height
2015-05-20 02:55:04 +02:00
twinaphex
398570f017 Move audio callback to audio_driver.c 2015-05-19 21:35:40 +02:00
twinaphex
4afc100924 Move audio_data out of global struct to prevent threading issues 2015-05-19 21:18:07 +02: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
a014f2db88 Move framebuffer is dirty and other menu-related state flags
to menu_handle_t
2015-05-11 18:46:06 +02:00
twinaphex
9b9e65abf3 Start using video_driver_get_frame_count 2015-05-09 16:04:12 +02:00
twinaphex
b6fbf5a335 (Menu) Start getting rid of gl->win_width/gl->win_height and start
creating global->video_data.width and global->video_data.height
which should be used instead in menu drivers
2015-04-26 05:21:43 +02:00
twinaphex
23b9a3ee47 Add 'use_output_directory' 2015-04-15 12:42:36 +02:00
twinaphex
a89f70c4d8 Start adding Recording Settings - stub/unfinished/non-working 2015-04-14 21:13:54 +02:00
twinaphex
7c47695f37 (UI CocoaTouch) Implement toggle 2015-04-13 01:55:35 +02:00
radius
507ec17261 make the override function smarter, now it will return true if overrides have loaded and false otherwise (including on error)
move pretro_set_environment(rarch_environment_cb); further down since it wouldn't have achieved the desired effect in that location
added a function to restore the original configuration when unloading the core so overrides won't affect the main config
2015-04-06 19:54:58 -05:00
twinaphex
c7e78d48d5 Create runloop_data.h 2015-03-24 13:45:53 +01:00
twinaphex
ba938da348 Fixes segfault with environ SHUTDOWN with prboom 2015-03-23 23:40:36 +01:00
twinaphex
4b8de58878 Rename functions 2015-03-22 03:41:20 +01:00
twinaphex
7e7a42ec21 Reimplement rarch_main_state_free 2015-03-21 19:43:46 +01:00
twinaphex
bff038b282 Fix configuration.h header includes 2015-03-21 07:05:08 +01:00
twinaphex
f1fe7559bc Put g_extern on heap 2015-03-21 06:17:03 +01:00
twinaphex
dc45cafa32 Create rarch_main_verbosity and rarch_main_log_file 2015-03-21 06:02:00 +01:00
twinaphex
0a5de72318 Move stuff over to runloop.h 2015-03-21 01:59:47 +01:00
twinaphex
f6a791a3e0 Call rarch_main_data_deinit from outside 2015-03-19 07:28:46 +01:00
twinaphex
4aa262b1ed Create rarch_main_is_idle 2015-03-18 20:48:17 +01:00
twinaphex
7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex
8fd08bb6fe Move internal struct definition to runloop_data.c 2015-03-18 05:50:37 +01:00
twinaphex
d191886b6c Don't expose g_data_runloop to outside 2015-03-18 05:36:36 +01:00
twinaphex
dc17a30f17 Create rarch_main_data_clear_state 2015-03-18 05:35:05 +01:00
twinaphex
2e075db519 Comment out empty struct 2015-03-16 18:08:24 +01:00
twinaphex
4729da05bd (runloop_data.c) Add DATA_TYPE_OVERLAY 2015-03-15 07:07:59 +01:00
twinaphex
27367a733b (runloop_data.c) Create rarch_main_data_msg_queue_push 2015-03-15 06:41:04 +01:00
twinaphex
d6072b5044 Change runloop structs 2015-03-15 06:30:37 +01:00
twinaphex
8c1045c1ae Create wrapper functions for initing the runloop message queue
and freeing it
2015-03-15 03:10:45 +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
96ae2e9882 Move code over to runloop.h 2015-03-15 02:00:11 +01:00
twinaphex
0e85b11046 (runloop data) Properly namespace everything in runloop_data.c 2015-03-14 15:50:34 +01:00
twinaphex
a33b06291d Split up NBIO/HTTP/image loading code to runloop_data.c 2015-02-23 02:54:14 +01:00
twinaphex
9778801335 Start documenting overlay.c 2015-01-10 00:59:05 +01:00
twinaphex
76c392718f Create runloop.h 2015-01-09 18:40:33 +01:00