Index: include/gpu/GrCaps.h |
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h |
index 3a6d27ba6647214fe2c565f31aa4f8e9f7ddf842..552557b2cfe7ec9d979078c580844e4c7ff987ba 100644 |
--- a/include/gpu/GrCaps.h |
+++ b/include/gpu/GrCaps.h |
@@ -81,6 +81,8 @@ public: |
*/ |
bool floatPrecisionVaries() const { return fShaderPrecisionVaries; } |
+ int pixelLocalStorageSize() const { return fPixelLocalStorageSize; } |
+ |
protected: |
/** Subclasses must call this after initialization in order to apply caps overrides requested by |
the client. Note that overrides will only reduce the caps never expand them. */ |
@@ -94,6 +96,7 @@ protected: |
bool fShaderPrecisionVaries; |
PrecisionInfo fFloatPrecisions[kGrShaderTypeCount][kGrSLPrecisionCount]; |
+ int fPixelLocalStorageSize; |
private: |
virtual void onApplyOptionsOverrides(const GrContextOptions&) {}; |