Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSkiaCanvas.cpp65 mCanvasOwned = std::unique_ptr<SkCanvas>(new SkCanvas(bitmap)); in SkiaCanvas()
66 mCanvas = mCanvasOwned.get(); in SkiaCanvas()
74 mCanvasOwned.reset(); in reset()
85 mCanvasOwned.reset(new SkCanvas(bitmap)); in setBitmap()
86 mCanvas = mCanvasOwned.get(); in setBitmap()
417 if (mCanvasOwned) { in captureCanvasState()
419 canvas = mCanvasOwned.get(); in captureCanvasState()
705 if (!mCanvasOwned && sApiLevel <= 27 && paintCopy.getStrokeWidth() <= 0 && in drawGlyphs()
DSkiaCanvas.h237 std::unique_ptr<SkCanvas> mCanvasOwned; // might own a canvas we allocated variable