52 Commits

Author SHA1 Message Date
twinaphex
119689c940 Add get_metrics to poke interface 2020-08-02 19:25:45 +02:00
twinaphex
60f3265017 Cleanups 2020-07-27 13:16:14 +02:00
twinaphex
9ace693ec0 Refactor menu_driver_frame 2020-05-19 16:20:43 +02:00
Vladimir Serbinenko
05500c6c39 dos: Add 32-bit gfx support 2020-05-12 03:09:38 +02:00
Vladimir Serbinenko
67c3c93aec dos fixes 2020-05-12 03:09:38 +02:00
Vladimir Serbinenko
cc73de48d6 Fix dos compilation 2020-05-12 03:09:38 +02:00
twinaphex
19c68fad43 Take out cb_update_window_title and cb_get_metrics 2020-03-28 05:36:31 +01:00
twinaphex
f4c5036c3c Get rid of video_frame_info dep for fonts 2020-03-10 03:24:59 +01:00
twinaphex
83ac24e7f1 (VGA) Move static global variables to struct 2020-03-07 19:33:03 +01:00
twinaphex
68664fdf1d update_title - we don't need video_info 2020-03-06 22:11:44 +01:00
twinaphex
ec302bc4fc video_set_nonblock_state - remove settings dependency 2020-02-16 22:26:07 +01:00
twinaphex
47af95469a (font_driver.c) Remove configuration.h dependency 2020-02-16 21:59:03 +01:00
twinaphex
f0e889b552 Change prototype of video_driver_set_size 2020-01-31 15:06:50 +01:00
twinaphex
f92a507a9b Change function signature of font_driver_render_msg 2020-01-04 16:24:14 +01:00
twinaphex
ed8e440b0d Revert "Move update_window_title to main thread - this should resolve some"
This reverts commit 442608981d2ca529ce89a6df921520e9e9d534c8.
2019-11-19 22:48:35 +01:00
twinaphex
442608981d Move update_window_title to main thread - this should resolve some
concurrency issues on OSX as well
2019-11-19 22:13:51 +01:00
twinaphex
65b4c2595e Update set keyboard mapping code for input driver 2019-07-27 02:21:24 +02:00
twinaphex
6aed230930 Reimplement 'Take Screenshot' - if GPU-accelerated viewport screenshots
are not available, resort to raw screenshots instead
2019-05-22 07:08:11 +02:00
Huw Pascoe
2c56011f84 video_layout interface 2019-05-11 09:58:48 +01:00
twinaphex
a0b2d97ca3 Hide 'Take Screenshot' for video drivers that don't support
taking screenshots yet
2019-05-05 13:46:26 +02:00
twinaphex
f67bfa24ef Get rid of video_poke_interface set_mvp 2019-03-18 15:19:11 +01:00
twinaphex
fe1255094f Get rid of now unused set_coords in video_driver_poke_interface 2019-03-18 05:04:23 +01:00
Brad Parker
477d46d52b update copyright 2019-02-22 19:13:36 -05:00
twinaphex
c4c8699ee3 Only show max swapchain images if supported by video driver and/or
context driver
2018-04-23 13:34:30 +02:00
Brandon Wright
7a00534378 Add poke interface for get_refresh_rate. 2018-04-15 17:56:11 -05:00
twinaphex
08e61230e9 Update video_poke_interface 2018-01-30 22:29:57 +01:00
twinaphex
b0b39ff899 Cleanups 2018-01-30 22:16:16 +01:00
twinaphex
7dcd46a20f Get rid of HAVE_MENU ifdefs for video_driver_poke interface 2018-01-30 22:14:47 +01:00
twinaphex
82d44e9ad3 Cut down on more HAVE_MENU ifdefs 2017-12-31 18:02:14 +01:00
twinaphex
cf3a010ead Remove some HAVE_MENU ifdefs 2017-12-31 17:42:07 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
683c437941 Updates 2017-11-14 21:34:03 +01:00
twinaphex
7a33bfe924 Get rid of more HAVE_FBO ifdefs 2017-11-07 22:54:38 +01: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
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
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
2a13af52fc Revert "video_init function - video_info_t should not be const -"
This reverts commit c8bcbad4a7e06a9425a6984fd09d066c17ec682d.
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
Brad Parker
373535f329 DOS: improve color accuracy and scaling, thanks to aliaspider 2017-02-08 00:17:12 -05:00
Brad Parker
0bdcdac2da DOS: scale menu frame to fit screen 2017-02-05 15:23:38 -05:00
Brad Parker
3dfe93b13f DOS: swap red/blue in rgui menu frame 2017-01-31 18:10:27 -05:00
Brad Parker
2661d5556b DOS: fix image scaling and colors for 16-bit core video 2017-01-30 13:51:41 -05:00
Brad Parker
343ac9fea7 DOS: scale 16-bit core video to fit screen 2017-01-29 00:48:22 -05: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
9d3c20929a DOS: vga palette looks ok now 2017-01-22 10:47:11 -05:00
Brad Parker
5c83e993ba DOS: use custom VGA color palette, rgui looks nice but still is not green 2017-01-22 10:47:11 -05:00