Home
last modified time | relevance | path

Searched refs:backendType (Results 1 – 24 of 24) sorted by relevance

/third_party/skia/third_party/externals/dawn/examples/
DSampleUtils.cpp70 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 …]
DManualSwapChainTest.cpp280 if (properties.backendType != wgpu::BackendType::Null) { in main()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DInstance.cpp49 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 …]
DDawnNative.cpp53 properties->backendType = mImpl->GetBackendType(); in GetProperties()
143 : backendType(type) { in AdapterDiscoveryOptionsBase()
DInstance.h93 void EnsureBackendConnection(wgpu::BackendType backendType);
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DAdapterDiscoveryTests.cpp63 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 …]
DDeviceInitializationTests.cpp43 if (properties.backendType == wgpu::BackendType::Null) { in TEST_F()
62 properties.backendType == desiredProperties.backendType) { in TEST_F()
DBasicTests.cpp32 ASSERT_EQ(GetAdapterProperties().backendType, GetBackendTypeFilter()); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DBackendGL.cpp122 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()
DBackendGL.h24 Backend(InstanceBase* instance, wgpu::BackendType backendType);
/third_party/vk-gl-cts/external/amber/src/samples/
Dconfig_helper_dawn.cc68 ::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/
DDawnTest.cpp114 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 …]
DDawnNativeTest.cpp55 if (adapterProperties.backendType == wgpu::BackendType::Null) { in SetUp()
DDawnTest.h133 BackendTestConfig(wgpu::BackendType backendType,
137 wgpu::BackendType backendType; member
/third_party/skia/third_party/externals/dawn/src/fuzzers/
DDawnWireServerAndFrontendFuzzer.cpp36 if (properties.backendType == wgpu::BackendType::Null) { in LLVMFuzzerTestOneInput()
DDawnWireServerAndD3D12BackendFuzzer.cpp35 if (properties.backendType == wgpu::BackendType::D3D12 && in LLVMFuzzerTestOneInput()
DDawnWireServerAndVulkanBackendFuzzer.cpp35 if (properties.backendType == wgpu::BackendType::Vulkan && in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPU.cpp140 if (props.backendType == targetBackendType) { in requestAdapter()
/third_party/skia/third_party/externals/dawn/src/include/dawn_native/
DDawnNative.h147 const WGPUBackendType backendType;
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBackendD3D12.cpp165 ASSERT(optionsBase->backendType == WGPUBackendType_D3D12); in DiscoverAdapters()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DValidationTest.cpp97 if (adapterProperties.backendType == wgpu::BackendType::Null) { in SetUp()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBackendVk.cpp410 ASSERT(optionsBase->backendType == WGPUBackendType_Vulkan); in DiscoverAdapters()
/third_party/skia/tools/viewer/
DViewer.cpp294 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/
DBackendMTL.mm562 ASSERT(optionsBase->backendType == WGPUBackendType_Metal);