Lines Matching refs:_adapterIdx
144 _d3d9(NULL), _d3dDevice(NULL), _status(DEVICE_PASS), _adapterIdx(0), _adapterFound(false) in CD3D9Wrapper()
184 _d3d9->GetAdapterDisplayMode(_adapterIdx - 1, &_d3ddm); in Init()
200 if ( FAILED( _d3d9->CreateDevice( _adapterIdx - 1, D3DDEVTYPE_HAL, WindowHandle(), in Init()
246 for(; _adapterIdx < _d3d9->GetAdapterCount();) in AdapterNext()
248 ++_adapterIdx; in AdapterNext()
250 if (FAILED(_d3d9->GetDeviceCaps(_adapterIdx - 1, D3DDEVTYPE_HAL, &caps))) in AdapterNext()
253 if(FAILED(_d3d9->GetAdapterIdentifier(_adapterIdx - 1, 0, &_adapter))) in AdapterNext()
276 return _adapterIdx - 1; in AdapterIdx()
281 _d3d9Ex(NULL), _d3dDeviceEx(NULL), _status(DEVICE_PASS), _adapterIdx(0), _adapterFound(false) in CD3D9ExWrapper()
352 if ( FAILED( _d3d9Ex->CreateDeviceEx( _adapterIdx - 1, D3DDEVTYPE_HAL, WindowHandle(), in Init()
385 for(; _adapterIdx < _d3d9Ex->GetAdapterCount();) in AdapterNext()
387 ++_adapterIdx; in AdapterNext()
389 if (FAILED(_d3d9Ex->GetDeviceCaps(_adapterIdx - 1, D3DDEVTYPE_HAL, &caps))) in AdapterNext()
392 if(FAILED(_d3d9Ex->GetAdapterIdentifier(_adapterIdx - 1, 0, &_adapter))) in AdapterNext()
415 return _adapterIdx - 1; in AdapterIdx()