diff options
author | bsalomon <bsalomon@google.com> | 2016-09-06 14:18:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-06 14:18:13 -0700 |
commit | 54dd2e244c4f49be8815611f4c10f6c7d1b700ab (patch) | |
tree | 9007f84c4ba593d81691fcdff965ad70de1b7410 /include | |
parent | 5eb41fdf94187d6cc22702444622ed7897c8039a (diff) |
Add Vulkan docs
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2318603002
NOTRY=true
DOCS_PREVIEW= https://skia.org/?cl=2318603002
Review-Url: https://codereview.chromium.org/2318603002
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrTypes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h index 7bc949d73c..6b73f3c073 100644 --- a/include/gpu/GrTypes.h +++ b/include/gpu/GrTypes.h @@ -142,6 +142,7 @@ const int kBackendCount = kLast_GrBackend + 1; /** * Backend-specific 3D context handle * GrGLInterface* for OpenGL. If NULL will use the default GL interface. + * GrVkBackendContext* for Vulkan. */ typedef intptr_t GrBackendContext; @@ -569,6 +570,7 @@ struct GrBackendTextureDesc { /** * Handle to the 3D API object. * OpenGL: Texture ID. + * Vulkan: GrVkImageInfo* */ GrBackendObject fTextureHandle; }; @@ -603,6 +605,7 @@ struct GrBackendRenderTargetDesc { /** * Handle to the 3D API object. * OpenGL: FBO ID + * Vulkan: GrVkImageInfo* */ GrBackendObject fRenderTargetHandle; }; |