commit | c4ed68426649dd4ca2c3119cdafdd562d3c3ba28 | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Tue May 24 14:17:12 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue May 24 14:17:13 2016 -0700 |
tree | 6dad7ad2d21aa5eaeffa79b45ad58d0a07ac9c6e | |
parent | 7a5bcc5f59bdf122217bc8ca7e756e8c76bae9e1 [diff] |
Don't store resources with a unique key in GrResourceCache's fScratchMap The reasoning here is that resources with a unique key are never selected from fScratchMap and just clog up the search for an available resource. This knocks a 200x loop over the SVGbouncingrects case from 264ms down to 164ms. BUG=603969 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2008083002 Review-Url: https://codereview.chromium.org/2008083002