Searched refs:layerCanvas (Results 1 – 2 of 2) sorted by relevance
89 SkCanvas* layerCanvas = layerNode->getLayerSurface()->getCanvas(); in renderLayerImpl() local91 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()
694 SkCanvas* layerCanvas = mLayerSurface->getCanvas(); in draw() local696 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()