Searched defs:paintCopy (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
H A DDisplayListRenderer.h221 const SkPaint* paintCopy = mPaintMap.valueFor(paint); local
222 if (paintCopy == NULL
223 || paintCopy->getGenerationID() != paint->getGenerationID()
228 || !(paint->getShader() && paintCopy->getShader()
229 && paint->getShader()->getGenerationID() == paintCopy->getShader()->getGenerationID())) {
230 paintCopy = copyPaint(paint);
232 mPaintMap.replaceValueFor(paint, paintCopy);
235 return paintCopy;
240 SkPaint* paintCopy = new SkPaint(*paint);
244 paintCopy
[all...]

Completed in 160 milliseconds