142 Commits

Author SHA1 Message Date
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
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
49d7be9813 MSVC GDI buildfix 2017-01-16 20:41:05 -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