Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp81 bool SkiaPipeline::renderLayerImpl(RenderNode* layerNode, const Rect& layerDamage) { in renderLayerImpl() argument
82 SkASSERT(layerNode->getLayerSurface()); in renderLayerImpl()
83 SkiaDisplayList* displayList = layerNode->getDisplayList().asSkiaDl(); in renderLayerImpl()
85 ALOGE("%p drawLayers(%s) : missing drawable", layerNode, layerNode->getName()); in renderLayerImpl()
89 SkCanvas* layerCanvas = layerNode->getLayerSurface()->getCanvas(); in renderLayerImpl()
102 layerNode->getSkiaLayer()->inverseTransformInWindow.mapPoint3d(transformedLightCenter); in renderLayerImpl()
105 const RenderProperties& properties = layerNode->properties(); in renderLayerImpl()
111 ATRACE_FORMAT("drawLayer [%s] %.1f x %.1f", layerNode->getName(), bounds.width(), in renderLayerImpl()
114 layerNode->getSkiaLayer()->hasRenderedSinceRepaint = false; in renderLayerImpl()
117 RenderNodeDrawable root(layerNode, layerCanvas, false); in renderLayerImpl()
[all …]
DSkiaGpuPipeline.cpp41 RenderNode* layerNode = layers.entries()[i].renderNode.get(); in renderLayersImpl() local
45 if (CC_UNLIKELY(layerNode->getLayerSurface() == nullptr)) { in renderLayersImpl()
48 bool rendered = renderLayerImpl(layerNode, layers.entries()[i].damage); in renderLayersImpl()
55 GrAsDirectContext(layerNode->getLayerSurface()->getCanvas()->recordingContext()); in renderLayersImpl()
DSkiaCpuPipeline.cpp35 RenderNode* layerNode = layers.entries()[i].renderNode.get(); in renderLayersImpl() local
39 if (CC_UNLIKELY(layerNode->getLayerSurface() == nullptr)) { in renderLayersImpl()
42 bool rendered = renderLayerImpl(layerNode, layers.entries()[i].damage); in renderLayersImpl()
DSkiaPipeline.h56 bool renderLayerImpl(RenderNode* layerNode, const Rect& layerDamage);
/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp1073 auto layerNode = TestUtils::createSkiaNode( in RENDERTHREAD_TEST() local
1079 layerNode->animatorProperties().mutateLayerProperties().setType(LayerType::RenderLayer); in RENDERTHREAD_TEST()
1080 layerNode->setLayerSurface(SkSurfaces::Raster(SkImageInfo::MakeN32Premul(LAYER_WIDTH, in RENDERTHREAD_TEST()
1084 RenderNodeDrawable drawable(layerNode.get(), &canvas, true); in RENDERTHREAD_TEST()
1089 layerNode->setLayerSurface(nullptr); in RENDERTHREAD_TEST()