Lines Matching refs:presentParameters
29 …Device9 *device, D3DPRESENT_PARAMETERS *presentParameters) : device(device), presentParameters(*pr… in Direct3DSwapChain9() argument
38 reset(presentParameters); in Direct3DSwapChain9()
151 HWND window = destWindowOverride ? destWindowOverride : presentParameters.hDeviceWindow; in Present()
301 long Direct3DSwapChain9::GetPresentParameters(D3DPRESENT_PARAMETERS *presentParameters) in GetPresentParameters() argument
307 if(!presentParameters) in GetPresentParameters()
312 *presentParameters = this->presentParameters; in GetPresentParameters()
317 void Direct3DSwapChain9::reset(D3DPRESENT_PARAMETERS *presentParameters) in reset() argument
321 ASSERT(presentParameters->BackBufferCount <= 3); // Maximum of three back buffers in reset()
323 if(presentParameters->BackBufferCount == 0) in reset()
325 presentParameters->BackBufferCount = 1; in reset()
328 if(presentParameters->BackBufferFormat == D3DFMT_UNKNOWN) in reset()
333 presentParameters->BackBufferFormat = displayMode.Format; in reset()
339 …HWND windowHandle = presentParameters->hDeviceWindow ? presentParameters->hDeviceWindow : creation… in reset()
341 …if(presentParameters->Windowed && (presentParameters->BackBufferHeight == 0 || presentParameters->… in reset()
346 presentParameters->BackBufferWidth = rectangle.right - rectangle.left; in reset()
347 presentParameters->BackBufferHeight = rectangle.bottom - rectangle.top; in reset()
350 …teFrameBufferWin(windowHandle, presentParameters->BackBufferWidth, presentParameters->BackBufferHe… in reset()
352 lockable = presentParameters->Flags & D3DPRESENTFLAG_LOCKABLE_BACKBUFFER; in reset()
358 for(int i = 0; i < (int)presentParameters->BackBufferCount; i++) in reset()
360 …presentParameters->BackBufferWidth, presentParameters->BackBufferHeight, presentParameters->BackBu… in reset()
364 this->presentParameters = *presentParameters; in reset()