Lines Matching refs:PaintBehavior
380 TransformationMatrix RenderLayer::renderableTransform(PaintBehavior paintBehavior) const
385 if (paintBehavior & PaintBehaviorFlattenCompositingLayers) {
774 static IntRect transparencyClipBox(const RenderLayer* l, const RenderLayer* rootLayer, PaintBehavior paintBehavior);
776 static void expandClipRectForDescendantsAndReflection(IntRect& clipRect, const RenderLayer* l, const RenderLayer* rootLayer, PaintBehavior paintBehavior)
785 clipRect.unite(transparencyClipBox(curr, rootLayer, paintBehavior));
803 static IntRect transparencyClipBox(const RenderLayer* l, const RenderLayer* rootLayer, PaintBehavior paintBehavior)
809 if (rootLayer != l && l->paintsWithTransform(paintBehavior)) {
821 expandClipRectForDescendantsAndReflection(clipRect, l, l, paintBehavior);
826 expandClipRectForDescendantsAndReflection(clipRect, l, rootLayer, paintBehavior);
830 void RenderLayer::beginTransparencyLayers(GraphicsContext* p, const RenderLayer* rootLayer, PaintBehavior paintBehavior)
832 if (p->paintingDisabled() || (paintsWithTransparency(paintBehavior) && m_usedTransparency))
837 ancestor->beginTransparencyLayers(p, rootLayer, paintBehavior);
839 if (paintsWithTransparency(paintBehavior)) {
842 IntRect clipRect = transparencyClipBox(this, rootLayer, paintBehavior);
2139 void RenderLayer::paint(GraphicsContext* p, const IntRect& damageRect, PaintBehavior paintBehavior, RenderObject *paintingRoot)
2142 paintLayer(this, p, damageRect, paintBehavior, paintingRoot, &overlapTestRequests);
2186 const IntRect& paintDirtyRect, PaintBehavior paintBehavior,
2194 if (p->updatingControlTints() || (paintBehavior & PaintBehaviorFlattenCompositingLayers))
2213 if (paintsWithTransparency(paintBehavior))
2217 if (paintsWithTransform(paintBehavior) && !(paintFlags & PaintLayerAppliedTransform)) {
2218 TransformationMatrix layerTransform = renderableTransform(paintBehavior);
2226 parent()->beginTransparencyLayers(p, rootLayer, paintBehavior);
2251 paintLayer(this, p, transform.inverse().mapRect(paintDirtyRect), paintBehavior, paintingRoot, overlapTestRequests, paintFlags | PaintLayerAppliedTransform);
2268 reflectionLayer()->paintLayer(rootLayer, p, paintDirtyRect, paintBehavior, paintingRoot, overlapTestRequests, localPaintFlags | PaintLayerPaintingReflection);
2283 bool forceBlackText = paintBehavior & PaintBehaviorForceBlackText;
2284 bool selectionOnly = paintBehavior & PaintBehaviorSelectionOnly;
2302 beginTransparencyLayers(p, rootLayer, paintBehavior);
2319 it[0]->paintLayer(rootLayer, p, paintDirtyRect, paintBehavior, paintingRoot, overlapTestRequests, localPaintFlags);
2325 beginTransparencyLayers(p, rootLayer, paintBehavior);
2358 it[0]->paintLayer(rootLayer, p, paintDirtyRect, paintBehavior, paintingRoot, overlapTestRequests, localPaintFlags);
2363 it[0]->paintLayer(rootLayer, p, paintDirtyRect, paintBehavior, paintingRoot, overlapTestRequests, localPaintFlags);