Chromium Code Reviews| Index: include/gpu/GrTypes.h |
| diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h |
| index 7bc949d73c366a5f19c534d5ed0e858d2147867d..826623a2f6236e28c60db2b8684b31f7879ff813 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: GrVkImage* |
|
egdaniel
2016/09/06 14:07:38
GrVkImageInfo
bsalomon
2016/09/06 14:27:47
Done.
|
| */ |
| GrBackendObject fTextureHandle; |
| }; |
| @@ -603,6 +605,7 @@ struct GrBackendRenderTargetDesc { |
| /** |
| * Handle to the 3D API object. |
| * OpenGL: FBO ID |
| + * Vulkan: GrVkImage* |
|
egdaniel
2016/09/06 14:07:38
ImageInfo
bsalomon
2016/09/06 14:27:47
Done.
|
| */ |
| GrBackendObject fRenderTargetHandle; |
| }; |