/external/swiftshader/src/WSI/ |
D | FrameBufferGDI.cpp | 79 void FrameBufferGDI::blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument 83 int sourceLeft = sourceRect ? sourceRect->x0 : 0; in blit() 84 int sourceTop = sourceRect ? sourceRect->y0 : 0; in blit() 85 int sourceWidth = sourceRect ? sourceRect->x1 - sourceRect->x0 : width; in blit() 86 int sourceHeight = sourceRect ? sourceRect->y1 - sourceRect->y0 : height; in blit() 100 …void FrameBufferGDI::blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const … in blit() argument 108 blit(source, sourceRect, destRect); in blit()
|
D | FrameBufferGDI.hpp | 30 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) …
|
D | FrameBufferWin.hpp | 37 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override = 0; 40 …virtual void blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const Rect *de…
|
D | FrameBufferDD.cpp | 277 void FrameBufferDD::blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument 305 long result = frontBuffer->Blt(&dRect, backBuffer, (LPRECT)sourceRect, DDBLT_WAIT, 0); in blit() 324 …void FrameBufferDD::blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const R… in blit() argument 329 blit(source, sourceRect, destRect); in blit()
|
D | FrameBufferDD.hpp | 32 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) …
|
D | FrameBufferOzone.hpp | 30 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
|
D | FrameBufferAndroid.hpp | 34 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
|
D | FrameBufferOSX.hpp | 33 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
|
D | FrameBufferX11.hpp | 35 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
|
/external/swiftshader/src/Main/ |
D | FrameBufferGDI.cpp | 79 void FrameBufferGDI::blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument 83 int sourceLeft = sourceRect ? sourceRect->x0 : 0; in blit() 84 int sourceTop = sourceRect ? sourceRect->y0 : 0; in blit() 85 int sourceWidth = sourceRect ? sourceRect->x1 - sourceRect->x0 : width; in blit() 86 int sourceHeight = sourceRect ? sourceRect->y1 - sourceRect->y0 : height; in blit() 100 …void FrameBufferGDI::blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const … in blit() argument 108 blit(source, sourceRect, destRect); in blit()
|
D | FrameBufferWin.hpp | 37 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override = 0; 40 …virtual void blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const Rect *de…
|
D | FrameBufferGDI.hpp | 30 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) …
|
D | FrameBufferDD.hpp | 32 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) …
|
D | FrameBufferDD.cpp | 284 void FrameBufferDD::blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit() argument 312 long result = frontBuffer->Blt(&dRect, backBuffer, (LPRECT)sourceRect, DDBLT_WAIT, 0); in blit() 331 …void FrameBufferDD::blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const R… in blit() argument 336 blit(source, sourceRect, destRect); in blit()
|
D | FrameBufferOzone.hpp | 30 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
|
D | FrameBufferAndroid.hpp | 34 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
|
D | FrameBufferOSX.hpp | 33 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
|
/external/swiftshader/src/D3D8/ |
D | Direct3DSwapChain8.cpp | 76 …long Direct3DSwapChain8::Present(const RECT *sourceRect, const RECT *destRect, HWND destWindowOver… in Present() argument 84 if(!sourceRect && !destRect) // FIXME: More cases? in Present() 93 if(sourceRect) in Present() 95 sRect.x0 = sourceRect->left; in Present() 96 sRect.y0 = sourceRect->top; in Present() 97 sRect.x1 = sourceRect->right; in Present() 98 sRect.y1 = sourceRect->bottom; in Present() 109 …frameBuffer->blit(destWindowOverride, backBuffer[0], sourceRect ? &sRect : nullptr, destRect ? &dR… in Present()
|
/external/swiftshader/src/D3D9/ |
D | Direct3DSwapChain9.cpp | 80 …long Direct3DSwapChain9::Present(const RECT *sourceRect, const RECT *destRect, HWND destWindowOver… in Present() argument 159 if(!sourceRect && !destRect) // FIXME: More cases? in Present() 168 if(sourceRect) in Present() 170 sRect.x0 = sourceRect->left; in Present() 171 sRect.y0 = sourceRect->top; in Present() 172 sRect.x1 = sourceRect->right; in Present() 173 sRect.y1 = sourceRect->bottom; in Present() 184 …frameBuffer->blit(window, backBuffer[0], sourceRect ? &sRect : nullptr, destRect ? &dRect : nullpt… in Present()
|
D | Direct3DDevice9Ex.cpp | 607 …long Direct3DDevice9Ex::Present(const RECT *sourceRect, const RECT *destRect, HWND destWindowOverr… in Present() argument 609 …, HWND destWindowOverride = %d, const RGNDATA *dirtyRegion = 0x%0.8p", sourceRect, destRect, destW… in Present() 611 return Direct3DDevice9::Present(sourceRect, destRect, destWindowOverride, dirtyRegion); in Present() 873 …long Direct3DDevice9Ex::StretchRect(IDirect3DSurface9 *sourceSurface, const RECT *sourceRect, IDir… in StretchRect() argument 875 …*destRect = 0x%0.8p, D3DTEXTUREFILTERTYPE filter = %d", sourceSurface, sourceRect, destSurface, de… in StretchRect() 877 return Direct3DDevice9::StretchRect(sourceSurface, sourceRect, destSurface, destRect, filter); in StretchRect() 887 …long Direct3DDevice9Ex::UpdateSurface(IDirect3DSurface9 *sourceSurface, const RECT *sourceRect, ID… in UpdateSurface() argument 889 …onSurface = 0x%0.8p, const POINT *destPoint = 0x%0.8p", sourceSurface, sourceRect, destinationSurf… in UpdateSurface() 891 return Direct3DDevice9::UpdateSurface(sourceSurface, sourceRect, destinationSurface, destPoint); in UpdateSurface()
|
D | Direct3DDevice9.hpp | 138 …long __stdcall Present(const RECT *sourceRect, const RECT *destRect, HWND destWindowOverride, cons… 176 …long __stdcall StretchRect(IDirect3DSurface9 *sourceSurface, const RECT *sourceRect, IDirect3DSurf… 178 …long __stdcall UpdateSurface(IDirect3DSurface9 *sourceSurface, const RECT *sourceRect, IDirect3DSu… 188 …void stretchRect(Direct3DSurface9 *sourceSurface, const RECT *sourceRect, Direct3DSurface9 *destSu…
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Device.cpp | 442 …bool Device::stretchRect(sw::Surface *source, const sw::SliceRectF *sourceRect, sw::Surface *dest,… 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() 462 else if(sourceRect) in stretchRect() 464 flipX = (sourceRect->x0 > sourceRect->x1); in stretchRect() 465 flipY = (sourceRect->y0 > sourceRect->y1); in stretchRect() 476 if(sourceRect) in stretchRect() 478 sRect.x0 = sourceRect->x0; in stretchRect() 479 sRect.x1 = sourceRect->x1; in stretchRect() [all …]
|
D | Texture.cpp | 388 bool Texture::copy(egl::Image *source, const sw::SliceRect &sourceRect, GLint xoffset, GLint yoffse… in copy() argument 392 …ect destRect(xoffset, yoffset, xoffset + (sourceRect.x1 - sourceRect.x0), yoffset + (sourceRect.y1… in copy() 393 sw::SliceRectF sourceRectF(static_cast<float>(sourceRect.x0), in copy() 394 static_cast<float>(sourceRect.y0), in copy() 395 static_cast<float>(sourceRect.x1), in copy() 396 static_cast<float>(sourceRect.y1), in copy() 397 sourceRect.slice); in copy() 630 sw::SliceRect sourceRect(x, y, x + width, y + height, 0); in copyImage() local 631 sourceRect.clip(0, 0, renderTarget->getWidth(), renderTarget->getHeight()); in copyImage() 633 copy(renderTarget, sourceRect, 0, 0, 0, image[level]); in copyImage() [all …]
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Texture.cpp | 276 bool Texture::copy(egl::Image *source, const sw::Rect &sourceRect, GLenum destFormat, GLint xoffset… in copy() argument 280 …ect destRect(xoffset, yoffset, xoffset + (sourceRect.x1 - sourceRect.x0), yoffset + (sourceRect.y1… in copy() 281 sw::SliceRect sourceSliceRect(sourceRect); in copy() 520 sw::Rect sourceRect = {x, y, x + width, y + height}; in copyImage() local 521 …sourceRect.clip(0, 0, source->getColorbuffer()->getWidth(), source->getColorbuffer()->getHeight()); in copyImage() 523 copy(renderTarget, sourceRect, format, 0, 0, image[level]); in copyImage() 549 sw::Rect sourceRect = {x, y, x + width, y + height}; in copySubImage() local 550 sourceRect.clip(0, 0, source->getColorbuffer()->getWidth(), source->getColorbuffer()->getHeight()); in copySubImage() 552 copy(renderTarget, sourceRect, image[level]->getFormat(), xoffset, yoffset, image[level]); in copySubImage()
|
D | Device.cpp | 318 …bool Device::stretchRect(sw::Surface *source, const sw::SliceRect *sourceRect, sw::Surface *dest, … in stretchRect() argument 320 if(!source || !dest || !validRectangle(sourceRect, source) || !validRectangle(destRect, dest)) in stretchRect() 334 if(sourceRect) in stretchRect() 336 sRect = *sourceRect; in stretchRect()
|