commit | 30e6343b35c815b58fd8e2b1cd7cb584d13f159c | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Tue Dec 11 16:15:15 2018 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Dec 11 21:43:13 2018 +0000 |
tree | 5417de840cc7bead788e9325dacab4c01d12c641 | |
parent | b41321b584d04fb6caf0104c1ecb935f59e72093 [diff] [blame] |
Perform Vulkan resets in a background thread Bug: skia: Change-Id: I90783dc9ac2fcae560cd54e6c8c6df11d7195ac0 Reviewed-on: https://skia-review.googlesource.com/c/168488 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
diff --git a/src/gpu/vk/GrVkPipeline.cpp b/src/gpu/vk/GrVkPipeline.cpp index 68dea29..90d5e44 100644 --- a/src/gpu/vk/GrVkPipeline.cpp +++ b/src/gpu/vk/GrVkPipeline.cpp
@@ -569,7 +569,7 @@ return new GrVkPipeline(vkPipeline); } -void GrVkPipeline::freeGPUData(const GrVkGpu* gpu) const { +void GrVkPipeline::freeGPUData(GrVkGpu* gpu) const { GR_VK_CALL(gpu->vkInterface(), DestroyPipeline(gpu->device(), fPipeline, nullptr)); }