Home | History | Annotate | Download | only in rendering

Lines Matching defs:damageRect

2326 void RenderLayer::paintOverflowControls(GraphicsContext* context, int tx, int ty, const IntRect& damageRect, bool paintingOverlayControls)
2364 m_hBar->paint(context, damageRect);
2370 m_vBar->paint(context, damageRect);
2379 paintScrollCorner(context, offsetX, offsetY, damageRect);
2382 paintResizer(context, offsetX, offsetY, damageRect);
2385 void RenderLayer::paintScrollCorner(GraphicsContext* context, int tx, int ty, const IntRect& damageRect)
2392 if (!absRect.intersects(damageRect))
2411 void RenderLayer::paintResizer(GraphicsContext* context, int tx, int ty, const IntRect& damageRect)
2421 if (!absRect.intersects(damageRect))
2516 void RenderLayer::paint(GraphicsContext* p, const IntRect& damageRect, PaintBehavior paintBehavior, RenderObject *paintingRoot)
2519 paintLayer(this, p, damageRect, paintBehavior, paintingRoot, &overlapTestRequests);
2525 void RenderLayer::paintOverlayScrollbars(GraphicsContext* p, const IntRect& damageRect, PaintBehavior paintBehavior, RenderObject *paintingRoot)
2529 paintLayer(this, p, damageRect, paintBehavior, paintingRoot, 0, PaintLayerHaveTransparency | PaintLayerTemporaryClipRects
2660 IntRect layerBounds, damageRect, clipRectToApply, outlineRect;
2661 calculateRects(rootLayer, paintDirtyRect, layerBounds, damageRect, clipRectToApply, outlineRect, localPaintFlags & PaintLayerTemporaryClipRects);
2687 bool shouldPaint = intersectsDamageRect(layerBounds, damageRect, rootLayer) && m_hasVisibleContent && isSelfPaintingLayer();
2688 if (shouldPaint && !selectionOnly && !damageRect.isEmpty() && !paintingOverlayScrollbars) {
2695 setClip(p, paintDirtyRect, damageRect);
2698 PaintInfo paintInfo(p, damageRect, PaintPhaseBlockBackground, false, paintingRootForRenderer, 0);
2702 restoreClip(p, paintDirtyRect, damageRect);
2748 if (renderer()->hasMask() && shouldPaint && !selectionOnly && !damageRect.isEmpty() && !paintingOverlayScrollbars) {
2749 setClip(p, paintDirtyRect, damageRect);
2752 PaintInfo paintInfo(p, damageRect, PaintPhaseMask, false, paintingRootForRenderer, 0);
2756 restoreClip(p, paintDirtyRect, damageRect);
2760 setClip(p, paintDirtyRect, damageRect);
2761 paintOverflowControls(p, tx, ty, damageRect, true);
2762 restoreClip(p, paintDirtyRect, damageRect);
3530 // Clip applies to *us* as well, so go ahead and update the damageRect.
3607 bool RenderLayer::intersectsDamageRect(const IntRect& layerBounds, const IntRect& damageRect, const RenderLayer* rootLayer) const
3622 if (b.intersects(damageRect))
3628 return boundingBox(rootLayer).intersects(damageRect);