v3dv: add framework for private driver objects

Graphics / Mesa 3D Graphics Library / Mesa - Iago Toral Quiroga [igalia.com] - 13 October 2020 21:21 UTC

This allows the driver to register private Vulkan objects it creates as part of command buffer recording (usually for meta operations) in the command buffer, so they can be destroyed together with it.

Part-of:

bfadd70d6c2 v3dv: add framework for private driver objects
src/broadcom/vulkan/v3dv_cmd_buffer.c | 37 +++++++++++++++++++++++++++++++++++
src/broadcom/vulkan/v3dv_private.h | 19 ++++++++++++++++++
2 files changed, 56 insertions(+)

Upstream: cgit.freedesktop.org


  • Share