Home
last modified time | relevance | path

Searched refs:pAdapter (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/tools/gpu/d3d/
DD3DTestUtils.cpp20 IDXGIAdapter1* pAdapter = nullptr; in get_hardware_adapter() local
21 if (DXGI_ERROR_NOT_FOUND == pFactory->EnumAdapters1(adapterIndex, &pAdapter)) { in get_hardware_adapter()
28 if (SUCCEEDED(D3D12CreateDevice(pAdapter, D3D_FEATURE_LEVEL_11_0, _uuidof(ID3D12Device), in get_hardware_adapter()
30 *ppAdapter = pAdapter; in get_hardware_adapter()
33 pAdapter->Release(); in get_hardware_adapter()
/third_party/vulkan-loader/tests/framework/shim/
Dwindows_shim.cpp170 HRESULT __stdcall ShimGetDesc1(IDXGIAdapter1 *pAdapter, in ShimGetDesc1() argument
173 if (pAdapter == nullptr || pDesc == nullptr) return DXGI_ERROR_INVALID_CALL; in ShimGetDesc1()
174 auto it = platform_shim.dxgi_adapter_map.find(pAdapter); in ShimGetDesc1()
200 ULONG __stdcall ShimRelease(IDXGIAdapter1 *pAdapter) { in ShimRelease() argument
201 if (pAdapter != nullptr) { in ShimRelease()
202 if (pAdapter->lpVtbl != nullptr) { in ShimRelease()
203 delete pAdapter->lpVtbl; in ShimRelease()
205 delete pAdapter; in ShimRelease()
227 auto *pAdapter = create_IDXGIAdapter1(); in ShimEnumAdapters1_1() local
228 *ppAdapter = pAdapter; in ShimEnumAdapters1_1()
[all …]
/third_party/ffmpeg/libavutil/
Dhwcontext_d3d11va.c546 IDXGIAdapter *pAdapter = NULL; in d3d11va_device_create() local
573 if (FAILED(IDXGIFactory2_EnumAdapters(pDXGIFactory, adapter, &pAdapter))) in d3d11va_device_create()
574 pAdapter = NULL; in d3d11va_device_create()
579 if (pAdapter) { in d3d11va_device_create()
581 hr = IDXGIAdapter2_GetDesc(pAdapter, &desc); in d3d11va_device_create()
588 …hr = mD3D11CreateDevice(pAdapter, pAdapter ? D3D_DRIVER_TYPE_UNKNOWN : D3D_DRIVER_TYPE_HARDWARE, N… in d3d11va_device_create()
590 if (pAdapter) in d3d11va_device_create()
591 IDXGIAdapter_Release(pAdapter); in d3d11va_device_create()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DAdapter.cpp261 Adapter *pAdapter = CastAdapter(hAdapter); in CloseAdapter() local
262 struct pipe_screen *screen = pAdapter->screen; in CloseAdapter()
264 free(pAdapter); in CloseAdapter()
DDevice.cpp127 Adapter *pAdapter = CastAdapter(hAdapter); in CreateDevice() local
132 struct pipe_screen *screen = pAdapter->screen; in CreateDevice()
/third_party/mesa3d/src/gallium/targets/d3d10sw/tests/
Dtri.cpp142 ComPtr<IDXGIAdapter> pAdapter; in main() local
143 hr = pDXGIDevice->GetAdapter(&pAdapter); in main()
149 hr = pAdapter->GetDesc(&Desc); in main()
/third_party/skia/src/gpu/d3d/
DGrD3DAMDMemoryAllocator.cpp14 allocatorDesc.pAdapter = adapter; in Make()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationWin32KeyedMutexTests.cpp1297 IDXGIAdapter *pAdapter = NULL; in DX11OperationSupport() local
1298 for (UINT i = 0; pFactory->EnumAdapters(i, &pAdapter) != DXGI_ERROR_NOT_FOUND; ++i) in DX11OperationSupport()
1301 pAdapter->GetDesc(&desc); in DX11OperationSupport()
1315 hr = m_fnD3D11CreateDevice (pAdapter, in DX11OperationSupport()
1316 pAdapter ? D3D_DRIVER_TYPE_UNKNOWN : D3D_DRIVER_TYPE_HARDWARE, in DX11OperationSupport()
1326 if (pAdapter) { in DX11OperationSupport()
1327 pAdapter->Release(); in DX11OperationSupport()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationWin32KeyedMutexTests.cpp1297 IDXGIAdapter *pAdapter = NULL; in DX11OperationSupport() local
1298 for (UINT i = 0; pFactory->EnumAdapters(i, &pAdapter) != DXGI_ERROR_NOT_FOUND; ++i) in DX11OperationSupport()
1301 pAdapter->GetDesc(&desc); in DX11OperationSupport()
1315 hr = m_fnD3D11CreateDevice (pAdapter, in DX11OperationSupport()
1316 pAdapter ? D3D_DRIVER_TYPE_UNKNOWN : D3D_DRIVER_TYPE_HARDWARE, in DX11OperationSupport()
1326 if (pAdapter) { in DX11OperationSupport()
1327 pAdapter->Release(); in DX11OperationSupport()
/third_party/mesa3d/src/gallium/targets/d3d10sw/
DREADME.md27 D3D11CreateDeviceAndSwapChain(NULL, /* pAdapter */
/third_party/skia/third_party/externals/d3d12allocator/src/
DD3D12MemAlloc.h1106 IDXGIAdapter* pAdapter; member
DD3D12MemAlloc.cpp4063 m_Adapter(desc.pAdapter), in AllocatorPimpl()
4099 desc.pAdapter->QueryInterface<IDXGIAdapter3>(&m_Adapter3); in Init()
5745 if(!pDesc || !ppAllocator || !pDesc->pDevice || !pDesc->pAdapter || in CreateAllocator()
DD3D12Sample.cpp424 desc.pAdapter = adapter; in InitD3D()
/third_party/openGLES/extensions/NV/
DWGL_NV_DX_interop2.txt160 hr = D3D11CreateDeviceAndSwapChain(NULL, // pAdapter
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DWGL_NV_DX_interop2.txt160 hr = D3D11CreateDeviceAndSwapChain(NULL, // pAdapter