Lines Matching refs:nodes
134 void FrameBuilder::deferRenderNodeScene(const std::vector< sp<RenderNode> >& nodes,
136 if (nodes.size() < 1) return;
137 if (nodes.size() == 1) {
138 if (!nodes[0]->nothingToDraw()) {
139 deferRenderNode(*nodes[0]);
143 // It there are multiple render nodes, they are laid out as follows:
146 // #2 - additional overlay nodes
152 // Additional nodes will be drawn on top with no particular clipping semantics.
159 const Rect backdrop = nodeBounds(*nodes[0]);
164 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) {
173 backdrop.right, backdrop.bottom), *nodes[0]);
179 content.right, backdrop.bottom), *nodes[0]);
190 deferRenderNode(-dx, -dy, contentLocalClip, *nodes[1]);
192 deferRenderNode(*nodes[1]);
195 // remaining overlay nodes, simply defer
196 for (size_t index = 2; index < nodes.size(); index++) {
197 if (!nodes[index]->nothingToDraw()) {
198 deferRenderNode(*nodes[index]);