Index: include/gpu/GrTypes.h |
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h |
index 1f83b64d9dcd01535fb983e2752312a97e147003..ffc00c8aa956675b075f35563504eb828ef422aa 100644 |
--- a/include/gpu/GrTypes.h |
+++ b/include/gpu/GrTypes.h |
@@ -126,7 +126,11 @@ static inline int GrNextPow2(int n) { |
*/ |
enum GrBackend { |
kOpenGL_GrBackend, |
+ kVulkan_GrBackend, |
+ |
+ kLast_GrBackend = kVulkan_GrBackend |
}; |
+const int kBackendCount = kLast_GrBackend + 1; |
/** |
* Backend-specific 3D context handle |