Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1105)

Unified Diff: src/gpu/GrContext.cpp

Issue 1158963002: Add caps overrides to GMs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrCaps.cpp ('k') | src/gpu/GrTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrContext.cpp
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index a9beabb537cdf2613f1d3d5f808b1e86e3ef94e6..d5506e34cf409cb300ff53323e9ecc103fa471a4 100755
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -144,7 +144,6 @@ GrContext::GrContext() : fUniqueID(next_id()) {
fSoftwarePathRenderer = NULL;
fBatchFontCache = NULL;
fFlushToReduceCacheSize = false;
- fMaxTextureSizeOverride = 1 << 20;
}
bool GrContext::init(GrBackend backend, GrBackendContext backendContext,
@@ -293,7 +292,7 @@ void GrContext::TextBlobCacheOverBudgetCB(void* data) {
}
int GrContext::getMaxTextureSize() const {
- return SkTMin(fGpu->caps()->maxTextureSize(), fMaxTextureSizeOverride);
+ return fGpu->caps()->maxTextureSize();
}
int GrContext::getMaxRenderTargetSize() const {
« no previous file with comments | « src/gpu/GrCaps.cpp ('k') | src/gpu/GrTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698