skia2/tools/sk_app
Jim Van Verth a496e3ff07 Fix MetalWindowContext::swapBuffers.
It looks like we were expecting the drawable to be retained outside
of swapBuffers(), which isn't always the case. Move the release
to the end of the method to retain locally until we're done with it.

Bug: skia:10597
Change-Id: Ieff6a3add0554b5b221700aff88fefd7c8502f41
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/309724
Reviewed-by: Adlai Holler <adlai@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2020-08-14 16:22:48 +00:00
..
android Revert "Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots"""" 2020-03-20 17:11:58 +00:00
ios Revert "Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots"""" 2020-03-20 17:11:58 +00:00
mac Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
unix Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
win Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
Application.h Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
CommandSet.cpp Include the SkTSort header only where it is used. 2020-07-14 14:19:06 +00:00
CommandSet.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
DawnWindowContext.cpp Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
DawnWindowContext.h Update the sk_app WindowContext to hold a GrDirectContext 2020-07-10 18:27:03 +00:00
DisplayParams.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GLWindowContext.cpp Remove gendered language 2020-07-28 15:02:41 +00:00
GLWindowContext.h Update the sk_app WindowContext to hold a GrDirectContext 2020-07-10 18:27:03 +00:00
MetalWindowContext.h Use LazyProxy to set up Metal swapchain. 2019-10-18 14:04:41 +00:00
MetalWindowContext.mm Fix MetalWindowContext::swapBuffers. 2020-08-14 16:22:48 +00:00
RasterWindowContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
VulkanWindowContext.cpp Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
VulkanWindowContext.h Add support for vk image sharing mode and handle queues xfers correctly. 2020-06-02 15:58:28 +00:00
Window.cpp Update the sk_app WindowContext to hold a GrDirectContext 2020-07-10 18:27:03 +00:00
Window.h Update the sk_app WindowContext to hold a GrDirectContext 2020-07-10 18:27:03 +00:00
WindowContext.cpp Update the sk_app WindowContext to hold a GrDirectContext 2020-07-10 18:27:03 +00:00
WindowContext.h Update the sk_app WindowContext to hold a GrDirectContext 2020-07-10 18:27:03 +00:00