Hacker News new | past | comments | ask | show | jobs | submit login

> In Vulkan, buffer age is implicit with the FIFO swap-chain model.

I know, but it's easier to explain the why with something proposing inclusion of the feature specifically, hence the link to EGL extension instead of Vulkan spec.

Although there's differences in whether or not the "redrawn" area of the buffer can be sampled from or not. I don't remember where Vulkan landed on that. I haven't read the spec but I'd assume it has buffer age similar to EGL_KHR_partial_update (content outside the drawn area is preserved, content within the drawn area is not) rather than like EGL_EXT_buffer_age (everything is preserved). Otherwise it'd force an initial copy into the tiler, which would be an odd default behavior.

> Agreed that there's currently no SwapWithDamage equivalent to tell the compositor about the damaged region in Vulkan, it shouldn't be too difficult of an extension to draft or support.

Already exists: https://www.khronos.org/registry/vulkan/specs/1.1-extensions...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: