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

/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DContentLayerChromium.cpp100 IntRect layerRect = visibleLayerRect(targetSurfaceRect); local
101 if (layerRect.isEmpty())
108 m_tiler->update(painter, layerRect);
154 IntRect layerRect = surfaceToLayer.projectQuad(FloatQuad(FloatRect(minimalSurfaceRect))).enclosingBoundingBox(); local
155 layerRect.intersect(layerBoundRect);
156 return layerRect;
186 IntRect layerRect = visibleLayerRect(targetSurfaceRect); local
187 if (!layerRect.isEmpty())
188 m_tiler->draw(layerRect, transform, ccLayerImpl()->drawOpacity());
H A DLayerTilerChromium.cpp150 const IntRect layerRect = contentRectToLayerRect(contentRect); local
152 left = m_tilingData.tileXIndexFromSrcCoord(layerRect.x());
153 top = m_tilingData.tileYIndexFromSrcCoord(layerRect.y());
154 right = m_tilingData.tileXIndexFromSrcCoord(layerRect.maxX() - 1);
155 bottom = m_tilingData.tileYIndexFromSrcCoord(layerRect.maxY() - 1);
161 IntRect layerRect(pos, contentRect.size());
165 layerRect = IntRect(IntPoint(0, 0), IntSize(contentRect.width() + pos.x(), contentRect.height() + pos.y()));
166 return layerRect;
169 IntRect LayerTilerChromium::layerRectToContentRect(const IntRect& layerRect) const
171 IntRect contentRect = layerRect;
193 IntRect layerRect = m_tilingData.tileBoundsWithBorder(index); local
207 const IntRect layerRect = contentRectToLayerRect(contentRect); local
424 IntRect layerRect = contentRectToLayerRect(contentRect); local
[all...]
H A DFontChromiumWin.cpp131 IntRect layerRect; local
138 layerRect = estimateTextBounds();
139 m_graphicsContext->clip(layerRect);
151 layerRect = estimateTextBounds();
152 m_graphicsContext->clip(layerRect);
161 // Bug 26088 - init() might fail if layerRect is invalid. Given this, we
164 TransparencyWin::KeepTransform, layerRect);
H A DLayerRendererChromium.cpp520 FloatRect layerRect(-0.5, -0.5, 1, 1);
521 FloatRect mappedRect = renderMatrix.mapRect(layerRect);
593 FloatRect layerRect(-0.5 * drawLayer->bounds().width(), -0.5 * drawLayer->bounds().height(), drawLayer->bounds().width(), drawLayer->bounds().height());
657 transformedLayerRect = enclosingIntRect(drawLayer->drawTransform().mapRect(layerRect));
910 IntRect layerRect = layer->getDrawRect(); local
911 bool isLayerVisible = layer->scissorRect().intersects(layerRect);
922 FloatRect layerRect(FloatPoint(0, 0), FloatSize(layer->bounds()));
923 FloatQuad mappedLayer = combinedDrawMatrix.mapQuad(FloatQuad(layerRect));
H A DLayerTilerChromium.h131 IntRect layerRectToContentRect(const IntRect& layerRect) const;
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DContextShadowQt.cpp127 IntRect layerRect = calculateLayerBoundingRect(context, layerArea, clip); local
130 if (layerRect.isEmpty())
134 QImage* shadowImage = shadowBuffer->scratchImage(layerRect.size());
/external/webkit/Source/WebCore/platform/graphics/
H A DShadowBlur.cpp347 FloatRect layerRect; local
354 layerRect = transform.inverse().mapQuad(transformedPolygon).boundingBox();
356 layerRect = shadowedRect;
357 layerRect.move(m_offset);
362 layerRect.inflate(roundedRadius);
366 FloatRect unclippedLayerRect = layerRect;
368 if (!clipRect.contains(enclosingIntRect(layerRect))) {
370 if (intersection(layerRect, clipRect).isEmpty())
379 layerRect.intersect(inflatedClip);
384 m_layerOrigin = FloatPoint(layerRect
446 IntRect layerRect = calculateLayerBoundingRect(graphicsContext, shadowedRect, graphicsContext->clipBounds()); local
472 IntRect layerRect = calculateLayerBoundingRect(graphicsContext, rect, graphicsContext->clipBounds()); local
496 drawRectShadowWithoutTiling(GraphicsContext* graphicsContext, const FloatRect& shadowedRect, const RoundedIntRect::Radii& radii, const IntRect& layerRect) argument
532 drawInsetShadowWithoutTiling(GraphicsContext* graphicsContext, const FloatRect& rect, const FloatRect& holeRect, const RoundedIntRect::Radii& holeRadii, const IntRect& layerRect) argument
[all...]
H A DShadowBlur.h69 void drawRectShadowWithoutTiling(GraphicsContext*, const FloatRect&, const RoundedIntRect::Radii&, const IntRect& layerRect);
72 void drawInsetShadowWithoutTiling(GraphicsContext*, const FloatRect&, const FloatRect& holeRect, const RoundedIntRect::Radii&, const IntRect& layerRect);
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
H A DCCLayerImpl.cpp162 FloatRect layerRect(-0.5 * bounds().width(), -0.5 * bounds().height(), bounds().width(), bounds().height());
163 IntRect mappedRect = enclosingIntRect(drawTransform().mapRect(layerRect));
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DContextShadowCairo.cpp92 IntRect layerRect = calculateLayerBoundingRect(context, layerArea, IntRect(x1, y1, x2 - x1, y2 - y1)); local
95 if (layerRect.isEmpty())
98 m_layerImage = getScratchBuffer(layerRect.size());
/external/webkit/Source/WebCore/platform/graphics/android/
H A DLayerAndroid.cpp1094 SkRect layerRect; local
1095 layerRect.fLeft = 0;
1096 layerRect.fTop = 0;
1097 layerRect.fRight = getWidth();
1098 layerRect.fBottom = getHeight();
/external/webkit/Source/WebKit/android/nav/
H A DWebView.cpp1080 int scrollableLayer(int x, int y, SkIRect* layerRect, SkIRect* bounds) argument
1089 result->getScrollRect(layerRect);

Completed in 432 milliseconds