Commit Graph

1644 Commits

Author SHA1 Message Date
twinaphex
4d1b4f905f Start adding OSD statistics - doesn't work yet for SDL2/SDL 2018-03-23 17:43:49 +01:00
orbea
7526b12338 Fix apitrace shader compiler warning.
2418: message: major shader compiler issue 2: 0:3(311): warning: `atime' used uninitialized
  2418 @0 glCompileShader(shader = 27)
  2418: warning: 0:3(311): warning: `atime' used uninitialized
2018-03-20 17:39:33 -07:00
aliaspider
b948cf46e7 (Vulkan) add missing queue locks when calling vkQueueWaitIdle. 2018-03-15 09:21:23 +01:00
twinaphex
32b2808fe0 Revert "Turn scaler_ctx_scale_direct into inline function"
This reverts commit d51edd8239.
2018-03-14 23:48:47 +01:00
twinaphex
d51edd8239 Turn scaler_ctx_scale_direct into inline function 2018-03-11 18:14:17 +01:00
misson20000
e934f11065 NSW: skip frames if we can't acquire a buffer (newer libtransistors use three buffers, making this very unlikely to happen) 2018-03-06 20:55:40 -08:00
misson20000
4a4de74518 NSW(gfx): clear image row-by row for better caching (it's seriously a LOT faster), do pixel format conversion in scalers, and remove timing debug messages 2018-03-06 19:52:03 -08:00
misson20000
90c36c52ce NSW: fix graphics driver colors for rgb32 and don't break aspect ratio when scaling menu texture 2018-03-05 23:45:28 -08:00
misson20000
7487d938b3 NSW: remove global state in graphics driver, as it is no longer necessary 2018-03-05 20:14:52 -08:00
twinaphex
63823b339a Buildfix for D3D8 2018-03-03 15:34:21 +01:00
twinaphex
b4a743fff4 Split up menu display drivers for D3D8/D3D9 into separate drivers;
split up d3d_common into separate files
2018-03-03 15:28:58 +01:00
twinaphex
0566b056a5 Take out d3d_common function call from d3d_w32_font.c 2018-03-03 05:42:14 +01:00
twinaphex
3f1ae25713 (D3D8) Buildfix 2 2018-03-02 17:44:48 +01:00
twinaphex
ed67653086 (D3D8) Buildfix 2018-03-02 17:43:58 +01:00
twinaphex
371b6a604e (Xbox) Buildfix 2018-03-02 17:43:18 +01:00
twinaphex
588707f543 Cleanups 2018-03-02 17:30:21 +01:00
twinaphex
0ec5ce8cfe Get rid of d3d context drivers 2018-03-02 17:23:43 +01:00
twinaphex
95371cbda1 (Xbox 360) Buildfix 2018-03-02 17:05:30 +01:00
twinaphex
dfdbc00a84 Cleanup Xbox 360 code from d3d_ctx 2018-03-02 17:03:34 +01:00
twinaphex
dbf2fae5c1 (D3D9) Get rid of context driver 2018-03-02 17:00:11 +01:00
twinaphex
fc9e018534 Implement d3d9_set_video_mode 2018-03-02 16:53:15 +01:00
twinaphex
7c599b715e Implement d3d9_has_windowed 2018-03-02 16:46:32 +01:00
twinaphex
9606db6f79 Start untangling more functions from context driver 2018-03-02 16:38:57 +01:00
twinaphex
af5a2f61a1 (D3D9) Start getting rid of context driver for D3D9 driver 2018-03-02 15:30:39 +01:00
twinaphex
696fa900a1 Refactor macro functions which were unsafe 2018-02-26 18:08:17 +01:00
twinaphex
5b79d2b942 Refactor video_shader_driver_set_parameters 2018-02-26 17:51:52 +01:00
twinaphex
7acd4b1847 (Windows) Buildfixes - use fseek for MSVC 2003 and earlier 2018-02-17 19:11:49 +01:00
twinaphex
89cd494ab7 (WiiU) Buildfix 2018-02-17 11:27:14 +01:00
radius
7913b88853 fix potential wiiu crash 2018-02-17 00:10:08 -05:00
twinaphex
070c09faec Avoid more pointer grabbing for video driver ptr 2018-02-16 20:42:37 +01:00
twinaphex
1e2d8de9ca Move renderchain code to the relevant files 2018-02-16 11:24:10 +01:00
Andrés
d3504abc5d
try to fix shader preset loading on WiiU 2018-02-12 12:27:16 -05:00
Andrés
521433d1c7
Merge pull request #6293 from aliaspider/master
(D3D) better handling of frame duping.
2018-02-11 21:36:21 -05:00
aliaspider
72e6909aaa (D3D) better handling of frame duping. 2018-02-12 03:25:37 +01:00
Twinaphex
34edaaf98b
Merge pull request #6291 from aliaspider/master
(D3D12) silence warning.
2018-02-12 01:32:16 +01:00
aliaspider
8a93e8d503 (D3D12) silence warning. 2018-02-12 01:29:44 +01:00
Twinaphex
e428cec428
Merge pull request #6290 from aliaspider/master
(D3D11/12) add overlays.
2018-02-12 01:25:19 +01:00
aliaspider
98682197c9 (D3D11/12) add overlays. 2018-02-12 01:19:43 +01:00
Twinaphex
327e2237d6
Merge pull request #6289 from aliaspider/master
(D3D11/12) prevent double-free when resizing framebuffers.
2018-02-11 23:03:04 +01:00
aliaspider
19aed2af36 (D3D11/12) prevent double-free when resizing framebuffers.
(D3D12)
- correctly support lut/filtering/wrap options for slang shaders.
- rework frame sync.
2018-02-11 22:56:37 +01:00
twinaphex
6738d64546 Cleanups 2018-02-11 16:45:40 +01:00
Twinaphex
d8257f4817
Merge pull request #6279 from aliaspider/master
(D3D12) slang shaders support.
2018-02-11 02:00:46 +01:00
aliaspider
37bebb5b65 (D3D12) slang shaders support. 2018-02-11 00:00:20 +01:00
twinaphex
b31779c588 (D3D8/9) Don't do allocation for this struct 2018-02-10 22:27:38 +01:00
twinaphex
b45b1b3e55 (D3D8) Refactor texture loading to no longer be thread-unsafe 2018-02-10 21:36:40 +01:00
twinaphex
b141c37fe9 Get rid of set_mvp function in D3D9 renderchain driver - use
one common set_mvp function instead
2018-02-10 21:21:09 +01:00
twinaphex
843a7f200c (D3D9) Make video texture load functions thread-safe 2018-02-10 21:13:24 +01:00
aliaspider
e11209ac79 (D3D12) precompute alpha before scaling when generating mipmaps. 2018-02-09 16:33:08 +01:00
aliaspider
6fe379d978 (D3D12) add a compute shader for mipmap generation. 2018-02-09 14:57:07 +01:00
Twinaphex
8e33b35b09
Merge pull request #6257 from aliaspider/master
(D3D11/12) fix dialogbox / gradient.
2018-02-08 20:54:05 +01:00