Lines Matching refs:nswapchains
136 if (This->nswapchains && This->swapchains[0]->params.EnableAutoDepthStencil) { in NineDevice9_SetDefaultState()
253 This->nswapchains = ID3DPresentGroup_GetMultiheadCount(This->present); in NineDevice9_ctor()
254 This->swapchains = CALLOC(This->nswapchains, in NineDevice9_ctor()
258 for (i = 0; i < This->nswapchains; ++i) { in NineDevice9_ctor()
596 for (i = 0; i < This->nswapchains; ++i) in NineDevice9_dtor()
744 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetDisplayMode()
932 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetSwapChain()
943 return This->nswapchains; in NineDevice9_GetNumberOfSwapChains()
962 for (i = 0; i < This->nswapchains; ++i) { in NineDevice9_Reset()
996 for (i = 0; i < This->nswapchains; ++i) { in NineDevice9_Present()
1015 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetBackBuffer()
1027 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetRasterStatus()
1049 user_warn(iSwapChain >= This->nswapchains); in NineDevice9_SetGammaRamp()
1052 if (pRamp && (iSwapChain < This->nswapchains)) { in NineDevice9_SetGammaRamp()
1066 user_warn(iSwapChain >= This->nswapchains); in NineDevice9_GetGammaRamp()
1069 if (pRamp && (iSwapChain < This->nswapchains)) in NineDevice9_GetGammaRamp()
1617 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetFrontBufferData()