/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | StillImageHaiku.cpp | 67 const FloatRect& sourceRect, ColorSpace, CompositeOperator op) 74 context->platformContext()->DrawBitmap(&m_bitmap, sourceRect, destRect); 66 draw(GraphicsContext* context, const FloatRect& destRect, const FloatRect& sourceRect, ColorSpace, CompositeOperator op) argument
|
H A D | 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, cons argument 305 putUnmultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint) argument 312 putPremultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint) argument [all...] |
/external/webkit/Source/WebCore/platform/graphics/wince/ |
H A D | 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 191 putImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, SharedBitmap* bitmap) argument 235 putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint) argument 240 putPremultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint) argument [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
H A D | 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);
|
H A D | Blit.cpp | 290 bool Blit::formatConvert(IDirect3DSurface9 *source, const RECT &sourceRect, GLenum destFormat, GLint xoffset, GLint yoffset, IDirect3DSurface9 *dest) argument 292 IDirect3DTexture9 *texture = copySurfaceToTexture(source, sourceRect); 305 setViewport(sourceRect, xoffset, yoffset); 383 IDirect3DTexture9 *Blit::copySurfaceToTexture(IDirect3DSurface9 *surface, const RECT &sourceRect) argument 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, GLin argument [all...] |
H A D | Texture.cpp | 942 RECT sourceRect = {x, y, x + width, y + height}; local 943 result = surface->LockRect(&sourceLock, &sourceRect, 0); 1292 RECT sourceRect; local 1293 sourceRect.left = xoffset; 1294 sourceRect.top = yoffset; 1295 sourceRect.right = xoffset + width; 1296 sourceRect.bottom = yoffset + height; 1302 result = getDevice()->UpdateSurface(img->surface, &sourceRect, destLevel, &destPoint); 1358 RECT sourceRect; local 1359 sourceRect 1412 RECT sourceRect; local 1829 RECT sourceRect; local 2192 RECT sourceRect; local 2279 RECT sourceRect; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | ImageLayerChromium.cpp | 102 const IntRect sourceRect = layerBounds(); local 109 float scaleX = destSize.width() / static_cast<float>(sourceRect.size().width()); 110 float scaleY = destSize.height() / static_cast<float>(sourceRect.size().height());
|
H A D | LayerTilerChromium.cpp | 313 IntRect sourceRect = tileContentRect(tile); local 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 [all...] |
H A D | TransparencyWin.cpp | 459 SkIRect sourceRect = { 0, 0, m_layerSize.width(), m_layerSize.height() }; local 460 destCanvas->drawBitmapRect(*bitmap, &sourceRect, destRect, &paint); 494 SkIRect sourceRect = { 0, 0, m_layerSize.width(), m_layerSize.height() }; local 495 destCanvas->drawBitmapRect(bitmap, &sourceRect, destRect, 0);
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
H A D | ImageBufferAndroid.cpp | 191 void ImageBuffer::putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint) argument 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 [all...] |
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | ImageBufferCairo.cpp | 229 void putImageData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, ImageBufferData& data, const IntSize& size) argument 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 286 putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint) argument 291 putPremultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint) argument [all...] |
/external/webkit/Source/WebCore/platform/graphics/qt/ |
H A D | ImageBufferQt.cpp | 306 void putImageData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, ImageBufferData& data, const IntSize& size) argument 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 386 putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint) argument 391 putPremultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint) argument [all...] |
H A D | TextureMapperQt.h | 40 IntRect sourceRect() const { return IntRect(0, 0, contentSize().width(), contentSize().height()); } function in class:WebCore::BitmapTextureQt
|
H A D | 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/ |
H A D | ImageBufferSkia.cpp | 270 void putImageData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, argument 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 345 putPremultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint) argument [all...] |
/external/webkit/Source/WebCore/platform/graphics/cg/ |
H A D | ImageBufferDataCG.h | 58 void putData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, const IntSize& size, bool accelerateRendering, bool unmultiplied);
|
H A D | ImageBufferDataCG.cpp | 255 void ImageBufferData::putData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, const IntSize& size, bool accelerateRendering, bool unmultiplied) argument 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 [all...] |
H A D | ImageBufferCG.cpp | 268 void ImageBuffer::putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint) argument 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) argument 279 m_data.putData(source, sourceSize, sourceRect, destPoint, m_size, m_accelerateRendering, false);
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
H A D | ImageBufferWx.cpp | 75 void ImageBuffer::putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint) argument 80 void ImageBuffer::putPremultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint) argument
|
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | 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/ |
H A D | ChromeClientGtk.cpp | 420 GdkRectangle sourceRect = area; local 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/ |
H A D | dsa_old.cpp | 635 TRect sourceRect = aRect; local 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);
|
H A D | dsa.cpp | 1070 TRect sourceRect = aRect; local 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/ |
H A D | CanvasRenderingContext2D.cpp | 1285 FloatRect sourceRect = c->roundToDevicePixels(normalizedSrcRect); local 1287 c->drawImage(cachedImage->image(), ColorSpaceDeviceRGB, destRect, sourceRect, op); 1348 FloatRect sourceRect = c->roundToDevicePixels(srcRect); 1369 c->drawImageBuffer(buffer, ColorSpaceDeviceRGB, destRect, sourceRect, state().m_globalComposite); 1432 FloatRect sourceRect = c->roundToDevicePixels(srcRect); local 1438 c->scale(FloatSize(destRect.width() / sourceRect.width(), destRect.height() / sourceRect.height())); 1439 c->translate(-sourceRect.x(), -sourceRect.y()); 1726 IntRect sourceRect(destRec [all...] |
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
H A D | WebHostedNetscapePluginView.mm | 424 NSRect sourceRect = { NSZeroPoint, [_cachedSnapshot.get() size] }; 425 [_cachedSnapshot.get() drawInRect:[self bounds] fromRect:sourceRect operation:NSCompositeSourceOver fraction:1];
|