diff options
author | bsalomon <bsalomon@google.com> | 2015-10-28 08:37:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-28 08:37:44 -0700 |
commit | 100b8f8c079510a6b7572f9ed8058c1d4a2bfeba (patch) | |
tree | b18472cdce2080a6d2a781f0906d6d570b977b19 /include/gpu | |
parent | 018fb62d12d1febf121fe265da5b6117b86a6541 (diff) |
Remove min texture size support
BUG=skia:4524
Review URL: https://codereview.chromium.org/1430643002
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrCaps.h | 3 | ||||
-rw-r--r-- | include/gpu/GrContextOptions.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h index 0f376f9e5a..811a74ff48 100644 --- a/include/gpu/GrCaps.h +++ b/include/gpu/GrCaps.h @@ -189,8 +189,6 @@ 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; } @@ -265,7 +263,6 @@ protected: int fMaxRenderTargetSize; int fMaxTextureSize; - int fMinTextureSize; int fMaxSampleCount; // The first entry for each config is without msaa and the second is with. diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h index 6b93927af7..4b70105559 100644 --- a/include/gpu/GrContextOptions.h +++ b/include/gpu/GrContextOptions.h @@ -15,7 +15,6 @@ struct GrContextOptions { : fDrawPathToCompressedTexture(false) , fSuppressPrints(false) , fMaxTextureSizeOverride(SK_MaxS32) - , fMinTextureSizeOverride(0) , fSuppressDualSourceBlending(false) , fGeometryBufferMapThreshold(-1) , fUseDrawInsteadOfPartialRenderTargetWrite(false) @@ -34,7 +33,6 @@ struct GrContextOptions { detected values. */ int fMaxTextureSizeOverride; - int fMinTextureSizeOverride; bool fSuppressDualSourceBlending; /** the threshold in bytes above which we will use a buffer mapping API to map vertex and index |