| Index: include/gpu/GrCaps.h
|
| diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
|
| index 25f3caadeda59e89d8317f089578d3038e1c5084..38cf9019cf390879dd64e162ee0afb13c0eec2e3 100644
|
| --- a/include/gpu/GrCaps.h
|
| +++ b/include/gpu/GrCaps.h
|
| @@ -180,6 +180,9 @@ public:
|
|
|
| int maxRenderTargetSize() const { return fMaxRenderTargetSize; }
|
| int maxTextureSize() const { return fMaxTextureSize; }
|
| + /** 0 unless GPU has problems with small textures */
|
| + int minTextureSize() const { return fMinTextureSize; }
|
| +
|
| // Will be 0 if MSAA is not supported
|
| int maxSampleCount() const { return fMaxSampleCount; }
|
|
|
| @@ -229,6 +232,7 @@ protected:
|
|
|
| int fMaxRenderTargetSize;
|
| int fMaxTextureSize;
|
| + int fMinTextureSize;
|
| int fMaxSampleCount;
|
|
|
| // The first entry for each config is without msaa and the second is with.
|
|
|