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

Unified Diff: gpu/skia_bindings/grcontext_for_gles2_interface.cc

Issue 2691363003: GPU: embiggen the Ganesh resource cache count for Skia. (Closed)
Patch Set: Created 3 years, 10 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 a4718715f28c666c6ad7b9d14ef974815e02d70c..1f161413640323a6f505a0557e71f7f5263d5bfa 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 = 8196;
+ static const int kMaxGaneshResourceCacheCount = 16384;
// 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