commit | 5d415079fcd955e8b96f9b942e71dfc517819bd2 | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri May 02 14:22:38 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri May 02 14:22:38 2014 +0000 |
tree | ebf96210c24c5195cefe6cf30b6e8a0cb2336585 | |
parent | 5d0c0bfbbe46596345d7bc864b7de12dad172773 [diff] |
Mark drawbitmaprect's large bitmaps as immutable. This reduces the peak memory usage of out/Debug/dm --skr --match drawbitmaprect from ~1.6G to ~200M. I'm not sure how the numbers got so huge to begin with from a 2K x 2K 8888 bitmap (16MB). BUG=skia:2378 R=reed@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/265813007 git-svn-id: http://skia.googlecode.com/svn/trunk@14529 2bbb7eff-a529-9590-31e7-b0007b416f81