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

Unified Diff: src/core/SkImagePriv.h

Issue 2234423005: increase small allocator limit to encompass compose shader (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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: src/core/SkImagePriv.h
diff --git a/src/core/SkImagePriv.h b/src/core/SkImagePriv.h
index 3077f343677d034994846cdb897812258bc0364c..6ce1f83073eb5be56211b2d5828a5200834b9bcf 100644
--- a/src/core/SkImagePriv.h
+++ b/src/core/SkImagePriv.h
@@ -18,7 +18,7 @@ enum SkCopyPixelsMode {
kNever_SkCopyPixelsMode, //!< never copy src pixels (even if they are marked mutable)
};
-enum {kSkBlitterContextSize = 3332};
+enum {kSkBlitterContextSize = 5300}; // minimum required for compose shader blitter
// Commonly used allocator. It currently is only used to allocate up to 3 objects. The total
// bytes requested is calculated using one of our large shaders, its context size plus the size of
« 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