Home
last modified time | relevance | path

Searched refs:ShaderModuleBase (Results 1 – 25 of 66) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.cpp71 ShaderModuleBase::ShaderModuleBase(DeviceBase* device, in ShaderModuleBase() function in dawn_native::ShaderModuleBase
79 ShaderModuleBase::ShaderModuleBase(DeviceBase* device, ObjectBase::ErrorTag tag) in ShaderModuleBase() function in dawn_native::ShaderModuleBase
83 ShaderModuleBase::~ShaderModuleBase() { in ~ShaderModuleBase()
91 ShaderModuleBase* ShaderModuleBase::MakeError(DeviceBase* device) { in MakeError()
92 return new ShaderModuleBase(device, ObjectBase::kError); in MakeError()
95 void ShaderModuleBase::ExtractSpirvInfo(const spirv_cross::Compiler& compiler) { in ExtractSpirvInfo()
191 const ShaderModuleBase::ModuleBindingInfo& ShaderModuleBase::GetBindingInfo() const { in GetBindingInfo()
196 const std::bitset<kMaxVertexAttributes>& ShaderModuleBase::GetUsedVertexAttributes() const { in GetUsedVertexAttributes()
201 ShaderStage ShaderModuleBase::GetExecutionModel() const { in GetExecutionModel()
206 bool ShaderModuleBase::IsCompatibleWithPipelineLayout(const PipelineLayoutBase* layout) { in IsCompatibleWithPipelineLayout()
[all …]
DShaderModule.h39 class ShaderModuleBase : public ObjectBase {
41 ShaderModuleBase(DeviceBase* device,
44 ~ShaderModuleBase() override;
46 static ShaderModuleBase* MakeError(DeviceBase* device);
68 size_t operator()(const ShaderModuleBase* module) const;
71 bool operator()(const ShaderModuleBase* a, const ShaderModuleBase* b) const;
75 ShaderModuleBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DDevice.cpp55 ContentLessObjectCache<ShaderModuleBase> shaderModules;
231 ResultOrError<ShaderModuleBase*> DeviceBase::GetOrCreateShaderModule( in GetOrCreateShaderModule()
233 ShaderModuleBase blueprint(this, descriptor, true); in GetOrCreateShaderModule()
241 ShaderModuleBase* backendObj; in GetOrCreateShaderModule()
247 void DeviceBase::UncacheShaderModule(ShaderModuleBase* obj) { in UncacheShaderModule()
388 ShaderModuleBase* DeviceBase::CreateShaderModule(const ShaderModuleDescriptor* descriptor) { in CreateShaderModule()
389 ShaderModuleBase* result = nullptr; in CreateShaderModule()
392 return ShaderModuleBase::MakeError(this); in CreateShaderModule()
552 MaybeError DeviceBase::CreateShaderModuleInternal(ShaderModuleBase** result, in CreateShaderModuleInternal()
DDevice.h112 ResultOrError<ShaderModuleBase*> GetOrCreateShaderModule(
114 void UncacheShaderModule(ShaderModuleBase* obj);
130 ShaderModuleBase* CreateShaderModule(const ShaderModuleDescriptor* descriptor);
176 virtual ResultOrError<ShaderModuleBase*> CreateShaderModuleImpl(
199 MaybeError CreateShaderModuleInternal(ShaderModuleBase** result,
DRenderPipeline.h119 Ref<ShaderModuleBase> mVertexModule;
121 Ref<ShaderModuleBase> mFragmentModule;
DComputePipeline.h48 Ref<ShaderModuleBase> mModule;
DForward.h38 class ShaderModuleBase; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DInternalPipelineStore.h28 class ShaderModuleBase; variable
39 Ref<ShaderModuleBase> copyTextureForBrowser;
42 Ref<ShaderModuleBase> timestampCS;
44 Ref<ShaderModuleBase> dummyFragmentShader;
54 Ref<ShaderModuleBase> renderValidationShader;
DShaderModule.h243 class ShaderModuleBase : public ApiObjectBase, public CachedObject {
245 ShaderModuleBase(DeviceBase* device,
248 ShaderModuleBase(DeviceBase* device, const ShaderModuleDescriptor* descriptor);
249 ~ShaderModuleBase() override;
251 static Ref<ShaderModuleBase> MakeError(DeviceBase* device);
266 bool operator()(const ShaderModuleBase* a, const ShaderModuleBase* b) const;
280 ShaderModuleBase(DeviceBase* device);
286 ShaderModuleBase(DeviceBase* device, ObjectBase::ErrorTag tag);
DShaderModule.cpp1171 ShaderModuleBase::ShaderModuleBase(DeviceBase* device, in ShaderModuleBase() function in dawn_native::ShaderModuleBase
1191 ShaderModuleBase::ShaderModuleBase(DeviceBase* device, const ShaderModuleDescriptor* descriptor) in ShaderModuleBase() function in dawn_native::ShaderModuleBase
1192 : ShaderModuleBase(device, descriptor, kUntrackedByDevice) { in ShaderModuleBase()
1196 ShaderModuleBase::ShaderModuleBase(DeviceBase* device) in ShaderModuleBase() function in dawn_native::ShaderModuleBase
1201 ShaderModuleBase::ShaderModuleBase(DeviceBase* device, ObjectBase::ErrorTag tag) in ShaderModuleBase() function in dawn_native::ShaderModuleBase
1205 ShaderModuleBase::~ShaderModuleBase() = default;
1207 void ShaderModuleBase::DestroyImpl() { in DestroyImpl()
1215 Ref<ShaderModuleBase> ShaderModuleBase::MakeError(DeviceBase* device) { in MakeError()
1216 return AcquireRef(new ShaderModuleBase(device, ObjectBase::kError)); in MakeError()
1219 ObjectType ShaderModuleBase::GetType() const { in GetType()
[all …]
DPipeline.h33 const ShaderModuleBase* module,
44 Ref<ShaderModuleBase> module;
DDevice.h182 ResultOrError<Ref<ShaderModuleBase>> GetOrCreateShaderModule(
186 void UncacheShaderModule(ShaderModuleBase* obj);
220 ResultOrError<Ref<ShaderModuleBase>> CreateShaderModule(
249 ShaderModuleBase* APICreateShaderModule(const ShaderModuleDescriptor* descriptor);
400 virtual ResultOrError<Ref<ShaderModuleBase>> CreateShaderModuleImpl(
DDevice.cpp81 ContentLessObjectCache<ShaderModuleBase> shaderModules;
832 ResultOrError<Ref<ShaderModuleBase>> DeviceBase::GetOrCreateShaderModule( in GetOrCreateShaderModule()
838 ShaderModuleBase blueprint(this, descriptor, ApiObjectBase::kUntrackedByDevice); in GetOrCreateShaderModule()
843 Ref<ShaderModuleBase> result; in GetOrCreateShaderModule()
866 void DeviceBase::UncacheShaderModule(ShaderModuleBase* obj) { in UncacheShaderModule()
1038 ShaderModuleBase* DeviceBase::APICreateShaderModule(const ShaderModuleDescriptor* descriptor) { in APICreateShaderModule()
1042 Ref<ShaderModuleBase> result; in APICreateShaderModule()
1048 result = ShaderModuleBase::MakeError(this); in APICreateShaderModule()
1487 ResultOrError<Ref<ShaderModuleBase>> DeviceBase::CreateShaderModule( in CreateShaderModule()
DInternalPipelineStore.cpp27 class ShaderModuleBase;
DPipeline.cpp26 const ShaderModuleBase* module, in ValidateProgrammableStage()
115 ShaderModuleBase* module = stage.module; in PipelineBase()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/
DShaderModuleMock.cpp19 ShaderModuleMock::ShaderModuleMock(DeviceBase* device) : ShaderModuleBase(device) { in ShaderModuleMock()
21 this->ShaderModuleBase::DestroyImpl(); in ShaderModuleMock()
DShaderModuleMock.h28 class ShaderModuleMock : public ShaderModuleBase {
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.h143 ResultOrError<Ref<ShaderModuleBase>> CreateShaderModuleImpl(
278 class ShaderModule final : public ShaderModuleBase {
280 using ShaderModuleBase::ShaderModuleBase;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DShaderModuleVk.h26 class ShaderModule : public ShaderModuleBase {
DShaderModuleVk.cpp25 : ShaderModuleBase(device, descriptor) { in ShaderModule()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DShaderModuleVk.cpp80 : ShaderModuleBase(device, descriptor), in ShaderModule()
103 ShaderModuleBase::DestroyImpl(); in DestroyImpl()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DShaderModuleD3D12.h25 class ShaderModule : public ShaderModuleBase {
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.h50 using ShaderModule = ShaderModuleBase;
123 ResultOrError<ShaderModuleBase*> CreateShaderModuleImpl(
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DShaderModuleMTL.h31 class ShaderModule : public ShaderModuleBase {
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.h41 class ShaderModule : public ShaderModuleBase {

123