Index: dm/DMGpuSupport.h |
diff --git a/dm/DMGpuSupport.h b/dm/DMGpuSupport.h |
index af6270dfc3525be9605de25189f81c01694ae864..90b0ea55cff70c0615f4746626e325a723e2f8d3 100644 |
--- a/dm/DMGpuSupport.h |
+++ b/dm/DMGpuSupport.h |
@@ -36,6 +36,7 @@ enum GrGLStandard { |
kGL_GrGLStandard, |
kGLES_GrGLStandard |
}; |
+static const int kGrGLStandardCnt = 3; |
class GrContextFactory { |
public: |
@@ -47,6 +48,7 @@ public: |
kNVPR_GLContextType = 0, |
kNative_GLContextType = 0, |
kNull_GLContextType = 0; |
+ static const int kGLContextTypeCnt = 1; |
void destroyContexts() {} |
void abandonContexts() {} |