OSDN Git Service

Fix resizing issues
authorHernan Liatis <hliatis@google.com>
Wed, 6 Mar 2019 23:31:04 +0000 (15:31 -0800)
committerHernan Liatis <hliatis@google.com>
Tue, 12 Mar 2019 18:36:02 +0000 (18:36 +0000)
commitf945a5e172d0997c53738149cf0ce87ff4ca56db
treedbffd900622ca75c5d8599bf52bc8fbe1025c52c
parent7ce5de0c17bd186b6c6b48f371b171e764482e1e
Fix resizing issues

In summary, this change associates a 1:1
correspondance between a VkImage and XImage.
This will fix resize issues as well as prepare
to implement createInfo->oldSwapchain.

Bug: b/124265819
Change-Id: I42e8e1e7b5c9a5b64820156603dca10e2ab828ca
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/26368
Reviewed-by: Alexis Hétu <sugoi@google.com>
Tested-by: Hernan Liatis <hliatis@google.com>
src/WSI/VkSurfaceKHR.hpp
src/WSI/VkSwapchainKHR.cpp
src/WSI/VkSwapchainKHR.hpp
src/WSI/XlibSurfaceKHR.cpp
src/WSI/XlibSurfaceKHR.hpp