Home | History | Annotate | Download | only in compositing

Lines Matching refs:layer

39 GraphicsLayerUpdater::UpdateContext::UpdateContext(const UpdateContext& other, const RenderLayer& layer)
41 , m_compositingAncestor(other.compositingContainer(layer))
43 CompositingState compositingState = layer.compositingState();
45 m_compositingAncestor = &layer;
46 if (layer.stackingNode()->isStackingContext())
47 m_compositingStackingContext = &layer;
51 const RenderLayer* GraphicsLayerUpdater::UpdateContext::compositingContainer(const RenderLayer& layer) const
53 return layer.stackingNode()->isNormalFlowOnly() ? m_compositingAncestor : m_compositingStackingContext;
65 void GraphicsLayerUpdater::update(Vector<RenderLayer*>& layersNeedingPaintInvalidation, RenderLayer& layer, UpdateType updateType, const UpdateContext& context)
67 if (layer.hasCompositedLayerMapping()) {
68 CompositedLayerMappingPtr mapping = layer.compositedLayerMapping();
70 const RenderLayer* compositingContainer = context.compositingContainer(layer);
71 ASSERT(compositingContainer == layer.ancestorCompositingLayer());
76 // so it is legitimate to compute and cache the composited bounds for this layer.
79 if (RenderLayerReflectionInfo* reflection = layer.reflectionInfo()) {
92 if (!layer.parent())
93 layer.compositor()->updateRootLayerPosition();
96 layer.scrollableArea()->positionOverflowControls(IntSize());
99 UpdateContext childContext(context, layer);
100 for (RenderLayer* child = layer.firstChild(); child; child = child->nextSibling())
106 void GraphicsLayerUpdater::assertNeedsToUpdateGraphicsLayerBitsCleared(RenderLayer& layer)
108 if (layer.hasCompositedLayerMapping())
109 layer.compositedLayerMapping()->assertNeedsToUpdateGraphicsLayerBitsCleared();
111 for (RenderLayer* child = layer.firstChild(); child; child = child->nextSibling())