Lines Matching refs:layer

49     UpdateContext(const UpdateContext& other, const RenderLayer& layer)
51 , m_compositingAncestor(other.compositingContainer(layer))
53 CompositingState compositingState = layer.compositingState();
55 m_compositingAncestor = &layer;
56 if (layer.stackingNode()->isStackingContext())
57 m_compositingStackingContext = &layer;
61 const RenderLayer* compositingContainer(const RenderLayer& layer) const
63 return layer.stackingNode()->isNormalFlowOnly() ? m_compositingAncestor : m_compositingStackingContext;
85 void GraphicsLayerUpdater::update(RenderLayer& layer, Vector<RenderLayer*>& layersNeedingPaintInvalidation)
88 updateRecursive(layer, DoNotForceUpdate, UpdateContext(), layersNeedingPaintInvalidation);
89 layer.compositor()->updateRootLayerPosition();
92 void GraphicsLayerUpdater::updateRecursive(RenderLayer& layer, UpdateType updateType, const UpdateContext& context, Vector<RenderLayer*>& layersNeedingPaintInvalidation)
94 if (layer.hasCompositedLayerMapping()) {
95 CompositedLayerMapping* mapping = layer.compositedLayerMapping();
98 const RenderLayer* compositingContainer = context.compositingContainer(layer);
99 ASSERT(compositingContainer == layer.enclosingLayerWithCompositedLayerMapping(ExcludeSelf));
102 TRACE_LAYER_INVALIDATION(&layer, InspectorLayerInvalidationTrackingEvent::AncestorRequiresNewLayer);
103 layersNeedingPaintInvalidation.append(&layer);
113 layer.scrollableArea()->positionOverflowControls(IntSize());
120 UpdateContext childContext(context, layer);
121 for (RenderLayer* child = layer.firstChild(); child; child = child->nextSibling())
127 void GraphicsLayerUpdater::assertNeedsToUpdateGraphicsLayerBitsCleared(RenderLayer& layer)
129 if (layer.hasCompositedLayerMapping())
130 layer.compositedLayerMapping()->assertNeedsToUpdateGraphicsLayerBitsCleared();
132 for (RenderLayer* child = layer.firstChild(); child; child = child->nextSibling())