Lines Matching refs:nswapchains
113 if (This->nswapchains && This->swapchains[0]->params.EnableAutoDepthStencil) { in NineDevice9_SetDefaultState()
224 This->nswapchains = ID3DPresentGroup_GetMultiheadCount(This->present); in NineDevice9_ctor()
225 This->swapchains = CALLOC(This->nswapchains, in NineDevice9_ctor()
229 for (i = 0; i < This->nswapchains; ++i) { in NineDevice9_ctor()
588 for (i = 0; i < This->nswapchains; ++i) in NineDevice9_dtor()
716 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetDisplayMode()
890 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetSwapChain()
901 return This->nswapchains; in NineDevice9_GetNumberOfSwapChains()
918 for (i = 0; i < This->nswapchains; ++i) { in NineDevice9_Reset()
952 for (i = 0; i < This->nswapchains; ++i) { in NineDevice9_Present()
971 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetBackBuffer()
983 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetRasterStatus()
1005 user_warn(iSwapChain >= This->nswapchains); in NineDevice9_SetGammaRamp()
1008 if (pRamp && (iSwapChain < This->nswapchains)) { in NineDevice9_SetGammaRamp()
1022 user_warn(iSwapChain >= This->nswapchains); in NineDevice9_GetGammaRamp()
1025 if (pRamp && (iSwapChain < This->nswapchains)) in NineDevice9_GetGammaRamp()
1563 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetFrontBufferData()