Commit graph

7053 commits

Author SHA1 Message Date
Stenzek de1338cbbc
VulkanDevice: Add additional semaphore on swap chain
We don't actually need +1 semaphores, or, more than one really.
But, the validation layer gets cranky if we don't fence wait before the next image acquire.
So, add an additional semaphore to ensure that we're never acquiring before fence waiting.
2024-03-08 14:16:56 +10:00
Stenzek 7159330f63
GPU/HW: Ensure buffers are unmapped before present
Darn DX11...
2024-03-08 13:43:22 +10:00
Stenzek 25db163347
System: Fix incorrect save state screenshot size 2024-03-08 04:12:50 +10:00
Anderson Cardoso 9ac97f40fd
Atualização Português do Brasil (#3129)
Confirmação de textos movidos.
2024-03-07 00:03:54 +10:00
Stenzek c854b8f85e
Image: Swap stb for libpng/libjpeg 2024-03-07 00:02:35 +10:00
Stenzek e9c4416272
dep: Add libjpeg v9f 2024-03-06 23:55:18 +10:00
Stenzek b749c483da
dep: Add libpng 1.6.43 2024-03-06 23:55:18 +10:00
Stenzek 250b1bea8f
GPU: Use Image class for screenshot saving 2024-03-06 23:55:18 +10:00
Stenzek 620d08f72d
Build: Move Image from common to util 2024-03-06 16:09:21 +10:00
Stenzek faa64ec4ff
Qt: Improve log window behavior on MacOS 2024-03-05 00:02:22 +10:00
Stenzek 3d2a091c46
Qt: Improve upscale label text 2024-03-05 00:02:22 +10:00
Stenzek a3f6930072
Qt: Fix default arrow key binding on MacOS 2024-03-05 00:02:22 +10:00
Stenzek f80ead6a21
GameDB: More settings 2024-03-05 00:02:22 +10:00
Anderson Cardoso adb2d6c316
Atualização Português do Brasil (#3128)
Atualizado para a última versão
2024-03-04 23:58:30 +10:00
Anderson Cardoso 403ee01a33
Atualização Português do Brasil (#3126)
* Atualização Português do Brasil

- Novo modo de deteção de linhas pela GPU
- Novas opções do modo Big duck mode adicioadas
- Várias outras opções antes movidas ou realocadas confirmadas para a última versão.

* Update do update

Melhoria de contexto
2024-03-03 14:03:39 +10:00
Stenzek ae0dde8b18
Qt: Make some extra space in memcard settings
Settings should fit on 720p now.
2024-03-03 14:03:07 +10:00
Stenzek e2024f6175
System: Change "Auto Load Cheats" to "Enable Cheats" 2024-03-03 14:03:07 +10:00
Stenzek f4ffaa1e3c
Data: Fix crt-lottes.glsl for D3D renders 2024-03-03 14:03:07 +10:00
Stenzek a1d7d214cf
GPUDevice: Add support for VRR and relaxed vsync 2024-03-03 14:03:07 +10:00
Anderson Cardoso d9e496284f
Atualização Português do Brasil (#3125)
Atualizado para a última versão
2024-03-02 21:28:38 +10:00
Stenzek a5de489d6f CI/Flatpak: Use flatpak-github-actions 2024-03-02 21:28:15 +10:00
Stenzek 96f29d9b99
System: Warn if compatibility settings are disabled 2024-03-02 21:21:20 +10:00
Stenzek 04b837a418
Qt: Redesign graphics settings panel
Add screenshot format/type.
2024-03-02 21:21:20 +10:00
Stenzek b8127facdc
GPUDevice: Memoize preferred renderer for auto 2024-03-02 17:45:39 +10:00
Stenzek 713d396a7e
GPU/HW: Add quad line detection (Wild Arms 2) 2024-03-02 17:13:19 +10:00
Stenzek 250fb56838
GPU/HW: Switch to indexed draws 2024-03-01 15:33:00 +10:00
Stenzek b34742cdd2
GPU/HW: Slightly reduce struct size 2024-03-01 13:51:16 +10:00
Stenzek d50ba989ae
Settings: Use bitfields for bool
Slightly more compact, memory-wise.
2024-03-01 13:42:29 +10:00
Stenzek 9e26622a12
CDImageDevice: Implement disc reading for Linux
And fix it for Windows. SubQ reading should now work.
2024-03-01 00:50:31 +10:00
Stenzek b060edc61b
VulkanDevice: Actually use all the swap chain semaphores 2024-03-01 00:50:27 +10:00
Stenzek edeaaebc7d
OpenGLContextEGL: Fix X11+platform base combination 2024-02-29 20:07:05 +10:00
Stenzek 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
Wunkolo 4309d8ebf3
VulkanDevice: Add TryImportHostMemory
Utilizing `VK_EXT_external_memory_host`, attempt to import the host-pointer into a `VkBuffer`, `VkDeviceMemory`, and an offset to the start of the data. When the page size matches the import alignment, then it is possible to import an entire range of memory from the host directly into a vulkan-side buffer to read and write into.
2024-02-29 17:00:51 +10:00
Wunkolo 0ce1149e41
VulkanDevice: Optional VK_EXT_external_memory_host enablement
Allows usage of this extension only when the import-pointer-alignment
matches that of the hosts' page size.
2024-02-29 17:00:51 +10:00
Stenzek 411213d6a0
GPU: Make VRAM a global object 2024-02-29 17:00:51 +10:00
Stenzek 7340324ed9
CDROM: Accuracy improvements 2024-02-29 17:00:51 +10:00
Stenzek 120f5bb434
GameDB: Various additions 2024-02-29 16:15:05 +10:00
Stenzek 71094a0e44
CPU: Implement memory breakpoints/watchpoints 2024-02-28 00:02:02 +10:00
Stenzek ef4389cea8
Qt: Cache CPU register values
That way they don't update while running.
2024-02-27 22:38:43 +10:00
Stenzek 4599109854
CPU/CodeCache: Clear backpatch info for blocks when recompiled 2024-02-27 22:16:59 +10:00
Stenzek 454cceab80
CPU/CodeCache: Move backpatch lookup after RAM check
Saves a map lookup if we're just invalidating code.
2024-02-27 21:04:26 +10:00
Stenzek eb7b6d217d
System: Ensure GPU is flushed before invalidating on pause 2024-02-27 21:04:26 +10:00
Stenzek a63e78d83c
Qt: Mutate breakpoints on CPU thread 2024-02-27 21:04:25 +10:00
Stenzek eeef0a92bb
CPU: Make single step go through the "normal" execution path
That way it exits and re-enters the dynarec as expected.
2024-02-27 21:04:25 +10:00
Stenzek e3a287de44
Qt: Keep debugger open outside of game 2024-02-27 20:15:12 +10:00
Stenzek 4a70164dac
CMake: Determine host page size at build time
Needed for running on Asahi Linux.
2024-02-25 20:30:41 +10:00
Stenzek ab83247de3
GLContext: Rename to OpenGLContext 2024-02-25 20:30:41 +10:00
Stenzek c1381cfda6
System: Gracefully handle memory allocaion failure 2024-02-25 20:30:41 +10:00
Stenzek 9ac9fc0a1e
Host: Add ReportFatalError() 2024-02-25 20:30:41 +10:00
Stenzek 18ba2032ad
Error: Add AddPrefix()/AddSuffix() 2024-02-25 20:30:41 +10:00