quakeforge/include/QF/Vulkan
Bill Currie 71e07e6454 [vulkan] Use vkCmdCopyImageToBuffer for screenshot capture
I had missed that vkCmdCopyImage requires the source and destination
images to have exactly the same size, and I guess assumed that the
swapchain images would always be the size they said they were, but this
is not the case for tiled-optimal images. However,
vkCmdCopyImageToBuffer does the right thing regardless of the source
image size.

This fixes the skewed screenshots when the window size is not a multiple
of 8 (for me, might differ for others).
2022-09-26 15:54:20 +09:00
..
barrier.h [vulkan] Make some headers order-indepenedent 2022-05-04 13:55:56 +09:00
buffer.h [vulkan] Make some headers order-indepenedent 2022-05-04 13:55:56 +09:00
capture.h [vulkan] Use vkCmdCopyImageToBuffer for screenshot capture 2022-09-26 15:54:20 +09:00
command.h [vulkan] Clean up a pile of unnecessary includes 2022-05-08 17:57:40 +09:00
cvars.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
debug.h [vulkan] Label renderpass and subpass sections 2022-05-07 15:45:11 +09:00
descriptor.h [vulkan] Clean up a pile of unnecessary includes 2022-05-08 17:57:40 +09:00
device.h [vulkan] Make device.h more include-order independent 2021-12-24 06:45:13 +09:00
funclist.h [vulkan] Switch to using vkGetPhysicalDeviceProperties2 2022-09-22 09:35:56 +09:00
image.h [vulkan] Allow QFV_ImageFormat to select unorm or srgb 2022-05-08 14:15:20 +09:00
instance.h [vulkan] Switch to using vkGetPhysicalDeviceProperties2 2022-09-22 09:35:56 +09:00
memory.h Rework much of the Vulkan array handling 2020-02-17 20:29:35 +09:00
pipeline.h [vulkan] Destroy pipeline on shutdown 2021-01-05 23:54:22 +09:00
projection.h [renderer] Clean up FOV and viewport handling 2022-03-30 14:55:32 +09:00
qf_alias.h [model] Make alias skin loading a batch operation 2022-04-04 15:38:27 +09:00
qf_bsp.h [vulkan] Partially document bsp rendering 2022-09-22 09:35:57 +09:00
qf_compose.h [vulkan] Fix some mostly harmless typos 2021-12-24 06:45:13 +09:00
qf_draw.h [render] Add basic 2d line drawing 2022-09-22 09:35:56 +09:00
qf_iqm.h [vulkan] Get IQM rendering working 2022-05-07 10:14:22 +09:00
qf_lighting.h [vulkan] Hook up the shadow map render pass 2022-09-22 09:35:57 +09:00
qf_lightmap.h [renderer] Clean up most uses of currententity 2022-03-11 15:07:38 +09:00
qf_main.h [vulkan] Move main render pass setup to Vulkan_Main 2022-09-22 09:35:57 +09:00
qf_matrices.h [renderer] Clean up FOV and viewport handling 2022-03-30 14:55:32 +09:00
qf_model.h [vulkan] Make a lot of progress for brush models 2021-01-20 01:28:54 +09:00
qf_particles.h [vulkan] Build particle buffers 2021-12-24 06:45:13 +09:00
qf_renderpass.h [vulkan] Implement window resize support 2022-09-26 13:04:56 +09:00
qf_scene.h [vulkan] Use instanced rendering for brush models 2022-05-25 13:29:11 +09:00
qf_sprite.h [vulkan] Plug some leaking sprite descriptors 2022-05-11 01:52:22 +09:00
qf_texture.h [vulkan] Add a function to load texture arrays 2022-05-26 18:43:15 +09:00
qf_vid.h [vulkan] Partially document bsp rendering 2022-09-22 09:35:57 +09:00
resource.h [vulkan] Add a mini resource subsystem 2022-05-04 13:59:38 +09:00
scrap.h [vulkan] Clean up a lot of unnecessary includes 2022-03-30 15:54:07 +09:00
shader.h [vulkan] Generate code for resource nodes 2021-01-05 14:15:35 +09:00
staging.h [vulkan] Free the staging buffer's command buffers 2022-05-13 10:19:08 +09:00
swapchain.h [vulkan] Implement screenshot 2021-03-24 19:20:53 +09:00