Home
last modified time | relevance | path

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

123

/external/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;
/external/swiftshader/src/WSI/
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.cpp277 void FrameBufferDD::blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument
288 if(destRect) in blit()
290 dRect.bottom = bounds.top + destRect->y1; in blit()
291 dRect.left = bounds.left + destRect->x0; in blit()
292 dRect.right = bounds.left + destRect->x1; in blit()
293 dRect.top = bounds.top + destRect->y0; in blit()
324 …ferDD::blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument
329 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;
/external/swiftshader/src/D3D8/
DDirect3DSwapChain8.cpp76 …long Direct3DSwapChain8::Present(const RECT *sourceRect, const RECT *destRect, HWND destWindowOver… in Present() argument
84 if(!sourceRect && !destRect) // FIXME: More cases? in Present()
101 if(destRect) in Present()
103 dRect.x0 = destRect->left; in Present()
104 dRect.y0 = destRect->top; in Present()
105 dRect.x1 = destRect->right; in Present()
106 dRect.y1 = destRect->bottom; in Present()
109 …frameBuffer->blit(destWindowOverride, backBuffer[0], sourceRect ? &sRect : nullptr, destRect ? &dR… in Present()
/external/swiftshader/src/D3D9/
DDirect3DSwapChain9.cpp80 …long Direct3DSwapChain9::Present(const RECT *sourceRect, const RECT *destRect, HWND destWindowOver… in Present() argument
159 if(!sourceRect && !destRect) // FIXME: More cases? in Present()
176 if(destRect) in Present()
178 dRect.x0 = destRect->left; in Present()
179 dRect.y0 = destRect->top; in Present()
180 dRect.x1 = destRect->right; in Present()
181 dRect.y1 = destRect->bottom; in Present()
184 …frameBuffer->blit(window, backBuffer[0], sourceRect ? &sRect : nullptr, destRect ? &dRect : nullpt… in Present()
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp442 …nst sw::SliceRectF *sourceRect, sw::Surface *dest, const sw::SliceRect *destRect, unsigned char fl… in stretchRect() argument
457 if(sourceRect && destRect) in stretchRect()
459 flipX = (sourceRect->x0 < sourceRect->x1) ^ (destRect->x0 < destRect->x1); in stretchRect()
460 flipY = (sourceRect->y0 < sourceRect->y1) ^ (destRect->y0 < destRect->y1); in stretchRect()
467 else if(destRect) in stretchRect()
469 flipX = (destRect->x0 > destRect->x1); in stretchRect()
470 flipY = (destRect->y0 > destRect->y1); in stretchRect()
502 if(destRect) in stretchRect()
504 dRect = *destRect; in stretchRect()
596 …byte *destBytes = (byte*)dest->lockInternal(dRect.x0, dRect.y0, destRect->slice, fullCopy ? LOCK_D… in stretchRect()
/external/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()
/external/skqp/tests/
DIndexedPngOverflowTest.cpp38 SkRect destRect = SkRect::MakeXYWH(0, 0, 20, 1); in DEF_TEST() local
39 canvas->drawBitmapRect(image, destRect, nullptr); in DEF_TEST()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DGlideBitmapDrawable.java20 private final Rect destRect = new Rect(); field in GlideBitmapDrawable
98 Gravity.apply(BitmapState.GRAVITY, width, height, getBounds(), destRect); in draw()
101 canvas.drawBitmap(state.bitmap, null, destRect, state.paint); in draw()
/external/skqp/src/gpu/
DGrGlyph.h65 SkRect destRect(SkPoint origin) { in destRect() function
73 SkRect destRect(SkPoint origin, SkScalar textScale) { in destRect() function
/external/skia/src/gpu/
DGrGlyph.h65 SkRect destRect(SkPoint origin) { in destRect() function
73 SkRect destRect(SkPoint origin, SkScalar textScale) { in destRect() function
/external/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 …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawable.java27 private final Rect destRect = new Rect(); field in GifDrawable
224 … Gravity.apply(GifState.GRAVITY, getIntrinsicWidth(), getIntrinsicHeight(), getBounds(), destRect); in draw()
230 canvas.drawBitmap(toDraw, null, destRect, paint); in draw()
/external/swiftshader/src/OpenGL/libGLES_CM/
DDevice.cpp318 …ce, const sw::SliceRect *sourceRect, sw::Surface *dest, const sw::SliceRect *destRect, bool filter) in stretchRect() argument
320 if(!source || !dest || !validRectangle(sourceRect, source) || !validRectangle(destRect, dest)) in stretchRect()
346 if(destRect) in stretchRect()
348 dRect = *destRect; in stretchRect()
/external/swiftshader/src/Device/
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()
1631 … *source, const SliceRectF &sourceRect, Surface *dest, const SliceRect &destRect, const Blitter::O… in blitReactor() argument
1635 Rect dRect = destRect; in blitReactor()
1637 if(destRect.x0 > destRect.x1) in blitReactor()
1642 if(destRect.y0 > destRect.y1) in blitReactor()
1685 bool isEntireDest = dest->isEntire(destRect); in blitReactor()
[all …]
/external/python/cpython2/Mac/Modules/te/
D_TEmodule.c848 return Py_BuildValue("O&", PyMac_BuildRect, &(*self->ob_itself)->destRect); in TEObj_get_destRect()
1084 Rect destRect; in TE_TENew() local
1090 PyMac_GetRect, &destRect, in TE_TENew()
1093 _rv = TENew(&destRect, in TE_TENew()
1129 Rect destRect; in TE_TEStyleNew() local
1135 PyMac_GetRect, &destRect, in TE_TEStyleNew()
1138 _rv = TEStyleNew(&destRect, in TE_TEStyleNew()

123