OSDN Git Service

Allow Command Buffers to be allocated and freed
authorAlexis Hetu <sugoi@google.com>
Mon, 19 Nov 2018 16:30:43 +0000 (11:30 -0500)
committerAlexis Hétu <sugoi@google.com>
Fri, 30 Nov 2018 19:38:13 +0000 (19:38 +0000)
commitbffee5e5454c5b62eb1173e0237261887e99c1d8
tree3e2eca3cc6f642ca85f7ab03af893e45d5571aaf
parentd46faeb4328770b239b67c5e930cb0087795d480
Allow Command Buffers to be allocated and freed

Added functionality so that the CommandPool can allocate and
free command buffer objects.

Bug b/119827933

Change-Id: I190ba3cd7738f2b5e37b196a0abba6d07cfae173
Reviewed-on: https://swiftshader-review.googlesource.com/c/22748
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
src/Vulkan/VkCommandPool.cpp
src/Vulkan/VkCommandPool.hpp
src/Vulkan/libVulkan.cpp