Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp97 RenderNode* layerNode = layers.entries()[i].renderNode.get(); in renderLayersImpl() local
101 if (CC_LIKELY(layerNode->getLayerSurface() != nullptr)) { in renderLayersImpl()
102 SkASSERT(layerNode->getLayerSurface()); in renderLayersImpl()
103 SkiaDisplayList* displayList = (SkiaDisplayList*)layerNode->getDisplayList(); in renderLayersImpl()
105 SkDEBUGF(("%p drawLayers(%s) : missing drawable", layerNode, layerNode->getName())); in renderLayersImpl()
111 SkCanvas* layerCanvas = layerNode->getLayerSurface()->getCanvas(); in renderLayersImpl()
120 layerNode->getSkiaLayer()->inverseTransformInWindow.mapPoint3d(mLightCenter); in renderLayersImpl()
122 const RenderProperties& properties = layerNode->properties(); in renderLayersImpl()
128 ATRACE_FORMAT("drawLayer [%s] %.1f x %.1f", layerNode->getName(), bounds.width(), in renderLayersImpl()
131 layerNode->getSkiaLayer()->hasRenderedSinceRepaint = false; in renderLayersImpl()
[all …]
/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp1065 auto layerNode = TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST() local
1071 layerNode->animatorProperties().mutateLayerProperties().setType(LayerType::RenderLayer); in RENDERTHREAD_SKIA_PIPELINE_TEST()
1072 layerNode->setLayerSurface(SkSurface::MakeRasterN32Premul(LAYER_WIDTH, LAYER_HEIGHT)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
1075 RenderNodeDrawable drawable(layerNode.get(), &canvas, true); in RENDERTHREAD_SKIA_PIPELINE_TEST()
1080 layerNode->setLayerSurface(nullptr); in RENDERTHREAD_SKIA_PIPELINE_TEST()