Lines Matching refs:pSourceRect
1030 const RECT *pSourceRect, in NineDevice9_Present() argument
1039 This, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion); in NineDevice9_Present()
1043 hr = NineSwapChain9_Present(This->swapchains[i], pSourceRect, pDestRect, in NineDevice9_Present()
1396 const RECT *pSourceRect, in NineDevice9_UpdateSurface() argument
1407 pSourceSurface, pDestinationSurface, pSourceRect, pDestPoint); in NineDevice9_UpdateSurface()
1408 if (pSourceRect) in NineDevice9_UpdateSurface()
1410 pSourceRect->left, pSourceRect->top, in NineDevice9_UpdateSurface()
1411 pSourceRect->right, pSourceRect->bottom); in NineDevice9_UpdateSurface()
1429 if (pSourceRect) { in NineDevice9_UpdateSurface()
1430 copy_width = pSourceRect->right - pSourceRect->left; in NineDevice9_UpdateSurface()
1431 copy_height = pSourceRect->bottom - pSourceRect->top; in NineDevice9_UpdateSurface()
1433 user_assert(pSourceRect->left >= 0 && in NineDevice9_UpdateSurface()
1435 pSourceRect->right <= src->desc.Width && in NineDevice9_UpdateSurface()
1436 pSourceRect->top >= 0 && in NineDevice9_UpdateSurface()
1438 pSourceRect->bottom <= src->desc.Height, in NineDevice9_UpdateSurface()
1468 if (pSourceRect) { in NineDevice9_UpdateSurface()
1469 user_assert(!(pSourceRect->left % w) && !(pSourceRect->top % h), in NineDevice9_UpdateSurface()
1481 NineSurface9_CopyMemToDefault(dst, src, pDestPoint, pSourceRect); in NineDevice9_UpdateSurface()
1672 const RECT *pSourceRect, in NineDevice9_StretchRect() argument
1687 This, pSourceSurface, pSourceRect, pDestSurface, pDestRect, Filter); in NineDevice9_StretchRect()
1688 if (pSourceRect) in NineDevice9_StretchRect()
1690 pSourceRect->left, pSourceRect->top, in NineDevice9_StretchRect()
1691 pSourceRect->right, pSourceRect->bottom); in NineDevice9_StretchRect()
1704 user_assert(!zs || !pSourceRect || in NineDevice9_StretchRect()
1705 (pSourceRect->left == 0 && in NineDevice9_StretchRect()
1706 pSourceRect->top == 0 && in NineDevice9_StretchRect()
1707 pSourceRect->right == src->desc.Width && in NineDevice9_StretchRect()
1708 pSourceRect->bottom == src->desc.Height), D3DERR_INVALIDCALL); in NineDevice9_StretchRect()
1732 user_assert(!pSourceRect || in NineDevice9_StretchRect()
1733 (pSourceRect->left <= pSourceRect->right && in NineDevice9_StretchRect()
1734 pSourceRect->top <= pSourceRect->bottom), D3DERR_INVALIDCALL); in NineDevice9_StretchRect()
1770 if (pSourceRect) { in NineDevice9_StretchRect()
1771 if (flip_x ^ (pSourceRect->left > pSourceRect->right)) { in NineDevice9_StretchRect()
1772 blit.src.box.x = pSourceRect->right; in NineDevice9_StretchRect()
1773 blit.src.box.width = pSourceRect->left - pSourceRect->right; in NineDevice9_StretchRect()
1775 blit.src.box.x = pSourceRect->left; in NineDevice9_StretchRect()
1776 blit.src.box.width = pSourceRect->right - pSourceRect->left; in NineDevice9_StretchRect()
1778 if (flip_y ^ (pSourceRect->top > pSourceRect->bottom)) { in NineDevice9_StretchRect()
1779 blit.src.box.y = pSourceRect->bottom; in NineDevice9_StretchRect()
1780 blit.src.box.height = pSourceRect->top - pSourceRect->bottom; in NineDevice9_StretchRect()
1782 blit.src.box.y = pSourceRect->top; in NineDevice9_StretchRect()
1783 blit.src.box.height = pSourceRect->bottom - pSourceRect->top; in NineDevice9_StretchRect()