Index: src/gpu/gl/GrGLCaps.h |
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h |
index 3408ae0e8fddef5589034283d543bf07f82d7a3b..f0b09407aaf63d0134c3f3fa5a37c1b1ed268fca 100644 |
--- a/src/gpu/gl/GrGLCaps.h |
+++ b/src/gpu/gl/GrGLCaps.h |
@@ -307,6 +307,9 @@ public: |
/// draw commands cannot be used unless we have base instance support. |
bool multiDrawIndirectSupport() const { return fMultiDrawIndirectSupport; } |
+ /// Is there support for glDrawRangeElements? |
+ bool drawRangeElementsSupport() const { return fDrawRangeElementsSupport; } |
+ |
/// Are the baseInstance fields supported in indirect draw commands? |
bool baseInstanceSupport() const { return fBaseInstanceSupport; } |
@@ -400,6 +403,7 @@ private: |
bool fES2CompatibilitySupport : 1; |
bool fDrawInstancedSupport : 1; |
bool fDrawIndirectSupport : 1; |
+ bool fDrawRangeElementsSupport : 1; |
bool fMultiDrawIndirectSupport : 1; |
bool fBaseInstanceSupport : 1; |
bool fUseNonVBOVertexAndIndexDynamicData : 1; |