vulkan: add a trash object
authorMatthew Waters <matthew@centricular.com>
Thu, 1 Sep 2016 09:52:40 +0000 (19:52 +1000)
committerMatthew Waters <matthew@centricular.com>
Thu, 3 Nov 2016 05:58:35 +0000 (16:58 +1100)
commit0f800095e10deaf379a622bf18f04de86f2892a6
tree71694d0d6d8d80d3cd40e5a7bc560eafdd6f02dd
parentaf8c4589ba0eb59180ce7fb9d61e07e52fc82a5b
vulkan: add a trash object

This allows pushing the destruction of vulkan resources after the signalling
of an vulkan event.  The event facilitates knowing when a specific point in the
vulkan queue has been reached.  Only after the event has been signaled can
vulkan resources be freed and/or reused.
ext/vulkan/Makefile.am
ext/vulkan/vk.h
ext/vulkan/vk_fwd.h
ext/vulkan/vktrash.c [new file with mode: 0644]
ext/vulkan/vktrash.h [new file with mode: 0644]