Searched defs:layerBounds (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/third_party/skia/tests/
H A DPictureStateTreeTest.cpp39 SkRect layerBounds = SkRect::MakeXYWH(0, 0, 90, 90); local
40 canvas->saveLayer(&layerBounds, NULL);
42 canvas->clipRect(layerBounds);
H A DCanvasStateTest.cpp209 SkRect layerBounds = SkRect::Make(layerRect); local
210 canvas.saveLayerAlpha(&layerBounds, 128, flags[j]);
/external/skia/tests/
H A DPictureStateTreeTest.cpp39 SkRect layerBounds = SkRect::MakeXYWH(0, 0, 90, 90); local
40 canvas->saveLayer(&layerBounds, NULL);
42 canvas->clipRect(layerBounds);
H A DCanvasStateTest.cpp142 SkRect layerBounds = SkRect::Make(layerRect); local
143 canvas.saveLayerAlpha(&layerBounds, 128, flags[j]);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DLayerFragment.h43 layerBounds = bounds;
51 layerBounds.moveBy(offset);
66 LayoutRect layerBounds; member in struct:blink::LayerFragment
H A DRenderLayerClipper.cpp182 LayoutRect layerBounds; local
186 calculateRects(context, m_renderer.view()->unscaledDocumentRect(), layerBounds, backgroundRect, foregroundRect, outlineRect);
194 LayoutRect layerBounds; local
197 calculateRects(context, PaintInfo::infiniteRect(), layerBounds, backgroundRect, foregroundRect, outlineRect);
210 void RenderLayerClipper::calculateRects(const ClipRectsContext& context, const LayoutRect& paintDirtyRect, LayoutRect& layerBounds, argument
231 layerBounds = LayoutRect(offset, m_renderer.layer()->size());
H A DRenderTreeAsText.cpp507 const LayoutRect& layerBounds, const LayoutRect& backgroundClipRect, const LayoutRect& clipRect, const LayoutRect& outlineClipRect,
510 IntRect adjustedLayoutBounds = pixelSnappedIntRect(layerBounds);
587 LayoutRect layerBounds; local
589 layer->clipper().calculateRects(ClipRectsContext(rootLayer, UncachedClipRects), paintDirtyRect, layerBounds, damageRect, clipRectToApply, outlineRect); local
593 layerBounds.setSize(layer->size().expandedTo(pixelSnappedIntSize(layer->renderBox()->maxLayoutOverflow(), LayoutPoint(0, 0))));
598 bool shouldPaint = (behavior & RenderAsTextShowAllLayers) ? true : layer->intersectsDamageRect(layerBounds, damageRect.rect(), rootLayer);
603 write(ts, *layer, layerBounds, damageRect.rect(), clipRectToApply.rect(), outlineRect.rect(), LayerPaintPhaseBackground, indent, behavior);
617 write(ts, *layer, layerBounds, damageRect.rect(), clipRectToApply.rect(), outlineRect.rect(), paintsBackgroundSeparately ? LayerPaintPhaseForeground : LayerPaintPhaseAll, indent, behavior);
506 write(TextStream& ts, RenderLayer& l, const LayoutRect& layerBounds, const LayoutRect& backgroundClipRect, const LayoutRect& clipRect, const LayoutRect& outlineClipRect, LayerPaintPhase paintPhase = LayerPaintPhaseAll, int indent = 0, RenderAsTextBehavior behavior = RenderAsTextBehaviorNormal) argument
H A DRenderLayer.cpp1996 clipper().calculateRects(clipRectsContext, dirtyRect, fragment.layerBounds, fragment.backgroundRect, fragment.foregroundRect, fragment.outlineRect, offsetFromRoot);
2073 fragment.shouldPaintContent &= intersectsDamageRect(fragment.layerBounds, fragment.backgroundRect.rect(), localPaintingInfo.rootLayer, &newOffsetFromRoot);
2143 renderer()->paint(paintInfo, toPoint(fragment.layerBounds.location() - renderBoxLocation() + subPixelAccumulationIfNeeded(localPaintingInfo.subPixelAccumulation, compositingState())));
2199 renderer()->paint(paintInfo, toPoint(fragment.layerBounds.location() - renderBoxLocation() + subPixelAccumulationIfNeeded(localPaintingInfo.subPixelAccumulation, compositingState())));
2217 renderer()->paint(paintInfo, toPoint(fragment.layerBounds.location() - renderBoxLocation() + subPixelAccumulationIfNeeded(localPaintingInfo.subPixelAccumulation, compositingState())));
2236 renderer()->paint(paintInfo, toPoint(fragment.layerBounds.location() - renderBoxLocation() + subPixelAccumulationIfNeeded(localPaintingInfo.subPixelAccumulation, compositingState())));
2256 renderer()->paint(paintInfo, toPoint(fragment.layerBounds.location() - renderBoxLocation() + subPixelAccumulationIfNeeded(localPaintingInfo.subPixelAccumulation, compositingState())));
2269 scrollableArea->paintOverflowControls(context, roundedIntPoint(toPoint(fragment.layerBounds.location() - renderBoxLocation() + subPixelAccumulationIfNeeded(localPaintingInfo.subPixelAccumulation, compositingState()))), pixelSnappedIntRect(fragment.backgroundRect.rect()), true);
2705 if (hitTestContents(request, result, fragment.layerBounds, hitTestLocation, hitTestFilter))
2779 bool RenderLayer::hitTestContents(const HitTestRequest& request, HitTestResult& result, const LayoutRect& layerBounds, cons argument
3027 intersectsDamageRect(const LayoutRect& layerBounds, const LayoutRect& damageRect, const RenderLayer* rootLayer, const LayoutPoint* offsetFromRoot) const argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
H A DCompositingLayerAssigner.cpp265 IntRect layerBounds = layer->clippedAbsoluteBoundingBox(); local
266 squashingState.totalAreaOfSquashedRects += layerBounds.size().area();
267 squashingState.boundingRect.unite(layerBounds);
H A DCompositedLayerMapping.cpp854 IntRect layerBounds = pixelSnappedIntRect(toLayoutPoint(m_owningLayer.subpixelAccumulation()), borderBox.size()); local
855 layerBounds.moveBy(snappedOffsetFromCompositedAncestor);
858 FloatPoint3D transformOrigin = computeTransformOrigin(IntRect(IntPoint(), layerBounds.size()));
860 // |transformOrigin| is in the local space of this layer. layerBounds - relativeCompositingBounds converts to the space of the
863 layerBounds.x() - relativeCompositingBounds.x() + transformOrigin.x(),
864 layerBounds.y() - relativeCompositingBounds.y() + transformOrigin.y(),
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGraphicsContext.cpp1150 SkRect layerBounds = SkRect::MakeWH(std::max(deviceDest.width(), sourceBounds.width()), std::max(deviceDest.height(), sourceBounds.height())); local
1154 m_canvas->saveLayer(&layerBounds, &picturePaint);

Completed in 5684 milliseconds