Commit Graph

444 Commits

Author SHA1 Message Date
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
ab83247de3 GLContext: Rename to OpenGLContext 2024-02-25 20:30:41 +10:00
Stenzek
9ac9fc0a1e Host: Add ReportFatalError() 2024-02-25 20:30:41 +10:00
Stenzek
df3517f19b GLContext: Use EGL 1.5 platform selection 2024-02-25 20:30:41 +10:00
Stenzek
143fb0876d dep/glad: Update to v2.0.5 2024-02-25 20:30:41 +10:00
Stenzek
8756672e12 ImGuiManager: Defer scale updates 2024-02-19 22:47:47 +09:00
KamFretoZ
1f6636f62b Qt: Icon updates 2024-02-18 15:44:12 +09:00
Stenzek
01876ec4aa Qt: Fix a couple of game summary translation issues 2024-02-15 22:14:46 +09:00
Tobias Jakobi
317a7ce8a7 Util: Add missing standard library includes 2024-02-06 23:48:45 +10:00
Stenzek
d5fb5645fc ByteStream: Move zstd wrapper to util project
Removes zstd dependency from common, fixes updater running on Mac.
2024-02-05 14:28:26 +10:00
Stenzek
6cca468e65 MetalDevice: Add family check for 16-bit formats 2024-02-03 20:44:34 +10:00
Stenzek
06b11590fe MetalDevice: Textures should be private 2024-02-03 19:53:35 +10:00
Stenzek
73bb2e77af SDLInputSource: Expose IOKit/MFI toggles 2024-02-03 19:41:56 +10:00
Stenzek
29b5afecae MetalDevice: Fix creation error on non-RGBA8 layers 2024-02-03 19:41:56 +10:00
Stenzek
c2c3eac749 Build: Use shared webp/zstd/zlib 2024-02-03 19:41:56 +10:00
Stenzek
6184b671c5 ImGuiFullscreen: Slightly improve hover/animation behavior 2024-01-31 00:53:30 +10:00
Stenzek
ebaef81aae ImGuiFullscreen: Don't clamp scale to 1.0 2024-01-31 00:16:06 +10:00
Stenzek
14e3969736 Misc: Warning fixes 2024-01-26 14:31:03 +10:00
Stenzek
bcf7f55b93 VulkanDevice: Fix potential race between submit and main thread 2024-01-22 22:57:42 +10:00
Stenzek
150ab8f4af GPU: Add host/hardware stats 2024-01-22 14:41:19 +10:00
Stenzek
f66866ed73 GPUDevice: Use Error class for initialization errors 2024-01-21 00:18:33 +10:00
Stenzek
429cb4f351 Qt: Allow toggling fullscreen when VM is paused 2024-01-21 00:07:32 +10:00
Stenzek
f369724b7c dep/imgui: Update to v1.90.1 2024-01-19 21:22:26 +10:00
Stenzek
5042460264 ImGuiFullscreen: Add LayoutUnscale() 2024-01-14 01:44:21 +10:00
Stenzek
da9e3064c2 Achievements: Display missable/progression/win icons 2024-01-14 01:44:21 +10:00
Stenzek
5d3cf93aa3 GPUDevice: Fix race on resize in GL/Vulkan 2024-01-10 22:46:57 +10:00
Stenzek
73cee9f705 Settings: Add UserResources to EmuFolders
Allowing some resources, such as fonts/sounds to be overridden by the
user.
2024-01-10 22:46:57 +10:00
KamFretoZ
34160a8c1b Qt/FSUI: Backport PromptFont from PCSX2 for better readibility 2024-01-10 22:23:56 +10:00
Stenzek
c5c023af5f SDLInputSource: Log axes/buttons when controller is opened 2024-01-08 15:49:05 +10:00
Stenzek
cf760bbe42 CDSubChannelReplacement: Clear map on reload
Fixes one PBP disc's SBI from leaking into others.
2024-01-01 14:46:58 +10:00
Stenzek
12b9cf1898 GPU: Fix crash when trying to postprocess surfaceless 2023-12-31 19:40:45 +10:00
Stenzek
344d2ccd5d OpenGLDevice: Work around lack of base_vertex in GLES3.1 2023-12-28 18:57:45 +10:00
Stenzek
958b033a66 PostProcessing: Fix assertion on some shader/texture formats 2023-12-28 15:31:03 +10:00
Stenzek
6d07d70946 GPUDevice: Fix erratic texture pool recycling 2023-12-27 02:28:12 +10:00
Stenzek
118c6c1269 VulkanDevice: Don't assume presence of vkGetPhysicalDeviceFeatures2 2023-12-26 13:00:58 +10:00
Stenzek
62d2f12236 Settings: Expose exclusive fullscreen control 2023-12-25 23:44:15 +10:00
Stenzek
46e0afd2d4 VulkanDevice: Actually allow enumeration of 1.0 device 2023-12-25 23:02:13 +10:00
Stenzek
c233eb53ab VulkanDevice: Potentially re-enable Vulkan 1.0 support 2023-12-25 21:59:52 +10:00
Stenzek
e81e3edb23 SDLInputSource: Optionally load game_controller_db.txt from data dir 2023-12-25 19:47:57 +10:00
Stenzek
9ec3266f02 GPUDevice: Fix crash when using recycled targets 2023-12-21 23:40:03 +10:00
Stenzek
36643fe78b GameList: Add "File Size" field 2023-12-20 23:40:28 +10:00
Stenzek
dc5e4120cd GPUDevice: Improve texture pooling 2023-12-20 22:42:32 +10:00
Stenzek
5ef2ba0eb2 GPU/HW: Add fallback path for no-texture-buffers
Yay, old Mali drivers without SSBOs...
2023-12-19 22:38:36 +10:00
Stenzek
4942964e2f OpenGLDevice: Fix texture creation issues w/o texture storage 2023-12-19 22:38:36 +10:00
Stenzek
717e0665ae GPUDevice: Support R16I/R16U textures 2023-12-19 22:38:36 +10:00
Stenzek
05b42f34eb JitCodeBuffer: Use MAP_FIXED on MacOS/MAP_FIXED_NOREPLACE on Linux 2023-12-19 22:20:00 +10:00
Stenzek
7829abc014 MSBuild: We don't need WinPixEventRuntime in Release builds 2023-12-18 20:50:36 +10:00
Stenzek
9e82c18559 MetalDevice: Defer release of layer drawables 2023-12-18 20:50:35 +10:00
Stenzek
f4fb069216 MetalDevice: Explicitly bind fragment resources
Fixes adaptive downsampling with Metal renderer.
2023-12-18 20:50:35 +10:00