Home
last modified time | relevance | path

Searched refs:sourceRect (Results 1 – 25 of 42) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBlit9.cpp222 const RECT &sourceRect, in copy2D() argument
248 ANGLE_TRY(copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copy2D()
255 const RECT &sourceRect, in copyCube() argument
281 return copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copyCube()
288 const RECT &sourceRect, in copyTexture() argument
323 return copy(context9, sourceSurface.Get(), sourceTexture, sourceRect, destFormat, destOffset, in copyTexture()
330 const RECT &sourceRect, in copy() argument
353 destOffset.x + (sourceRect.right - sourceRect.left), in copy()
354 destOffset.y + (sourceRect.bottom - sourceRect.top)}; in copy()
355 HRESULT result = device->StretchRect(source, &sourceRect, dest, &destRect, D3DTEXF_POINT); in copy()
[all …]
DBlit9.h48 const RECT &sourceRect,
55 const RECT &sourceRect,
64 const RECT &sourceRect,
91 const RECT &sourceRect,
108 const RECT &sourceRect,
117 const RECT &sourceRect,
119 void setViewportAndShaderConstants(const RECT &sourceRect,
DImage9.cpp158 const gl::Rectangle &sourceRect, in CopyImage() argument
200 sourceRect.x * sourceD3DFormatInfo.pixelBytes + in CopyImage()
201 sourceRect.y * sourceLocked.Pitch; in CopyImage()
211 destD3DFormatInfo.info().componentType, sourceRect.width, sourceRect.height, in CopyImage()
587 RECT sourceRect = {sourceArea.x, sourceArea.y, sourceArea.x + width, sourceArea.y + height}; in copyFromRTInternal() local
591 hr = renderTargetData->LockRect(&sourceLock, &sourceRect, 0); in copyFromRTInternal()
DRenderer9.h197 const gl::Rectangle &sourceRect,
204 const gl::Rectangle &sourceRect,
212 const gl::Rectangle &sourceRect,
219 const gl::Rectangle &sourceRect,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBlit9.cpp222 const RECT &sourceRect, in copy2D() argument
248 ANGLE_TRY(copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copy2D()
255 const RECT &sourceRect, in copyCube() argument
281 return copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copyCube()
288 const RECT &sourceRect, in copyTexture() argument
323 return copy(context9, sourceSurface.Get(), sourceTexture, sourceRect, destFormat, destOffset, in copyTexture()
330 const RECT &sourceRect, in copy() argument
353 destOffset.x + (sourceRect.right - sourceRect.left), in copy()
354 destOffset.y + (sourceRect.bottom - sourceRect.top)}; in copy()
355 HRESULT result = device->StretchRect(source, &sourceRect, dest, &destRect, D3DTEXF_POINT); in copy()
[all …]
DBlit9.h48 const RECT &sourceRect,
55 const RECT &sourceRect,
64 const RECT &sourceRect,
91 const RECT &sourceRect,
108 const RECT &sourceRect,
117 const RECT &sourceRect,
119 void setViewportAndShaderConstants(const RECT &sourceRect,
DImage9.cpp158 const gl::Rectangle &sourceRect, in CopyImage() argument
200 sourceRect.x * sourceD3DFormatInfo.pixelBytes + in CopyImage()
201 sourceRect.y * sourceLocked.Pitch; in CopyImage()
211 destD3DFormatInfo.info().componentType, sourceRect.width, sourceRect.height, in CopyImage()
589 RECT sourceRect = {sourceArea.x, sourceArea.y, sourceArea.x + width, sourceArea.y + height}; in copyFromRTInternal() local
593 hr = renderTargetData->LockRect(&sourceLock, &sourceRect, 0); in copyFromRTInternal()
DRenderer9.h179 const gl::Rectangle &sourceRect,
186 const gl::Rectangle &sourceRect,
194 const gl::Rectangle &sourceRect,
201 const gl::Rectangle &sourceRect,
/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
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()
DFrameBufferWin.hpp37 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…
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) …
DFrameBufferDD.cpp284 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()
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;
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp442 …bool Device::stretchRect(sw::Surface *source, const sw::SliceRectF *sourceRect, sw::Surface *dest,… in stretchRect() argument
455 if(sourceRect && destRect && in stretchRect()
456 (sourceRect->width() == 0.0f || !std::isfinite(sourceRect->width()) || in stretchRect()
457 sourceRect->height() == 0.0f || !std::isfinite(sourceRect->height()) || 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()
470 else if(sourceRect) in stretchRect()
472 flipX = (sourceRect->x0 > sourceRect->x1); in stretchRect()
473 flipY = (sourceRect->y0 > sourceRect->y1); in stretchRect()
[all …]
DTexture.cpp388 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()
645 sw::SliceRect sourceRect(x, y, x + width, y + height, 0); in copyImage() local
646 sourceRect.clip(0, 0, renderTarget->getWidth(), renderTarget->getHeight()); in copyImage()
648 copy(renderTarget, sourceRect, 0, 0, 0, image[level]); in copyImage()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DRendererD3D.h198 const gl::Rectangle &sourceRect,
205 const gl::Rectangle &sourceRect,
213 const gl::Rectangle &sourceRect,
220 const gl::Rectangle &sourceRect,
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.h172 const gl::Rectangle &sourceRect,
179 const gl::Rectangle &sourceRect,
187 const gl::Rectangle &sourceRect,
194 const gl::Rectangle &sourceRect,
541 const gl::Rectangle &sourceRect,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DRendererD3D.h207 const gl::Rectangle &sourceRect,
214 const gl::Rectangle &sourceRect,
222 const gl::Rectangle &sourceRect,
229 const gl::Rectangle &sourceRect,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.h137 const gl::Rectangle &sourceRect,
144 const gl::Rectangle &sourceRect,
152 const gl::Rectangle &sourceRect,
159 const gl::Rectangle &sourceRect,
528 const gl::Rectangle &sourceRect,

12