Chromium Code Reviews| Index: include/gpu/GrCaps.h |
| diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h |
| index 9ad20e53e41f3d123b3249f4832c760201109b78..29c9603fd712bdbe6a16fed661c939dc50bb7dcb 100644 |
| --- a/include/gpu/GrCaps.h |
| +++ b/include/gpu/GrCaps.h |
| @@ -216,6 +216,10 @@ public: |
| return fGeometryBufferMapThreshold; |
| } |
| + bool drawArraysInstancedSupport() const { |
|
bsalomon
2015/06/26 13:37:14
I really don't like having GLisms bleed into GrCap
|
| + return fDrawArraysInstancedSupport; |
| + } |
| + |
| protected: |
| /** Subclasses must call this at the end of their constructors in order to apply caps |
| overrides requested by the client. Note that overrides will only reduce the caps never |
| @@ -235,6 +239,7 @@ protected: |
| bool fCompressedTexSubImageSupport : 1; |
| bool fOversizedStencilSupport : 1; |
| bool fTextureBarrierSupport : 1; |
| + bool fDrawArraysInstancedSupport : 1; |
| // Driver workaround |
| bool fUseDrawInsteadOfClear : 1; |