/third_party/skia/third_party/externals/dawn/examples/ |
D | SampleUtils.cpp | 70 static wgpu::BackendType backendType = wgpu::BackendType::D3D12; variable 72 static wgpu::BackendType backendType = wgpu::BackendType::Metal; variable 74 static wgpu::BackendType backendType = wgpu::BackendType::Vulkan; variable 76 static wgpu::BackendType backendType = wgpu::BackendType::OpenGLES; variable 78 static wgpu::BackendType backendType = wgpu::BackendType::OpenGL; variable 106 utils::SetupGLFWWindowHintsForBackend(backendType); in CreateCppDawnDevice() 114 utils::DiscoverAdapter(instance.get(), window, backendType); in CreateCppDawnDevice() 124 return properties.backendType == backendType; in CreateCppDawnDevice() 133 binding = utils::CreateBinding(backendType, window, backendDevice); in CreateCppDawnDevice() 213 backendType = wgpu::BackendType::D3D12; in InitSample() [all …]
|
D | ManualSwapChainTest.cpp | 280 if (properties.backendType != wgpu::BackendType::Null) { in main()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Instance.cpp | 49 BackendConnection* Connect(InstanceBase* instance, wgpu::BackendType backendType); 156 void InstanceBase::EnsureBackendConnection(wgpu::BackendType backendType) { in EnsureBackendConnection() argument 157 if (mBackendsConnected[backendType]) { in EnsureBackendConnection() 169 switch (backendType) { in EnsureBackendConnection() 212 mBackendsConnected.set(backendType); in EnsureBackendConnection() 216 wgpu::BackendType backendType = static_cast<wgpu::BackendType>(options->backendType); in DiscoverAdaptersInternal() local 217 DAWN_TRY(ValidateBackendType(backendType)); in DiscoverAdaptersInternal() 219 if (!GetEnabledBackends()[backendType]) { in DiscoverAdaptersInternal() 220 return DAWN_FORMAT_VALIDATION_ERROR("%s not supported.", backendType); in DiscoverAdaptersInternal() 223 EnsureBackendConnection(backendType); in DiscoverAdaptersInternal() [all …]
|
D | DawnNative.cpp | 53 properties->backendType = mImpl->GetBackendType(); in GetProperties() 143 : backendType(type) { in AdapterDiscoveryOptionsBase()
|
D | Instance.h | 93 void EnsureBackendConnection(wgpu::BackendType backendType);
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | AdapterDiscoveryTests.cpp | 63 EXPECT_EQ(properties.backendType, wgpu::BackendType::Vulkan); in TEST() 81 EXPECT_EQ(properties.backendType, wgpu::BackendType::Vulkan); in TEST() 99 EXPECT_EQ(properties.backendType, wgpu::BackendType::D3D12); in TEST() 128 EXPECT_EQ(properties.backendType, wgpu::BackendType::D3D12); in TEST() 147 EXPECT_EQ(properties.backendType, wgpu::BackendType::Metal); in TEST() 181 EXPECT_EQ(properties.backendType, wgpu::BackendType::OpenGL); in TEST() 222 EXPECT_EQ(properties.backendType, wgpu::BackendType::OpenGLES); in TEST() 245 ASSERT_EQ(properties.backendType, wgpu::BackendType::Metal); in TEST() 258 EXPECT_TRUE(properties.backendType == wgpu::BackendType::Metal || in TEST() 259 properties.backendType == wgpu::BackendType::Vulkan); in TEST() [all …]
|
D | DeviceInitializationTests.cpp | 43 if (properties.backendType == wgpu::BackendType::Null) { in TEST_F() 62 properties.backendType == desiredProperties.backendType) { in TEST_F()
|
D | BasicTests.cpp | 32 ASSERT_EQ(GetAdapterProperties().backendType, GetBackendTypeFilter()); in TEST_P()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | BackendGL.cpp | 122 Adapter(InstanceBase* instance, wgpu::BackendType backendType) in Adapter() argument 123 : AdapterBase(instance, backendType) { in Adapter() 269 Backend::Backend(InstanceBase* instance, wgpu::BackendType backendType) in Backend() argument 270 : BackendConnection(instance, backendType) { in Backend() 284 ASSERT(static_cast<wgpu::BackendType>(optionsBase->backendType) == GetType()); in DiscoverAdapters() 292 GetInstance(), static_cast<wgpu::BackendType>(optionsBase->backendType)); in DiscoverAdapters() 302 BackendConnection* Connect(InstanceBase* instance, wgpu::BackendType backendType) { in Connect() argument 303 return new Backend(instance, backendType); in Connect()
|
D | BackendGL.h | 24 Backend(InstanceBase* instance, wgpu::BackendType backendType);
|
/third_party/vk-gl-cts/external/amber/src/samples/ |
D | config_helper_dawn.cc | 68 ::dawn_native::BackendType backendType = ::dawn_native::BackendType::Metal; in CreateConfig() 70 ::dawn_native::BackendType backendType = ::dawn_native::BackendType::Vulkan; in CreateConfig() 73 if (adapter.GetBackendType() == backendType) { in CreateConfig()
|
/third_party/skia/third_party/externals/dawn/src/tests/ |
D | DawnTest.cpp | 114 BackendTestConfig::BackendTestConfig(wgpu::BackendType backendType, in BackendTestConfig() argument 117 : backendType(backendType), in BackendTestConfig() 171 os << ParamName(param.adapterProperties.backendType) << " " in operator <<() 504 selected &= properties.backendType == mBackendTypeFilter; in SelectPreferredAdapterProperties() 525 (properties.backendType == wgpu::BackendType::OpenGL || in SelectPreferredAdapterProperties() 526 properties.backendType == wgpu::BackendType::OpenGLES)) || in SelectPreferredAdapterProperties() 530 (properties.backendType == wgpu::BackendType::Null); in SelectPreferredAdapterProperties() 537 std::make_pair(properties.backendType, std::string(properties.name)); in SelectPreferredAdapterProperties() 551 if (params[i].backendType == adapterProperties.backendType && in GetAvailableAdapterTestParamsForBackends() 628 << ", backend: " << ParamName(properties.backendType) << "\n" in PrintTestConfigurationAndAdapterInfo() [all …]
|
D | DawnNativeTest.cpp | 55 if (adapterProperties.backendType == wgpu::BackendType::Null) { in SetUp()
|
D | DawnTest.h | 133 BackendTestConfig(wgpu::BackendType backendType, 137 wgpu::BackendType backendType; member
|
/third_party/skia/third_party/externals/dawn/src/fuzzers/ |
D | DawnWireServerAndFrontendFuzzer.cpp | 36 if (properties.backendType == wgpu::BackendType::Null) { in LLVMFuzzerTestOneInput()
|
D | DawnWireServerAndD3D12BackendFuzzer.cpp | 35 if (properties.backendType == wgpu::BackendType::D3D12 && in LLVMFuzzerTestOneInput()
|
D | DawnWireServerAndVulkanBackendFuzzer.cpp | 35 if (properties.backendType == wgpu::BackendType::Vulkan && in LLVMFuzzerTestOneInput()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPU.cpp | 140 if (props.backendType == targetBackendType) { in requestAdapter()
|
/third_party/skia/third_party/externals/dawn/src/include/dawn_native/ |
D | DawnNative.h | 147 const WGPUBackendType backendType;
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | BackendD3D12.cpp | 165 ASSERT(optionsBase->backendType == WGPUBackendType_D3D12); in DiscoverAdapters()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | ValidationTest.cpp | 97 if (adapterProperties.backendType == wgpu::BackendType::Null) { in SetUp()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BackendVk.cpp | 410 ASSERT(optionsBase->backendType == WGPUBackendType_Vulkan); in DiscoverAdapters()
|
/third_party/skia/tools/viewer/ |
D | Viewer.cpp | 294 static Window::BackendType backend_type_for_window(Window::BackendType backendType) { in backend_type_for_window() argument 297 return Window::kRaster_BackendType == backendType ? Window::kNativeGL_BackendType : backendType; in backend_type_for_window() 1240 void Viewer::setBackend(sk_app::Window::BackendType backendType) { in setBackend() argument 1243 fBackendType = backendType; in setBackend()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | BackendMTL.mm | 562 ASSERT(optionsBase->backendType == WGPUBackendType_Metal);
|