twinaphex
4aae293e3d
Remove is_shutdown from check_window
2020-03-06 20:29:31 +01:00
twinaphex
3a94c52426
(gfx drivers) Start reducing settings pointer usage
2020-02-18 14:51:40 +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 442608981d
.
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
LazyBumHorse
f5497a4249
fix some bugs found through Clang Static Analyzer:
...
- task_content.c, load_content_from_compressed_archive: fix use after free
- platform_win32/uwp: fix frontend_..._get_powerstate never returning FRONTEND_POWERSTATE_NONE
- platform_win32/uwp: fix whitespace
- cheevos.c: fix potential use after free in a loop, just to be save
2019-07-04 21:15:19 +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
4f0d61a2ac
update copyright
2019-02-22 19:13:36 -05:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
M4xw
7d186f7d2c
Revert PR #8043
2019-01-20 20:06:57 +01:00
Nano
c017271d8a
Fix #6747 Black bug
2019-01-19 10:26:06 +01:00
twinaphex
6ca9afbd57
Silence more warnings with CXX_BUILD
2019-01-12 18:51:06 +01:00
Twinaphex
01397f008a
Revert "Fix issue #6747 black bug"
2019-01-10 22:52:13 +01:00
Twinaphex
e4f9aebbd3
Merge pull request #7973 from daliaetnano/fix-2791-black-bug
...
Fix issue #6747 black bug
2019-01-10 22:36:40 +01:00
twinaphex
b9ff2e4de1
Fix some static code analysis warnings from MSVC 2017
2019-01-10 21:47:15 +01:00
Nano
f1ba335cb3
Fix issue #2791 black bug
2019-01-09 22:52:45 +01:00
Brad Parker
a92a27a230
gdi: ignore menu_shader_pipeline setting
2018-10-16 10:30:57 -04:00
twinaphex
2edd03361c
Remove video_context_driver_check_window
2018-10-14 17:49:29 +02:00
twinaphex
448d2d333c
Set ctx_driver
2018-10-14 08:22:26 +02:00
twinaphex
e661cf3cfd
Rewrite video_context_driver_init_first
2018-10-14 08:13:05 +02:00
Brad Parker
b9699f4780
gdi: texture load support, fix menu text alignment, support multi-line messages
2018-10-10 09:58:49 -04: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
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 c8bcbad4a7
.
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 831ea1a507
.
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