add drawArraysInstanced to caps
BUG=skia:
Review URL: https://codereview.chromium.org/1202383006
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index 3ae75db..6b24ecd 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -214,6 +214,10 @@
return fGeometryBufferMapThreshold;
}
+ bool supportsInstancedDraws() const {
+ return fSupportsInstancedDraws;
+ }
+
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
@@ -233,6 +237,7 @@
bool fCompressedTexSubImageSupport : 1;
bool fOversizedStencilSupport : 1;
bool fTextureBarrierSupport : 1;
+ bool fSupportsInstancedDraws : 1;
// Driver workaround
bool fUseDrawInsteadOfClear : 1;