diff options
author | 2017-12-19 13:15:02 -0500 | |
---|---|---|
committer | 2017-12-19 18:41:36 +0000 | |
commit | faa095e9842b924c20de84dce1bcc1adad7fe2e4 (patch) | |
tree | 9651cd2720ae39bad1c364338540902b7910655c /tools/sk_app/VulkanWindowContext.h | |
parent | 040238bded7b932b916c84912cbaec1207aa29c0 (diff) |
Update SkSurface MakeFromBackend* factories to take an SkColorType.
Bug: skia:
Change-Id: Ib1b03b1181ec937843eac2e8d8cb03ebe53e32c1
Reviewed-on: https://skia-review.googlesource.com/86760
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tools/sk_app/VulkanWindowContext.h')
-rw-r--r-- | tools/sk_app/VulkanWindowContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sk_app/VulkanWindowContext.h b/tools/sk_app/VulkanWindowContext.h index d02b11428e..df6ef33959 100644 --- a/tools/sk_app/VulkanWindowContext.h +++ b/tools/sk_app/VulkanWindowContext.h @@ -64,7 +64,7 @@ private: BackbufferInfo* getAvailableBackbuffer(); bool createSwapchain(int width, int height, const DisplayParams& params); - void createBuffers(VkFormat format); + void createBuffers(VkFormat format, SkColorType colorType); void destroyBuffers(); sk_sp<const GrVkBackendContext> fBackendContext; |