Index

The renderer keeps a render target and a texture over the same guest memory as two Vulkan images. A texture that samples a drawn target copies the target's pixels into its own image (a take, texture.c tex_take_drawn). This design gives a guest surface one image: a render target becomes a view of a level or a layer of the texture's image, as a native driver has it, and the copy goes.


Made from docs/dev/one-image.md at 69237645142c. GPL-3.0-or-later.