46 Commits

Author SHA1 Message Date
orbea
c9b0ba1123 Fix travis warnings. 2019-02-05 11:27:01 -08:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
natinusala
04b2ffcb9e Fix scissoring for d3d10 and d3d11 2019-01-28 19:23:46 +01:00
Brad Parker
29a07895b9 implement scissor test for D3D10/11, fixes #7897 2019-01-26 18:52:49 -05: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
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
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
88e283f0c1 (D3D10/11/12) Some buildfixes 2018-12-30 04:51:03 +01:00
twinaphex
8f67cf7384 Some buildfixes 2018-12-29 02:20:25 +01:00
krzys-h
b201d669b5 First iteration of UWP support
Enough to kind of run

Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00
radius
454efe03dc fix auto shader preset loading in d3d10, d3d11, d3d12 2018-10-10 19:02:36 -05:00
twinaphex
a1d5b0fd03 Update MSVC 2012 solution 2018-08-16 20:49:31 +02:00
Brad Parker
12539f310d use strl functions 2018-08-16 13:51:44 -04:00
twinaphex
6b31bd8b48 Only show Menu Linear Filter for RGUI and only show it for
video drivers that implement it
2018-04-24 15:14:06 +02: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
twinaphex
b1a2d1991c (d3d10.c) Cleanups 2018-04-23 13:09:05 +02:00
twinaphex
6f3003554e (D3D10/D3D11/D3D12) Don't load menu pipeline shaders unless XMB
is selected
2018-04-23 12:59:28 +02:00
twinaphex
248f1242dc Some warning fixes 2018-04-21 18:14:19 +02:00
twinaphex
30c824c30a Try to fix MSVC warning 2018-04-21 08:54:57 +02:00
twinaphex
6929db9fb6 (D3D10/D3D11) Compile shaders with SM 4.0 instead of 5.0 2018-04-21 05:36:59 +02:00
twinaphex
832cc4e945 (MSVC) Silence warnings 2018-04-21 05:20:22 +02:00
aliaspider
b78dcf9f4c update D3D10 driver. 2018-04-21 03:56:19 +01:00
twinaphex
9f2b56a929 Update Direct3D 10 driver 2018-04-21 03:27:41 +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
twinaphex
92b46a8275 Some cleanups 2018-03-30 15:50:27 +02:00
twinaphex
cbd5e87711 Indenting nits 2018-02-04 22:12:53 +01:00
twinaphex
534e5bbf34 Make code compatible when compiled as C++ 2018-02-04 21:50:05 +01:00
twinaphex
028fc18294 Fix more warnings 2018-02-04 21:12:42 +01:00
twinaphex
2b4890220a (D3D) Silence CXX_BUILD warnings 2018-02-04 20:40:28 +01:00
aliaspider
700fce3bd2 various fixes for CXX_BUILD. 2018-02-04 20:03:27 +01:00
twinaphex
ac22a9ce20 (D3D10) Start making D3D10 ready for CXX_BUILD 2018-02-04 17:11:00 +01:00
twinaphex
d446742d4b Some C89_BUILD build fixes 2018-02-03 12:47:53 +01:00
aliaspider
f907f2ea7d (D3D11) save spirv-cross's hlsl output when shader compilation fails. 2018-01-31 15:55:59 +01:00
aliaspider
b228775b0d (D3D10/11/12) allow building without HAVE_D3D9 2018-01-30 21:33:25 +01:00
twinaphex
2906744a0d (D3D10) Add non_HAVE_DYNAMIC codepaths 2018-01-29 15:33:30 +01:00
aliaspider
17aa49004f (D3D10/11/12) prevent some crashes on driver re-init. 2018-01-25 06:24:39 +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
a6b24ce995 (d3d10/11/12) reformat some files. 2018-01-24 07:45:45 +01:00
aliaspider
956c6ca25a (d3d10/11/12) resize swapchain correctly when the window's size changes. 2018-01-23 20:27:03 +01:00
aliaspider
3a53010b13 (D3D10/12) frame duping. re-enable vsync. 2018-01-23 19:11:44 +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