commit | bfeddae9da240693441556b2f278827e213f75e8 | [log] [tgz] |
---|---|---|
author | junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Jul 23 13:35:14 2012 +0000 |
committer | junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Jul 23 13:35:14 2012 +0000 |
tree | da8eae02490967677ab398adef409ea0bfdcf6ca | |
parent | 47580694fbe974a065caf7c39c3d2075708c2018 [diff] |
Fix unbound memory consumption problem with run away deferred canvases. With this CL, deferred canvases will trigger a flush when then the memory allocated for recording commands (including flattened objects) exceeds 64MB. TEST=DeferredCanvas skia unit test, test step TestDeferredCanvasMemoryLimit BUG=http://code.google.com/p/chromium/issues/detail?id=137884 Review URL: https://codereview.appspot.com/6425053 git-svn-id: http://skia.googlecode.com/svn/trunk@4714 2bbb7eff-a529-9590-31e7-b0007b416f81