Stretch small textures up to 16 pixels on PowerVR 54x
Review URL: https://codereview.chromium.org/1161183002
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index 25f3caa..38cf901 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -180,6 +180,9 @@
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 @@
int fMaxRenderTargetSize;
int fMaxTextureSize;
+ int fMinTextureSize;
int fMaxSampleCount;
// The first entry for each config is without msaa and the second is with.