Lines Matching refs:presentParameters
27 …Device8 *device, D3DPRESENT_PARAMETERS *presentParameters) : device(device), presentParameters(*pr… in Direct3DSwapChain8() argument
36 reset(presentParameters); in Direct3DSwapChain8()
141 void Direct3DSwapChain8::reset(D3DPRESENT_PARAMETERS *presentParameters) in reset() argument
145 this->presentParameters = *presentParameters; in reset()
147 ASSERT(presentParameters->BackBufferCount <= 3); // Maximum of three back buffers in reset()
149 if(presentParameters->BackBufferCount == 0) in reset()
151 presentParameters->BackBufferCount = 1; in reset()
157 …HWND windowHandle = presentParameters->hDeviceWindow ? presentParameters->hDeviceWindow : creation… in reset()
162 …if(presentParameters->Windowed && (presentParameters->BackBufferHeight == 0 || presentParameters->… in reset()
172 width = presentParameters->BackBufferWidth; in reset()
173 height = presentParameters->BackBufferHeight; in reset()
176 …teFrameBufferWin(windowHandle, presentParameters->BackBufferWidth, presentParameters->BackBufferHe… in reset()
178 lockable = presentParameters->Flags & D3DPRESENTFLAG_LOCKABLE_BACKBUFFER; in reset()
184 for(int i = 0; i < (int)presentParameters->BackBufferCount; i++) in reset()
186 …t3DSurface8(device, this, width, height, presentParameters->BackBufferFormat, D3DPOOL_DEFAULT, pre… in reset()