diff options
author | Brian Salomon <bsalomon@google.com> | 2017-04-25 13:28:45 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-25 19:19:07 +0000 |
commit | cc90174cc46623891aa97ccaf7bdda3184d986a3 (patch) | |
tree | 94976f507bbfb9cd59e472ccdfc4f458b28fa989 /include | |
parent | 9378732e896a2a2b33333b89b0493146c4f9fd2c (diff) |
Add GrVkInterface constructor with sepereate instance/device proc getters.
Change-Id: I8498c711ee1fa1cded71e4a7a63317a4b125272b
Reviewed-on: https://skia-review.googlesource.com/14277
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/vk/GrVkInterface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gpu/vk/GrVkInterface.h b/include/gpu/vk/GrVkInterface.h index 1a381bdbe7..05ce561829 100644 --- a/include/gpu/vk/GrVkInterface.h +++ b/include/gpu/vk/GrVkInterface.h @@ -52,6 +52,12 @@ public: VkDevice device, uint32_t extensionFlags); + GrVkInterface(const GetInstanceProc&, + const GetDeviceProc&, + VkInstance instance, + VkDevice device, + uint32_t extensionFlags); + // Validates that the GrVkInterface supports its advertised standard. This means the necessary // function pointers have been initialized for Vulkan version. bool validate(uint32_t extensionFlags) const; |