63 Commits

Author SHA1 Message Date
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
e049605359 Add refresh rate polling to Win32 >= Windows 7. 2018-04-15 19:33:38 -05:00
Brandon Wright
7a00534378 Add poke interface for get_refresh_rate. 2018-04-15 17:56:11 -05:00
aliaspider
88d1c1fdca msvc build fix. 2018-03-25 23:11:31 +01:00
twinaphex
08e61230e9 Update video_poke_interface 2018-01-30 22:29:57 +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
Brad Parker
130203c431 gdi: fix closing window via X button 2017-11-27 20:49:56 -05:00
twinaphex
683c437941 Updates 2017-11-14 21:34:03 +01:00
twinaphex
c5292025c3 Cut down on HAVE_FBO usage and make sure gl->fbo_inited is set to
false if HAVE_FBO is not defined
2017-11-12 17:15:29 +01:00
twinaphex
dbb6adb453 C89_BUILD fixes 2017-09-11 04:17:28 +02:00
Brad Parker
0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
Brad Parker
35c4770c9b gdi: manually convert RGB444 to RGB555 to get around BI_BITFIELDS limitation on non-NT platforms 2017-09-01 20:52:58 -04:00
Brad Parker
5e3531a5f2 win98: fix core video graphics corruption\nbitmapinfoheader size should never include masks, but this is undocumented 2017-08-30 00:48:02 -04:00
Brad Parker
e3d68cd131 GDI: fix flickering of text 2017-08-22 23:39:42 -04:00
Brad Parker
c8e6a98651 gdi: enable OSD text drawing 2017-08-04 21:47:46 -04: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
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
f0c2d786ae Update arrays struct 2017-04-28 22:59:13 +02:00
twinaphex
cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +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
e5b38315fe Revert "Add real_width and real_height to video_info struct - let"
This reverts commit 831ea1a5076365b2ef31484061a1ea2142f28d2f.
2017-04-24 12:25:07 +02:00
twinaphex
831ea1a507 Add real_width and real_height to video_info struct - let
the drivers set this depending on the video width/height they
get back from the video context driver
2017-04-24 12:18:28 +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
1b27c3dec1 Make some log messages more consistent 2017-03-24 00:28:21 +01:00
Brad Parker
7c41903ecb GDI: fix color rendering of RGUI menu 2017-01-23 14:50:31 -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
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
fe84312340 Add some header includes 2017-01-19 17:20:42 +01:00
twinaphex
e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
Twinaphex
7961bf6d23 Merge pull request #4455 from libretro/refactor
Video driver changes
2017-01-19 15:59:23 +01:00
twinaphex
d010a852e4 Call menu_driver_frame once per video_frame call 2017-01-18 22:20:47 +01:00
twinaphex
bf511b72e6 Create menu_driver_frame 2017-01-18 21:23:18 +01:00
Alcaro
31d93cc4b7 Fix #4449 2017-01-18 19:00:38 +01:00
twinaphex
a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +01:00
twinaphex
724b68d5cb (gdi_gfx.c) Style nits 2017-01-17 10:54:48 +01:00
Brad Parker
5eaf00b39d GDI: fix rendering of 32-bit color cores 2017-01-16 20:41:09 -05:00
Brad Parker
e4bdc5ce8b GDI: remove unused code and fix menu toggle in rgui and xmb 2017-01-16 20:41:09 -05:00
Brad Parker
7acfa39fb9 GDI: MSVC2010 build fix 2017-01-16 20:41:08 -05:00
Brad Parker
8d9a43eec6 GDI: pitch seems to be reported wrong? this looks correct now 2017-01-16 20:41:07 -05:00
Brad Parker
c09996cd22 GDI: don't need to store the padding 2017-01-16 20:41:07 -05:00
Brad Parker
d6300a7946 GDI: video correctly fills the screen now, but resolution is poor. why is it scaled down by half? 2017-01-16 20:41:07 -05:00
Brad Parker
0ee3f39d76 GDI: no more flicker 2017-01-16 20:41:07 -05:00
Brad Parker
f51472395a GDI: fix bad color due to reading as RGB555 instead of 565 2017-01-16 20:41:07 -05:00