DescriptionDon'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
Committed: https://skia.googlesource.com/skia/+/c4ed68426649dd4ca2c3119cdafdd562d3c3ba28
Patch Set 1 #Patch Set 2 : clean up #Patch Set 3 : clean up #
Messages
Total messages: 15 (9 generated)
|