Connor McLaughlin
0709f92ac1
Misc: Cleanup/deduplicate from c9cba5e
2022-10-13 17:37:39 +10:00
Connor McLaughlin
a9038133c8
HostDisplay: Common texture base class for all APIs
2022-10-04 00:00:56 +10:00
Connor McLaughlin
8aa1c8827c
GPU/D3D11: Purge D3D11::StagingTexture
2022-09-26 22:15:51 +10:00
Connor McLaughlin
6bafcea94f
HostDisplay: Remove DestroyRenderDevice()
2022-09-26 22:15:51 +10:00
Connor McLaughlin
f7aa7c659c
D3D11/Texture: Add layers/texture arrays
2022-09-26 22:15:50 +10:00
Connor McLaughlin
0b3461338c
HostDisplay: Use streaming for sw renderer display
2022-09-13 17:50:42 +10:00
Connor McLaughlin
bec0d6e7df
HostDisplay: Add GPU usage statistics
2022-09-03 14:17:51 +10:00
Connor McLaughlin
1aa7facda8
Frontends: Pick best render API based on renderer
...
Stops unnecessary display recreation in big picture UI.
2022-08-26 23:30:45 +10:00
Connor McLaughlin
c7e8233b7b
System: Move present skip check to core
2022-08-19 00:07:14 +10:00
Connor McLaughlin
4688277987
SwapChain: Reduce buffer count from 3 to 2
2022-08-10 17:08:59 +10:00
Connor McLaughlin
29a5ac5d80
D3DHostDisplay: Fix starting in exclusive fullscreen
2022-07-24 17:43:56 +10:00
Connor McLaughlin
b42b5501f6
UI: Massive revamp, new features and improvements
2022-07-22 21:19:54 +10:00
Connor McLaughlin
be9427499b
D3D11HostDisplay: Fix headless rendering
2021-07-23 18:07:30 +10:00
Connor McLaughlin
99018b51b4
FrontendCommon: Support UWP in helper classes
2021-07-11 15:20:38 +10:00
Connor McLaughlin
5da9edceb9
Build: Unify MSBuild options in props files
2021-07-10 21:45:10 +10:00
Connor McLaughlin
e84fe4d948
D3D11HostDisplay: Fix alpha channel of lightgun crosshair
2021-05-08 03:24:18 +10:00
iFarbod
0f8128cc23
Fix width and height checks for fullscreen swapchain
...
Height is being compared against Width somehow, this is wrong..
2021-04-26 22:33:28 +04:30
Connor McLaughlin
924756860e
HostDisplay: Support refresh rate queries on all platforms except Mac
2021-04-03 02:53:28 +10:00
Connor McLaughlin
2aea58d056
HostDisplay: Add method to render screenshots at window size
2021-03-06 02:21:27 +10:00
Connor McLaughlin
757bef7b6d
Common/D3D11: Stride should be byte width
2021-03-06 02:21:27 +10:00
Connor McLaughlin
bfb575cf40
Qt: Improve handling of exclusive fullscreen loss
...
Exclusive fullscreen will be re-requested automatically when the window
regains focus.
2021-02-25 12:51:45 +10:00
Connor McLaughlin
d4143399eb
OpenGLHostDisplay: Support fullscreen mode enumeration (DRM only)
2021-02-14 18:36:21 +10:00
Connor McLaughlin
5a66639d78
HostDisplay: Add virtual method for getting resolutions
2021-02-14 18:36:21 +10:00
Connor McLaughlin
7a48bcc585
FrontendCommon: Remove WITH_IMGUI #ifdefs
...
We never compile FrontendCommon without imgui anyway.
2021-01-31 17:10:27 +10:00
Connor McLaughlin
e697d9aa33
HostDisplay: Move imgui context creation to base class
2021-01-31 17:10:27 +10:00
Connor McLaughlin
6c6fdeb15e
HostDisplay: Make textures have levels/layers/samples attributes
2021-01-24 20:41:40 +10:00
Connor McLaughlin
fd166a4485
ShaderCache: Add a data version field
...
We can increment this to prevent people's shader caches from growing too
large with shader changes.
2021-01-11 15:24:38 +10:00
Connor McLaughlin
bb572741ae
HostDisplay: Add GetHostRefreshRate() function
...
Only implemented in Windows for now.
2021-01-11 03:50:13 +10:00
Connor McLaughlin
419726f4cc
Remove libretro core - core will now be maintained by libretro
...
libretro have agreed to take over maintenance of the core.
Please see their fork at https://github.com/libretro/duckstation if you
wish to continue to use it.
2021-01-08 01:37:59 +10:00
Connor McLaughlin
0534f36b8d
D3D11HostDisplay: Fix incorrect format support check
...
Was resulting in RGB565 textures trying to be created when unsupported.
2021-01-05 17:47:59 +10:00
Connor McLaughlin
f369e3c476
HostDisplay: Fix vram pixels bleeding into edges of display with linear filtering
2021-01-04 03:11:14 +10:00
Connor McLaughlin
59e8363075
D3D11: Support mipmaps in wrapper textures
2020-12-30 17:39:40 +10:00
Connor McLaughlin
f181b45760
libretro: Build fix
2020-12-27 02:41:43 +10:00
Connor McLaughlin
dc46d52029
FrontendCommon: Remove unnecessary #ifndef LIBRETRO macros
...
These were only needed because of ancient compilers on the libretro
buildbot, it still compiles fine with these fields on the latest
compilers.
2020-12-27 00:54:53 +10:00
Connor McLaughlin
702ed21207
HostDisplay: Add threaded presentation for Vulkan renderer
...
Can add a significant speedup for fast forward. Automatically disabled
when vsync is enabled.
2020-12-27 00:54:53 +10:00
Connor McLaughlin
ca84925ff8
HostDisplay: Support screenshotting 16-bit display formats
2020-12-22 03:24:51 +10:00
Connor McLaughlin
a511882cb8
D3D11HostDisplay: Add an option to force a blit/discard swap chain
2020-12-06 23:46:23 +10:00
Connor McLaughlin
3ccfc42b0f
D3D11HostDisplay: Use shader cache for postprocessing shaders
2020-12-06 23:37:41 +10:00
Connor McLaughlin
d3d881aa6b
GPU/Software: Reduce number of copies by one, enable 16-bit scanout
2020-11-21 18:39:04 +10:00
Connor McLaughlin
2c8a4ff154
HostDisplay: Add an option to decouple display fps from emulator fps
...
Makes Android so much faster...
2020-11-03 16:17:45 +10:00
Connor McLaughlin
d102b2facd
Qt: Fix selecting fullscreen mode breaking other backend borderless
2020-11-03 16:17:45 +10:00
Connor McLaughlin
414bc30f24
HostDisplay: Implement exclusive fullscreen for D3D11 renderer
2020-11-02 00:56:05 +10:00
Connor McLaughlin
2eaebd8921
GPU: Implement support for multisample antialiasing
2020-10-31 14:27:58 +10:00
Connor McLaughlin
c9372a674a
More build fixes...
2020-09-13 12:40:32 +10:00
Connor McLaughlin
2819715260
FrontendCommon: Add a post processing implementation
2020-09-13 01:23:43 +10:00
Silent
89e0290d06
Fix resource leaks in AutoStagingTexture::EnsureSize and D3D11HostDisplay::DownloadTexture
2020-09-04 23:44:19 +02:00
Connor McLaughlin
0af22825ad
FrontendCommon: Drop imgui deps for libretro build
2020-09-01 12:48:57 +10:00
Connor McLaughlin
8febf5df04
D3D11HostDisplay: Fix reversed feature level order
2020-07-12 00:44:13 +10:00
Connor McLaughlin
c01854e9d1
Define LIBRETRO macro when building core, skip swap chain
2020-07-10 14:02:45 +10:00
Connor McLaughlin
60a739e305
D3D11HostDisplay: Add __has_include check for dxgi1_5.h
2020-07-09 13:24:56 +10:00