Commit Graph

46 Commits

Author SHA1 Message Date
twinaphex
679feefae3 Start using const for non-mutating variables 2015-05-20 19:28:05 +02:00
twinaphex
2f62cd65e2 Start using video_viewport_get_custom everywhere 2015-05-20 19:12:39 +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
969bbdd85d Get rid of some unused runloop variables 2015-05-20 03:13:42 +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
ae408a1d41 Create video_poke get_frame_count function 2015-05-09 15:52:06 +02:00
twinaphex
4ecfe639b3 Create local frame_count variables again in video_drivers 2015-05-09 15:41:10 +02:00
twinaphex
a9dee4877e Create set_viewport wrapper function - threaded video mode's
set_viewport function does not work yet
2015-04-26 19:46:59 +02:00
twinaphex
c22535b7e1 Reduce HAVE_FBO ifdefs 2015-04-25 02:35:06 +02:00
twinaphex
c0d58ce467 Take out win32_dwm_common.h header includes 2015-04-09 23:00:08 +02:00
twinaphex
18801c8449 Move gfx_set_dwm call to platform_win32.c 2015-04-09 22:58:57 +02:00
twinaphex
5e8a78bb25 Move x11_common.c to gfx/common 2015-04-09 05:02:57 +02:00
radius
5e6cf7d74d windows build fixes 2015-04-04 13:56:26 -05:00
twinaphex
36b054506d Move window manager code to gfx/drivers_wm 2015-04-04 20:30:44 +02:00
twinaphex
b89f97065a (sdl_gfx) Cleanups 2015-04-03 04:20:50 +02:00
twinaphex
a760d25384 Create menu_driver_frame 2015-03-22 05:27:19 +01:00
twinaphex
5a443d229a global_get_ptr update pt. 2 2015-03-21 05:42:49 +01:00
twinaphex
f130b00596 Updates pt. 3 2015-03-20 22:08:36 +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
Higor Eurípedes
b979e81b61 (sdl2_gfx.c) Fix CXX build 2015-03-16 14:01:23 -03:00
aliaspider
7a72d46f9a add a read_frame_raw callback to the video_driver_t structure. 2015-03-16 09:33:16 +01:00
twinaphex
26f2bd4cbf Start going through retro_inline INLINE 2015-03-15 04:37:54 +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
3276781b4f Don't increment g_runloop.frames.video.count inside video driver
implementation's 'frame' function - do this outside
2015-03-07 13:28:45 +01:00
twinaphex
d11006e041 Move frame_count to g_runloop 2015-03-07 13:14:04 +01:00
twinaphex
a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
twinaphex
f80e3740aa Implement set_video_mode in video poke interface 2015-02-24 21:57:51 +01:00
twinaphex
13a391c165 Implement get_video_output_prev/get_video_output_next 2015-02-24 21:36:23 +01:00
twinaphex
f9ede9d00a Add get_video_output_size to video driver's poke interface 2015-02-24 20:06:58 +01:00
twinaphex
8f5809ee46 Take out make_current_context 2015-02-16 23:41:49 +01:00
twinaphex
64446ef497 Rename and move rarch_viewport 2015-02-14 05:52:05 +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
4d478434c7 (Menu) Start getting rid of void * pointer 2015-02-11 20:28:54 +01:00
twinaphex
90e5cffab8 Add RETRO_ENVIRONMENT_MAKE_CURRENT_CONTEXT 2015-02-08 18:39:12 +01:00
twinaphex
1db3789090 (SDL2) Cleanup driver 2015-01-22 01:08:20 +01:00
twinaphex
51d97c3fbb Rename gfx_common.c to win32_dwm_common.c 2015-01-19 01:49:08 +01:00
twinaphex
80d4de7c3f Add gfx/video_viewport.c/viewport.h 2015-01-18 23:59:57 +01:00
twinaphex
c4310ec813 Implement suspend_screensaver callback 2015-01-18 22:32:14 +01:00
twinaphex
de76884bb8 Rename gfx_get_fps to video_monitor_get_fps 2015-01-18 20:03:33 +01:00
twinaphex
8111567d3e Move some files around 2015-01-12 23:34:10 +01:00
twinaphex
069fb556f0 Rename graphics context drivers 2015-01-12 22:19:31 +01:00
twinaphex
0b2d518531 Rename video_context.c to video_context_driver.c 2015-01-12 21:53:04 +01:00
twinaphex
bd0f0c3f63 Rename gfx_context.c to video_context.c 2015-01-12 18:47:39 +01:00
twinaphex
a002208f59 Start moving graphics driver to gfx/drivers 2015-01-12 06:45:12 +01:00