skia2/tools/sk_app
Greg Daniel cb32415753 Add support for VK_IMAGE_LAYOUT_PRESENT_SRC_KHR in skia vulkan.
This change allows Skia to handle transfering from the present layout.
Skia currently never changes to the present layout, though we are looking
at adding support for this in a different CL.

With this change a client can wrap a an VkImage into an SkSurface still in
the queue present layout and Skia will handle the transation to color
attachment. If a client uses this functiality they most likely will want
to immediately call wait(GrBackendSemaphore) on the SkSurface so that Skia
waits on the VkSemaphore that came from a call to vulkan aquire image before
doing any work on the wrapped VkImage.

Bug: skia:
Change-Id: Ia9bd12ad4e6cd972daaa972cce8698d396c002fc
Reviewed-on: https://skia-review.googlesource.com/c/194424
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2019-02-26 17:37:25 +00:00
..
android Privately include our version of vulkan header file in all our src files. 2018-11-26 15:15:44 +00:00
ios test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
mac Add MoltenVK support to Viewer. 2019-02-14 20:56:38 +00:00
unix Privately include our version of vulkan header file in all our src files. 2018-11-26 15:15:44 +00:00
win more extra semis 2019-01-04 15:35:14 +00:00
Application.h Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
CommandSet.cpp sed s/drawSimpleText/drawString/ 2019-01-08 19:50:09 +00:00
CommandSet.h Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
DisplayParams.h Add pixel geometry and dft selection to viewer app. 2018-04-16 22:46:50 +00:00
GLWindowContext.cpp Remove some linear-blending sRGB logic from sk_app 2018-07-09 15:22:17 +00:00
GLWindowContext.h Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00
MetalWindowContext.h Add Metal context to Viewer. 2019-02-08 21:26:52 +00:00
MetalWindowContext.mm Add Metal context to Viewer. 2019-02-08 21:26:52 +00:00
RasterWindowContext.h Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00
VulkanWindowContext.cpp Add support for VK_IMAGE_LAYOUT_PRESENT_SRC_KHR in skia vulkan. 2019-02-26 17:37:25 +00:00
VulkanWindowContext.h Add support for VK_IMAGE_LAYOUT_PRESENT_SRC_KHR in skia vulkan. 2019-02-26 17:37:25 +00:00
Window.cpp Switch back to non-Retina display resolution. 2019-02-06 16:53:02 +00:00
Window.h Add Metal context to Viewer. 2019-02-08 21:26:52 +00:00
WindowContext.h Add pixel geometry and dft selection to viewer app. 2018-04-16 22:46:50 +00:00