/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | ImageBufferWinCE.cpp | 139 IntRect sourceRect(0, 0, bitmap->width(), bitmap->height()); in getImageData() local 140 sourceRect.intersect(rect); in getImageData() 141 if (sourceRect.isEmpty()) in getImageData() 146 src += (sourceRect.y() * bitmap->width() + sourceRect.x()) * 4; in getImageData() 147 dst += ((sourceRect.y() - rect.y()) * rect.width() + sourceRect.x() - rect.x()) * 4; in getImageData() 148 int bytesToCopy = sourceRect.width() * 4; in getImageData() 149 int srcSkip = (bitmap->width() - sourceRect.width()) * 4; in getImageData() 150 int dstSkip = (rect.width() - sourceRect.width()) * 4; in getImageData() 151 const unsigned char* dstEnd = dst + sourceRect.height() * rect.width() * 4; in getImageData() 191 static void putImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, c… in putImageData() argument [all …]
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
D | ImageBufferHaiku.cpp | 232 BRect sourceRect(0, 0, size.width() - 1, size.height() - 1); in getImageData() local 233 sourceRect = BRect(rect) & sourceRect; in getImageData() 239 destRows += (rect.x() - static_cast<int>(sourceRect.left)) * 4 in getImageData() 240 + (rect.y() - static_cast<int>(sourceRect.top)) * destBytesPerRow; in getImageData() 246 sourceRows += static_cast<int>(sourceRect.left) * 4 in getImageData() 247 + static_cast<int>(sourceRect.top) * sourceBytesPerRow; in getImageData() 249 unsigned rows = sourceRect.IntegerHeight() + 1; in getImageData() 250 unsigned columns = sourceRect.IntegerWidth() + 1; in getImageData() 272 static void putImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint, I… in putImageData() argument 278 || destPoint.x() + sourceRect.width() < 0 in putImageData() [all …]
|
D | StillImageHaiku.cpp | 67 const FloatRect& sourceRect, ColorSpace, CompositeOperator op) in draw() argument 74 context->platformContext()->DrawBitmap(&m_bitmap, sourceRect, destRect); in draw()
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
D | ImageBufferCairo.cpp | 229 void putImageData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const I… in putImageData() argument 235 ASSERT(sourceRect.width() > 0); in putImageData() 236 ASSERT(sourceRect.height() > 0); in putImageData() 238 int originx = sourceRect.x(); in putImageData() 239 int destx = destPoint.x() + sourceRect.x(); in putImageData() 243 ASSERT(originx <= sourceRect.maxX()); in putImageData() 245 int endx = destPoint.x() + sourceRect.maxX(); in putImageData() 250 int originy = sourceRect.y(); in putImageData() 251 int desty = destPoint.y() + sourceRect.y(); in putImageData() 255 ASSERT(originy <= sourceRect.maxY()); in putImageData() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
D | ImageBufferAndroid.cpp | 191 …ImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint&… in putUnmultipliedImageData() argument 204 ASSERT(sourceRect.width() > 0); in putUnmultipliedImageData() 205 ASSERT(sourceRect.height() > 0); in putUnmultipliedImageData() 207 int originx = sourceRect.x(); in putUnmultipliedImageData() 208 int destx = destPoint.x() + sourceRect.x(); in putUnmultipliedImageData() 212 ASSERT(originx <= sourceRect.maxX()); in putUnmultipliedImageData() 214 int endx = destPoint.x() + sourceRect.maxX(); in putUnmultipliedImageData() 219 int originy = sourceRect.y(); in putUnmultipliedImageData() 220 int desty = destPoint.y() + sourceRect.y(); in putUnmultipliedImageData() 224 ASSERT(originy <= sourceRect.maxY()); in putUnmultipliedImageData() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
D | ImageBufferSkia.cpp | 270 void putImageData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const I… in putImageData() argument 273 ASSERT(sourceRect.width() > 0); in putImageData() 274 ASSERT(sourceRect.height() > 0); in putImageData() 276 int originX = sourceRect.x(); in putImageData() 277 int destX = destPoint.x() + sourceRect.x(); in putImageData() 281 ASSERT(originX < sourceRect.maxX()); in putImageData() 283 int endX = destPoint.x() + sourceRect.maxX(); in putImageData() 288 int originY = sourceRect.y(); in putImageData() 289 int destY = destPoint.y() + sourceRect.y(); in putImageData() 293 ASSERT(originY < sourceRect.maxY()); in putImageData() [all …]
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
D | Blit.cpp | 290 bool Blit::formatConvert(IDirect3DSurface9 *source, const RECT &sourceRect, GLenum destFormat, GLin… in formatConvert() argument 292 IDirect3DTexture9 *texture = copySurfaceToTexture(source, sourceRect); in formatConvert() 305 setViewport(sourceRect, xoffset, yoffset); in formatConvert() 383 IDirect3DTexture9 *Blit::copySurfaceToTexture(IDirect3DSurface9 *surface, const RECT &sourceRect) in copySurfaceToTexture() argument 398 …HRESULT result = device->CreateTexture(sourceRect.right - sourceRect.left, sourceRect.bottom - sou… in copySurfaceToTexture() 417 result = device->StretchRect(surface, &sourceRect, textureSurface, NULL, D3DTEXF_NONE); in copySurfaceToTexture() 431 void Blit::setViewport(const RECT &sourceRect, GLint xoffset, GLint yoffset) in setViewport() argument 438 vp.Width = sourceRect.right - sourceRect.left; in setViewport() 439 vp.Height = sourceRect.bottom - sourceRect.top; in setViewport()
|
D | Blit.h | 34 …bool formatConvert(IDirect3DSurface9 *source, const RECT &sourceRect, GLenum destFormat, GLint xof… 50 IDirect3DTexture9 *copySurfaceToTexture(IDirect3DSurface9 *surface, const RECT &sourceRect); 51 void setViewport(const RECT &sourceRect, GLint xoffset, GLint yoffset);
|
D | Texture.cpp | 942 RECT sourceRect = {x, y, x + width, y + height}; in copyNonRenderable() local 943 result = surface->LockRect(&sourceLock, &sourceRect, 0); in copyNonRenderable() 1292 RECT sourceRect; in commitRect() local 1293 sourceRect.left = xoffset; in commitRect() 1294 sourceRect.top = yoffset; in commitRect() 1295 sourceRect.right = xoffset + width; in commitRect() 1296 sourceRect.bottom = yoffset + height; in commitRect() 1302 result = getDevice()->UpdateSurface(img->surface, &sourceRect, destLevel, &destPoint); in commitRect() 1358 RECT sourceRect; in copyImage() local 1359 sourceRect.left = x; in copyImage() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
D | ImageBufferQt.cpp | 306 void putImageData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const I… in putImageData() argument 308 ASSERT(sourceRect.width() > 0); in putImageData() 309 ASSERT(sourceRect.height() > 0); in putImageData() 311 int originx = sourceRect.x(); in putImageData() 312 int destx = destPoint.x() + sourceRect.x(); in putImageData() 316 ASSERT(originx <= sourceRect.maxX()); in putImageData() 318 int endx = destPoint.x() + sourceRect.maxX(); in putImageData() 323 int originy = sourceRect.y(); in putImageData() 324 int desty = destPoint.y() + sourceRect.y(); in putImageData() 328 ASSERT(originy <= sourceRect.maxY()); in putImageData() [all …]
|
D | TextureMapperQt.cpp | 151 …inter.drawPixmap(QRect(0, 0, pixmap.width(), pixmap.height()), mask->m_pixmap, mask->sourceRect()); in drawTexture() 160 painter->drawPixmap(targetRect, pixmap, textureQt.sourceRect()); in drawTexture()
|
D | TextureMapperQt.h | 40 …IntRect sourceRect() const { return IntRect(0, 0, contentSize().width(), contentSize().height()); } in sourceRect() function
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
D | ImageBufferDataCG.cpp | 255 …:putData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint&… in putData() argument 257 ASSERT(sourceRect.width() > 0); in putData() 258 ASSERT(sourceRect.height() > 0); in putData() 260 int originx = sourceRect.x(); in putData() 261 int destx = destPoint.x() + sourceRect.x(); in putData() 265 ASSERT(originx <= sourceRect.maxX()); in putData() 267 int endx = destPoint.x() + sourceRect.maxX(); in putData() 272 int originy = sourceRect.y(); in putData() 273 int desty = destPoint.y() + sourceRect.y(); in putData() 277 ASSERT(originy <= sourceRect.maxY()); in putData() [all …]
|
D | ImageBufferCG.cpp | 268 …ImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint&… in putUnmultipliedImageData() argument 272 m_data.putData(source, sourceSize, sourceRect, destPoint, m_size, m_accelerateRendering, true); in putUnmultipliedImageData() 275 …ImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint&… in putPremultipliedImageData() argument 279 m_data.putData(source, sourceSize, sourceRect, destPoint, m_size, m_accelerateRendering, false); in putPremultipliedImageData()
|
D | ImageBufferDataCG.h | 58 …void putData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPo…
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
D | LayerTilerChromium.cpp | 313 IntRect sourceRect = tileContentRect(tile); in updateFromPixels() local 314 const IntPoint anchor = sourceRect.location(); in updateFromPixels() 315 sourceRect.intersect(layerRectToContentRect(tile->m_dirtyLayerRect)); in updateFromPixels() 318 sourceRect.intersect(paintRect); in updateFromPixels() 319 if (sourceRect.isEmpty()) in updateFromPixels() 331 …IntRect destRect(IntPoint(sourceRect.x() - anchor.x(), sourceRect.y() - anchor.y()), sourceRect.si… in updateFromPixels() 338 IntPoint paintOffset(sourceRect.x() - paintRect.x(), sourceRect.y() - paintRect.y()); in updateFromPixels() 349 if (paintRect.width() == sourceRect.width() && !paintOffset.x()) in updateFromPixels()
|
D | ImageLayerChromium.cpp | 102 const IntRect sourceRect = layerBounds(); in tilingTransform() local 109 float scaleX = destSize.width() / static_cast<float>(sourceRect.size().width()); in tilingTransform() 110 float scaleY = destSize.height() / static_cast<float>(sourceRect.size().height()); in tilingTransform()
|
D | TransparencyWin.cpp | 459 SkIRect sourceRect = { 0, 0, m_layerSize.width(), m_layerSize.height() }; in compositeOpaqueComposite() local 460 destCanvas->drawBitmapRect(*bitmap, &sourceRect, destRect, &paint); in compositeOpaqueComposite() 494 SkIRect sourceRect = { 0, 0, m_layerSize.width(), m_layerSize.height() }; in compositeTextComposite() local 495 destCanvas->drawBitmapRect(bitmap, &sourceRect, destRect, 0); in compositeTextComposite()
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
D | ImageBufferWx.cpp | 75 …ImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint&… in putUnmultipliedImageData() argument 80 …ImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint&… in putPremultipliedImageData() argument
|
/external/webkit/Source/WebCore/platform/graphics/ |
D | ImageBuffer.h | 92 …tipliedImageData(ByteArray*, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint&… 93 …tipliedImageData(ByteArray*, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint&…
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
D | ChromeClientGtk.cpp | 420 GdkRectangle sourceRect = area; in scroll() local 421 sourceRect.x -= delta.width(); in scroll() 422 sourceRect.y -= delta.height(); in scroll() 427 if (gdk_rectangle_intersect(&area, &sourceRect, &moveRect)) { in scroll() 440 if (gdk_rectangle_intersect(&area, &sourceRect, &moveRect)) { in scroll()
|
/external/webkit/Source/WebCore/html/canvas/ |
D | CanvasRenderingContext2D.cpp | 1285 FloatRect sourceRect = c->roundToDevicePixels(normalizedSrcRect); in drawImage() local 1287 c->drawImage(cachedImage->image(), ColorSpaceDeviceRGB, destRect, sourceRect, op); in drawImage() 1348 FloatRect sourceRect = c->roundToDevicePixels(srcRect); in drawImage() local 1369 … c->drawImageBuffer(buffer, ColorSpaceDeviceRGB, destRect, sourceRect, state().m_globalComposite); in drawImage() 1432 FloatRect sourceRect = c->roundToDevicePixels(srcRect); in drawImage() local 1438 …c->scale(FloatSize(destRect.width() / sourceRect.width(), destRect.height() / sourceRect.height())… in drawImage() 1439 c->translate(-sourceRect.x(), -sourceRect.y()); in drawImage() 1726 IntRect sourceRect(destRect); in putImageData() local 1727 sourceRect.move(-destOffset); in putImageData() 1729 …mageData(data->data()->data(), IntSize(data->width(), data->height()), sourceRect, IntPoint(destOf… in putImageData()
|
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/ |
D | dsa_old.cpp | 635 TRect sourceRect = aRect; 640 Rotate(sourceRect); 644 …if(iSourceMode != DisplayMode() || targetRect != sourceRect || targetRect != updateRect || ((iSta… 646 sourceRect.Intersection(targetRect); //so source always smaller or equal than target 648 ClipCopy(target, aBits, updateRect, sourceRect);
|
D | dsa.cpp | 1070 TRect sourceRect = aRect; 1078 Rotate(sourceRect); 1082 …if(iSourceMode != DisplayMode() || targetRect != sourceRect || targetRect != updateRect || ((iSta… 1084 sourceRect.Intersection(targetRect); //so source always smaller or equal than target 1086 ClipCopy(target, aBits, updateRect, sourceRect);
|
D | dsa_new.cpp | 1006 TRect sourceRect = aRect; 1011 Rotate(sourceRect); 1015 …if(iSourceMode != DisplayMode() || targetRect != sourceRect || targetRect != updateRect || ((iSta… 1017 sourceRect.Intersection(targetRect); //so source always smaller or equal than target 1019 ClipCopy(target, aBits, updateRect, sourceRect.iTl);
|