6273 Commits

Author SHA1 Message Date
Brad Parker
7c6bf6aaf7 fix msys2 compilation when opengl, vulkan and d3d9 are disabled 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
Brad Parker
6b89064242 GDI: no more alternating black lines, but now video only takes up half the window 2017-01-16 20:41:07 -05:00
Brad Parker
acd6826df9 GDI: stretch video output to fill window 2017-01-16 20:41:07 -05:00
Brad Parker
69bac11f02 GDI: fix window not clearing on every frame, requires both FillRect calls and InvalidateRect 2017-01-16 20:41:06 -05:00
Brad Parker
6c62901ae5 GDI: fix window not responding, but menu corruption still happens if set_gdi_pixel_format is called 2017-01-16 20:41:06 -05:00
Brad Parker
bdc68e679f GDI: flip image and render text after other graphics 2017-01-16 20:41:06 -05:00
Brad Parker
6fe2a974a5 GDI: does not freeze after a few seconds anymore, but the window still freezes when moving the mouse into it 2017-01-16 20:41:06 -05:00
Brad Parker
8eba18a54f GDI: xmb draws for a few seconds and then freezes 2017-01-16 20:41:06 -05:00
Brad Parker
90ef57948c GDI testing 2017-01-16 20:41:06 -05:00
Brad Parker
177d811475 GDI driver partially visible with RGUI/game now, need to figure out why it isn't totally visible. Also need to stretch the frame, swap red/blue and flip vertically. 2017-01-16 20:41:05 -05:00
Brad Parker
dd2778fb32 GDI text testing 2017-01-16 20:41:05 -05:00
Brad Parker
49d7be9813 MSVC GDI buildfix 2017-01-16 20:41:05 -05:00
Brad Parker
6df175bd31 GDI paint test 2017-01-16 20:41:05 -05:00
Brad Parker
bc8f9f7f3f add SwapBuffers() for gdi 2017-01-16 20:41:05 -05:00
Brad Parker
fb7c3f4c37 set pixel format for GDI driver 2017-01-16 20:41:05 -05:00
Brad Parker
33520fca6f set win32_hdc for gdi 2017-01-16 20:41:05 -05:00
Brad Parker
a7a1f093c0 add GDI message loop 2017-01-16 20:41:04 -05:00
Brad Parker
2c6a24653c testing 2017-01-16 20:41:04 -05:00
Brad Parker
e6d7116da0 create GDI window 2017-01-16 20:41:04 -05:00
Brad Parker
05c37bd39f initial GDI driver skeleton 2017-01-16 20:41:04 -05:00
Brad Parker
c283c1eaf4 disable shader dialog until video_threaded issues are fixed 2017-01-16 19:26:28 -05:00
twinaphex
1c82287e10 (video_state_tracker.c) Don't need header include 2017-01-16 21:33:25 +01:00
twinaphex
9feb430b58 Don't pass video_info_t as pointer 2017-01-16 18:03:00 +01:00
bparker06
b5403da862 use name instead of joypad_name 2017-01-15 23:04:56 -05:00
twinaphex
666534cc74 Grab settings pointer only once inside wrapper 'input_driver' function 2017-01-16 00:14:10 +01:00
twinaphex
4a9ca66389 (WGL) Check if settings struct is non-NULL 2017-01-15 23:58:14 +01:00
Twinaphex
105fa863ec Merge pull request #4418 from vanfanel/master
DISPMANX: Put guard back in to avoid potential lockups!
2017-01-15 13:55:58 +01:00
vanfanel
5a1e8d55fb DISPMANX: Put guard back in to avoid potential lockups! 2017-01-15 13:47:30 +01:00
Twinaphex
35df333ac4 Merge pull request #4417 from vanfanel/master
DISPMANX: implement pitch alignment for better videocore blitting per…
2017-01-14 23:08:07 +01:00
vanfanel
869a050a18 DISPMANX: implement pitch alignment for better videocore blitting performance 2017-01-14 23:01:05 +01:00
twinaphex
69ebda74c4 FIx shader 2017-01-14 22:48:02 +01:00
radius
33863714ab speed this up a bit 2017-01-14 15:54:56 -05:00
twinaphex
c875d95f7a Revert "Free font data inside gfx/font_driver.c's free function"
This reverts commit b3f1bbc15e8f8c08531c3661041d0ded9bfeca51.
2017-01-14 21:02:30 +01:00
vanfanel
8640522073 DISPMANX: remove commented line 2017-01-14 15:56:54 +01:00
vanfanel
da640aaa28 DISPMANX: Honor swapchain setting properly 2017-01-14 15:54:20 +01:00
vanfanel
f0c2826994 DISPMANX: Fix refreshrate calculation by updating menu surface asynchronously 2017-01-14 14:38:18 +01:00
twinaphex
b3f1bbc15e Free font data inside gfx/font_driver.c's free function 2017-01-14 14:26:56 +01:00
twinaphex
08e9f64e43 Get rid of early return in video_driver_build_info 2017-01-14 14:00:39 +01:00
twinaphex
326e1e3fac Cleanup video_driver_frame 2017-01-14 13:55:49 +01:00
twinaphex
4230662572 (X context) Use better swap control method if GLX_OML_sync_control
and GLX_MESA_swap_control are supported
2017-01-14 12:24:56 +01:00
twinaphex
a4523e0b2b Initialize variable 2017-01-13 18:17:36 +01:00
twinaphex
23017e0b45 Cleanups 2017-01-13 16:57:57 +01:00
twinaphex
1fa3475d79 Add parameter to video_context_driver's 'init' function 2017-01-13 16:52:07 +01:00
twinaphex
8c9e0405fb Create video_driver_build_info 2017-01-13 16:09:32 +01:00
Matthew Wolff
f6284721d8 Fix forgotten parameter of video_monitor_get_fps 2017-01-12 23:40:58 -06:00