Home
last modified time | relevance | path

Searched refs:layerBounds (Results 1 – 21 of 21) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/win/
DWebLayer.cpp43 CGRect layerBounds = bounds(); in internalSetNeedsDisplay() local
44 CGRect repaintCounterRect = layerBounds; in internalSetNeedsDisplay()
49 …repaintCounterRect.origin.y = layerBounds.size.height - (layerBounds.origin.y + repaintCounterRect… in internalSetNeedsDisplay()
70 CGRect layerBounds = bounds(); in drawInContext() local
73 CGContextTranslateCTM(context, 0, -layerBounds.size.height); in drawInContext()
92 CGContextFillRect(context, layerBounds); in drawInContext()
111 CGRect aBounds = layerBounds; in drawInContext()
DWebTiledLayer.cpp113 CGRect layerBounds = bounds(); in internalSetNeedsDisplay() local
114 CGRect indicatorRect = CGRectMake(layerBounds.origin.x, layerBounds.origin.y, 80, 25); in internalSetNeedsDisplay()
/external/webkit/Source/WebCore/platform/graphics/ca/win/
DPlatformCALayerWinInternal.cpp69 CGRect layerBounds = owner()->bounds(); in displayCallback() local
72 CGContextTranslateCTM(context, 0, -layerBounds.size.height); in displayCallback()
91 CGContextFillRect(context, layerBounds); in displayCallback()
110 CGRect aBounds = layerBounds; in displayCallback()
163 CGRect layerBounds = m_owner->bounds(); in setNeedsDisplay() local
164 CGRect indicatorRect = CGRectMake(layerBounds.origin.x, layerBounds.origin.y, 80, 25); in setNeedsDisplay()
170 FloatRect layerBounds = owner()->bounds(); in setNeedsDisplay() local
171 FloatRect repaintCounterRect = layerBounds; in setNeedsDisplay()
177 … repaintCounterRect.setY(layerBounds.height() - (layerBounds.y() + repaintCounterRect.height())); in setNeedsDisplay()
DWKCACFViewLayerTreeHost.cpp84 CGRect layerBounds = rootLayer()->bounds(); in updateViewIfNeeded() local
89 if (CGRectEqualToRect(layerBounds, rootLayer()->bounds())) in updateViewIfNeeded()
DPlatformCALayerWin.cpp611 FloatRect layerBounds = layer->bounds(); in printLayer() local
627 layerBounds.x(), layerBounds.y(), layerBounds.width(), layerBounds.height(), in printLayer()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DContentLayerChromium.cpp98 updateLayerSize(layerBounds().size()); in paintContentsIfDirty()
105 dirty.intersect(layerBounds()); in paintContentsIfDirty()
135 const IntRect layerBoundRect = layerBounds(); in visibleLayerRect()
159 IntRect ContentLayerChromium::layerBounds() const in layerBounds() function in WebCore::ContentLayerChromium
DImageLayerChromium.cpp92 IntRect ImageLayerChromium::layerBounds() const in layerBounds() function in WebCore::ImageLayerChromium
102 const IntRect sourceRect = layerBounds(); in tilingTransform()
DImageLayerChromium.h63 virtual IntRect layerBounds() const;
DContentLayerChromium.h71 virtual IntRect layerBounds() const;
/external/webkit/Source/WebCore/rendering/
DRenderTreeAsText.cpp594 …const IntRect& layerBounds, const IntRect& backgroundClipRect, const IntRect& clipRect, const IntR… in write() argument
604 ts << layerBounds; in write()
606 if (!layerBounds.isEmpty()) { in write()
607 if (!backgroundClipRect.contains(layerBounds)) in write()
609 if (!clipRect.contains(layerBounds)) in write()
611 if (!outlineClipRect.contains(layerBounds)) in write()
659 IntRect layerBounds, damageRect, clipRectToApply, outlineRect; in writeLayers() local
660 …l->calculateRects(rootLayer, paintDirtyRect, layerBounds, damageRect, clipRectToApply, outlineRect… in writeLayers()
666 …behavior & RenderAsTextShowAllLayers) ? true : l->intersectsDamageRect(layerBounds, damageRect, ro… in writeLayers()
670 …write(ts, *l, layerBounds, damageRect, clipRectToApply, outlineRect, LayerPaintPhaseBackground, in… in writeLayers()
[all …]
DRenderLayerBacking.cpp185 IntRect layerBounds = compositor()->calculateCompositedBounds(m_owningLayer, m_owningLayer); in updateCompositedBounds() local
211 layerBounds.intersect(clippingBounds); in updateCompositedBounds()
217 if (layerBounds.isEmpty() && hasNonZeroTransformOrigin(renderer())) { in updateCompositedBounds()
218 layerBounds.setWidth(1); in updateCompositedBounds()
219 layerBounds.setHeight(1); in updateCompositedBounds()
224 setCompositedBounds(layerBounds); in updateCompositedBounds()
429 IntRect layerBounds = IntRect(deltaX, deltaY, borderBox.width(), borderBox.height()); in updateGraphicsLayerGeometry() local
434 …FloatPoint3D anchor(relativeCompositingBounds.width() != 0.0f ? ((layerBounds.x() - relativeCompo… in updateGraphicsLayerGeometry()
435 …relativeCompositingBounds.height() != 0.0f ? ((layerBounds.y() - relativeCompositingBounds.y()) + … in updateGraphicsLayerGeometry()
481 FloatRect layerBounds = compositedBounds(); in updateGraphicsLayerGeometry() local
[all …]
DRenderLayerCompositor.h216 …static void addToOverlapMap(OverlapMap&, RenderLayer*, IntRect& layerBounds, bool& boundsComputed);
217 static bool overlapsCompositedLayers(OverlapMap&, const IntRect& layerBounds);
DRenderLayer.cpp1484 …IntRect layerBounds = IntRect(absPos.x() + scrollXOffset(), absPos.y() + scrollYOffset(), box->cli… in scrollTo() local
1486 IntRect r = getRectToExpose(layerBounds, exposeRect, alignX, alignY); in scrollTo()
1491 xOffset = max(0, min(scrollWidth() - layerBounds.width(), xOffset)); in scrollTo()
1492 yOffset = max(0, min(scrollHeight() - layerBounds.height(), yOffset)); in scrollTo()
2660 IntRect layerBounds, damageRect, clipRectToApply, outlineRect; in scrollTo() local
2661 …calculateRects(rootLayer, paintDirtyRect, layerBounds, damageRect, clipRectToApply, outlineRect, l… in scrollTo()
2662 int x = layerBounds.x(); in scrollTo()
2663 int y = layerBounds.y(); in scrollTo()
2687 …bool shouldPaint = intersectsDamageRect(layerBounds, damageRect, rootLayer) && m_hasVisibleContent… in scrollTo()
3107 IntRect layerBounds; in scrollTo() local
[all …]
DRenderLayer.h390 …d calculateRects(const RenderLayer* rootLayer, const IntRect& paintDirtyRect, IntRect& layerBounds,
404 …bool intersectsDamageRect(const IntRect& layerBounds, const IntRect& damageRect, const RenderLayer…
549 …bool hitTestContents(const HitTestRequest&, HitTestResult&, const IntRect& layerBounds, const IntP…
DRenderLayerCompositor.cpp594 …::addToOverlapMap(OverlapMap& overlapMap, RenderLayer* layer, IntRect& layerBounds, bool& boundsCo… argument
600layerBounds = layer->renderer()->localToAbsoluteQuad(FloatRect(layer->localBoundingBox())).enclosi…
602 if (layerBounds.isEmpty())
603 layerBounds.setSize(IntSize(1, 1));
607 overlapMap.add(layer, layerBounds);
610 …RenderLayerCompositor::overlapsCompositedLayers(OverlapMap& overlapMap, const IntRect& layerBounds) argument
615 if (layerBounds.intersects(bounds)) {
/external/webkit/Source/WebCore/platform/graphics/android/
DGraphicsLayerAndroid.cpp690 IntRect layerBounds(0, 0, m_size.width(), m_size.height()); in repaint() local
755 SkCanvas* canvas = picture->beginRecording(layerBounds.width(), in repaint()
756 layerBounds.height(), 0); in repaint()
764 paintGraphicsLayerContents(graphicsContext, layerBounds); in repaint()
769 paintGraphicsLayerContents(graphicsContext, layerBounds); in repaint()
779 m_foregroundLayer->setSize(layerBounds.width(), layerBounds.height()); in repaint()
780 m_foregroundClipLayer->setPosition(layerBounds.x(), layerBounds.y()); in repaint()
781 m_foregroundClipLayer->setSize(layerBounds.width(), layerBounds.height()); in repaint()
/external/webkit/Source/WebKit/win/
DFullscreenVideoController.cpp212 FloatRect layerBounds = layer->bounds(); in platformCALayerLayoutSublayersOfLayer() local
216 if (videoSize.aspectRatio() > layerBounds.size().aspectRatio()) in platformCALayerLayoutSublayersOfLayer()
217 scaleFactor = layerBounds.width() / videoSize.width(); in platformCALayerLayoutSublayersOfLayer()
219 scaleFactor = layerBounds.height() / videoSize.height(); in platformCALayerLayoutSublayersOfLayer()
225 videoOrigin.setX((layerBounds.width() - videoSize.width()) * 0.5); in platformCALayerLayoutSublayersOfLayer()
226 videoOrigin.setY((layerBounds.height() - videoSize.height()) * 0.5); in platformCALayerLayoutSublayersOfLayer()
/external/webkit/Source/WebCore/platform/graphics/mac/
DWebGLLayer.mm120 CGRect layerBounds = CGRectIntegral([self bounds]);
122 size_t width = layerBounds.size.width;
123 size_t height = layerBounds.size.height;
DWebLayer.mm51 CGRect layerBounds = [layer bounds];
54 CGContextTranslateCTM(context, 0, -layerBounds.size.height);
93 CGRect aBounds = layerBounds;
/external/webkit/Source/WebCore/platform/graphics/ca/
DGraphicsLayerCA.cpp571 FloatRect layerBounds(FloatPoint(), m_size); in setNeedsDisplayInRect() local
572 rect.intersect(layerBounds); in setNeedsDisplayInRect()
/external/webkit/Source/WebCore/
DChangeLog20626 (WebCore::ContentLayerChromium::layerBounds):
20643 (WebCore::ImageLayerChromium::layerBounds):
24636 (WebCore::ContentLayerChromium::layerBounds):
24653 (WebCore::ImageLayerChromium::layerBounds):