Home
last modified time | relevance | path

Searched refs:dxgiAdapter (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBackendD3D12.cpp71 ComPtr<IDXGIAdapter> dxgiAdapter) { in CreateAdapterFromIDXGIAdapter() argument
73 DAWN_TRY(CheckHRESULT(dxgiAdapter.As(&dxgiAdapter3), "DXGIAdapter retrieval")); in CreateAdapterFromIDXGIAdapter()
170 if (options->dxgiAdapter != nullptr) { in DiscoverAdapters()
173 DAWN_TRY_ASSIGN(adapter, CreateAdapterFromIDXGIAdapter(this, options->dxgiAdapter)); in DiscoverAdapters()
180 ComPtr<IDXGIAdapter1> dxgiAdapter = nullptr; in DiscoverAdapters() local
181 if (mFactory->EnumAdapters1(adapterIndex, &dxgiAdapter) == DXGI_ERROR_NOT_FOUND) { in DiscoverAdapters()
185 ASSERT(dxgiAdapter != nullptr); in DiscoverAdapters()
187 CreateAdapterFromIDXGIAdapter(this, dxgiAdapter); in DiscoverAdapters()
DD3D12Backend.cpp175 : AdapterDiscoveryOptionsBase(WGPUBackendType_D3D12), dxgiAdapter(nullptr) { in AdapterDiscoveryOptions()
179 : AdapterDiscoveryOptionsBase(WGPUBackendType_D3D12), dxgiAdapter(std::move(adapter)) { in AdapterDiscoveryOptions()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DAdapterDiscoveryTests.cpp112 ComPtr<IDXGIAdapter1> dxgiAdapter = nullptr; in TEST() local
113 if (dxgiFactory->EnumAdapters1(adapterIndex, &dxgiAdapter) == DXGI_ERROR_NOT_FOUND) { in TEST()
120 options.dxgiAdapter = std::move(dxgiAdapter); in TEST()
DD3D12VideoViewsTests.cpp45 ComPtr<IDXGIAdapter> dxgiAdapter; in SetUp() local
46 hr = dxgiFactory->EnumAdapterByLuid(adapterLuid, IID_PPV_ARGS(&dxgiAdapter)); in SetUp()
52 hr = ::D3D11CreateDevice(dxgiAdapter.Get(), D3D_DRIVER_TYPE_UNKNOWN, nullptr, 0, in SetUp()
DD3D12ResourceWrappingTests.cpp52 ComPtr<IDXGIAdapter> dxgiAdapter; in SetUp() local
53 hr = dxgiFactory->EnumAdapterByLuid(adapterLuid, IID_PPV_ARGS(&dxgiAdapter)); in SetUp()
59 hr = ::D3D11CreateDevice(dxgiAdapter.Get(), D3D_DRIVER_TYPE_UNKNOWN, nullptr, 0, in SetUp()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp377 IDXGIAdapter *dxgiAdapter = nullptr; in GetDXGIFactoryFromDevice() local
378 result = dxgiDevice->GetParent(__uuidof(IDXGIAdapter), reinterpret_cast<void **>(&dxgiAdapter)); in GetDXGIFactoryFromDevice()
387 dxgiAdapter->GetParent(__uuidof(IDXGIFactory), reinterpret_cast<void **>(&dxgiFactory)); in GetDXGIFactoryFromDevice()
388 SafeRelease(dxgiAdapter); in GetDXGIFactoryFromDevice()
/third_party/skia/third_party/externals/dawn/src/include/dawn_native/
DD3D12Backend.h101 Microsoft::WRL::ComPtr<IDXGIAdapter> dxgiAdapter; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
Drenderer11_utils.cpp2074 IDXGIAdapter *dxgiAdapter = nullptr; in GetDeviceType() local
2082 hr = dxgiDevice->GetParent(__uuidof(IDXGIAdapter), (void **)&dxgiAdapter); in GetDeviceType()
2087 dxgiAdapter->QueryInterface(__uuidof(dxgiAdapter2), (void **)&dxgiAdapter2); in GetDeviceType()
2100 dxgiAdapter->GetDesc(&adapterDesc); in GetDeviceType()
2128 SafeRelease(dxgiAdapter); in GetDeviceType()