Home | History | Annotate | Download | only in rendering

Lines Matching defs:rootLayer

774 static IntRect transparencyClipBox(const RenderLayer* l, const RenderLayer* rootLayer, PaintBehavior paintBehavior);
776 static void expandClipRectForDescendantsAndReflection(IntRect& clipRect, const RenderLayer* l, const RenderLayer* rootLayer, PaintBehavior paintBehavior)
785 clipRect.unite(transparencyClipBox(curr, rootLayer, paintBehavior));
796 l->convertToLayerCoords(rootLayer, deltaX, deltaY);
803 static IntRect transparencyClipBox(const RenderLayer* l, const RenderLayer* rootLayer, PaintBehavior paintBehavior)
809 if (rootLayer != l && l->paintsWithTransform(paintBehavior)) {
814 l->convertToLayerCoords(rootLayer, x, y);
825 IntRect clipRect = l->boundingBox(rootLayer);
826 expandClipRectForDescendantsAndReflection(clipRect, l, rootLayer, paintBehavior);
830 void RenderLayer::beginTransparencyLayers(GraphicsContext* p, const RenderLayer* rootLayer, PaintBehavior paintBehavior)
837 ancestor->beginTransparencyLayers(p, rootLayer, paintBehavior);
842 IntRect clipRect = transparencyClipBox(this, rootLayer, paintBehavior);
2185 void RenderLayer::paintLayer(RenderLayer* rootLayer, GraphicsContext* p,
2226 parent()->beginTransparencyLayers(p, rootLayer, paintBehavior);
2231 clipRect = backgroundClipRect(rootLayer, paintFlags & PaintLayerTemporaryClipRects);
2242 convertToLayerCoords(rootLayer, x, y);
2268 reflectionLayer()->paintLayer(rootLayer, p, paintDirtyRect, paintBehavior, paintingRoot, overlapTestRequests, localPaintFlags | PaintLayerPaintingReflection);
2274 calculateRects(rootLayer, paintDirtyRect, layerBounds, damageRect, clipRectToApply, outlineRect, localPaintFlags & PaintLayerTemporaryClipRects);
2298 bool shouldPaint = intersectsDamageRect(layerBounds, damageRect, rootLayer) && m_hasVisibleContent && isSelfPaintingLayer();
2302 beginTransparencyLayers(p, rootLayer, paintBehavior);
2319 it[0]->paintLayer(rootLayer, p, paintDirtyRect, paintBehavior, paintingRoot, overlapTestRequests, localPaintFlags);
2325 beginTransparencyLayers(p, rootLayer, paintBehavior);
2358 it[0]->paintLayer(rootLayer, p, paintDirtyRect, paintBehavior, paintingRoot, overlapTestRequests, localPaintFlags);
2363 it[0]->paintLayer(rootLayer, p, paintDirtyRect, paintBehavior, paintingRoot, overlapTestRequests, localPaintFlags);
2452 PassRefPtr<HitTestingTransformState> RenderLayer::createLocalTransformState(RenderLayer* rootLayer, RenderLayer* containerLayer,
2465 // which is relative to rootLayer.
2467 convertToLayerCoords(rootLayer, offsetX, offsetY);
2507 // hitTestPoint and hitTestRect are relative to rootLayer.
2515 RenderLayer* RenderLayer::hitTestLayer(RenderLayer* rootLayer, RenderLayer* containerLayer, const HitTestRequest& request, HitTestResult& result,
2530 IntRect clipRect = backgroundClipRect(rootLayer, useTemporaryClipRects);
2537 RefPtr<HitTestingTransformState> newTransformState = createLocalTransformState(rootLayer, containerLayer, hitTestRect, hitTestPoint, transformState);
2574 localTransformState = createLocalTransformState(rootLayer, containerLayer, hitTestRect, hitTestPoint, transformState);
2598 calculateRects(rootLayer, hitTestRect, layerBounds, bgRect, fgRect, outlineRect, useTemporaryClipRects);
2630 RenderLayer* hitLayer = m_posZOrderList->at(i)->hitTestLayer(rootLayer, this, request, tempResult, hitTestRect, hitTestPoint, false, localTransformState.get(), zOffsetForDescendantsPtr);
2646 RenderLayer* hitLayer = currLayer->hitTestLayer(rootLayer, this, request, tempResult, hitTestRect, hitTestPoint, false, localTransformState.get(), zOffsetForDescendantsPtr);
2675 RenderLayer* hitLayer = m_negZOrderList->at(i)->hitTestLayer(rootLayer, this, request, tempResult, hitTestRect, hitTestPoint, false, localTransformState.get(), zOffsetForDescendantsPtr);
2728 void RenderLayer::updateClipRects(const RenderLayer* rootLayer)
2731 ASSERT(rootLayer == m_clipRectsRoot);
2737 RenderLayer* parentLayer = rootLayer != this ? parent() : 0;
2739 parentLayer->updateClipRects(rootLayer);
2742 calculateClipRects(rootLayer, clipRects, true);
2750 m_clipRectsRoot = rootLayer;
2754 void RenderLayer::calculateClipRects(const RenderLayer* rootLayer, ClipRects& clipRects, bool useCached) const
2764 RenderLayer* parentLayer = rootLayer != this ? parent() : 0;
2771 parentLayer->calculateClipRects(rootLayer, clipRects);
2793 convertToLayerCoords(rootLayer, x, y);
2796 if (view && clipRects.fixed() && rootLayer->renderer() == view) {
2816 void RenderLayer::parentClipRects(const RenderLayer* rootLayer, ClipRects& clipRects, bool temporaryClipRects) const
2820 parent()->calculateClipRects(rootLayer, clipRects);
2824 parent()->updateClipRects(rootLayer);
2828 IntRect RenderLayer::backgroundClipRect(const RenderLayer* rootLayer, bool temporaryClipRects) const
2833 parentClipRects(rootLayer, parentRects, temporaryClipRects);
2839 if (view && parentRects.fixed() && rootLayer->renderer() == view)
2845 void RenderLayer::calculateRects(const RenderLayer* rootLayer, const IntRect& paintDirtyRect, IntRect& layerBounds,
2848 if (rootLayer != this && parent()) {
2849 backgroundRect = backgroundClipRect(rootLayer, temporaryClipRects);
2859 convertToLayerCoords(rootLayer, x, y);
2897 RenderLayer* rootLayer = renderer()->view()->layer();
2900 calculateRects(clippingRootLayer, rootLayer->boundingBox(rootLayer), layerBounds, backgroundRect, foregroundRect, outlineRect);
2906 RenderLayer* rootLayer = renderer()->view()->layer();
2909 calculateRects(clippingRootLayer, rootLayer->boundingBox(rootLayer), layerBounds, backgroundRect, foregroundRect, outlineRect);
2943 bool RenderLayer::intersectsDamageRect(const IntRect& layerBounds, const IntRect& damageRect, const RenderLayer* rootLayer) const
2964 return boundingBox(rootLayer).intersects(damageRect);