diff options
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r-- | src/gpu/gl/GrGLCaps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h index 9dfbf23cb4..4143868ed8 100644 --- a/src/gpu/gl/GrGLCaps.h +++ b/src/gpu/gl/GrGLCaps.h @@ -219,6 +219,11 @@ public: /// Is GL_ARB_fragment_coord_conventions supported? bool fragCoordConventionsSupport() const { return fFragCoordsConventionSupport; } + // Use indices or vertices in CPU arrays rather than VBOs for dynamic content. + bool useNonVBOVertexAndIndexDynamicData() const { + return fUseNonVBOVertexAndIndexDynamicData; + } + // Does ReadPixels support the provided format/type combo? bool readPixelsSupported(const GrGLInterface* intf, GrGLenum format, @@ -297,6 +302,7 @@ private: bool fImagingSupport : 1; bool fTwoFormatLimit : 1; bool fFragCoordsConventionSupport : 1; + bool fUseNonVBOVertexAndIndexDynamicData : 1; }; #endif |