Home
last modified time | relevance | path

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

123456

/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()
DShaderModule.h98 MaybeError ValidateShaderModuleDescriptor(DeviceBase* device,
102 MaybeError ValidateCompatibilityWithPipelineLayout(DeviceBase* device,
245 ShaderModuleBase(DeviceBase* device,
248 ShaderModuleBase(DeviceBase* device, const ShaderModuleDescriptor* descriptor);
251 static Ref<ShaderModuleBase> MakeError(DeviceBase* device);
280 ShaderModuleBase(DeviceBase* device);
286 ShaderModuleBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DSampler.cpp25 MaybeError ValidateSamplerDescriptor(DeviceBase*, const SamplerDescriptor* descriptor) { in ValidateSamplerDescriptor() argument
72 SamplerBase::SamplerBase(DeviceBase* device, in SamplerBase()
88 SamplerBase::SamplerBase(DeviceBase* device, const SamplerDescriptor* descriptor) in SamplerBase()
93 SamplerBase::SamplerBase(DeviceBase* device) : ApiObjectBase(device, kLabelNotImplemented) { in SamplerBase()
97 SamplerBase::SamplerBase(DeviceBase* device, ObjectBase::ErrorTag tag) in SamplerBase()
111 SamplerBase* SamplerBase::MakeError(DeviceBase* device) { in MakeError()
DAdapter.h29 class DeviceBase; variable
44 DeviceBase* CreateDevice(const DawnDeviceDescriptor* descriptor = nullptr);
69 virtual ResultOrError<DeviceBase*> CreateDeviceImpl(
80 MaybeError CreateDeviceInternal(DeviceBase** result,
DBuffer.h33 MaybeError ValidateBufferDescriptor(DeviceBase* device, const BufferDescriptor* descriptor);
51 BufferBase(DeviceBase* device, const BufferDescriptor* descriptor);
53 static BufferBase* MakeError(DeviceBase* device, const BufferDescriptor* descriptor);
86 BufferBase(DeviceBase* device,
91 BufferBase(DeviceBase* device, BufferState state);
DPipeline.h32 MaybeError ValidateProgrammableStage(DeviceBase* device,
77 PipelineBase(DeviceBase* device,
81 PipelineBase(DeviceBase* device, ObjectBase::ErrorTag tag);
84 PipelineBase(DeviceBase* device);
DCommandValidation.h34 MaybeError ValidateWriteBuffer(const DeviceBase* device,
51 MaybeError ValidateTextureCopyRange(DeviceBase const* device,
57 MaybeError ValidateImageCopyBuffer(DeviceBase const* device,
59 MaybeError ValidateImageCopyTexture(DeviceBase const* device,
/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,

123456