Lines Matching refs:clipRects
4794 ClipRects clipRects;
4795 calculateClipRects(tempContext, clipRects);
4796 ASSERT(clipRects == *m_clipRectsCache->getClipRects(clipRectsType, clipRectsContext.respectOverflowClip).get());
4807 ClipRects clipRects;
4808 calculateClipRects(clipRectsContext, clipRects);
4813 if (parentLayer && parentLayer->clipRects(clipRectsContext) && clipRects == *parentLayer->clipRects(clipRectsContext))
4814 m_clipRectsCache->setClipRects(clipRectsType, clipRectsContext.respectOverflowClip, parentLayer->clipRects(clipRectsContext));
4816 m_clipRectsCache->setClipRects(clipRectsType, clipRectsContext.respectOverflowClip, ClipRects::create(clipRects));
4824 void RenderLayer::calculateClipRects(const ClipRectsContext& clipRectsContext, ClipRects& clipRects) const
4828 clipRects.reset(PaintInfo::infiniteRect());
4841 if (useCached && parentLayer->clipRects(clipRectsContext))
4842 clipRects = *parentLayer->clipRects(clipRectsContext);
4846 parentLayer->calculateClipRects(parentContext, clipRects);
4849 clipRects.reset(PaintInfo::infiniteRect());
4854 clipRects.setPosClipRect(clipRects.fixedClipRect());
4855 clipRects.setOverflowClipRect(clipRects.fixedClipRect());
4856 clipRects.setFixed(true);
4858 clipRects.setPosClipRect(clipRects.overflowClipRect());
4860 clipRects.setOverflowClipRect(clipRects.posClipRect());
4868 // clipRects are needed in view space.
4873 if (view && clipRects.fixed() && clipRectsContext.rootLayer->renderer() == view) {
4881 clipRects.setOverflowClipRect(intersection(newOverflowClip, clipRects.overflowClipRect()));
4883 clipRects.setPosClipRect(intersection(newOverflowClip, clipRects.posClipRect()));
4887 clipRects.setPosClipRect(intersection(newPosClip, clipRects.posClipRect()));
4888 clipRects.setOverflowClipRect(intersection(newPosClip, clipRects.overflowClipRect()));
4889 clipRects.setFixedClipRect(intersection(newPosClip, clipRects.fixedClipRect()));
4894 void RenderLayer::parentClipRects(const ClipRectsContext& clipRectsContext, ClipRects& clipRects) const
4898 parent()->calculateClipRects(clipRectsContext, clipRects);
4903 clipRects = *parent()->clipRects(clipRectsContext);
4906 static inline ClipRect backgroundClipRectForPosition(const ClipRects& parentRects, EPosition position)
4921 ClipRects parentRects;
4936 // Note: infinite clipRects should not be scrolled here, otherwise they will accidentally no longer be considered infinite.
5337 RefPtr<ClipRects> dummy;