Searched refs:pFactory (Results 1 – 4 of 4) sorted by relevance
17 void get_hardware_adapter(IDXGIFactory4* pFactory, IDXGIAdapter1** ppAdapter) { in get_hardware_adapter() argument21 if (DXGI_ERROR_NOT_FOUND == pFactory->EnumAdapters1(adapterIndex, &pAdapter)) { in get_hardware_adapter()
47 IDXGIFactory* pFactory; member542 IDXGIFactory* pFactory = NULL; in ImGui_ImplDX10_Init() local545 if (pDXGIAdapter->GetParent(IID_PPV_ARGS(&pFactory)) == S_OK) in ImGui_ImplDX10_Init()548 bd->pFactory = pFactory; in ImGui_ImplDX10_Init()564 if (bd->pFactory) { bd->pFactory->Release(); } in ImGui_ImplDX10_Shutdown()
48 IDXGIFactory* pFactory; member554 IDXGIFactory* pFactory = NULL; in ImGui_ImplDX11_Init() local558 if (pDXGIAdapter->GetParent(IID_PPV_ARGS(&pFactory)) == S_OK) in ImGui_ImplDX11_Init()562 bd->pFactory = pFactory; in ImGui_ImplDX11_Init()579 if (bd->pFactory) { bd->pFactory->Release(); } in ImGui_ImplDX11_Shutdown()
1289 IDXGIFactory1* pFactory = NULL; in DX11OperationSupport() local1290 hr = CreateDXGIFactory1(__uuidof(IDXGIFactory), (void**)&pFactory); in DX11OperationSupport()1295 for (UINT i = 0; pFactory->EnumAdapters(i, &pAdapter) != DXGI_ERROR_NOT_FOUND; ++i) in DX11OperationSupport()1303 pFactory->Release(); in DX11OperationSupport()