Home
last modified time | relevance | path

Searched refs:InstanceBase (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DInstance.cpp34 BackendConnection* Connect(InstanceBase* instance);
39 BackendConnection* Connect(InstanceBase* instance);
44 BackendConnection* Connect(InstanceBase* instance);
49 BackendConnection* Connect(InstanceBase* instance, wgpu::BackendType backendType);
54 BackendConnection* Connect(InstanceBase* instance);
89 InstanceBase* InstanceBase::Create(const InstanceDescriptor* descriptor) { in Create()
90 Ref<InstanceBase> instance = AcquireRef(new InstanceBase); in Create()
98 bool InstanceBase::Initialize(const InstanceDescriptor*) { in Initialize()
102 void InstanceBase::DiscoverDefaultAdapters() { in DiscoverDefaultAdapters()
127 bool InstanceBase::DiscoverAdapters(const AdapterDiscoveryOptionsBase* options) { in DiscoverAdapters()
[all …]
DInstance.h44 class InstanceBase final : public RefCounted {
46 static InstanceBase* Create(const InstanceDescriptor* descriptor = nullptr);
84 InstanceBase() = default;
85 ~InstanceBase() = default;
87 InstanceBase(const InstanceBase& other) = delete;
88 InstanceBase& operator=(const InstanceBase& other) = delete;
DSurface.h37 MaybeError ValidateSurfaceDescriptor(const InstanceBase* instance,
47 Surface(InstanceBase* instance, const SurfaceDescriptor* descriptor);
55 InstanceBase* GetInstance();
77 Ref<InstanceBase> mInstance;
DBackendConnection.h29 BackendConnection(InstanceBase* instance, wgpu::BackendType type);
33 InstanceBase* GetInstance() const;
44 InstanceBase* mInstance = nullptr;
DAdapter.h33 AdapterBase(InstanceBase* instance, wgpu::BackendType backend);
42 InstanceBase* GetInstance() const;
84 InstanceBase* mInstance = nullptr;
DBackendConnection.cpp19 BackendConnection::BackendConnection(InstanceBase* instance, wgpu::BackendType type) in BackendConnection()
27 InstanceBase* BackendConnection::GetInstance() const { in GetInstance()
DSurface.cpp61 MaybeError ValidateSurfaceDescriptor(const InstanceBase* instance, in ValidateSurfaceDescriptor()
142 Surface::Surface(InstanceBase* instance, const SurfaceDescriptor* descriptor) in Surface()
197 InstanceBase* Surface::GetInstance() { in GetInstance()
DAdapter.cpp22 AdapterBase::AdapterBase(InstanceBase* instance, wgpu::BackendType backend) in AdapterBase()
88 InstanceBase* AdapterBase::GetInstance() const { in GetInstance()
DForward.h36 class InstanceBase; variable
DDawnNative.cpp148 Instance::Instance() : mImpl(InstanceBase::Create()) { in Instance()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBackendVk.h43 static ResultOrError<Ref<VulkanInstance>> Create(const InstanceBase* instance, ICD icd);
54 MaybeError Initialize(const InstanceBase* instance, ICD icd);
55 ResultOrError<VulkanGlobalKnobs> CreateVkInstance(const InstanceBase* instance);
71 Backend(InstanceBase* instance);
DBackendVk.cpp160 ResultOrError<Ref<VulkanInstance>> VulkanInstance::Create(const InstanceBase* instance, in Create()
167 MaybeError VulkanInstance::Initialize(const InstanceBase* instance, ICD icd) { in Initialize()
259 const InstanceBase* instance) { in CreateVkInstance()
392 Backend::Backend(InstanceBase* instance) in Backend()
417 InstanceBase* instance = GetInstance(); in DiscoverAdapters()
443 BackendConnection* Connect(InstanceBase* instance) { in Connect()
DAdapterVk.h30 Adapter(InstanceBase* instance,
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DFeatureTests.cpp25 mInstanceBase(dawn_native::InstanceBase::Create()), in FeatureTests()
41 Ref<dawn_native::InstanceBase> mInstanceBase;
DPerThreadProcTests.cpp28 : mNativeInstance(dawn_native::InstanceBase::Create()), in PerThreadProcTests()
34 Ref<dawn_native::InstanceBase> mNativeInstance;
DGetProcAddressTests.cpp54 mNativeInstance(dawn_native::InstanceBase::Create()), in GetProcAddressTests()
93 Ref<dawn_native::InstanceBase> mNativeInstance;
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DBackendGL.cpp122 Adapter(InstanceBase* instance, wgpu::BackendType backendType) in Adapter()
269 Backend::Backend(InstanceBase* instance, wgpu::BackendType backendType) in Backend()
302 BackendConnection* Connect(InstanceBase* instance, wgpu::BackendType backendType) { in Connect()
DBackendGL.h24 Backend(InstanceBase* instance, wgpu::BackendType backendType);
/third_party/skia/third_party/externals/dawn/src/include/dawn_native/
DDawnNative.h60 class InstanceBase; variable
194 InstanceBase* mImpl = nullptr;
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBackendD3D12.cpp83 Backend::Backend(InstanceBase* instance) in Backend()
199 BackendConnection* Connect(InstanceBase* instance) { in Connect()
DBackendD3D12.h28 Backend(InstanceBase* instance);
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DBackendMTL.h24 Backend(InstanceBase* instance);
DBackendMTL.mm244 Adapter(InstanceBase* instance, id<MTLDevice> device)
543 Backend::Backend(InstanceBase* instance)
598 BackendConnection* Connect(InstanceBase* instance) {
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.cpp27 Adapter::Adapter(InstanceBase* instance) : AdapterBase(instance, wgpu::BackendType::Null) { in Adapter()
66 Backend(InstanceBase* instance) : BackendConnection(instance, wgpu::BackendType::Null) { in Backend()
79 BackendConnection* Connect(InstanceBase* instance) { in Connect()
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_native/
DProcTable.cpp91 return ToAPI(InstanceBase::Create(FromAPI(descriptor)));

12