Home
last modified time | relevance | path

Searched refs:destRect (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferGDI.cpp79 void FrameBufferGDI::blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument
87 int destLeft = destRect ? destRect->x0 : 0; in blit()
88 int destTop = destRect ? destRect->y0 : 0; in blit()
89 int destWidth = destRect ? destRect->x1 - destRect->x0 : bounds.right - bounds.left; in blit()
90 int destHeight = destRect ? destRect->y1 - destRect->y0 : bounds.bottom - bounds.top; in blit()
100 …erGDI::blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument
108 blit(source, sourceRect, destRect); in blit()
DFrameBufferDD.cpp284 void FrameBufferDD::blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument
295 if(destRect) in blit()
297 dRect.bottom = bounds.top + destRect->y1; in blit()
298 dRect.left = bounds.left + destRect->x0; in blit()
299 dRect.right = bounds.left + destRect->x1; in blit()
300 dRect.top = bounds.top + destRect->y0; in blit()
331 …ferDD::blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument
336 blit(source, sourceRect, destRect); in blit()
DFrameBufferWin.hpp37 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override = 0;
40 …d blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const Rect *destRect) = 0;
DFrameBufferGDI.hpp30 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
33 …void blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const Rect *destRect) …
DFrameBufferDD.hpp32 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
35 …void blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const Rect *destRect) …
DFrameBufferOzone.hpp30 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
DFrameBufferOSX.hpp33 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
DFrameBufferAndroid.hpp36 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
DFrameBufferX11.hpp35 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
DFrameBufferOzone.cpp45 void FrameBufferOzone::blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument
DFrameBuffer.hpp48 virtual void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) = 0;
DFrameBufferAndroid.cpp67 void FrameBufferAndroid::blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument
DFrameBufferOSX.mm53 void FrameBufferOSX::blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect)
DFrameBufferX11.cpp142 void FrameBufferX11::blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBlit9.cpp352 RECT destRect = {destOffset.x, destOffset.y, in copy() local
355 HRESULT result = device->StretchRect(source, &sourceRect, dest, &destRect, D3DTEXF_POINT); in copy()
404 RECT destRect; in formatConvert() local
405 destRect.left = destOffset.x; in formatConvert()
406 destRect.right = destOffset.x + (sourceRect.right - sourceRect.left); in formatConvert()
407 destRect.top = destOffset.y; in formatConvert()
408 destRect.bottom = destOffset.y + (sourceRect.bottom - sourceRect.top); in formatConvert()
410 setViewportAndShaderConstants(sourceRect, sourceSize, destRect, flipY); in formatConvert()
615 const RECT &destRect, in setViewportAndShaderConstants() argument
621 vp.X = destRect.left; in setViewportAndShaderConstants()
[all …]
DBlit9.h121 const RECT &destRect,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBlit9.cpp352 RECT destRect = {destOffset.x, destOffset.y, in copy() local
355 HRESULT result = device->StretchRect(source, &sourceRect, dest, &destRect, D3DTEXF_POINT); in copy()
404 RECT destRect; in formatConvert() local
405 destRect.left = destOffset.x; in formatConvert()
406 destRect.right = destOffset.x + (sourceRect.right - sourceRect.left); in formatConvert()
407 destRect.top = destOffset.y; in formatConvert()
408 destRect.bottom = destOffset.y + (sourceRect.bottom - sourceRect.top); in formatConvert()
410 setViewportAndShaderConstants(sourceRect, sourceSize, destRect, flipY); in formatConvert()
615 const RECT &destRect, in setViewportAndShaderConstants() argument
621 vp.X = destRect.left; in setViewportAndShaderConstants()
[all …]
DBlit9.h121 const RECT &destRect,
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp442 …nst sw::SliceRectF *sourceRect, sw::Surface *dest, const sw::SliceRect *destRect, unsigned char fl… in stretchRect() argument
455 if(sourceRect && destRect && in stretchRect()
458 destRect->width() == 0.0f || destRect->height() == 0.0f)) in stretchRect()
465 if(sourceRect && destRect) in stretchRect()
467 flipX = (sourceRect->x0 < sourceRect->x1) ^ (destRect->x0 < destRect->x1); in stretchRect()
468 flipY = (sourceRect->y0 < sourceRect->y1) ^ (destRect->y0 < destRect->y1); in stretchRect()
475 else if(destRect) in stretchRect()
477 flipX = (destRect->x0 > destRect->x1); in stretchRect()
478 flipY = (destRect->y0 > destRect->y1); in stretchRect()
510 if(destRect) in stretchRect()
[all …]
DDevice.hpp74 …:SliceRectF *sourceRect, sw::Surface *destSurface, const sw::SliceRect *destRect, unsigned char fl…
/third_party/flutter/skia/tests/
DIndexedPngOverflowTest.cpp38 SkRect destRect = SkRect::MakeXYWH(0, 0, 20, 1); in DEF_TEST() local
39 canvas->drawBitmapRect(image, destRect, nullptr); in DEF_TEST()
/third_party/flutter/skia/src/gpu/
DGrGlyph.h57 SkRect destRect(SkPoint origin) { in destRect() function
65 SkRect destRect(SkPoint origin, SkScalar textScale) { in destRect() function
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DBlitter.cpp139 … *source, const SliceRectF &sourceRect, Surface *dest, const SliceRect &destRect, const Blitter::O… in blit() argument
146 if(blitReactor(source, sourceRect, dest, destRect, options)) in blit()
152 SliceRect dRect = destRect; in blit()
154 bool flipX = destRect.x0 > destRect.x1; in blit()
155 bool flipY = destRect.y0 > destRect.y1; in blit()
1391 … *source, const SliceRectF &sourceRect, Surface *dest, const SliceRect &destRect, const Blitter::O… in blitReactor() argument
1395 Rect dRect = destRect; in blitReactor()
1397 if(destRect.x0 > destRect.x1) in blitReactor()
1402 if(destRect.y0 > destRect.y1) in blitReactor()
1445 bool isEntireDest = dest->isEntire(destRect); in blitReactor()
[all …]
/third_party/flutter/skia/src/core/
DSkGlyphRunPainter.cpp761 const SkRect& destRect, in switchSubRunIfNeededAndAppendGlyph() argument
776 subRun->appendGlyph(glyph, destRect); in switchSubRunIfNeededAndAppendGlyph()
783 SkRect glyphRect = glyph->destRect(origin); in appendDeviceSpaceGlyph()
797 SkRect glyphRect = glyph->destRect(origin, textScale); in appendSourceSpaceGlyph()
/third_party/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js577 var destRect = CanvasKit.XYWHRect(arguments[1], arguments[2],
581 var destRect = CanvasKit.XYWHRect(arguments[5], arguments[6],
588 this._canvas.drawImageRect(img, srcRect, destRect, iPaint, false);

12