/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | ToBackend.h | 28 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 …]
|
D | Instance.cpp | 49 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 …]
|
D | DawnNative.cpp | 61 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 …]
|
D | BackendConnection.h | 29 BackendConnection(InstanceBase* instance, wgpu::BackendType type); 32 wgpu::BackendType GetType() const; 45 wgpu::BackendType mType;
|
D | Adapter.h | 33 AdapterBase(InstanceBase* instance, wgpu::BackendType backend); 38 wgpu::BackendType GetBackendType() const; 85 wgpu::BackendType mBackend;
|
D | Instance.h | 40 using BackendsBitset = ityp::bitset<wgpu::BackendType, kEnumCount<wgpu::BackendType>>; 93 void EnsureBackendConnection(wgpu::BackendType backendType);
|
D | BackendConnection.cpp | 19 BackendConnection::BackendConnection(InstanceBase* instance, wgpu::BackendType type) in BackendConnection() 23 wgpu::BackendType BackendConnection::GetType() const { in GetType()
|
D | Adapter.cpp | 22 AdapterBase::AdapterBase(InstanceBase* instance, wgpu::BackendType backend) in AdapterBase() 72 wgpu::BackendType AdapterBase::GetBackendType() const { in GetBackendType()
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
D | BackendBinding.cpp | 49 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()
|
D | GLFWUtils.cpp | 31 void SetupGLFWWindowHintsForBackend(wgpu::BackendType type) { in SetupGLFWWindowHintsForBackend() 32 if (type == wgpu::BackendType::OpenGL) { in SetupGLFWWindowHintsForBackend() 39 } else if (type == wgpu::BackendType::OpenGLES) { in SetupGLFWWindowHintsForBackend()
|
D | BackendBinding.h | 41 wgpu::BackendType type); 42 BackendBinding* CreateBinding(wgpu::BackendType type, GLFWwindow* window, WGPUDevice device);
|
D | GLFWUtils.h | 28 void SetupGLFWWindowHintsForBackend(wgpu::BackendType type);
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPU.cpp | 90 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/ |
D | SampleUtils.cpp | 70 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/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 …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | BackendGL.cpp | 122 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/ |
D | DawnTestContext.cpp | 87 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/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()
|
/third_party/skia/third_party/externals/dawn/src/tests/ |
D | DawnTest.cpp | 48 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/ |
D | Window_unix.h | 44 bool attach(BackendType) override; 101 BackendType fBackend = BackendType::kRaster_BackendType;
|
/third_party/skia/tools/sk_app/win/ |
D | Window_win.h | 27 bool attach(BackendType) override; 38 BackendType fBackend;
|
/third_party/skia/tools/sk_app/android/ |
D | Window_android.h | 28 bool attach(BackendType) override; 38 BackendType fBackendType;
|
/third_party/skia/modules/skplaintexteditor/app/ |
D | editor_application.cpp | 370 static constexpr sk_app::Window::BackendType kBackendType = sk_app::Window::kVulkan_BackendType; 372 static constexpr sk_app::Window::BackendType kBackendType = sk_app::Window::kMetal_BackendType; 374 static constexpr sk_app::Window::BackendType kBackendType = sk_app::Window::kNativeGL_BackendType; 376 static constexpr sk_app::Window::BackendType kBackendType = sk_app::Window::kDawn_BackendType; 378 static constexpr sk_app::Window::BackendType kBackendType = sk_app::Window::kRaster_BackendType;
|
/third_party/skia/third_party/externals/dawn/src/include/dawn_native/ |
D | DawnNative.h | 43 enum class BackendType { enum 107 BackendType GetBackendType() const;
|
/third_party/skia/tools/sk_app/ |
D | Window.h | 58 enum BackendType { enum 88 virtual bool attach(BackendType) = 0;
|