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

Unified Diff: gpu/skia_bindings/grcontext_for_gles2_interface.cc

Issue 2020013002: gpu: Increase Skia resource cache item limit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tiling-blit-from-msaa-surface
Patch Set: rebase Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/skia_bindings/grcontext_for_gles2_interface.cc
diff --git a/gpu/skia_bindings/grcontext_for_gles2_interface.cc b/gpu/skia_bindings/grcontext_for_gles2_interface.cc
index 57a68f97fe552ff4df360c4dd245d2cb4d46f2f0..a4718715f28c666c6ad7b9d14ef974815e02d70c 100644
--- a/gpu/skia_bindings/grcontext_for_gles2_interface.cc
+++ b/gpu/skia_bindings/grcontext_for_gles2_interface.cc
@@ -29,7 +29,7 @@ GrContextForGLES2Interface::GrContextForGLES2Interface(
if (gr_context_) {
// The limit of the number of GPU resources we hold in the GrContext's
// GPU cache.
- static const int kMaxGaneshResourceCacheCount = 2048;
+ static const int kMaxGaneshResourceCacheCount = 8196;
// The limit of the bytes allocated toward GPU resources in the GrContext's
// GPU cache.
static const size_t kMaxGaneshResourceCacheBytes = 96 * 1024 * 1024;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698