| Index: src/gpu/gl/GrGLCaps.h
|
| diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h
|
| index 0cb353aa9f78703654d17c3731027054b5e36a5a..1ccdf3e79c020d2373aa264d3d67903403576214 100644
|
| --- a/src/gpu/gl/GrGLCaps.h
|
| +++ b/src/gpu/gl/GrGLCaps.h
|
| @@ -307,6 +307,9 @@ public:
|
| /// Are the baseInstance fields supported in indirect draw commands?
|
| bool baseInstanceSupport() const { return fBaseInstanceSupport; }
|
|
|
| + /// Does the platform have known issuses rendering to floating point when using glDraw*Indirect?
|
| + bool canDrawIndirectToFloat() const { return fCanDrawIndirectToFloat; }
|
| +
|
| /// Use indices or vertices in CPU arrays rather than VBOs for dynamic content.
|
| bool useNonVBOVertexAndIndexDynamicData() const { return fUseNonVBOVertexAndIndexDynamicData; }
|
|
|
| @@ -398,6 +401,7 @@ private:
|
| bool fDrawIndirectSupport : 1;
|
| bool fMultiDrawIndirectSupport : 1;
|
| bool fBaseInstanceSupport : 1;
|
| + bool fCanDrawIndirectToFloat : 1;
|
| bool fUseNonVBOVertexAndIndexDynamicData : 1;
|
| bool fIsCoreProfile : 1;
|
| bool fBindFragDataLocationSupport : 1;
|
|
|