Home
last modified time | relevance | path

Searched refs:DeviceBase (Results 1 – 25 of 204) sorted by relevance

123456789

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DDevice.cpp64 struct DeviceBase::Caches {
84 struct DeviceBase::DeprecationWarnings {
130 DeviceBase* device, in ValidateLayoutAndGetComputePipelineDescriptorWithDefaults()
153 DeviceBase* device, in ValidateLayoutAndGetRenderPipelineDescriptorWithDefaults()
175 DeviceBase::DeviceBase(AdapterBase* adapter, const DawnDeviceDescriptor* descriptor) in DeviceBase() function in dawn_native::DeviceBase
192 DeviceBase::DeviceBase() : mState(State::Alive) { in DeviceBase() function in dawn_native::DeviceBase
193 mCaches = std::make_unique<DeviceBase::Caches>(); in DeviceBase()
196 DeviceBase::~DeviceBase() { in ~DeviceBase()
202 MaybeError DeviceBase::Initialize(QueueBase* defaultQueue) { in Initialize()
227 mCaches = std::make_unique<DeviceBase::Caches>(); in Initialize()
[all …]
DObjectBase.h26 class DeviceBase; variable
33 explicit ObjectBase(DeviceBase* device);
34 ObjectBase(DeviceBase* device, ErrorTag tag);
36 DeviceBase* GetDevice() const;
41 DeviceBase* mDevice;
51 ApiObjectBase(DeviceBase* device, LabelNotImplementedTag tag);
52 ApiObjectBase(DeviceBase* device, const char* label);
53 ApiObjectBase(DeviceBase* device, ErrorTag tag);
DSampler.h27 class DeviceBase; variable
29 MaybeError ValidateSamplerDescriptor(DeviceBase* device, const SamplerDescriptor* descriptor);
33 SamplerBase(DeviceBase* device,
36 SamplerBase(DeviceBase* device, const SamplerDescriptor* descriptor);
39 static SamplerBase* MakeError(DeviceBase* device);
59 SamplerBase(DeviceBase* device);
63 SamplerBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DBindGroup.h31 class DeviceBase; variable
33 MaybeError ValidateBindGroupDescriptor(DeviceBase* device,
44 static BindGroupBase* MakeError(DeviceBase* device);
61 BindGroupBase(DeviceBase* device,
68 BindGroupBase(Derived* derived, DeviceBase* device, const BindGroupDescriptor* descriptor) in BindGroupBase()
77 BindGroupBase(DeviceBase* device);
83 BindGroupBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DComputePipeline.h24 class DeviceBase; variable
27 MaybeError ValidateComputePipelineDescriptor(DeviceBase* device,
32 ComputePipelineBase(DeviceBase* device, const ComputePipelineDescriptor* descriptor);
35 static ComputePipelineBase* MakeError(DeviceBase* device);
46 ComputePipelineBase(DeviceBase* device);
50 ComputePipelineBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DPipelineLayout.h35 DeviceBase*,
53 PipelineLayoutBase(DeviceBase* device,
56 PipelineLayoutBase(DeviceBase* device, const PipelineLayoutDescriptor* descriptor);
59 static PipelineLayoutBase* MakeError(DeviceBase* device);
61 DeviceBase* device,
87 PipelineLayoutBase(DeviceBase* device);
88 PipelineLayoutBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DExternalTexture.h30 MaybeError ValidateExternalTextureDescriptor(const DeviceBase* device,
36 DeviceBase* device,
43 static ExternalTextureBase* MakeError(DeviceBase* device);
51 ExternalTextureBase(DeviceBase* device);
56 ExternalTextureBase(DeviceBase* device, const ExternalTextureDescriptor* descriptor);
57 ExternalTextureBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DTexture.h31 MaybeError ValidateTextureDescriptor(const DeviceBase* device,
33 MaybeError ValidateTextureViewDescriptor(const DeviceBase* device,
50 TextureBase(DeviceBase* device, const TextureDescriptor* descriptor, TextureState state);
52 static TextureBase* MakeError(DeviceBase* device);
100 TextureBase(DeviceBase* device, TextureState state);
104 TextureBase(DeviceBase* device, ObjectBase::ErrorTag tag);
124 static TextureViewBase* MakeError(DeviceBase* device);
146 TextureViewBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DObjectBase.cpp25 ObjectBase::ObjectBase(DeviceBase* device) : RefCounted(kNotErrorPayload), mDevice(device) { in ObjectBase()
28 ObjectBase::ObjectBase(DeviceBase* device, ErrorTag) in ObjectBase()
32 DeviceBase* ObjectBase::GetDevice() const { in GetDevice()
40 ApiObjectBase::ApiObjectBase(DeviceBase* device, const char* label) : ObjectBase(device) { in ApiObjectBase()
46 ApiObjectBase::ApiObjectBase(DeviceBase* device, ErrorTag tag) : ObjectBase(device, tag) { in ApiObjectBase()
49 ApiObjectBase::ApiObjectBase(DeviceBase* device, LabelNotImplementedTag tag) in ApiObjectBase()
DComputePipeline.cpp23 MaybeError ValidateComputePipelineDescriptor(DeviceBase* device, in ValidateComputePipelineDescriptor()
41 ComputePipelineBase::ComputePipelineBase(DeviceBase* device, in ComputePipelineBase()
53 ComputePipelineBase::ComputePipelineBase(DeviceBase* device) : PipelineBase(device) { in ComputePipelineBase()
57 ComputePipelineBase::ComputePipelineBase(DeviceBase* device, ObjectBase::ErrorTag tag) in ComputePipelineBase()
71 ComputePipelineBase* ComputePipelineBase::MakeError(DeviceBase* device) { in MakeError()
74 ErrorComputePipeline(DeviceBase* device) in MakeError()
DRenderBundleEncoder.h27 const DeviceBase* device,
32 static Ref<RenderBundleEncoder> Create(DeviceBase* device,
34 static RenderBundleEncoder* MakeError(DeviceBase* device);
43 RenderBundleEncoder(DeviceBase* device, const RenderBundleEncoderDescriptor* descriptor);
44 RenderBundleEncoder(DeviceBase* device, ErrorTag errorTag);
DRenderPipeline.h31 class DeviceBase; variable
33 MaybeError ValidateRenderPipelineDescriptor(DeviceBase* device,
37 DeviceBase* device,
61 RenderPipelineBase(DeviceBase* device, const RenderPipelineDescriptor* descriptor);
64 static RenderPipelineBase* MakeError(DeviceBase* device);
112 RenderPipelineBase(DeviceBase* device);
116 RenderPipelineBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DQuerySet.h26 MaybeError ValidateQuerySetDescriptor(DeviceBase* device, const QuerySetDescriptor* descriptor);
30 QuerySetBase(DeviceBase* device, const QuerySetDescriptor* descriptor);
32 static QuerySetBase* MakeError(DeviceBase* device);
48 QuerySetBase(DeviceBase* device, ObjectBase::ErrorTag tag);
51 QuerySetBase(DeviceBase* device);
DRenderBundleEncoder.cpp29 MaybeError ValidateColorAttachmentFormat(const DeviceBase* device, in ValidateColorAttachmentFormat()
39 MaybeError ValidateDepthStencilAttachmentFormat(const DeviceBase* device, in ValidateDepthStencilAttachmentFormat()
59 const DeviceBase* device, in ValidateRenderBundleEncoderDescriptor()
88 RenderBundleEncoder::RenderBundleEncoder(DeviceBase* device, in RenderBundleEncoder()
100 RenderBundleEncoder::RenderBundleEncoder(DeviceBase* device, ErrorTag errorTag) in RenderBundleEncoder()
112 DeviceBase* device, in Create()
118 RenderBundleEncoder* RenderBundleEncoder::MakeError(DeviceBase* device) { in MakeError()
DBindGroupLayout.h36 MaybeError ValidateBindGroupLayoutDescriptor(DeviceBase* device,
45 BindGroupLayoutBase(DeviceBase* device,
49 BindGroupLayoutBase(DeviceBase* device,
54 static BindGroupLayoutBase* MakeError(DeviceBase* device);
119 BindGroupLayoutBase(DeviceBase* device);
132 BindGroupLayoutBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DExternalTexture.cpp53 MaybeError ValidateExternalTextureDescriptor(const DeviceBase* device, in ValidateExternalTextureDescriptor()
83 DeviceBase* device, in Create()
90 ExternalTextureBase::ExternalTextureBase(DeviceBase* device, in ExternalTextureBase()
97 ExternalTextureBase::ExternalTextureBase(DeviceBase* device) in ExternalTextureBase()
102 ExternalTextureBase::ExternalTextureBase(DeviceBase* device, ObjectBase::ErrorTag tag) in ExternalTextureBase()
130 ExternalTextureBase* ExternalTextureBase::MakeError(DeviceBase* device) { in MakeError()
DSwapChain.h27 MaybeError ValidateSwapChainDescriptor(const DeviceBase* device,
35 SwapChainBase(DeviceBase* device);
37 static SwapChainBase* MakeError(DeviceBase* device);
50 SwapChainBase(DeviceBase* device, ObjectBase::ErrorTag tag);
58 OldSwapChainBase(DeviceBase* device, const SwapChainDescriptor* descriptor);
94 NewSwapChainBase(DeviceBase* device,
DQuerySet.cpp30 ErrorQuerySet(DeviceBase* device) : QuerySetBase(device, ObjectBase::kError) { in ErrorQuerySet()
41 MaybeError ValidateQuerySetDescriptor(DeviceBase* device, in ValidateQuerySetDescriptor()
103 QuerySetBase::QuerySetBase(DeviceBase* device, const QuerySetDescriptor* descriptor) in QuerySetBase()
116 QuerySetBase::QuerySetBase(DeviceBase* device) : ApiObjectBase(device, kLabelNotImplemented) { in QuerySetBase()
120 QuerySetBase::QuerySetBase(DeviceBase* device, ObjectBase::ErrorTag tag) in QuerySetBase()
134 QuerySetBase* QuerySetBase::MakeError(DeviceBase* device) { in MakeError()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DDevice.cpp49 struct DeviceBase::Caches {
60 DeviceBase::DeviceBase(AdapterBase* adapter, const DeviceDescriptor* descriptor) in DeviceBase() function in dawn_native::DeviceBase
62 mCaches = std::make_unique<DeviceBase::Caches>(); in DeviceBase()
70 DeviceBase::~DeviceBase() { in ~DeviceBase()
76 void DeviceBase::HandleError(const char* message) { in HandleError()
82 void DeviceBase::SetErrorCallback(dawn::DeviceErrorCallback callback, void* userdata) { in SetErrorCallback()
87 MaybeError DeviceBase::ValidateObject(const ObjectBase* object) const { in ValidateObject()
97 AdapterBase* DeviceBase::GetAdapter() const { in GetAdapter()
101 FenceSignalTracker* DeviceBase::GetFenceSignalTracker() const { in GetFenceSignalTracker()
105 ResultOrError<const Format*> DeviceBase::GetInternalFormat(dawn::TextureFormat format) const { in GetInternalFormat()
[all …]
DObjectBase.h22 class DeviceBase; variable
29 ObjectBase(DeviceBase* device);
30 ObjectBase(DeviceBase* device, ErrorTag tag);
33 DeviceBase* GetDevice() const;
37 DeviceBase* mDevice;
DTexture.h27 MaybeError ValidateTextureDescriptor(const DeviceBase* device,
29 MaybeError ValidateTextureViewDescriptor(const DeviceBase* device,
47 TextureBase(DeviceBase* device, const TextureDescriptor* descriptor, TextureState state);
49 static TextureBase* MakeError(DeviceBase* device);
90 TextureBase(DeviceBase* device, ObjectBase::ErrorTag tag);
112 static TextureViewBase* MakeError(DeviceBase* device);
124 TextureViewBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DComputePipeline.h22 class DeviceBase; variable
24 MaybeError ValidateComputePipelineDescriptor(DeviceBase* device,
29 ComputePipelineBase(DeviceBase* device,
34 static ComputePipelineBase* MakeError(DeviceBase* device);
45 ComputePipelineBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DSampler.h25 class DeviceBase; variable
27 MaybeError ValidateSamplerDescriptor(DeviceBase* device, const SamplerDescriptor* descriptor);
31 SamplerBase(DeviceBase* device,
36 static SamplerBase* MakeError(DeviceBase* device);
47 SamplerBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DBindGroup.h30 class DeviceBase; variable
32 MaybeError ValidateBindGroupDescriptor(DeviceBase* device,
43 BindGroupBase(DeviceBase* device, const BindGroupDescriptor* descriptor);
45 static BindGroupBase* MakeError(DeviceBase* device);
53 BindGroupBase(DeviceBase* device, ObjectBase::ErrorTag tag);
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/
DWGPUHelpers.h29 ResultOrError<Ref<ShaderModuleBase>> CreateShaderModule(DeviceBase* device, const char* source);
31 ResultOrError<Ref<BufferBase>> CreateBufferFromData(DeviceBase* device,
37 ResultOrError<Ref<BufferBase>> CreateBufferFromData(DeviceBase* device, in CreateBufferFromData()
44 DeviceBase* device,
81 DeviceBase* device,
115 DeviceBase* device,

123456789