diff options
author | Leon Scroggins III <scroggo@google.com> | 2020-08-20 15:58:27 -0400 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2020-08-20 15:58:27 -0400 |
commit | 09ea8e370a15214d4bb5c7b647cfc4f3363bb4c7 (patch) | |
tree | 1c14d08bcfa958ab579d9d8f3be1d4f2d68e18e1 /libs/hwui/renderthread/VulkanManager.cpp | |
parent | 92d0655deab5e2ce24e749b65b4f6b4427dd2b7c (diff) |
Remove VulkanManager::mCommandPool
Test: make
This is unused. Splitting out from
I0289938333e2c3dafcc2ce18e72dca3acf4d5b79.
Change-Id: I33eaaa2db86c5d8e3c98c63ba0f6f938e8456cc3
Diffstat (limited to 'libs/hwui/renderthread/VulkanManager.cpp')
-rw-r--r-- | libs/hwui/renderthread/VulkanManager.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libs/hwui/renderthread/VulkanManager.cpp b/libs/hwui/renderthread/VulkanManager.cpp index 0c5cf682e566..76ec078ce3c9 100644 --- a/libs/hwui/renderthread/VulkanManager.cpp +++ b/libs/hwui/renderthread/VulkanManager.cpp @@ -361,20 +361,6 @@ void VulkanManager::initialize() { mGetDeviceQueue(mDevice, mGraphicsQueueIndex, 0, &mGraphicsQueue); mGetDeviceQueue(mDevice, mGraphicsQueueIndex, 1, &mAHBUploadQueue); - // create the command pool for the command buffers - if (VK_NULL_HANDLE == mCommandPool) { - VkCommandPoolCreateInfo commandPoolInfo; - memset(&commandPoolInfo, 0, sizeof(VkCommandPoolCreateInfo)); - commandPoolInfo.sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO; - // this needs to be on the render queue - commandPoolInfo.queueFamilyIndex = mGraphicsQueueIndex; - commandPoolInfo.flags = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT; - SkDEBUGCODE(VkResult res =) - mCreateCommandPool(mDevice, &commandPoolInfo, nullptr, &mCommandPool); - SkASSERT(VK_SUCCESS == res); - } - LOG_ALWAYS_FATAL_IF(mCommandPool == VK_NULL_HANDLE); - mGetDeviceQueue(mDevice, mPresentQueueIndex, 0, &mPresentQueue); if (Properties::enablePartialUpdates && Properties::useBufferAge) { |