Commit Graph

254 Commits

Author SHA1 Message Date
twinaphex
4850af8eac Revert "Try to set use_hw_ctx in advance for Android"
This reverts commit c010c5b258.
2017-06-18 17:09:27 +02:00
twinaphex
c010c5b258 Try to set use_hw_ctx in advance for Android 2017-06-18 16:45:36 +02:00
twinaphex
c7ac70a923 Combine video_renderchain_driver.c and video_driver.c 2017-06-12 15:45:58 +02:00
twinaphex
80e2911bec Cleanups 2017-06-11 00:23:19 +02:00
twinaphex
b7b7c67ca3 Windows buildfix 2017-05-20 17:47:56 +02:00
twinaphex
c0431b34c9 Turn some variables static 2017-05-20 14:31:07 +02:00
twinaphex
6fea8f14c5 Call video_driver_cb_has_focus directly 2017-05-20 14:11:50 +02:00
twinaphex
bd424da015 Turn video_driver_data and current_video into static variables again 2017-05-20 14:09:24 +02:00
twinaphex
efce4d0abf Revert "Add cb_set_shader_coords"
This reverts commit 06df028722.
2017-05-19 21:21:40 +02:00
twinaphex
06df028722 Add cb_set_shader_coords 2017-05-19 21:13:44 +02:00
twinaphex
d8f5065d64 Add cb_set_shader_mvp 2017-05-19 19:52:33 +02:00
twinaphex
2a54544eb3 Add cb_shader_use to video_frame_info 2017-05-19 14:24:19 +02:00
twinaphex
b0398c1482 C89 build fixes 2017-05-19 03:34:53 +02:00
twinaphex
59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex
3f7a30a4b3 Start hooking up dummy callback functions to video_context_data
so that conditionals aren't necessary
2017-05-18 03:37:02 +02:00
twinaphex
941a5d4f94 Go through function callback for swap_buffers as well 2017-05-18 03:05:07 +02:00
twinaphex
86ee08b7a7 Add video context driver update window title callback
to video_frame_info_t
2017-05-18 02:53:12 +02:00
twinaphex
b22d7902f1 Turn macro back into function 2017-05-13 19:37:16 +02:00
twinaphex
17a15273ba Create function out of video_driver_is_focused - no longer
call video_driver_context_focus from video driver
2017-05-13 19:19:49 +02:00
twinaphex
d4756f83e5 Stop calling video_driver_context_has_windowed from within video
drivers
2017-05-13 19:11:32 +02:00
twinaphex
f6c8aba119 Move video_context_driver_update_window_title to video_driver_frame 2017-05-13 18:58:13 +02:00
twinaphex
d75f155eb6 Reorder video_driver.h 2017-05-09 01:37:12 +02:00
twinaphex
f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
twinaphex
bac9973354 Cleanups 2017-05-09 00:58:01 +02:00
twinaphex
d86f466fe9 Turn video_driver_is_threaded into macro 2017-04-29 17:33:36 +02:00
twinaphex
03145a0424 Pass video_is_threaded variable to video_driver_init 2017-04-29 17:10:59 +02:00
twinaphex
e84adb504f Don't try to call video_driver_is_threaded from outside
gfx/video_driver.c - only exception right now - menu_display.c
2017-04-29 16:52:52 +02:00
twinaphex
63504cd9c8 No longer need to grab threaded variable from settings struct 2017-04-29 16:37:49 +02:00
twinaphex
2322e77795 Add to video_frame_info 2017-04-29 16:07:02 +02:00
twinaphex
2a13af52fc Revert "video_init function - video_info_t should not be const -"
This reverts commit c8bcbad4a7.
2017-04-24 12:25:14 +02:00
twinaphex
c8bcbad4a7 video_init function - video_info_t should not be const -
try to set video_driver_width/video_driver_height outside
of video driver init function
2017-04-24 12:03:21 +02:00
twinaphex
34852e159a Cut down on amount of times video_driver_build_info is called 2017-04-23 22:20:11 +02:00
twinaphex
087002d9c5 Get rid of unused video_driver_get_frame_count - locking/unlocking
around this variable should no longer be necessary
2017-04-23 21:39:49 +02:00
twinaphex
2dfe441381 Get rid of video_info->frame_count 2017-04-23 19:21:12 +02:00
twinaphex
bdaf00032e Add comments 2017-01-26 02:49:42 +01:00
twinaphex
41349621cf Add extra param to runloop_get_status 2017-01-25 16:57:22 +01:00
twinaphex
41a647945b Create video_driver_get_record_status 2017-01-25 15:30:51 +01:00
twinaphex
4b01726f48 (video driver) Minor cleanups 2017-01-25 15:22:12 +01:00
twinaphex
631ee03df4 Expand video_driver_get_status 2017-01-25 04:42:19 +01:00
twinaphex
a151c24117 Create video_driver_get_status 2017-01-25 04:39:21 +01:00
twinaphex
2f504b4057 (gfx/drivers) Get rid of remaining runloop.h / runloop_ctl
references inside gfx/drivers
2017-01-22 18:17:48 +01:00
twinaphex
d4b7edff4a Cut down on menu_driver_ctl usage from within video drivers 2017-01-22 17:30:32 +01:00
Brad Parker
c4bfa6b0d2 DOS: initial VGA int13 graphics driver 2017-01-22 10:47:11 -05:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
23c35c39b5 Add more video_frame_info_t members 2017-01-22 02:04:58 +01:00
twinaphex
927e4b6be0 Less settings pointer grabbing 2017-01-20 15:38:20 +01:00
twinaphex
0be6264796 Get rid of more settings pointer grabbing 2017-01-20 15:33:47 +01:00
twinaphex
526072ccdf Cut down on menu_display_libretro_running usage 2017-01-20 14:25:00 +01:00
twinaphex
58a47e860a Add use_rgba member to video_frame_info_t 2017-01-20 14:04:50 +01:00
twinaphex
bc5c2c13f8 Remove unused member 2017-01-19 23:09:50 +01:00