Commit Graph

34 Commits

Author SHA1 Message Date
42a5fe0a6e GPU: Further improve vsync handling 2024-05-24 02:33:33 +10:00
4e922a34a7 Log: Simplify macros 2024-05-24 02:08:14 +10:00
b6d019db66 Misc: Replace log printf calls with fmt 2024-05-24 00:29:49 +10:00
6cad97b404 GPUDevice: Make vsync actually tear-free
Apparently users prefer stutter over tearing...
2024-05-23 13:52:26 +10:00
d9cc80c7f9 WindowInfo: Get refresh rate from monitor config
DwmGetCompositionTimingInfo() returns a noisy refresh rate, at least on
Win11 22H2.
2024-05-22 22:16:31 +10:00
ca3cfbaa99 Misc: Pass string_view by value 2024-05-05 22:28:29 +10:00
dc84c58c7c D3D11Device: Fix GPU usage without vsync 2024-04-28 15:25:24 +10:00
7344661801 GPUDevice: Split submission and presentation 2024-04-11 22:53:02 +10:00
88270771da System: Combine VRR and Optimal Frame Pacing
GSync/FreeSync display users should:
 - DISABLE VSync.
 - ENABLE Optimal Frame Pacing.
2024-04-11 21:33:40 +10:00
440a1700c0 System: Interrupt execution when loading state and reset 2024-04-10 20:18:30 +10:00
72ab669e70 GPUDevice: Add support for feedback loops 2024-04-01 13:55:19 +10:00
fe35542c76 D3D11Device: Add MAP_DISCARD fallback path for uniform streaming 2024-03-28 13:59:09 +10:00
7159330f63 GPU/HW: Ensure buffers are unmapped before present
Darn DX11...
2024-03-08 13:43:22 +10:00
a1d7d214cf GPUDevice: Add support for VRR and relaxed vsync 2024-03-03 14:03:07 +10:00
f936a36c85 GPUDevice: Add GPUDownloadTexture
Which can also be based in host/client memory.
Use it for screenshots and VRAM downloads.
2024-02-29 18:56:50 +10:00
150ab8f4af GPU: Add host/hardware stats 2024-01-22 14:41:19 +10:00
f66866ed73 GPUDevice: Use Error class for initialization errors 2024-01-21 00:18:33 +10:00
62d2f12236 Settings: Expose exclusive fullscreen control 2023-12-25 23:44:15 +10:00
dc5e4120cd GPUDevice: Improve texture pooling 2023-12-20 22:42:32 +10:00
7e1276fbac GPUDevice: Fix binding deferred cleared textures
i.e. briefly flashing previous state after reset.
2023-12-14 20:23:48 +10:00
a907e1f550 GPUDevice: Pool textures 2023-12-09 22:08:13 +10:00
3b2c70cda5 GPUDevice: Get rid of framebuffer abstraction 2023-12-09 22:08:13 +10:00
2ca503639d GPU/HW: Avoid extra texture copy in Vulkan/GL 2023-12-01 19:08:50 +10:00
e382f2b64a Settings: Add option to disable DSB/fbfetch 2023-11-28 14:38:38 +10:00
ff17444074 GPU/HW: Add framebuffer fetch blending path 2023-11-25 21:22:35 +10:00
01e505ec8b Common: Add intrin.h 2023-10-01 17:24:34 +10:00
b678fcd874 GPUDevice: Move debug messages over to fmt 2023-09-23 14:14:52 +10:00
184b0a1a52 Misc: Swap most C format strings for fmt 2023-09-23 14:14:52 +10:00
e6d5fa43af D3D11Device: Fix crash when switching renderers 2023-09-06 11:22:18 +10:00
80e3d29ab8 Misc: clang-cl warning clean-up 2023-09-03 14:30:26 +10:00
e804b5e701 GPUDevice: Support geometry shaders 2023-09-02 22:09:22 +10:00
8db8baf33f GPUDevice: Move display logic to GPU 2023-08-30 00:44:00 +10:00
dc9c99438b Misc: Post-refactor cleanups 2023-08-24 18:01:32 +10:00
e3d9ba4c99 Rewrite host GPU abstraction
- Don't have to repeat the same thing for 4 renderers.
 - Add native Metal renderer.
2023-08-20 21:55:38 +10:00