Searched refs:mCanvasOwned (Results 1 – 2 of 2) sorted by relevance
127 mCanvasOwned = std::unique_ptr<SkCanvas>(new SkCanvas(bitmap)); in SkiaCanvas()128 mCanvas = mCanvasOwned.get(); in SkiaCanvas()136 mCanvasOwned.reset(); in reset()147 mCanvasOwned.reset(new SkCanvas(bitmap)); in setBitmap()148 mCanvas = mCanvasOwned.get(); in setBitmap()461 if (mCanvasOwned) { in captureCanvasState()463 canvas = mCanvasOwned.get(); in captureCanvasState()615 if (!mCanvasOwned) return true; in useGainmapShader()617 auto info = mCanvasOwned->imageInfo(); in useGainmapShader()832 if (!mCanvasOwned && sApiLevel <= 27 && paintCopy.getStrokeWidth() <= 0 && in drawGlyphs()
232 std::unique_ptr<SkCanvas> mCanvasOwned; // Might own a canvas we allocated. variable