Home
last modified time | relevance | path

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

12

/external/swiftshader/src/Main/
DFrameBufferGDI.cpp79 …void FrameBufferGDI::blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourc… 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 …(HWND windowOverride, void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFor… in blit() argument
108 blit(source, sourceRect, destRect, sourceFormat, sourceStride); in blit()
DFrameBufferDD.cpp284 …void FrameBufferDD::blit(void *source, const Rect *sourceRect, const Rect *destRect, Format source… 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 …(HWND windowOverride, void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFor… in blit() argument
336 blit(source, sourceRect, destRect, sourceFormat, sourceStride); in blit()
DFrameBufferGDI.hpp30 …void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t …
33 …void blit(HWND windowOverride, void *source, const Rect *sourceRect, const Rect *destRect, Format …
DFrameBufferDD.hpp32 …void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t …
35 …void blit(HWND windowOverride, void *source, const Rect *sourceRect, const Rect *destRect, Format …
DFrameBufferAndroid.hpp34 …void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t …
DFrameBufferOSX.hpp33 …void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t …
DFrameBufferX11.hpp39 …void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t …
DFrameBufferWin.hpp37 …virtual void blit(HWND windowOverride, void *source, const Rect *sourceRect, const Rect *destRect,…
DFrameBuffer.hpp49 …virtual void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat,…
/external/swiftshader/src/D3D9/
DDirect3DSwapChain9.cpp80 …long Direct3DSwapChain9::Present(const RECT *sourceRect, const RECT *destRect, HWND destWindowOver… in Present() argument
162 if(!sourceRect && !destRect) // FIXME: More cases? in Present()
179 if(destRect) in Present()
181 dRect.x0 = destRect->left; in Present()
182 dRect.y0 = destRect->top; in Present()
183 dRect.x1 = destRect->right; in Present()
184 dRect.y1 = destRect->bottom; in Present()
187 … frameBuffer->blit(window, source, sourceRect ? &sRect : 0, destRect ? &dRect : 0, format, stride); in Present()
DDirect3DDevice9Ex.cpp607 …long Direct3DDevice9Ex::Present(const RECT *sourceRect, const RECT *destRect, HWND destWindowOverr… in Present() argument
609 …WindowOverride = %d, const RGNDATA *dirtyRegion = 0x%0.8p", sourceRect, destRect, destWindowOverri… in Present()
611 return Direct3DDevice9::Present(sourceRect, destRect, destWindowOverride, dirtyRegion); in Present()
873 …ce, const RECT *sourceRect, IDirect3DSurface9 *destSurface, const RECT *destRect, D3DTEXTUREFILTER… in StretchRect() argument
875 …0.8p, D3DTEXTUREFILTERTYPE filter = %d", sourceSurface, sourceRect, destSurface, destRect, filter); in StretchRect()
877 return Direct3DDevice9::StretchRect(sourceSurface, sourceRect, destSurface, destRect, filter); in StretchRect()
DDirect3DSwapChain9.hpp43 …long __stdcall Present(const RECT *sourceRect, const RECT *destRect, HWND destWindowOverride, cons…
DDirect3DDevice9.hpp138 …long __stdcall Present(const RECT *sourceRect, const RECT *destRect, HWND destWindowOverride, cons…
176 …ce, const RECT *sourceRect, IDirect3DSurface9 *destSurface, const RECT *destRect, D3DTEXTUREFILTER…
188 …ace, const RECT *sourceRect, Direct3DSurface9 *destSurface, const RECT *destRect, D3DTEXTUREFILTER…
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp497 …ce, const sw::SliceRect *sourceRect, sw::Surface *dest, const sw::SliceRect *destRect, bool filter) in stretchRect() argument
512 if(sourceRect && destRect) in stretchRect()
514 flipX = (sourceRect->x0 < sourceRect->x1) ^ (destRect->x0 < destRect->x1); in stretchRect()
515 flipY = (sourceRect->y0 < sourceRect->y1) ^ (destRect->y0 < destRect->y1); in stretchRect()
522 else if(destRect) in stretchRect()
524 flipX = (destRect->x0 > destRect->x1); in stretchRect()
525 flipY = (destRect->y0 > destRect->y1); in stretchRect()
553 if(destRect) in stretchRect()
555 dRect = *destRect; in stretchRect()
598 … sw::byte *destBuffer = (sw::byte*)dest->lockInternal(0, 0, destRect->slice, LOCK_DISCARD, PUBLIC); in stretchRect()
[all …]
DContext.cpp3881 sw::SliceRect destRect; in blitFramebuffer() local
3898 destRect.x0 = dstX0; in blitFramebuffer()
3899 destRect.x1 = dstX1; in blitFramebuffer()
3903 destRect.x0 = dstX1; in blitFramebuffer()
3904 destRect.x1 = dstX0; in blitFramebuffer()
3920 destRect.y0 = dstY0; in blitFramebuffer()
3921 destRect.y1 = dstY1; in blitFramebuffer()
3925 destRect.y0 = dstY1; in blitFramebuffer()
3926 destRect.y1 = dstY0; in blitFramebuffer()
3930 sw::Rect destScissoredRect = destRect; in blitFramebuffer()
[all …]
DDevice.hpp64 …t sw::SliceRect *sourceRect, sw::Surface *destSurface, const sw::SliceRect *destRect, bool filter);
/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/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/swiftshader/src/Renderer/
DBlitter.cpp49 …e *source, const SliceRect &sourceRect, Surface *dest, const SliceRect &destRect, const Blitter::O… in blit() argument
56 if(blitReactor(source, sourceRect, dest, destRect, options)) in blit()
62 SliceRect dRect = destRect; in blit()
64 bool flipX = destRect.x0 > destRect.x1; in blit()
65 bool flipY = destRect.y0 > destRect.y1; in blit()
1214 …e *source, const SliceRect &sourceRect, Surface *dest, const SliceRect &destRect, const Blitter::O… in blitReactor() argument
1218 Rect dRect = destRect; in blitReactor()
1220 if(destRect.x0 > destRect.x1) in blitReactor()
1225 if(destRect.y0 > destRect.y1) in blitReactor()
1263 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/libGL/
DContext.cpp2787 sw::SliceRect destRect; in blitFramebuffer() local
2793 destRect.x0 = dstX0; in blitFramebuffer()
2794 destRect.x1 = dstX1; in blitFramebuffer()
2799 destRect.x0 = dstX1; in blitFramebuffer()
2801 destRect.x1 = dstX0; in blitFramebuffer()
2807 destRect.y0 = dstY0; in blitFramebuffer()
2809 destRect.y1 = dstY1; in blitFramebuffer()
2814 destRect.y0 = dstY1; in blitFramebuffer()
2816 destRect.y1 = dstY0; in blitFramebuffer()
2820 sw::Rect destScissoredRect = destRect; in blitFramebuffer()
[all …]
DDevice.cpp483 … *source, const sw::SliceRect *sourceRect, Image *dest, const sw::SliceRect *destRect, bool filter) in stretchRect() argument
485 if(!source || !dest || !validRectangle(sourceRect, source) || !validRectangle(destRect, dest)) in stretchRect()
511 if(destRect) in stretchRect()
513 dRect = *destRect; in stretchRect()
DDevice.hpp71 …, const sw::SliceRect *sourceRect, Image *destSurface, const sw::SliceRect *destRect, bool filter);
/external/swiftshader/src/OpenGL/libGLES_CM/
DDevice.cpp368 …ce, const sw::SliceRect *sourceRect, sw::Surface *dest, const sw::SliceRect *destRect, bool filter) in stretchRect() argument
370 if(!source || !dest || !validRectangle(sourceRect, source) || !validRectangle(destRect, dest)) in stretchRect()
396 if(destRect) in stretchRect()
398 dRect = *destRect; in stretchRect()
DDevice.hpp60 …t sw::SliceRect *sourceRect, sw::Surface *destSurface, const sw::SliceRect *destRect, bool filter);

12