Looking at some treads here, it seems like `Render...
# compose
m
Looking at some treads here, it seems like
RenderNodes
are like the
DisplayList
, but for the purpose to fulfill the compose pipline
r
RenderNodes existe with Views too
To keep it simple: a RenderNode contains a display list
So yes, Compose uses display lists
m
Interesting, I've started watching your presentation at

https://www.youtube.com/watch?v=zdQRIYOST64â–ľ

, and I'm in the processing of translating it to the new paradigms of compose. Because of the pandamic, it's weird to think 2018 is 4 years ago lol.
r
It really isn't any different with Compose
The main difference is that a Composable doesn't necessarily map to a RenderNode/DisplayList
m
what scenarios does it triggers to map to a renderNode? Canvas related ones? 🤔
z
I believe each “graphics layer” maps to a render node. So eg the graphicsLayer modifier and placeWithLayer. But we also do it automatically in some other cases, eg I think when a partial alpha is introduced.
m
placeWithLayer is new to me, interesting in both cases
r
Yes, a graphicsLayer is a render node (as opposed to View.setLayerType() which causes a rasterization to a texture; graphicsLayer can do that but only in some cases, for instance if you add alpha < 1.0)
@Zach Klippenstein (he/him) [MOD] Partial alpha creates a raster layer, that’s slightly different
m
this is gold