Twinaphex
f096e667d8
Merge pull request #6204 from aliaspider/master
...
(D3D11) Implement slang shader specification using Spirv-Cross.
2018-02-01 16:33:58 +01:00
twinaphex
b0013dbd68
Cleanups
2018-01-31 22:49:19 +01:00
aliaspider
5bc78d3ad5
(D3D11) Implement slang shader specification using Spirv-Cross.
...
(incomplete)
2018-01-31 01:08:36 +01:00
twinaphex
4aca11693e
video_shader_driver_reset_to_defaults - early return if current_shader
...
is NULL
2018-01-26 04:14:44 +01:00
Brad Parker
f087b150c9
Add quick menu option to watch shader files for changes and recompile automatically (Linux only for now)
2018-01-25 15:50:57 -05:00
twinaphex
c227ce5ed2
Correct typo
2018-01-24 22:16:06 +01:00
twinaphex
e79c19e52a
Ifdef this for HAVE_D3D12
2018-01-24 21:38:32 +01:00
aliaspider
30d5cd1a07
(D3D10/11/12) add viewport settings.
...
- move some common routines to video_driver.c
2018-01-24 15:00:32 +01:00
aliaspider
a5bf9d8dc6
(D3D10/11/12)
...
.add a d3d10 driver.
.add more utility functions to d3d*_common files.
.add an image transfer/convert function to dxgi_common.
.various refactors / style nits.
2018-01-23 18:04:55 +01:00
twinaphex
673a190d84
Merge d3d8_renderchain into d3d8.c
2018-01-23 07:18:46 +01:00
twinaphex
4b6c4e5a6a
BUildfix for D3D enum
2018-01-23 04:25:37 +01:00
twinaphex
d3c2d90a2c
BUildfix
2018-01-23 03:53:35 +01:00
twinaphex
7e56ecba4b
Cleanups
2018-01-23 03:22:00 +01:00
twinaphex
6cb2159a50
Buildfix for D3D8 renderchain
2018-01-23 03:00:34 +01:00
twinaphex
d28d14079a
Create separate D3D8 and D3D9 drivers
2018-01-23 02:55:33 +01:00
aliaspider
094196220d
(D3D11/D3D12) initial video driver implementation.
...
- some headers from the windows 10 sdk need to be added to the include
path when targeting mingw :
d3d11.h
d3d11sdklayers.h
d3d12.h
d3d12sdklayers.h
d3d12shader.h
d3dcommon.h
d3dcompiler.h
2018-01-21 04:10:45 +01:00
twinaphex
11f26ed549
Refactor verbosity code - try to avoid log calls if verbosity is not
...
set
2018-01-17 06:28:26 +01:00
twinaphex
a8445c3ec4
D3D8 buildfix
2018-01-03 20:23:34 +01:00
twinaphex
e87cd7382e
Silence warning
2018-01-02 06:41:52 +01:00
twinaphex
cf3a010ead
Remove some HAVE_MENU ifdefs
2017-12-31 17:42:07 +01:00
twinaphex
8c2070947e
Prevent some warnings
2017-12-29 13:00:24 +01:00
misson20000
6d2a7b1f26
Nintendo Switch (libtransistor) port
2017-12-29 00:10:01 +01:00
radius
a7f989fdb6
fix fullscreen toggle
2017-12-17 13:16:40 -05: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
247b9ea973
add menu setting for window opacity, includes generic display server interface
2017-12-11 18:12:42 -05:00
twinaphex
241df59771
Get rid of include
2017-12-04 11:20:18 +01:00
Alcaro
0e91822ad1
#5802
2017-11-27 17:11:43 +01:00
twinaphex
00d57af005
C89_BUILD fixes
2017-11-26 22:53:42 +01:00
orbea
e10dd4d95e
Silence -Wunused-function warning.
2017-11-21 13:29:46 -08:00
Rob Loach
5a990841dc
Fix priority and timing of FPS and Fast Forward messages
2017-11-18 11:05:38 -05:00
twinaphex
bfd815985f
Rename function callback
2017-11-16 12:02:25 +01:00
twinaphex
721b5f9529
Add set_mvp function callback
2017-11-15 16:51:29 +01:00
twinaphex
a5076df751
Implement set_mvp/set_coords - remove GL code from video_driver.c
2017-11-15 14:24:16 +01:00
twinaphex
619acbb5aa
Start implementing video_driver_set_mvp properly
2017-11-15 14:16:06 +01:00
twinaphex
2b1481d97f
Refactor set_mvp code a bit
2017-11-15 14:09:41 +01:00
twinaphex
b50a667335
Buildfixes for Win32
2017-11-14 21:45:11 +01:00
twinaphex
229841b1c4
Create video_driver_set_coords
2017-11-14 21:43:13 +01:00
twinaphex
41daddfe1c
Create video_driver_set_mvp
2017-11-14 21:22:44 +01:00
twinaphex
e560adcc9f
Refactor this - get rid of set_coords_fallback
2017-11-13 12:27:45 +01:00
twinaphex
ade80dbe76
Move gl_ff_matrix to gfx/video_driver.c
2017-11-13 12:15:28 +01:00
twinaphex
2aea191835
Cleanups
2017-11-13 11:34:40 +01:00
twinaphex
6b6d1ee986
Create cb_set_coords
2017-11-13 11:26:53 +01:00
twinaphex
ec123ef6ca
Get rid of most of the HAVE_FBO usage
2017-11-13 06:20:30 +01:00
twinaphex
c1c9e1897c
Expand conditional
2017-11-11 19:12:32 +01:00
twinaphex
9c6edaff30
Update renderchain driver for GL
2017-11-07 10:10:52 +01:00
twinaphex
f681cb455c
Prepare GL renderchains
2017-11-07 07:56:18 +01:00
Brad Parker
fc856c76a8
fix race condition reading OSD message in video driver
2017-10-29 23:28:02 -04:00
Brad Parker
ee7590868a
add option to remove frame count from FPS display
2017-10-13 20:35:55 -04:00
rz5
677229d541
(video driver) Style nit
2017-10-12 19:59:20 +01:00
rz5
24c1ad72ce
(video driver) If we can't set flag data, do it later
...
Currently, there is at least one instance where video_context_driver_set_flags() is called when current_video_context.set_flags is set to NULL (see #5538 ). To solve this, we create 2 new global variables - one to store flag data and the other to symbolize we deferred setting flag data.
This way, the next time we do get_flags(), we first check if we have anything stored first.
Should fix #5538
2017-10-12 17:38:07 +01:00