commit | 2afb8ec738fc50ea6e4500545c3cacbf346ed187 | [log] [tgz] |
---|---|---|
author | rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Aug 23 14:08:57 2012 +0000 |
committer | rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Aug 23 14:08:57 2012 +0000 |
tree | d7d0781078238263f96e34164e9217977a7ca709 | |
parent | 39ac1aec0e91f2b481ca5eb6cb1c9483210ed9ba [diff] |
Change scratch texture cache behavior to only reuse scratch textures used as render targets if they will be reused as render targets. The original behavior could sometimes confuse the driver; textures would alternate between being used as render targets and having data uploaded into them. Review URL: https://codereview.appspot.com/6480049 git-svn-id: http://skia.googlecode.com/svn/trunk@5252 2bbb7eff-a529-9590-31e7-b0007b416f81