aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/vk/VkTestContext.h
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2018-07-12 10:02:37 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-12 14:35:08 +0000
commitc8cd45aaf43c5d044d8433d38c8332b1679eeadb (patch)
tree065475875fe983972a8a704ae340aa45bbe0150c /tools/gpu/vk/VkTestContext.h
parent77c138f2cd41cbb0e43985bb458f21455fead646 (diff)
Generate GrVkInterface when we make the GrVkGpu.
Also add a GetProc function to the GrVkBackendContext which will be used to create the GrVkInterface. This change (and updating clients to use it), will allow us to move GrVkInterface out of public which is needed to fix vulkan header issues. Bug: skia: Change-Id: Id8067943ae27cec8cad29fd31b05f0b8387412d4 Reviewed-on: https://skia-review.googlesource.com/140783 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tools/gpu/vk/VkTestContext.h')
-rw-r--r--tools/gpu/vk/VkTestContext.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/gpu/vk/VkTestContext.h b/tools/gpu/vk/VkTestContext.h
index 920f53534e..f3274c55cf 100644
--- a/tools/gpu/vk/VkTestContext.h
+++ b/tools/gpu/vk/VkTestContext.h
@@ -23,8 +23,6 @@ public:
return fVk;
}
- const GrVkInterface* vk() const { return fVk.fInterface.get(); }
-
protected:
VkTestContext(const GrVkBackendContext& vk, bool ownsContext,
VkDebugReportCallbackEXT debugCallback)