Index: include/gpu/GrCaps.h |
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h |
index e083042ae4938b45f7966ce9e65dbd696e9000ad..25f3caadeda59e89d8317f089578d3038e1c5084 100644 |
--- a/include/gpu/GrCaps.h |
+++ b/include/gpu/GrCaps.h |
@@ -196,7 +196,12 @@ public: |
bool suppressPrints() const { return fSupressPrints; } |
bool drawPathMasksToCompressedTexturesSupport() const { |
- return fDrawPathMasksToCompressedTextureSupport; } |
+ return fDrawPathMasksToCompressedTextureSupport; |
+ } |
+ |
+ size_t geometryBufferMapThreshold() const { |
+ return fGeometryBufferMapThreshold; |
+ } |
protected: |
/** Subclasses must call this at the end of their constructors in order to apply caps |
@@ -233,6 +238,7 @@ protected: |
private: |
bool fSupressPrints : 1; |
bool fDrawPathMasksToCompressedTextureSupport : 1; |
+ size_t fGeometryBufferMapThreshold; |
typedef SkRefCnt INHERITED; |
}; |