Home | History | Annotate | Download | only in rendering

Lines Matching defs:layer

86         // if we remove visible child from an invisible parent, we don't know the layer visibility any more
87 RenderLayer* layer = 0;
89 layer = owner->enclosingLayer();
90 layer->dirtyVisibleContentStatus();
93 // Keep our layer hierarchy updated.
95 if (!layer)
96 layer = owner->enclosingLayer();
97 oldChild->removeLayers(layer);
153 // Keep our layer hierarchy updated. Optimize for the common case where we don't have any children
154 // and don't have a layer attached to ourselves.
155 RenderLayer* layer = 0;
157 layer = owner->enclosingLayer();
158 newChild->addLayers(layer, newChild);
161 // if the new child is visible but this object was not, tell the layer it has some visible content
162 // that needs to be drawn and layer visibility optimization can't be used
164 if (!layer)
165 layer = owner->enclosingLayer();
166 if (layer)
167 layer->setHasVisibleContent(true);
209 // Keep our layer hierarchy updated. Optimize for the common case where we don't have any children
210 // and don't have a layer attached to ourselves.
211 RenderLayer* layer = 0;
213 layer = owner->enclosingLayer();
214 child->addLayers(layer, child);
217 // if the new child is visible but this object was not, tell the layer it has some visible content
218 // that needs to be drawn and layer visibility optimization can't be used
220 if (!layer)
221 layer = owner->enclosingLayer();
222 if (layer)
223 layer->setHasVisibleContent(true);