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()
550 for (i = 0; i < This->nswapchains; ++i) in NineDevice9_dtor()
678 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetDisplayMode()
852 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetSwapChain()
863 return This->nswapchains; in NineDevice9_GetNumberOfSwapChains()
880 for (i = 0; i < This->nswapchains; ++i) { in NineDevice9_Reset()
914 for (i = 0; i < This->nswapchains; ++i) { in NineDevice9_Present()
933 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetBackBuffer()
945 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetRasterStatus()
967 user_warn(iSwapChain >= This->nswapchains); in NineDevice9_SetGammaRamp()
970 if (pRamp && (iSwapChain < This->nswapchains)) { in NineDevice9_SetGammaRamp()
984 user_warn(iSwapChain >= This->nswapchains); in NineDevice9_GetGammaRamp()
987 if (pRamp && (iSwapChain < This->nswapchains)) in NineDevice9_GetGammaRamp()
1525 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL); in NineDevice9_GetFrontBufferData()