Changed the command pool management
authorAngelos Gkountis <a.gkountis@samsung.com>
Wed, 6 Jun 2018 16:53:56 +0000 (17:53 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 11 Jun 2018 17:05:46 +0000 (17:05 +0000)
commit0a63d9245f4537b001c57088a6560b4ccf805391
tree37abe34c7021531bf9c7a294c8763cf63d2edd81
parent42e5407952f04fd326f680f7203ec07f52c6e79a
Changed the command pool management

> The Vulkan::Graphics class manages all command pools.
> Creation of command pools is no longer exposed.
> Command pools are lazily created when command buffer creation is required and are stored in a map using the calling thread's ID as the key.
> All the command pools allocated by the Vulkan::Graphics class are using the eResetCommanBuffer flag to allow for explicit command buffer resetting.

Change-Id: I92a275cf591b3a85c98d596f977b9ec4ef4211c6
dali/graphics/vulkan/api/vulkan-api-controller.cpp
dali/graphics/vulkan/vulkan-command-pool.h
dali/graphics/vulkan/vulkan-framebuffer.cpp
dali/graphics/vulkan/vulkan-graphics-texture.cpp
dali/graphics/vulkan/vulkan-graphics.cpp
dali/graphics/vulkan/vulkan-graphics.h
dali/graphics/vulkan/vulkan-resource-cache.cpp
dali/graphics/vulkan/vulkan-resource-cache.h
dali/graphics/vulkan/vulkan-swapchain.cpp