Lines Matching refs:iSwapChain
711 UINT iSwapChain, in NineDevice9_GetDisplayMode() argument
714 DBG("This=%p iSwapChain=%u pMode=%p\n", This, iSwapChain, pMode); in NineDevice9_GetDisplayMode()
716 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetDisplayMode()
718 return NineSwapChain9_GetDisplayMode(This->swapchains[iSwapChain], pMode); in NineDevice9_GetDisplayMode()
884 UINT iSwapChain, in NineDevice9_GetSwapChain() argument
890 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetSwapChain()
892 NineUnknown_AddRef(NineUnknown(This->swapchains[iSwapChain])); in NineDevice9_GetSwapChain()
893 *pSwapChain = (IDirect3DSwapChain9 *)This->swapchains[iSwapChain]; in NineDevice9_GetSwapChain()
963 UINT iSwapChain, in NineDevice9_GetBackBuffer() argument
971 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetBackBuffer()
973 return NineSwapChain9_GetBackBuffer(This->swapchains[iSwapChain], in NineDevice9_GetBackBuffer()
979 UINT iSwapChain, in NineDevice9_GetRasterStatus() argument
983 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetRasterStatus()
985 return NineSwapChain9_GetRasterStatus(This->swapchains[iSwapChain], in NineDevice9_GetRasterStatus()
998 UINT iSwapChain, in NineDevice9_SetGammaRamp() argument
1003 iSwapChain, Flags, pRamp); in NineDevice9_SetGammaRamp()
1005 user_warn(iSwapChain >= This->nswapchains); in NineDevice9_SetGammaRamp()
1008 if (pRamp && (iSwapChain < This->nswapchains)) { in NineDevice9_SetGammaRamp()
1009 struct NineSwapChain9 *swap = This->swapchains[iSwapChain]; in NineDevice9_SetGammaRamp()
1017 UINT iSwapChain, in NineDevice9_GetGammaRamp() argument
1020 DBG("This=%p iSwapChain=%u pRamp=%p\n", This, iSwapChain, pRamp); in NineDevice9_GetGammaRamp()
1022 user_warn(iSwapChain >= This->nswapchains); in NineDevice9_GetGammaRamp()
1025 if (pRamp && (iSwapChain < This->nswapchains)) in NineDevice9_GetGammaRamp()
1026 *pRamp = This->swapchains[iSwapChain]->gamma; in NineDevice9_GetGammaRamp()
1556 UINT iSwapChain, in NineDevice9_GetFrontBufferData() argument
1560 iSwapChain, pDestSurface); in NineDevice9_GetFrontBufferData()
1563 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetFrontBufferData()
1565 return NineSwapChain9_GetFrontBufferData(This->swapchains[iSwapChain], in NineDevice9_GetFrontBufferData()