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

Unified Diff: gm/verylargebitmap.cpp

Issue 19217002: Reduce verylargebitmap GMs memory footprint (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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: gm/verylargebitmap.cpp
===================================================================
--- gm/verylargebitmap.cpp (revision 10078)
+++ gm/verylargebitmap.cpp (working copy)
@@ -60,9 +60,9 @@
}
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
- int veryBig = 100*1024; // 64K < size
+ int veryBig = 70*1024; // 64K < size
int big = 60*1024; // 32K < size < 64K
- int small = 300;
+ int small = 150;
canvas->translate(SkIntToScalar(10), SkIntToScalar(10));
show_bm(canvas, small, small, SK_ColorRED);
« 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