diff options
author | robertphillips <robertphillips@google.com> | 2016-05-24 14:17:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-24 14:17:13 -0700 |
commit | c4ed68426649dd4ca2c3119cdafdd562d3c3ba28 (patch) | |
tree | 6dad7ad2d21aa5eaeffa79b45ad58d0a07ac9c6e /src/core/SkStrokerPriv.h | |
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
Diffstat (limited to 'src/core/SkStrokerPriv.h')
0 files changed, 0 insertions, 0 deletions