commit | e21795e277aa7942a152c4f9921b7d4bd9076406 | [log] [tgz] |
---|---|---|
author | borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Sep 14 14:34:28 2012 +0000 |
committer | borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Sep 14 14:34:28 2012 +0000 |
tree | 4d890c5ef122b6909d0931d428027a1fd3a9843d | |
parent | 71e21ba2afc78ae56cb72cfc5a64858cc2144a0a [diff] |
Enable automatic rescaling in bench_pictures bench_pictures with "--device gpu" is failing because we're trying to allocate too much GPU memory. Move the recently-added scaling code into picture_utils and share it between render_pictures and bench_pictures. Review URL: https://codereview.appspot.com/6495125 git-svn-id: http://skia.googlecode.com/svn/trunk@5543 2bbb7eff-a529-9590-31e7-b0007b416f81