Home
last modified time | relevance | path

Searched refs:BackendType (Results 1 – 25 of 107) sorted by relevance

12345

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DToBackend.h28 using BackendType = typename BackendTraits::AdapterType;
33 using BackendType = typename BackendTraits::BindGroupType;
38 using BackendType = typename BackendTraits::BindGroupLayoutType;
43 using BackendType = typename BackendTraits::BufferType;
48 using BackendType = typename BackendTraits::CommandBufferType;
53 using BackendType = typename BackendTraits::ComputePipelineType;
58 using BackendType = typename BackendTraits::DeviceType;
63 using BackendType = typename BackendTraits::PipelineLayoutType;
68 using BackendType = typename BackendTraits::QuerySetType;
73 using BackendType = typename BackendTraits::QueueType;
[all …]
DInstance.cpp49 BackendConnection* Connect(InstanceBase* instance, wgpu::BackendType backendType);
63 enabledBackends.set(wgpu::BackendType::Null); in GetEnabledBackends()
66 enabledBackends.set(wgpu::BackendType::D3D12); in GetEnabledBackends()
69 enabledBackends.set(wgpu::BackendType::Metal); in GetEnabledBackends()
72 enabledBackends.set(wgpu::BackendType::Vulkan); in GetEnabledBackends()
75 enabledBackends.set(wgpu::BackendType::OpenGL); in GetEnabledBackends()
78 enabledBackends.set(wgpu::BackendType::OpenGLES); in GetEnabledBackends()
103 for (wgpu::BackendType b : IterateBitSet(GetEnabledBackends())) { in DiscoverDefaultAdapters()
156 void InstanceBase::EnsureBackendConnection(wgpu::BackendType backendType) { in EnsureBackendConnection()
161 auto Register = [this](BackendConnection* connection, wgpu::BackendType expectedType) { in EnsureBackendConnection()
[all …]
DDawnNative.cpp61 BackendType Adapter::GetBackendType() const { in GetBackendType()
63 case wgpu::BackendType::D3D12: in GetBackendType()
64 return BackendType::D3D12; in GetBackendType()
65 case wgpu::BackendType::Metal: in GetBackendType()
66 return BackendType::Metal; in GetBackendType()
67 case wgpu::BackendType::Null: in GetBackendType()
68 return BackendType::Null; in GetBackendType()
69 case wgpu::BackendType::OpenGL: in GetBackendType()
70 return BackendType::OpenGL; in GetBackendType()
71 case wgpu::BackendType::Vulkan: in GetBackendType()
[all …]
DBackendConnection.h29 BackendConnection(InstanceBase* instance, wgpu::BackendType type);
32 wgpu::BackendType GetType() const;
45 wgpu::BackendType mType;
DAdapter.h33 AdapterBase(InstanceBase* instance, wgpu::BackendType backend);
38 wgpu::BackendType GetBackendType() const;
85 wgpu::BackendType mBackend;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DToBackend.h28 using BackendType = typename BackendTraits::AdapterType;
33 using BackendType = typename BackendTraits::BindGroupType;
38 using BackendType = typename BackendTraits::BindGroupLayoutType;
43 using BackendType = typename BackendTraits::BufferType;
48 using BackendType = typename BackendTraits::CommandBufferType;
53 using BackendType = typename BackendTraits::ComputePipelineType;
58 using BackendType = typename BackendTraits::DeviceType;
63 using BackendType = typename BackendTraits::PipelineLayoutType;
68 using BackendType = typename BackendTraits::QueueType;
73 using BackendType = typename BackendTraits::RenderPipelineType;
[all …]
DInstance.cpp178 auto Register = [this](BackendConnection* connection, BackendType expectedType) { in EnsureBackendConnections()
187 Register(d3d12::Connect(this), BackendType::D3D12); in EnsureBackendConnections()
190 Register(metal::Connect(this), BackendType::Metal); in EnsureBackendConnections()
193 Register(vulkan::Connect(this), BackendType::Vulkan); in EnsureBackendConnections()
196 Register(opengl::Connect(this), BackendType::OpenGL); in EnsureBackendConnections()
199 Register(null::Connect(this), BackendType::Null); in EnsureBackendConnections()
205 ResultOrError<BackendConnection*> InstanceBase::FindBackend(BackendType type) { in FindBackend()
DBackendConnection.h29 BackendConnection(InstanceBase* instance, BackendType type);
32 BackendType GetType() const;
45 BackendType mType;
DAdapter.h28 AdapterBase(InstanceBase* instance, BackendType backend);
31 BackendType GetBackendType() const;
48 BackendType mBackend;
/third_party/skia/third_party/externals/dawn/src/utils/
DBackendBinding.cpp49 wgpu::BackendType type) { in DiscoverAdapter()
53 if (type == wgpu::BackendType::OpenGL || type == wgpu::BackendType::OpenGLES) { in DiscoverAdapter()
57 if (type == wgpu::BackendType::OpenGL) { in DiscoverAdapter()
72 BackendBinding* CreateBinding(wgpu::BackendType type, GLFWwindow* window, WGPUDevice device) { in CreateBinding()
75 case wgpu::BackendType::D3D12: in CreateBinding()
80 case wgpu::BackendType::Metal: in CreateBinding()
85 case wgpu::BackendType::Null: in CreateBinding()
90 case wgpu::BackendType::OpenGL: in CreateBinding()
95 case wgpu::BackendType::OpenGLES: in CreateBinding()
100 case wgpu::BackendType::Vulkan: in CreateBinding()
DGLFWUtils.cpp31 void SetupGLFWWindowHintsForBackend(wgpu::BackendType type) { in SetupGLFWWindowHintsForBackend()
32 if (type == wgpu::BackendType::OpenGL) { in SetupGLFWWindowHintsForBackend()
39 } else if (type == wgpu::BackendType::OpenGLES) { in SetupGLFWWindowHintsForBackend()
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DBackendBinding.cpp47 void SetupGLFWWindowHintsForBackend(dawn_native::BackendType type) { in SetupGLFWWindowHintsForBackend()
48 if (type == dawn_native::BackendType::OpenGL) { in SetupGLFWWindowHintsForBackend()
60 dawn_native::BackendType type) { in DiscoverAdapter()
64 if (type == dawn_native::BackendType::OpenGL) { in DiscoverAdapter()
76 BackendBinding* CreateBinding(dawn_native::BackendType type, in CreateBinding()
81 case dawn_native::BackendType::D3D12: in CreateBinding()
86 case dawn_native::BackendType::Metal: in CreateBinding()
91 case dawn_native::BackendType::Null: in CreateBinding()
96 case dawn_native::BackendType::OpenGL: in CreateBinding()
101 case dawn_native::BackendType::Vulkan: in CreateBinding()
DBackendBinding.h39 void SetupGLFWWindowHintsForBackend(dawn_native::BackendType type);
42 dawn_native::BackendType type);
43 BackendBinding* CreateBinding(dawn_native::BackendType type,
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPU.cpp90 constexpr auto defaultBackendType = wgpu::BackendType::D3D12; in requestAdapter()
92 constexpr auto defaultBackendType = wgpu::BackendType::Vulkan; in requestAdapter()
94 constexpr auto defaultBackendType = wgpu::BackendType::Metal; in requestAdapter()
117 targetBackendType = wgpu::BackendType::Null; in requestAdapter()
119 targetBackendType = wgpu::BackendType::WebGPU; in requestAdapter()
121 targetBackendType = wgpu::BackendType::D3D11; in requestAdapter()
123 targetBackendType = wgpu::BackendType::D3D12; in requestAdapter()
125 targetBackendType = wgpu::BackendType::Metal; in requestAdapter()
127 targetBackendType = wgpu::BackendType::Vulkan; in requestAdapter()
129 targetBackendType = wgpu::BackendType::OpenGL; in requestAdapter()
[all …]
/third_party/skia/third_party/externals/dawn/examples/
DSampleUtils.cpp70 static wgpu::BackendType backendType = wgpu::BackendType::D3D12;
72 static wgpu::BackendType backendType = wgpu::BackendType::Metal;
74 static wgpu::BackendType backendType = wgpu::BackendType::Vulkan;
76 static wgpu::BackendType backendType = wgpu::BackendType::OpenGLES;
78 static wgpu::BackendType backendType = wgpu::BackendType::OpenGL;
213 backendType = wgpu::BackendType::D3D12; in InitSample()
217 backendType = wgpu::BackendType::Metal; in InitSample()
221 backendType = wgpu::BackendType::Null; in InitSample()
225 backendType = wgpu::BackendType::OpenGL; in InitSample()
229 backendType = wgpu::BackendType::OpenGLES; in InitSample()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/examples/
DSampleUtils.cpp51 static dawn_native::BackendType backendType = dawn_native::BackendType::D3D12;
53 static dawn_native::BackendType backendType = dawn_native::BackendType::Metal;
55 static dawn_native::BackendType backendType = dawn_native::BackendType::OpenGL;
57 static dawn_native::BackendType backendType = dawn_native::BackendType::Vulkan;
186 backendType = dawn_native::BackendType::D3D12; in InitSample()
190 backendType = dawn_native::BackendType::Metal; in InitSample()
194 backendType = dawn_native::BackendType::Null; in InitSample()
198 backendType = dawn_native::BackendType::OpenGL; in InitSample()
202 backendType = dawn_native::BackendType::Vulkan; in InitSample()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp38 std::string ParamName(dawn_native::BackendType type) { in ParamName()
40 case dawn_native::BackendType::D3D12: in ParamName()
42 case dawn_native::BackendType::Metal: in ParamName()
44 case dawn_native::BackendType::Null: in ParamName()
46 case dawn_native::BackendType::OpenGL: in ParamName()
48 case dawn_native::BackendType::Vulkan: in ParamName()
79 const DawnTestParam D3D12Backend(dawn_native::BackendType::D3D12);
80 const DawnTestParam MetalBackend(dawn_native::BackendType::Metal);
81 const DawnTestParam OpenGLBackend(dawn_native::BackendType::OpenGL);
82 const DawnTestParam VulkanBackend(dawn_native::BackendType::Vulkan);
[all …]
DDawnTest.h67 explicit DawnTestParam(dawn_native::BackendType backendType) : backendType(backendType) { in DawnTestParam()
70 dawn_native::BackendType backendType;
114 GLFWwindow* GetWindowForBackend(dawn_native::BackendType type) const;
119 void CreateBackendWindow(dawn_native::BackendType type);
131 std::unordered_map<dawn_native::BackendType, GLFWwindow*> mWindows;
277 bool IsBackendAvailable(dawn_native::BackendType type);
/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 …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DBackendGL.cpp122 Adapter(InstanceBase* instance, wgpu::BackendType backendType) in Adapter()
136 return GetBackendType() == wgpu::BackendType::OpenGLES; in SupportsExternalImages()
142 ASSERT(GetBackendType() == wgpu::BackendType::OpenGLES); in InitializeImpl()
144 ASSERT(GetBackendType() == wgpu::BackendType::OpenGL); in InitializeImpl()
269 Backend::Backend(InstanceBase* instance, wgpu::BackendType 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()
/third_party/skia/tools/gpu/dawn/
DDawnTestContext.cpp87 dawn_native::BackendType type) { in createDevice()
106 dawn_native::BackendType type; in Create()
119 type = dawn_native::BackendType::OpenGL; in Create()
123 type = dawn_native::BackendType::Metal; in Create()
125 type = dawn_native::BackendType::D3D12; in Create()
127 type = dawn_native::BackendType::Vulkan; in Create()
/third_party/flutter/skia/third_party/externals/dawn/src/include/dawn_native/
DDawnNative.h32 enum class BackendType { enum
78 BackendType GetBackendType() const;
96 const BackendType backendType;
99 AdapterDiscoveryOptionsBase(BackendType type);
/third_party/flutter/skia/tools/gpu/dawn/
DDawnTestContext.cpp158 dawn_native::BackendType type) { in createDevice()
177 dawn_native::BackendType type; in Create()
190 type = dawn_native::BackendType::OpenGL; in Create()
194 type = dawn_native::BackendType::Metal; in Create()
196 type = dawn_native::BackendType::D3D12; in Create()
198 type = dawn_native::BackendType::Vulkan; in Create()
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp48 std::string ParamName(wgpu::BackendType type) { in ParamName()
50 case wgpu::BackendType::D3D12: in ParamName()
52 case wgpu::BackendType::Metal: in ParamName()
54 case wgpu::BackendType::Null: in ParamName()
56 case wgpu::BackendType::OpenGL: in ParamName()
58 case wgpu::BackendType::OpenGLES: in ParamName()
60 case wgpu::BackendType::Vulkan: in ParamName()
114 BackendTestConfig::BackendTestConfig(wgpu::BackendType backendType, in BackendTestConfig()
124 return BackendTestConfig(wgpu::BackendType::D3D12, forceEnabledWorkarounds, in D3D12Backend()
130 return BackendTestConfig(wgpu::BackendType::Metal, forceEnabledWorkarounds, in MetalBackend()
[all …]
/third_party/skia/tools/sk_app/unix/
DWindow_unix.h44 bool attach(BackendType) override;
101 BackendType fBackend = BackendType::kRaster_BackendType;

12345