Refactor Vulkan image, texture, RTs so that create and getter handles match.
authoregdaniel <egdaniel@google.com>
Fri, 13 May 2016 18:30:37 +0000 (11:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 13 May 2016 18:30:37 +0000 (11:30 -0700)
commitb2df0c2702329be6380a943d548e7377a51d8565
treea5eba5adc391c21100069f6952357c9a90751d32
parent17bf82052f8916c62848c5a3c1d600062bbd8c30
Refactor Vulkan image, texture, RTs so that create and getter handles match.

This allows allows us to track and notify clients when either side changes
and image layout.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1974983002

Review-Url: https://codereview.chromium.org/1974983002
19 files changed:
gm/imagefromyuvtextures.cpp
include/gpu/vk/GrVkTypes.h
src/gpu/vk/GrVkCommandBuffer.cpp
src/gpu/vk/GrVkCommandBuffer.h
src/gpu/vk/GrVkGpu.cpp
src/gpu/vk/GrVkImage.cpp
src/gpu/vk/GrVkImage.h
src/gpu/vk/GrVkPipelineState.cpp
src/gpu/vk/GrVkPipelineState.h
src/gpu/vk/GrVkRenderTarget.cpp
src/gpu/vk/GrVkRenderTarget.h
src/gpu/vk/GrVkStencilAttachment.cpp
src/gpu/vk/GrVkStencilAttachment.h
src/gpu/vk/GrVkTexture.cpp
src/gpu/vk/GrVkTexture.h
src/gpu/vk/GrVkTextureRenderTarget.cpp
src/gpu/vk/GrVkTextureRenderTarget.h
tests/VkWrapTests.cpp
tools/viewer/sk_app/VulkanWindowContext.cpp