OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cachedPaint
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/libs/hwui/
RecordingCanvas.h
256
const SkPaint*
cachedPaint
= mPaintMap.valueFor(key);
259
if (
cachedPaint
== nullptr || *
cachedPaint
!= *paint) {
260
cachedPaint
= new SkPaint(*paint);
261
mDisplayList->paints.emplace_back(
cachedPaint
);
263
mPaintMap.replaceValueFor(key,
cachedPaint
);
264
refBitmapsInShader(
cachedPaint
->getShader());
267
return
cachedPaint
;
DisplayListCanvas.h
284
const SkPaint*
cachedPaint
= mPaintMap.valueFor(key);
287
if (
cachedPaint
== nullptr || *
cachedPaint
!= *paint) {
288
cachedPaint
= new SkPaint(*paint);
289
std::unique_ptr<const SkPaint> copy(
cachedPaint
);
293
mPaintMap.replaceValueFor(key,
cachedPaint
);
294
refBitmapsInShader(
cachedPaint
->getShader());
297
return
cachedPaint
;
Completed in 74 milliseconds