Home | History | Annotate | Download | only in rendering

Lines Matching full:layer

436             // We need to figure out the layer that follows newObject.  We only do
437 // this the first time we find a child layer, and then we update the
442 parentLayer->addChild(toRenderBoxModelObject(obj)->layer(), beforeChild);
466 parentLayer->removeChild(toRenderBoxModelObject(this)->layer());
480 RenderLayer* layer = toRenderBoxModelObject(this)->layer();
481 ASSERT(oldParent == layer->parent());
483 oldParent->removeChild(layer);
484 newParent->addChild(layer);
495 // Error check the parent layer passed in. If it's null, we can't find anything.
499 // Step 1: If our layer is a child of the desired parent, then return our layer.
500 RenderLayer* ourLayer = hasLayer() ? toRenderBoxModelObject(this)->layer() : 0;
504 // Step 2: If we don't have a layer, or our layer is the desired parent, then descend
505 // into our siblings trying to find the next layer whose parent is the desired parent.
515 // Step 3: If our layer is the desired parent layer, then we're finished. We didn't
521 // follow us to see if we can locate a layer.
532 RenderLayer* layer = curr->hasLayer() ? toRenderBoxModelObject(curr)->layer() : 0;
533 if (layer)
534 return layer;
544 RenderLayer* layer = curr->hasLayer() ? toRenderBoxModelObject(curr)->layer() : 0;
545 if (layer && layer->isSelfPaintingLayer())
546 return layer;
602 toRenderBoxModelObject(this)->layer()->setNeedsFullRepaint(true);
653 static bool mustRepaintFillLayers(const RenderObject* renderer, const FillLayer* layer)
656 if (layer->next())
660 StyleImage* img = layer->image();
664 if (!layer->xPosition().isZero() || !layer->yPosition().isZero())
667 if (layer->size().type == SizeLength) {
668 if (layer->size().size.width().isPercent() || layer->size().size.height().isPercent())
670 } else if (layer->size().type == Contain || layer->size().type == Cover || img->usesImageContainerSize())
1140 ASSERT(repaintContainer->hasLayer() && repaintContainer->layer()->isComposited());
1141 repaintContainer->layer()->setBackingNeedsRepaintInRect(r);
1329 // layer's size instead. Even if the layer's size is wrong, the layer itself will repaint
1333 IntRect boxRect(0, 0, boxParent->layer()->width(), boxParent->layer
1336 boxParent->layer()->subtractScrolledContentOffset(x, y); // For overflow:auto/scroll/hidden.
1516 if (!isText() && (!hasLayer() || !toRenderBoxModelObject(this)->layer()->isComposited()))
1525 if (!isText() && (!hasLayer() || !toRenderBoxModelObject(this)->layer()->isComposited()))
1534 // If we have no layer(), just treat a RepaintLayer hint as a normal Repaint.
1574 // Now that the layer (if any) has been updated, we need to adjust the diff again,
1613 // Keep layer hierarchy visibility bits up to date if visibility changes.
1704 // Don't check for repaint here; we need to wait until the layer has been
1769 transformState.move(-toRenderBox(o)->layer()->scrolledContentOffset());
1780 transformState.move(toRenderBox(o)->layer()->scrolledContentOffset());
1788 // so check the layer's transform directly.
1789 return (hasLayer() && toRenderBoxModelObject(this)->layer()->transform()) || (containerObject && containerObject->style()->hasPerspective());
1800 RenderLayer* layer;
1801 if (hasLayer() && (layer = toRenderBoxModelObject(this)->layer()) && layer->transform())
1802 transform.multLeft(layer->currentTransform());
1808 FloatPoint perspectiveOrigin = toRenderBox(containerObject)->layer()->perspectiveOrigin();
1837 offset -= toRenderBox(o)->layer()->scrolledContentOffset();
2043 // First test the foreground layer (lines and inlines).