Refactored the Vulkan::Image class
authorAngelos Gkountis <a.gkountis@samsung.com>
Wed, 30 May 2018 14:32:52 +0000 (15:32 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 11 Jun 2018 16:50:56 +0000 (16:50 +0000)
commitfbcc01aa9caf4a2fb627a19010628b5f58408e00
treef3d4661e6a36964bd7ff340f9bf2ea73c07e40d6
parent5fd34adc90cd83370edb874da6bb60e75ad350be
Refactored the Vulkan::Image class

> Removed the PIMPL pattern.
> Renamed the static method New that created a RefCountedImage from an external Vulkan image handle to NewFromExternal.
> Removed the Vk prefix from certain getter methods in the Vulkan::Image class.
> Moved the image creation login to the Vulkan::Graphics class.
> Moved the image memory binding logic to the Vulkan::Graphics class.
> Renamed the BindMemory method of the Vulkan::Image class to AssingMemory.
> AssignMemory now only assigns the RefCountedGpuMemoryBlock to the image to increase the ref count. To bind memory to an image, users should use the Graphics::BindImageMemory(<image>, <memory>, <offset>) method.
> Altered already existing image creation code to use the new paradigm.

Change-Id: I32bd621dcd59eac7c24a0759798bde15a7870083
dali/graphics/vulkan/tests/texture-test.cpp
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-image-view.h
dali/graphics/vulkan/vulkan-image.cpp
dali/graphics/vulkan/vulkan-image.h
dali/graphics/vulkan/vulkan-resource-cache.h
dali/graphics/vulkan/vulkan-swapchain.cpp