Searched refs:_adapterIdx (Results 1 – 2 of 2) sorted by relevance
/external/OpenCL-CTS/test_extensions/media_sharing/ |
D | wrappers.cpp | 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() [all …]
|
D | wrappers.h | 120 unsigned int _adapterIdx; variable 146 unsigned int _adapterIdx; variable
|