Home | History | Annotate | Download | only in rendering

Lines Matching refs:paintFlags

1726 void RenderLayer::paint(GraphicsContext* context, const LayoutRect& damageRect, PaintBehavior paintBehavior, RenderObject* paintingRoot, PaintLayerFlags paintFlags)
1731 if (shouldPaintLayerInSoftwareMode(context, paintingInfo, paintFlags))
1732 paintLayer(context, paintingInfo, paintFlags);
1765 PaintLayerFlags paintFlags, BorderRadiusClippingRule rule)
1783 if (layer->needsCompositedScrolling() && !(paintFlags & PaintLayerPaintingChildClippingMaskPhase))
1830 static bool paintForFixedRootBackground(const RenderLayer* layer, PaintLayerFlags paintFlags)
1832 return layer->renderer()->isDocumentElement() && (paintFlags & PaintLayerPaintingRootBackgroundOnly);
1835 static ShouldRespectOverflowClip shouldRespectOverflowClip(PaintLayerFlags paintFlags, const RenderObject* renderer)
1837 return (paintFlags & PaintLayerPaintingOverflowContents || (paintFlags & PaintLayerPaintingChildClippingMaskPhase && renderer->hasClipPath())) ? IgnoreOverflowClip : RespectOverflowClip;
1840 void RenderLayer::paintLayer(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags)
1847 paintFlags |= PaintLayerTemporaryClipRects;
1867 paintFlags |= PaintLayerHaveTransparency;
1870 if (paintsWithTransform(paintingInfo.paintBehavior) && !(paintFlags & PaintLayerAppliedTransform)) {
1878 if (paintFlags & PaintLayerHaveTransparency) {
1886 paintTransformedLayerIntoFragments(context, paintingInfo, paintFlags);
1893 ClipRectsContext clipRectsContext(paintingInfo.rootLayer, (paintFlags & PaintLayerTemporaryClipRects) ? TemporaryClipRects : PaintingClipRects,
1894 IgnoreOverlayScrollbarSize, shouldRespectOverflowClip(paintFlags, renderer()));
1899 parent()->clipToRect(paintingInfo, context, clipRect, paintFlags);
1902 paintLayerByApplyingTransform(context, paintingInfo, paintFlags);
1911 paintLayerContentsAndReflection(context, paintingInfo, paintFlags);
1914 void RenderLayer::paintLayerContentsAndReflection(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags)
1918 PaintLayerFlags localPaintFlags = paintFlags & ~(PaintLayerAppliedTransform);
1928 void RenderLayer::paintLayerContents(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags)
1931 ASSERT(!(paintFlags & PaintLayerAppliedTransform));
1933 bool haveTransparency = paintFlags & PaintLayerHaveTransparency;
1935 bool isPaintingOverlayScrollbars = paintFlags & PaintLayerPaintingOverlayScrollbars;
1936 bool isPaintingScrollingContent = paintFlags & PaintLayerPaintingCompositingScrollingPhase;
1937 bool isPaintingCompositedForeground = paintFlags & PaintLayerPaintingCompositingForegroundPhase;
1938 bool isPaintingCompositedBackground = paintFlags & PaintLayerPaintingCompositingBackgroundPhase;
1939 bool isPaintingOverflowContents = paintFlags & PaintLayerPaintingOverflowContents;
1956 if (paintFlags & PaintLayerPaintingRootBackgroundOnly && !renderer()->isRenderView() && !renderer()->isDocumentElement())
1980 if (renderer()->hasClipPath() && !context->paintingDisabled() && style && (!needsCompositedScrolling() || paintFlags & PaintLayerPaintingChildClippingMaskPhase)) {
2077 bool shouldPaintMask = (paintFlags & PaintLayerPaintingCompositingMaskPhase) && shouldPaintContent && renderer()->hasMask() && !selectionOnly;
2078 bool shouldPaintClippingMask = (paintFlags & PaintLayerPaintingChildClippingMaskPhase) && shouldPaintContent && !selectionOnly;
2081 if (paintFlags & PaintLayerPaintingSkipRootBackground)
2083 else if (paintFlags & PaintLayerPaintingRootBackgroundOnly)
2091 (paintFlags & PaintLayerTemporaryClipRects) ? TemporaryClipRects : PaintingClipRects, IgnoreOverlayScrollbarSize,
2092 shouldRespectOverflowClip(paintFlags, renderer()), &offsetFromRoot, localPaintingInfo.subPixelAccumulation);
2093 updatePaintingInfoForFragments(layerFragments, localPaintingInfo, paintFlags, shouldPaintContent, &offsetFromRoot);
2098 localPaintingInfo, paintBehavior, paintingRootForRenderer, paintFlags);
2102 paintChildren(NegativeZOrderChildren, context, localPaintingInfo, paintFlags);
2106 localPaintingInfo, paintBehavior, paintingRootForRenderer, selectionOnly, forceBlackText, paintFlags);
2110 paintOutlineForFragments(layerFragments, context, localPaintingInfo, paintBehavior, paintingRootForRenderer, paintFlags);
2113 paintChildren(NormalFlowChildren | PositiveZOrderChildren, context, localPaintingInfo, paintFlags);
2116 paintOverflowControlsForFragments(layerFragments, context, localPaintingInfo, paintFlags);
2122 clipToRect(localPaintingInfo, transparencyLayerContext, backgroundRect, paintFlags);
2131 paintMaskForFragments(layerFragments, context, localPaintingInfo, paintingRootForRenderer, paintFlags);
2135 paintChildClippingMaskForFragments(layerFragments, context, localPaintingInfo, paintingRootForRenderer, paintFlags);
2152 void RenderLayer::paintLayerByApplyingTransform(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags, const LayoutPoint& translationOffset)
2174 paintLayerContentsAndReflection(context, transformedPaintingInfo, paintFlags);
2177 bool RenderLayer::shouldPaintLayerInSoftwareMode(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags)
2185 || ((paintFlags & PaintLayerPaintingReflection) && !has3DTransform())
2186 || paintForFixedRootBackground(this, paintFlags);
2189 void RenderLayer::paintChildren(unsigned childrenToVisit, GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags)
2203 if (!childLayer->shouldPaintLayerInSoftwareMode(context, paintingInfo, paintFlags))
2207 childLayer->paintLayer(context, paintingInfo, paintFlags);
2209 paintPaginatedChildLayer(childLayer, context, paintingInfo, paintFlags);
2299 void RenderLayer::paintTransformedLayerIntoFragments(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags)
2305 (paintFlags & PaintLayerTemporaryClipRects) ? TemporaryClipRects : PaintingClipRects, IgnoreOverlayScrollbarSize,
2306 shouldRespectOverflowClip(paintFlags, renderer()), &offsetOfPaginationLayerFromRoot, paintingInfo.subPixelAccumulation, &transformedExtent);
2319 ClipRectsContext clipRectsContext(enclosingPaginationLayer(), (paintFlags & PaintLayerTemporaryClipRects) ? TemporaryClipRects : PaintingClipRects,
2320 IgnoreOverlayScrollbarSize, shouldRespectOverflowClip(paintFlags, renderer()));
2326 parent()->clipToRect(paintingInfo, context, clipRect, paintFlags);
2327 paintLayerByApplyingTransform(context, paintingInfo, paintFlags, fragment.paginationOffset);
2343 RenderObject* paintingRootForRenderer, PaintLayerFlags paintFlags)
2357 clipToRect(localPaintingInfo, context, fragment.backgroundRect, paintFlags, DoNotIncludeSelfForBorderRadius); // Background painting will handle clipping to self.
2372 RenderObject* paintingRootForRenderer, bool selectionOnly, bool forceBlackText, PaintLayerFlags paintFlags)
2390 clipToRect(localPaintingInfo, context, layerFragments[0].foregroundRect, paintFlags);
2395 context, localPaintingInfo, localPaintBehavior, paintingRootForRenderer, paintFlags);
2398 paintForegroundForFragmentsWithPhase(PaintPhaseFloat, layerFragments, context, localPaintingInfo, localPaintBehavior, paintingRootForRenderer, paintFlags);
2399 paintForegroundForFragmentsWithPhase(PaintPhaseForeground, layerFragments, context, localPaintingInfo, localPaintBehavior, paintingRootForRenderer, paintFlags);
2400 paintForegroundForFragmentsWithPhase(PaintPhaseChildOutlines, layerFragments, context, localPaintingInfo, localPaintBehavior, paintingRootForRenderer, paintFlags);
2408 const LayerPaintingInfo& localPaintingInfo, PaintBehavior paintBehavior, RenderObject* paintingRootForRenderer, PaintLayerFlags paintFlags)
2418 clipToRect(localPaintingInfo, context, fragment.foregroundRect, paintFlags);
2431 PaintBehavior paintBehavior, RenderObject* paintingRootForRenderer, PaintLayerFlags paintFlags)
2440 clipToRect(localPaintingInfo, context, fragment.outlineRect, paintFlags, DoNotIncludeSelfForBorderRadius);
2447 RenderObject* paintingRootForRenderer, PaintLayerFlags paintFlags)
2455 clipToRect(localPaintingInfo, context, fragment.backgroundRect, paintFlags, DoNotIncludeSelfForBorderRadius); // Mask painting will handle clipping to self.
2468 RenderObject* paintingRootForRenderer, PaintLayerFlags paintFlags)
2476 clipToRect(localPaintingInfo, context, fragment.foregroundRect, paintFlags, IncludeSelfForBorderRadius); // Child clipping mask painting will handle clipping to self.
2487 paintFlags)
2491 clipToRect(localPaintingInfo, context, fragment.backgroundRect, paintFlags);
2498 void RenderLayer::paintPaginatedChildLayer(RenderLayer* childLayer, GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags)
2516 paintChildLayerIntoColumns(childLayer, context, paintingInfo, paintFlags, columnLayers, columnLayers.size() - 1);
2520 PaintLayerFlags paintFlags, const Vector<RenderLayer*>& columnLayers, size_t colIndex)
2581 childLayer->paintLayer(context, localPaintingInfo, paintFlags);
2602 paintChildLayerIntoColumns(childLayer, context, columnPaintingInfo, paintFlags, columnLayers, colIndex - 1);