Home
last modified time | relevance | path

Searched refs:layerRect (Results 1 – 12 of 12) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/chromium/
DContentLayerChromium.cpp100 IntRect layerRect = visibleLayerRect(targetSurfaceRect); in paintContentsIfDirty() local
101 if (layerRect.isEmpty()) in paintContentsIfDirty()
108 m_tiler->update(painter, layerRect); in paintContentsIfDirty()
154 …IntRect layerRect = surfaceToLayer.projectQuad(FloatQuad(FloatRect(minimalSurfaceRect))).enclosing… in visibleLayerRect() local
155 layerRect.intersect(layerBoundRect); in visibleLayerRect()
156 return layerRect; in visibleLayerRect()
186 IntRect layerRect = visibleLayerRect(targetSurfaceRect); in draw() local
187 if (!layerRect.isEmpty()) in draw()
188 m_tiler->draw(layerRect, transform, ccLayerImpl()->drawOpacity()); in draw()
DLayerTilerChromium.cpp150 const IntRect layerRect = contentRectToLayerRect(contentRect); in contentRectToTileIndices() local
152 left = m_tilingData.tileXIndexFromSrcCoord(layerRect.x()); in contentRectToTileIndices()
153 top = m_tilingData.tileYIndexFromSrcCoord(layerRect.y()); in contentRectToTileIndices()
154 right = m_tilingData.tileXIndexFromSrcCoord(layerRect.maxX() - 1); in contentRectToTileIndices()
155 bottom = m_tilingData.tileYIndexFromSrcCoord(layerRect.maxY() - 1); in contentRectToTileIndices()
161 IntRect layerRect(pos, contentRect.size()); in contentRectToLayerRect() local
165layerRect = IntRect(IntPoint(0, 0), IntSize(contentRect.width() + pos.x(), contentRect.height() + … in contentRectToLayerRect()
166 return layerRect; in contentRectToLayerRect()
169 IntRect LayerTilerChromium::layerRectToContentRect(const IntRect& layerRect) const in layerRectToContentRect()
171 IntRect contentRect = layerRect; in layerRectToContentRect()
[all …]
DFontChromiumWin.cpp131 IntRect layerRect; in initializeForGDI() local
138 layerRect = estimateTextBounds(); in initializeForGDI()
139 m_graphicsContext->clip(layerRect); in initializeForGDI()
151 layerRect = estimateTextBounds(); in initializeForGDI()
152 m_graphicsContext->clip(layerRect); in initializeForGDI()
164 TransparencyWin::KeepTransform, layerRect); in initializeForGDI()
DLayerRendererChromium.cpp520 FloatRect layerRect(-0.5, -0.5, 1, 1); in isLayerVisible() local
521 FloatRect mappedRect = renderMatrix.mapRect(layerRect); in isLayerVisible()
593 …FloatRect layerRect(-0.5 * drawLayer->bounds().width(), -0.5 * drawLayer->bounds().height(), drawL… in updatePropertiesAndRenderSurfaces() local
657 transformedLayerRect = enclosingIntRect(drawLayer->drawTransform().mapRect(layerRect)); in updatePropertiesAndRenderSurfaces()
910 IntRect layerRect = layer->getDrawRect(); in drawLayer() local
911 bool isLayerVisible = layer->scissorRect().intersects(layerRect); in drawLayer()
922 FloatRect layerRect(FloatPoint(0, 0), FloatSize(layer->bounds())); in drawLayer() local
923 FloatQuad mappedLayer = combinedDrawMatrix.mapQuad(FloatQuad(layerRect)); in drawLayer()
DLayerTilerChromium.h131 IntRect layerRectToContentRect(const IntRect& layerRect) const;
/external/webkit/Source/WebCore/platform/graphics/
DShadowBlur.cpp347 FloatRect layerRect; in calculateLayerBoundingRect() local
354 layerRect = transform.inverse().mapQuad(transformedPolygon).boundingBox(); in calculateLayerBoundingRect()
356 layerRect = shadowedRect; in calculateLayerBoundingRect()
357 layerRect.move(m_offset); in calculateLayerBoundingRect()
362 layerRect.inflate(roundedRadius); in calculateLayerBoundingRect()
366 FloatRect unclippedLayerRect = layerRect; in calculateLayerBoundingRect()
368 if (!clipRect.contains(enclosingIntRect(layerRect))) { in calculateLayerBoundingRect()
370 if (intersection(layerRect, clipRect).isEmpty()) in calculateLayerBoundingRect()
379 layerRect.intersect(inflatedClip); in calculateLayerBoundingRect()
384 m_layerOrigin = FloatPoint(layerRect.x(), layerRect.y()); in calculateLayerBoundingRect()
[all …]
DShadowBlur.h69 …Tiling(GraphicsContext*, const FloatRect&, const RoundedIntRect::Radii&, const IntRect& layerRect);
72 …nst FloatRect&, const FloatRect& holeRect, const RoundedIntRect::Radii&, const IntRect& layerRect);
/external/webkit/Source/WebCore/platform/graphics/qt/
DContextShadowQt.cpp127 IntRect layerRect = calculateLayerBoundingRect(context, layerArea, clip); in Q_GLOBAL_STATIC() local
130 if (layerRect.isEmpty()) in Q_GLOBAL_STATIC()
134 QImage* shadowImage = shadowBuffer->scratchImage(layerRect.size()); in Q_GLOBAL_STATIC()
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
DCCLayerImpl.cpp162 …FloatRect layerRect(-0.5 * bounds().width(), -0.5 * bounds().height(), bounds().width(), bounds().… in getDrawRect() local
163 IntRect mappedRect = enclosingIntRect(drawTransform().mapRect(layerRect)); in getDrawRect()
/external/webkit/Source/WebCore/platform/graphics/cairo/
DContextShadowCairo.cpp92 …IntRect layerRect = calculateLayerBoundingRect(context, layerArea, IntRect(x1, y1, x2 - x1, y2 - y… in beginShadowLayer() local
95 if (layerRect.isEmpty()) in beginShadowLayer()
98 m_layerImage = getScratchBuffer(layerRect.size()); in beginShadowLayer()
/external/webkit/Source/WebKit/android/nav/
DWebView.cpp402 int scrollableLayer(int x, int y, SkIRect* layerRect, SkIRect* bounds) in scrollableLayer() argument
409 result->getScrollRect(layerRect); in scrollableLayer()
692 FloatRect layerRect = layer->fullContentAreaMapped(); in findMaskedRectsForLayer() local
694 if (findMaskedRects(rects[i], layerRect, rects)) in findMaskedRectsForLayer()
/external/webkit/Source/WebCore/
DChangeLog-2011-02-165170 (WebCore::ShadowBlur::drawRectShadow): Bail early if layerRect is empty
11996 layerRect. Make frameSize a float.
11998 layerRect rather than calling calculateLayerBoundingRect() to compute
12005 (WebCore::ShadowBlur::drawRectShadowWithoutTiling): The layerRect gets passed in.