HomeSort by relevance Sort by last modified time
    Searched refs:sourceRect (Results 1 - 25 of 30) sorted by null

1 2

  /external/webkit/Source/WebCore/platform/graphics/haiku/
StillImageHaiku.cpp 67 const FloatRect& sourceRect, ColorSpace, CompositeOperator op)
74 context->platformContext()->DrawBitmap(&m_bitmap, sourceRect, destRect);
ImageBufferHaiku.cpp 232 BRect sourceRect(0, 0, size.width() - 1, size.height() - 1);
233 sourceRect = BRect(rect) & sourceRect;
239 destRows += (rect.x() - static_cast<int>(sourceRect.left)) * 4
240 + (rect.y() - static_cast<int>(sourceRect.top)) * destBytesPerRow;
246 sourceRows += static_cast<int>(sourceRect.left) * 4
247 + static_cast<int>(sourceRect.top) * sourceBytesPerRow;
249 unsigned rows = sourceRect.IntegerHeight() + 1;
250 unsigned columns = sourceRect.IntegerWidth() + 1;
272 static void putImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint, ImageBufferData& imageData, const IntSize& size, bool premultiplied
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/wince/
ImageBufferWinCE.cpp 139 IntRect sourceRect(0, 0, bitmap->width(), bitmap->height());
140 sourceRect.intersect(rect);
141 if (sourceRect.isEmpty())
146 src += (sourceRect.y() * bitmap->width() + sourceRect.x()) * 4;
147 dst += ((sourceRect.y() - rect.y()) * rect.width() + sourceRect.x() - rect.x()) * 4;
148 int bytesToCopy = sourceRect.width() * 4;
149 int srcSkip = (bitmap->width() - sourceRect.width()) * 4;
150 int dstSkip = (rect.width() - sourceRect.width()) * 4
    [all...]
  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
Blit.h 32 // sourceRect, xoffset, yoffset are in D3D coordinates (0,0 in upper-left)
34 bool formatConvert(IDirect3DSurface9 *source, const RECT &sourceRect, GLenum destFormat, GLint xoffset, GLint yoffset, IDirect3DSurface9 *dest);
50 IDirect3DTexture9 *copySurfaceToTexture(IDirect3DSurface9 *surface, const RECT &sourceRect);
51 void setViewport(const RECT &sourceRect, GLint xoffset, GLint yoffset);
Blit.cpp 290 bool Blit::formatConvert(IDirect3DSurface9 *source, const RECT &sourceRect, GLenum destFormat, GLint xoffset, GLint yoffset, IDirect3DSurface9 *dest)
292 IDirect3DTexture9 *texture = copySurfaceToTexture(source, sourceRect);
305 setViewport(sourceRect, xoffset, yoffset);
383 IDirect3DTexture9 *Blit::copySurfaceToTexture(IDirect3DSurface9 *surface, const RECT &sourceRect)
398 HRESULT result = device->CreateTexture(sourceRect.right - sourceRect.left, sourceRect.bottom - sourceRect.top, 1, D3DUSAGE_RENDERTARGET, sourceDesc.Format, D3DPOOL_DEFAULT, &texture, NULL);
417 result = device->StretchRect(surface, &sourceRect, textureSurface, NULL, D3DTEXF_NONE);
431 void Blit::setViewport(const RECT &sourceRect, GLint xoffset, GLint yoffset
    [all...]
Texture.cpp 942 RECT sourceRect = {x, y, x + width, y + height};
943 result = surface->LockRect(&sourceLock, &sourceRect, 0);
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/
ImageLayerChromium.cpp 102 const IntRect sourceRect = layerBounds();
109 float scaleX = destSize.width() / static_cast<float>(sourceRect.size().width());
110 float scaleY = destSize.height() / static_cast<float>(sourceRect.size().height());
LayerTilerChromium.cpp 313 IntRect sourceRect = tileContentRect(tile);
314 const IntPoint anchor = sourceRect.location();
315 sourceRect.intersect(layerRectToContentRect(tile->m_dirtyLayerRect));
317 // make sure that sourceRect doesn't extend outside of it.
318 sourceRect.intersect(paintRect);
319 if (sourceRect.isEmpty())
331 IntRect destRect(IntPoint(sourceRect.x() - anchor.x(), sourceRect.y() - anchor.y()), sourceRect.size());
338 IntPoint paintOffset(sourceRect.x() - paintRect.x(), sourceRect.y() - paintRect.y())
    [all...]
TransparencyWin.cpp 459 SkIRect sourceRect = { 0, 0, m_layerSize.width(), m_layerSize.height() };
460 destCanvas->drawBitmapRect(*bitmap, &sourceRect, destRect, &paint);
494 SkIRect sourceRect = { 0, 0, m_layerSize.width(), m_layerSize.height() };
495 destCanvas->drawBitmapRect(bitmap, &sourceRect, destRect, 0);
  /external/webkit/Source/WebCore/platform/graphics/android/
ImageBufferAndroid.cpp 191 void ImageBuffer::putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint)
204 ASSERT(sourceRect.width() > 0);
205 ASSERT(sourceRect.height() > 0);
207 int originx = sourceRect.x();
208 int destx = destPoint.x() + sourceRect.x();
212 ASSERT(originx <= sourceRect.maxX());
214 int endx = destPoint.x() + sourceRect.maxX();
219 int originy = sourceRect.y();
220 int desty = destPoint.y() + sourceRect.y();
224 ASSERT(originy <= sourceRect.maxY())
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cairo/
ImageBufferCairo.cpp 229 void putImageData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, ImageBufferData& data, const IntSize& size)
235 ASSERT(sourceRect.width() > 0);
236 ASSERT(sourceRect.height() > 0);
238 int originx = sourceRect.x();
239 int destx = destPoint.x() + sourceRect.x();
243 ASSERT(originx <= sourceRect.maxX());
245 int endx = destPoint.x() + sourceRect.maxX();
250 int originy = sourceRect.y();
251 int desty = destPoint.y() + sourceRect.y();
255 ASSERT(originy <= sourceRect.maxY())
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/qt/
ImageBufferQt.cpp 306 void putImageData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, ImageBufferData& data, const IntSize& size)
308 ASSERT(sourceRect.width() > 0);
309 ASSERT(sourceRect.height() > 0);
311 int originx = sourceRect.x();
312 int destx = destPoint.x() + sourceRect.x();
316 ASSERT(originx <= sourceRect.maxX());
318 int endx = destPoint.x() + sourceRect.maxX();
323 int originy = sourceRect.y();
324 int desty = destPoint.y() + sourceRect.y();
328 ASSERT(originy <= sourceRect.maxY())
    [all...]
TextureMapperQt.h 40 IntRect sourceRect() const { return IntRect(0, 0, contentSize().width(), contentSize().height()); }
TextureMapperQt.cpp 151 maskPainter.drawPixmap(QRect(0, 0, pixmap.width(), pixmap.height()), mask->m_pixmap, mask->sourceRect());
160 painter->drawPixmap(targetRect, pixmap, textureQt.sourceRect());
  /external/webkit/Source/WebCore/platform/graphics/skia/
ImageBufferSkia.cpp 270 void putImageData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint,
273 ASSERT(sourceRect.width() > 0);
274 ASSERT(sourceRect.height() > 0);
276 int originX = sourceRect.x();
277 int destX = destPoint.x() + sourceRect.x();
281 ASSERT(originX < sourceRect.maxX());
283 int endX = destPoint.x() + sourceRect.maxX();
288 int originY = sourceRect.y();
289 int destY = destPoint.y() + sourceRect.y();
293 ASSERT(originY < sourceRect.maxY())
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cg/
ImageBufferDataCG.h 58 void putData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, const IntSize& size, bool accelerateRendering, bool unmultiplied);
ImageBufferDataCG.cpp 255 void ImageBufferData::putData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, const IntSize& size, bool accelerateRendering, bool unmultiplied)
257 ASSERT(sourceRect.width() > 0);
258 ASSERT(sourceRect.height() > 0);
260 int originx = sourceRect.x();
261 int destx = destPoint.x() + sourceRect.x();
265 ASSERT(originx <= sourceRect.maxX());
267 int endx = destPoint.x() + sourceRect.maxX();
272 int originy = sourceRect.y();
273 int desty = destPoint.y() + sourceRect.y();
277 ASSERT(originy <= sourceRect.maxY())
    [all...]
ImageBufferCG.cpp 268 void ImageBuffer::putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint)
272 m_data.putData(source, sourceSize, sourceRect, destPoint, m_size, m_accelerateRendering, true);
275 void ImageBuffer::putPremultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint)
279 m_data.putData(source, sourceSize, sourceRect, destPoint, m_size, m_accelerateRendering, false);
  /external/webkit/Source/WebCore/platform/graphics/wx/
ImageBufferWx.cpp 75 void ImageBuffer::putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint)
80 void ImageBuffer::putPremultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint)
  /external/webkit/Source/WebCore/platform/graphics/
ImageBuffer.h 92 void putUnmultipliedImageData(ByteArray*, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint);
93 void putPremultipliedImageData(ByteArray*, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint);
  /external/webkit/Source/WebKit/gtk/WebCoreSupport/
ChromeClientGtk.cpp 420 GdkRectangle sourceRect = area;
421 sourceRect.x -= delta.width();
422 sourceRect.y -= delta.height();
427 if (gdk_rectangle_intersect(&area, &sourceRect, &moveRect)) {
440 if (gdk_rectangle_intersect(&area, &sourceRect, &moveRect)) {
  /external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/
dsa_old.cpp 635 TRect sourceRect = aRect;
640 Rotate(sourceRect);
644 if(iSourceMode != DisplayMode() || targetRect != sourceRect || targetRect != updateRect || ((iStateFlags & EOrientationFlags) != 0))
646 sourceRect.Intersection(targetRect); //so source always smaller or equal than target
648 ClipCopy(target, aBits, updateRect, sourceRect);
dsa.cpp 1070 TRect sourceRect = aRect;
1078 Rotate(sourceRect);
1082 if(iSourceMode != DisplayMode() || targetRect != sourceRect || targetRect != updateRect || ((iStateFlags & EOrientationFlags) != 0))
1084 sourceRect.Intersection(targetRect); //so source always smaller or equal than target
1086 ClipCopy(target, aBits, updateRect, sourceRect);
  /external/webkit/Source/WebCore/html/canvas/
CanvasRenderingContext2D.cpp     [all...]
  /external/webkit/Source/WebKit/mac/Plugins/Hosted/
WebHostedNetscapePluginView.mm 424 NSRect sourceRect = { NSZeroPoint, [_cachedSnapshot.get() size] };
425 [_cachedSnapshot.get() drawInRect:[self bounds] fromRect:sourceRect operation:NSCompositeSourceOver fraction:1];

Completed in 614 milliseconds

1 2