aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-09-06 14:18:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-06 14:18:13 -0700
commit54dd2e244c4f49be8815611f4c10f6c7d1b700ab (patch)
tree9007f84c4ba593d81691fcdff965ad70de1b7410 /include
parent5eb41fdf94187d6cc22702444622ed7897c8039a (diff)
Add Vulkan docs
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrTypes.h3
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;
};