Lines Matching refs:presentParameters

54 	Direct3DDevice9::Direct3DDevice9(const HINSTANCE instance, Direct3D9 *d3d9, unsigned int adapter, D3DDEVTYPE deviceType, HWND focusWindow, unsigned long behaviourFlags, D3DPRESENT_PARAMETERS *presentParameters) : instance(instance), adapter(adapter), d3d9(d3d9), deviceType(deviceType), focusWindow(focusWindow), behaviourFlags(behaviourFlags)
81 Reset(presentParameters);
487 long Direct3DDevice9::CreateAdditionalSwapChain(D3DPRESENT_PARAMETERS *presentParameters, IDirect3DSwapChain9 **swapChain)
491 TRACE("D3DPRESENT_PARAMETERS *presentParameters = 0x%0.8p, IDirect3DSwapChain9 **swapChain = 0x%0.8p", presentParameters, swapChain);
500 if(!presentParameters)
505 if(presentParameters->BackBufferCount > 3)
510 *swapChain = new Direct3DSwapChain9(this, presentParameters);
2310 long Direct3DDevice9::Reset(D3DPRESENT_PARAMETERS *presentParameters)
2314 TRACE("D3DPRESENT_PARAMETERS *presentParameters = 0x%0.8p", presentParameters);
2316 if(!presentParameters)
2321 deviceWindow = presentParameters->hDeviceWindow;
2346 swapChain = new Direct3DSwapChain9(this, presentParameters);
2351 swapChain->reset(presentParameters);
2354 if(presentParameters->EnableAutoDepthStencil != FALSE)
2358 switch(presentParameters->AutoDepthStencilFormat)
2382 autoDepthStencil = new Direct3DSurface9(this, this, presentParameters->BackBufferWidth, presentParameters->BackBufferHeight, presentParameters->AutoDepthStencilFormat, D3DPOOL_DEFAULT, presentParameters->MultiSampleType, presentParameters->MultiSampleQuality, lockable, D3DUSAGE_DEPTHSTENCIL);
2399 SetRenderState(D3DRS_ZENABLE, presentParameters->EnableAutoDepthStencil != FALSE ? D3DZB_TRUE : D3DZB_FALSE);