Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp89 SkCanvas* layerCanvas = layerNode->getLayerSurface()->getCanvas(); in renderLayerImpl() local
91 int saveCount = layerCanvas->save(); in renderLayerImpl()
94 layerCanvas->androidFramework_setDeviceClipRestriction(layerDamage.toSkIRect()); in renderLayerImpl()
107 if (properties.getClipToBounds() && layerCanvas->quickReject(bounds)) { in renderLayerImpl()
115 layerCanvas->clear(SK_ColorTRANSPARENT); in renderLayerImpl()
117 RenderNodeDrawable root(layerNode, layerCanvas, false); in renderLayerImpl()
118 root.forceDraw(layerCanvas); in renderLayerImpl()
119 layerCanvas->restoreToCount(saveCount); in renderLayerImpl()
/frameworks/base/libs/hwui/
DRecordingCanvas.cpp694 SkCanvas* layerCanvas = mLayerSurface->getCanvas(); in draw() local
696 SkAutoCanvasRestore(layerCanvas, true); in draw()
697 layerCanvas->clear(SK_ColorTRANSPARENT); in draw()
703 layerCanvas->concat(mat4); in draw()
704 layerCanvas->drawDrawable(drawable.get()); in draw()