diff options
author | Brian Salomon <bsalomon@google.com> | 2017-04-25 16:05:29 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-26 12:50:03 +0000 |
commit | 5db010bfb5d4ed9d9f1dd90d5baa56e14e07a1cd (patch) | |
tree | e452eed9d5291a9f48d677d6b28f1f35fde52348 /src | |
parent | 78de212909a72a3ad74d652b39c941236f7047ad (diff) |
Link to vulkan in tools but not library.
This also now requires an explicit vulkan proc address getter to be used with GrVkBackendContext::Create.
Change-Id: I768ec487398dab68e6e10409419ac7a00ec1822a
Reviewed-on: https://skia-review.googlesource.com/14322
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/vk/GrVkBackendContext.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/vk/GrVkBackendContext.cpp b/src/gpu/vk/GrVkBackendContext.cpp index fea1947489..479d680f18 100644 --- a/src/gpu/vk/GrVkBackendContext.cpp +++ b/src/gpu/vk/GrVkBackendContext.cpp @@ -51,12 +51,7 @@ const GrVkBackendContext* GrVkBackendContext::Create(uint32_t* presentQueueIndex CanPresentFn canPresent, GrVkInterface::GetProc getProc) { if (!getProc) { -#ifdef SK_LINK_WITH_VULKAN - return GrVkBackendContext::Create(vkGetInstanceProcAddr, vkGetDeviceProcAddr, - presentQueueIndexPtr, canPresent); -#else return nullptr; -#endif } SkASSERT(getProc); |