Commit Graph

239 Commits

Author SHA1 Message Date
twinaphex b4fa396470 Cleanup 2015-12-09 10:14:43 +01:00
twinaphex 7bdc1da676 Create RARCH_DISPLAY_CTL_CACHED_FRAME_SET_PTR 2015-12-09 10:13:48 +01:00
twinaphex ebb0906f3e Remove function 2015-12-09 09:10:21 +01:00
twinaphex 39499eb107 Silence 'cannot be reached' warnings 2015-12-08 19:54:36 +01:00
Higor Eurípedes c257374dcd (video_context_driver) Make better use of the data argument in context calls 2015-12-08 12:19:08 -03:00
twinaphex 9736713279 Create RARCH_DISPLAY_CTL_SET_STUB_FRAME/UNSET_STUB_FRAME 2015-12-07 21:16:15 +01:00
twinaphex 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex 0df4a8d2a2 Put message from video_driver_frame into separate buffer
temporarily for safety
2015-12-07 10:59:53 +01:00
twinaphex c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex 0389474e12 Set dangling pointers to null for RARCH_DISPLAY_CTL_DEINIT
and RARCH_AUDIO_CTL_DEINIT too
2015-12-06 18:15:00 +01:00
twinaphex a3033c2f66 Buildfixes 2015-12-06 18:12:49 +01:00
twinaphex 09ecd04d67 Make sure gpu_buffer is set back to NULL too upon
RARCH_DISPLAY_CTL_DESTROY time
2015-12-06 17:33:51 +01:00
twinaphex 0f9ba38b76 Make sure all static local variables from video_driver_ctl are
reset back to default state after calling RARCH_DISPLAY_CTL_DESTROY
2015-12-06 17:17:08 +01:00
twinaphex 083d1fec69 video_driver_frame - cleanup 2015-12-06 15:24:06 +01:00
twinaphex bbbf6513fd move gpu record buffer to video_driver.c 2015-12-06 15:22:20 +01:00
twinaphex a23598e553 Don't need video_driver_current_msg anymore 2015-12-06 14:32:30 +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 ec1b1c3e54 Header cleanups 2015-12-05 21:23:34 +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 89721b8837 Start creating font driver wrapper functions 2015-12-05 10:31:15 +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 c36b8e1ae9 Don't touch driver->frontend outside of frontend_driver.c anymore 2015-12-05 08:52:01 +01:00
twinaphex 351077dc78 Start reimplementing audio/video/input driver deiniting 2015-12-04 14:30:59 +01:00
twinaphex bdb54d91b7 video_monitor_fps_statistics - small cleanup 2015-12-04 08:27:47 +01:00
twinaphex 6411a7d0d9 Make video_driver_current_msg smaller 2015-12-04 08:04:16 +01:00
twinaphex 830b3052e5 (video_driver.c) Turn some variables into local static variables 2015-12-04 02:29:49 +01:00
Higor Eurípedes f63468d783 Fix some potential null derefs 2015-12-03 21:22:29 -03:00
twinaphex faa02023ce Check if video_driver_poke is false 2015-12-04 01:21:46 +01:00
twinaphex d8b9be9349 Put parentheses around earlier check 2015-12-04 00:26:53 +01:00
twinaphex b6be555809 Try to prevent a NULL pointer dereference for global - rename video_frame 2015-12-04 00:26:09 +01:00
twinaphex eda3e06898 (GL) Guard against possible segfaults in threaded video mode 2015-12-03 23:16:37 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex d1486464fe Turn video_driver_frame_filter into a static function 2015-11-30 07:22:08 +01:00
twinaphex 2fe9ef736c (video_driver.c) Uniquely namespace static variables 2015-11-30 07:14:23 +01:00
twinaphex ef591c416d Cleanups 2015-11-29 23:01:37 +01:00
twinaphex b62738465c Move video_active to gfx/video_driver.c 2015-11-29 21:38:47 +01:00
twinaphex e2fde41124 Move current_msg to gfx/video_driver.c 2015-11-29 20:59:52 +01:00
twinaphex a2399bc2cf Remove unused variable 2015-11-29 20:45:23 +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 c62150c2a2 Move video_data_own to gfx/video_driver.c 2015-11-29 20:23:16 +01:00
twinaphex d181870caa No more dependency on driver_t for driver->input 2015-11-29 19:18:59 +01:00
twinaphex 7a6f444823 No more references to driver->input from outside 2015-11-29 19:07:02 +01:00
twinaphex 778c9a25d6 Remove another call to driver->input from inside 2015-11-29 19:03:23 +01:00
twinaphex 4ff0492e3d Start getting rid of driver->input references 2015-11-29 19:02:27 +01:00
twinaphex d76d9d3411 (gfx/video_driver.c) Cleanup 2015-11-29 18:30:22 +01:00