/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderWidget.cpp | 154 void RenderWidget::paintContents(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintContents() argument 166 IntRect paintRect = paintInfo.rect; in paintContents() 172 paintInfo.context->translate(widgetPaintOffset.width(), widgetPaintOffset.height()); in paintContents() 175 widget->paint(paintInfo.context, paintRect); in paintContents() 178 paintInfo.context->translate(-widgetPaintOffset.width(), -widgetPaintOffset.height()); in paintContents() 183 if (paintInfo.overlapTestRequests && runOverlapTests) { in paintContents() 184 ASSERT(!paintInfo.overlapTestRequests->contains(this)); in paintContents() 185 paintInfo.overlapTestRequests->set(this, widget->frameRect()); in paintContents() 190 void RenderWidget::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paint() argument 192 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this); in paint() [all …]
|
D | RenderMediaControls.cpp | 69 static bool paintMediaMuteButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& r… in paintMediaMuteButton() argument 82 return paintMediaButton(paintInfo.context, rect, soundDisabled); in paintMediaMuteButton() 85 return paintMediaButton(paintInfo.context, rect, soundLevel0); in paintMediaMuteButton() 88 return paintMediaButton(paintInfo.context, rect, soundLevel1); in paintMediaMuteButton() 91 return paintMediaButton(paintInfo.context, rect, soundLevel2); in paintMediaMuteButton() 93 return paintMediaButton(paintInfo.context, rect, soundLevel3); in paintMediaMuteButton() 96 static bool paintMediaPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& r… in paintMediaPlayButton() argument 107 return paintMediaButton(paintInfo.context, rect, mediaPlayDisabled); in paintMediaPlayButton() 109 …return paintMediaButton(paintInfo.context, rect, mediaControlElementType(object->node()) == MediaP… in paintMediaPlayButton() 112 static bool paintMediaOverlayPlayButton(RenderObject* object, const PaintInfo& paintInfo, const Int… in paintMediaOverlayPlayButton() argument [all …]
|
D | RenderReplica.cpp | 73 void RenderReplica::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paint() argument 75 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this); in paint() 77 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseMask) in paint() 82 if (paintInfo.phase == PaintPhaseForeground) { in paint() 86 …LayerPaintingInfo paintingInfo(rootPaintingLayer, paintInfo.rect, PaintBehaviorNormal, LayoutSize(… in paint() 88 layer()->parent()->paintLayer(paintInfo.context, paintingInfo, flags); in paint() 89 } else if (paintInfo.phase == PaintPhaseMask) in paint() 90 paintMask(paintInfo, adjustedPaintOffset); in paint()
|
D | RenderReplaced.cpp | 108 void RenderReplaced::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paint() argument 110 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this); in paint() 112 if (!shouldPaint(paintInfo, paintOffset)) in paint() 117 …if (hasBoxDecorations() && (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPha… in paint() 118 paintBoxDecorations(paintInfo, adjustedPaintOffset); in paint() 120 if (paintInfo.phase == PaintPhaseMask) { in paint() 121 paintMask(paintInfo, adjustedPaintOffset); in paint() 125 …if (paintInfo.phase == PaintPhaseClippingMask && (!hasLayer() || !layer()->hasCompositedClippingMa… in paint() 129 …if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()-… in paint() 130 paintOutline(paintInfo, paintRect); in paint() [all …]
|
D | RenderThemeChromiumSkia.cpp | 222 …rchFieldCancelButton(RenderObject* cancelButtonObject, const PaintInfo& paintInfo, const IntRect& … in paintSearchFieldCancelButton() argument 246 …paintInfo.context->drawImage(isPressed(cancelButtonObject) ? cancelPressedImage : cancelImage, pai… in paintSearchFieldCancelButton() 267 …hFieldResultsDecoration(RenderObject* magnifierObject, const PaintInfo& paintInfo, const IntRect& … in paintSearchFieldResultsDecoration() argument 290 paintInfo.context->drawImage(magnifierImage, paintingRect); in paintSearchFieldResultsDecoration() 294 …omiumSkia::paintMediaSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& … in paintMediaSliderTrack() argument 296 return RenderMediaControls::paintMediaControlsPart(MediaSlider, object, paintInfo, rect); in paintMediaSliderTrack() 299 …kia::paintMediaVolumeSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& … in paintMediaVolumeSliderTrack() argument 301 return RenderMediaControls::paintMediaControlsPart(MediaVolumeSlider, object, paintInfo, rect); in paintMediaVolumeSliderTrack() 309 …omiumSkia::paintMediaSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& … in paintMediaSliderThumb() argument 311 return RenderMediaControls::paintMediaControlsPart(MediaSliderThumb, object, paintInfo, rect); in paintMediaSliderThumb() [all …]
|
D | RenderFieldset.cpp | 139 void RenderFieldset::paintBoxDecorations(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintBoxDecorations() argument 141 if (!paintInfo.shouldPaintWithinRoot(this)) in paintBoxDecorations() 147 return RenderBlockFlow::paintBoxDecorations(paintInfo, paintOffset); in paintBoxDecorations() 162 if (!boxShadowShouldBeAppliedToBackground(determineBackgroundBleedAvoidance(paintInfo.context))) in paintBoxDecorations() 163 paintBoxShadow(paintInfo, paintRect, style(), Normal); in paintBoxDecorations() 164 …paintFillLayers(paintInfo, resolveColor(CSSPropertyBackgroundColor), style()->backgroundLayers(), … in paintBoxDecorations() 165 paintBoxShadow(paintInfo, paintRect, style(), Inset); in paintBoxDecorations() 171 GraphicsContext* graphicsContext = paintInfo.context; in paintBoxDecorations() 187 paintBorder(paintInfo, paintRect, style()); in paintBoxDecorations() 190 void RenderFieldset::paintMask(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintMask() argument [all …]
|
D | RenderDetailsMarker.cpp | 115 void RenderDetailsMarker::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paint() argument 117 if (paintInfo.phase != PaintPhaseForeground || style()->visibility() != VISIBLE) { in paint() 118 RenderBlock::paint(paintInfo, paintOffset); in paint() 126 if (!paintInfo.rect.intersects(pixelSnappedIntRect(overflowRect))) in paint() 130 paintInfo.context->setStrokeColor(color); in paint() 131 paintInfo.context->setStrokeStyle(SolidStroke); in paint() 132 paintInfo.context->setStrokeThickness(1.0f); in paint() 133 paintInfo.context->setFillColor(color); in paint() 136 paintInfo.context->fillPath(getPath(boxOrigin)); in paint()
|
D | RenderScrollbarPart.cpp | 185 …PaintInfo paintInfo(graphicsContext, pixelSnappedIntRect(rect), PaintPhaseBlockBackground, PaintBe… in paintIntoRect() local 186 paint(paintInfo, paintOffset); in paintIntoRect() 187 paintInfo.phase = PaintPhaseChildBlockBackgrounds; in paintIntoRect() 188 paint(paintInfo, paintOffset); in paintIntoRect() 189 paintInfo.phase = PaintPhaseFloat; in paintIntoRect() 190 paint(paintInfo, paintOffset); in paintIntoRect() 191 paintInfo.phase = PaintPhaseForeground; in paintIntoRect() 192 paint(paintInfo, paintOffset); in paintIntoRect() 193 paintInfo.phase = PaintPhaseOutline; in paintIntoRect() 194 paint(paintInfo, paintOffset); in paintIntoRect()
|
D | RenderTheme.cpp | 230 bool RenderTheme::paint(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r) in paint() argument 235 if (paintInfo.context->updatingControlTints()) { in paint() 243 return paintUsingFallbackTheme(o, paintInfo, r); in paint() 253 …->paint(part, controlStatesForRenderer(o), const_cast<GraphicsContext*>(paintInfo.context), r, o->… in paint() 264 return paintCheckbox(o, paintInfo, r); in paint() 266 return paintRadio(o, paintInfo, r); in paint() 270 return paintButton(o, paintInfo, r); in paint() 272 return paintInnerSpinButton(o, paintInfo, r); in paint() 275 return paintMenuList(o, paintInfo, r); in paint() 281 return paintMeter(o, paintInfo, r); in paint() [all …]
|
D | RenderThemeChromiumMac.mm | 760 bool RenderThemeChromiumMac::paintTextField(RenderObject* o, const PaintInfo& paintInfo, const IntR… 762 LocalCurrentGraphicsContext localContext(paintInfo.context); 781 GraphicsContextStateSaver stateSaver(*paintInfo.context); 791 bool RenderThemeChromiumMac::paintCapsLockIndicator(RenderObject*, const PaintInfo& paintInfo, cons… 793 if (paintInfo.context->paintingDisabled()) 797 LocalCurrentGraphicsContext localContext(paintInfo.context); 853 bool RenderThemeChromiumMac::paintTextArea(RenderObject* o, const PaintInfo& paintInfo, const IntRe… 855 LocalCurrentGraphicsContext localContext(paintInfo.context); 888 bool RenderThemeChromiumMac::paintMenuList(RenderObject* o, const PaintInfo& paintInfo, const IntRe… 890 LocalCurrentGraphicsContext localContext(paintInfo.context); [all …]
|
D | RenderTableRow.cpp | 221 void RenderTableRow::paintOutlineForRowIfNeeded(PaintInfo& paintInfo, const LayoutPoint& paintOffse… in paintOutlineForRowIfNeeded() argument 224 PaintPhase paintPhase = paintInfo.phase; in paintOutlineForRowIfNeeded() 226 paintOutline(paintInfo, LayoutRect(adjustedPaintOffset, size())); in paintOutlineForRowIfNeeded() 229 void RenderTableRow::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paint() argument 232 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this); in paint() 234 paintOutlineForRowIfNeeded(paintInfo, paintOffset); in paint() 237 …if (paintInfo.phase == PaintPhaseBlockBackground || paintInfo.phase == PaintPhaseChildBlockBackgro… in paint() 238 cell->paintBackgroundsBehindCell(paintInfo, paintOffset, this); in paint() 240 cell->paint(paintInfo, paintOffset); in paint()
|
D | RenderEmbeddedObject.cpp | 106 void RenderEmbeddedObject::paintContents(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintContents() argument 112 RenderPart::paintContents(paintInfo, paintOffset); in paintContents() 115 void RenderEmbeddedObject::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paint() argument 118 RenderReplaced::paint(paintInfo, paintOffset); in paint() 122 RenderPart::paint(paintInfo, paintOffset); in paint() 125 void RenderEmbeddedObject::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintReplaced() argument 130 if (paintInfo.phase == PaintPhaseSelection) in paintReplaced() 133 GraphicsContext* context = paintInfo.context; in paintReplaced()
|
D | RenderFileUploadControl.cpp | 89 void RenderFileUploadControl::paintObject(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintObject() argument 95 GraphicsContextStateSaver stateSaver(*paintInfo.context, false); in paintObject() 96 …if (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseChildBlockBackgrounds)… in paintObject() 102 paintInfo.context->clip(clipRect); in paintObject() 105 if (paintInfo.phase == PaintPhaseForeground) { in paintObject() 138 paintInfo.context->setFillColor(resolveColor(CSSPropertyColor)); in paintObject() 141 …paintInfo.context->drawBidiText(font, textRunPaintInfo, IntPoint(roundToInt(textX), roundToInt(tex… in paintObject() 145 RenderBlockFlow::paintObject(paintInfo, paintOffset); in paintObject()
|
D | GraphicsContextAnnotator.cpp | 81 void GraphicsContextAnnotator::annotate(const PaintInfo& paintInfo, const RenderObject* object) in annotate() argument 85 ASSERT(paintInfo.context); in annotate() 88 AnnotationModeFlags mode = paintInfo.context->annotationMode(); in annotate() 99 paintPhase = paintPhaseName(paintInfo.phase); in annotate() 124 m_context = paintInfo.context; in annotate()
|
D | RenderLineBoxList.cpp | 187 …ct(RenderBoxModelObject* renderer, InlineFlowBox* box, const PaintInfo& paintInfo, const LayoutPoi… in lineIntersectsDirtyRect() argument 193 return rangeIntersectsRect(renderer, logicalTop, logicalBottom, paintInfo.rect, offset); in lineIntersectsDirtyRect() 196 void RenderLineBoxList::paint(RenderBoxModelObject* renderer, PaintInfo& paintInfo, const LayoutPoi… in paint() argument 199 …if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection && paintInfo… in paint() 200 …&& paintInfo.phase != PaintPhaseSelfOutline && paintInfo.phase != PaintPhaseChildOutlines && paint… in paint() 201 && paintInfo.phase != PaintPhaseMask) in paint() 210 if (!anyLineIntersectsRect(renderer, paintInfo.rect, paintOffset)) in paint() 213 PaintInfo info(paintInfo); in paint()
|
D | GraphicsContextAnnotator.h | 35 #define ANNOTATE_GRAPHICS_CONTEXT(paintInfo, renderer) \ argument 37 if (UNLIKELY(paintInfo.context->annotationMode())) \ 38 scopedGraphicsContextAnnotator.annotate(paintInfo, renderer)
|
D | RenderHTMLCanvas.cpp | 52 void RenderHTMLCanvas::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintReplaced() argument 54 GraphicsContext* context = paintInfo.context; in paintReplaced() 64 paintInfo.context->save(); in paintReplaced() 65 paintInfo.context->clip(pixelSnappedIntRect(contentRect)); in paintReplaced()
|
D | InlineFlowBox.cpp | 1088 void InlineFlowBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit lineTop,… in paint() argument 1094 if (!paintInfo.rect.intersects(pixelSnappedIntRect(overflowRect))) in paint() 1097 if (paintInfo.phase != PaintPhaseChildOutlines) { in paint() 1098 if (paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) { in paint() 1129 paintInfo.outlineObjects()->add(&inlineFlow); in paint() 1132 } else if (paintInfo.phase == PaintPhaseMask) { in paint() 1133 paintMask(paintInfo, paintOffset); in paint() 1137 paintBoxDecorations(paintInfo, paintOffset); in paint() 1141 if (paintInfo.phase == PaintPhaseMask) in paint() 1144 …PaintPhase paintPhase = paintInfo.phase == PaintPhaseChildOutlines ? PaintPhaseOutline : paintInfo… in paint() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
D | SVGInlineFlowBox.cpp | 34 void SVGInlineFlowBox::paintSelectionBackground(PaintInfo& paintInfo) in paintSelectionBackground() argument 36 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection); in paintSelectionBackground() 37 ASSERT(!paintInfo.context->paintingDisabled()); in paintSelectionBackground() 39 PaintInfo childPaintInfo(paintInfo); in paintSelectionBackground() 48 void SVGInlineFlowBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit, Layo… in paint() argument 50 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection); in paint() 51 ASSERT(!paintInfo.context->paintingDisabled()); in paint() 53 …SVGRenderingContext renderingContext(&renderer(), paintInfo, SVGRenderingContext::SaveGraphicsCont… in paint() 56 child->paint(paintInfo, paintOffset, 0, 0); in paint()
|
D | RenderSVGImage.cpp | 124 void RenderSVGImage::paint(PaintInfo& paintInfo, const LayoutPoint&) in paint() argument 126 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this); in paint() 128 if (paintInfo.context->paintingDisabled() in paint() 129 || paintInfo.phase != PaintPhaseForeground in paint() 135 if (!SVGRenderSupport::paintInfoIntersectsRepaintRect(boundingBox, m_localTransform, paintInfo)) in paint() 138 PaintInfo childPaintInfo(paintInfo); in paint() 162 void RenderSVGImage::paintForeground(PaintInfo& paintInfo) in paintForeground() argument 173 …QualityController::imageQualityController()->chooseInterpolationQuality(paintInfo.context, this, i… in paintForeground() 175 …InterpolationQuality previousInterpolationQuality = paintInfo.context->imageInterpolationQuality(); in paintForeground() 176 paintInfo.context->setImageInterpolationQuality(interpolationQuality); in paintForeground() [all …]
|
D | RenderSVGForeignObject.cpp | 53 void RenderSVGForeignObject::paint(PaintInfo& paintInfo, const LayoutPoint&) in paint() argument 55 if (paintInfo.context->paintingDisabled() in paint() 56 || (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection)) in paint() 59 PaintInfo childPaintInfo(paintInfo); in paint() 68 if (paintInfo.phase == PaintPhaseForeground) { in paint() 76 …bool preservePhase = paintInfo.phase == PaintPhaseSelection || paintInfo.phase == PaintPhaseTextCl… in paint() 78 childPaintInfo.phase = preservePhase ? paintInfo.phase : PaintPhaseBlockBackground; in paint()
|
D | RenderSVGContainer.cpp | 109 void RenderSVGContainer::paint(PaintInfo& paintInfo, const LayoutPoint&) in paint() argument 111 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this); in paint() 113 if (paintInfo.context->paintingDisabled()) in paint() 121 …SVGRenderSupport::paintInfoIntersectsRepaintRect(repaintRect, localToParentTransform(), paintInfo)) in paint() 124 PaintInfo childPaintInfo(paintInfo); in paint() 156 …if (paintInfo.phase == PaintPhaseForeground && style()->outlineWidth() && style()->visibility() ==… in paint() 158 paintOutline(paintInfo, paintRectInParent); in paint()
|
D | SVGInlineTextBox.cpp | 189 void SVGInlineTextBox::paintSelectionBackground(PaintInfo& paintInfo) in paintSelectionBackground() argument 191 ASSERT(paintInfo.shouldPaintWithinRoot(&renderer())); in paintSelectionBackground() 192 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection); in paintSelectionBackground() 202 bool paintSelectedTextOnly = paintInfo.phase == PaintPhaseSelection; in paintSelectionBackground() 234 GraphicsContextStateSaver stateSaver(*paintInfo.context); in paintSelectionBackground() 237 paintInfo.context->concatCTM(fragmentTransform); in paintSelectionBackground() 239 paintInfo.context->setFillColor(backgroundColor); in paintSelectionBackground() 240 …paintInfo.context->fillRect(selectionRectForTextFragment(fragment, fragmentStartPosition, fragment… in paintSelectionBackground() 246 void SVGInlineTextBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit, Layo… in paint() argument 248 ASSERT(paintInfo.shouldPaintWithinRoot(&renderer())); in paint() [all …]
|
D | RenderSVGViewportContainer.cpp | 51 void RenderSVGViewportContainer::applyViewportClip(PaintInfo& paintInfo) in applyViewportClip() argument 54 paintInfo.context->clip(m_viewport); in applyViewportClip() 106 void RenderSVGViewportContainer::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paint() argument 113 RenderSVGContainer::paint(paintInfo, paintOffset); in paint()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/ |
D | CompositedLayerMapping.cpp | 1935 …dLayer(const RenderLayer& referenceLayer, const GraphicsLayerPaintInfo& paintInfo, const Vector<Gr… in localClipRectForSquashedLayer() argument 1937 const RenderObject* clippingContainer = paintInfo.renderLayer->renderer()->clippingContainer(); in localClipRectForSquashedLayer() 1949 …IntRect parentClipRect = pixelSnappedIntRect(paintInfo.renderLayer->clipper().backgroundClipRect(c… in localClipRectForSquashedLayer() 1953 …IntSize ancestorToLocalOffset = paintInfo.offsetFromRenderer - ancestorPaintInfo->offsetFromRender… in localClipRectForSquashedLayer() 1958 void CompositedLayerMapping::doPaintTask(GraphicsLayerPaintInfo& paintInfo, GraphicsContext* contex… in doPaintTask() argument 1969 if (paintInfo.paintingPhase & GraphicsLayerPaintBackground) in doPaintTask() 1971 if (paintInfo.paintingPhase & GraphicsLayerPaintForeground) in doPaintTask() 1973 if (paintInfo.paintingPhase & GraphicsLayerPaintMask) in doPaintTask() 1975 if (paintInfo.paintingPhase & GraphicsLayerPaintChildClippingMask) in doPaintTask() 1977 if (paintInfo.paintingPhase & GraphicsLayerPaintOverflowContents) in doPaintTask() [all …]
|