Home
last modified time | relevance | path

Searched refs:cachedPaint (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
DDisplayListCanvas.h306 const SkPaint* cachedPaint = mPaintMap.valueFor(key); in refPaint() local
309 if (cachedPaint == nullptr || *cachedPaint != *paint) { in refPaint()
310 cachedPaint = new SkPaint(*paint); in refPaint()
311 std::unique_ptr<const SkPaint> copy(cachedPaint); in refPaint()
315 mPaintMap.replaceValueFor(key, cachedPaint); in refPaint()
316 refBitmapsInShader(cachedPaint->getShader()); in refPaint()
319 return cachedPaint; in refPaint()