• Home
  • Raw
  • Download

Lines Matching refs:sourceRect

222                             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()
361 RECT adjustedSourceRect = sourceRect; in copy()
366 ANGLE_TRY(copySurfaceToTexture(context9, source, sourceRect, &texture)); in copy()
371 adjustedSourceRect.right = sourceRect.right - sourceRect.left; in copy()
373 adjustedSourceRect.bottom = sourceRect.bottom - sourceRect.top; in copy()
375 sourceSize.width = sourceRect.right - sourceRect.left; in copy()
376 sourceSize.height = sourceRect.bottom - sourceRect.top; in copy()
386 const RECT &sourceRect, in formatConvert() argument
406 destRect.right = destOffset.x + (sourceRect.right - sourceRect.left); in formatConvert()
408 destRect.bottom = destOffset.y + (sourceRect.bottom - sourceRect.top); in formatConvert()
410 setViewportAndShaderConstants(sourceRect, sourceSize, destRect, flipY); in formatConvert()
584 const RECT &sourceRect, in copySurfaceToTexture() argument
597 sourceRect.right - sourceRect.left, sourceRect.bottom - sourceRect.top, 1, in copySurfaceToTexture()
606 result = device->StretchRect(surface, &sourceRect, textureSurface.Get(), nullptr, D3DTEXF_NONE); in copySurfaceToTexture()
613 void Blit9::setViewportAndShaderConstants(const RECT &sourceRect, in setViewportAndShaderConstants() argument
636 static_cast<float>(sourceRect.left) / sourceSize.width, in setViewportAndShaderConstants()
637 static_cast<float>(flipY ? sourceRect.bottom : sourceRect.top) / sourceSize.height, in setViewportAndShaderConstants()
638 static_cast<float>(sourceRect.right - sourceRect.left) / sourceSize.width, in setViewportAndShaderConstants()
639 static_cast<float>(flipY ? sourceRect.top - sourceRect.bottom in setViewportAndShaderConstants()
640 : sourceRect.bottom - sourceRect.top) / in setViewportAndShaderConstants()