Flutter Engine
The Flutter Engine
|
#include <compute_pass_mtl.h>
Public Member Functions | |
~ComputePassMTL () override | |
Public Member Functions inherited from impeller::ComputePass | |
virtual | ~ComputePass () |
void | SetLabel (const std::string &label) |
const Context & | GetContext () const |
Public Member Functions inherited from impeller::ResourceBinder | |
virtual | ~ResourceBinder ()=default |
Private Member Functions | |
bool | IsValid () const override |
fml::Status | Compute (const ISize &grid_size) override |
void | SetCommandLabel (std::string_view label) override |
void | OnSetLabel (const std::string &label) override |
void | SetPipeline (const std::shared_ptr< Pipeline< ComputePipelineDescriptor > > &pipeline) override |
bool | BindResource (ShaderStage stage, DescriptorType type, const ShaderUniformSlot &slot, const ShaderMetadata &metadata, BufferView view) override |
bool | BindResource (ShaderStage stage, DescriptorType type, const SampledImageSlot &slot, const ShaderMetadata &metadata, std::shared_ptr< const Texture > texture, const std::unique_ptr< const Sampler > &sampler) override |
bool | EncodeCommands () const override |
Encode the recorded commands to the underlying command buffer. | |
void | AddBufferMemoryBarrier () override |
Ensures all previously encoded compute command's buffer writes are visible to any subsequent compute commands. | |
void | AddTextureMemoryBarrier () override |
Ensures all previously encoded compute command's texture writes are visible to any subsequent compute commands. | |
Friends | |
class | CommandBufferMTL |
Additional Inherited Members | |
Protected Member Functions inherited from impeller::ComputePass | |
ComputePass (std::shared_ptr< const Context > context) | |
Protected Attributes inherited from impeller::ComputePass | |
const std::shared_ptr< const Context > | context_ |
Definition at line 17 of file compute_pass_mtl.h.
|
overridedefault |
|
overrideprivatevirtual |
Ensures all previously encoded compute command's buffer writes are visible to any subsequent compute commands.
On Vulkan, it does not matter if the compute command is in a different command buffer, only that it is executed later in queue order.
Implements impeller::ComputePass.
Definition at line 72 of file compute_pass_mtl.mm.
|
overrideprivatevirtual |
Ensures all previously encoded compute command's texture writes are visible to any subsequent compute commands.
On Vulkan, it does not matter if the compute command is in a different command buffer, only that it is executed later in queue order.
Implements impeller::ComputePass.
Definition at line 77 of file compute_pass_mtl.mm.
|
overrideprivatevirtual |
Implements impeller::ResourceBinder.
Definition at line 107 of file compute_pass_mtl.mm.
|
overrideprivatevirtual |
Implements impeller::ResourceBinder.
Definition at line 82 of file compute_pass_mtl.mm.
|
overrideprivatevirtual |
Implements impeller::ComputePass.
Definition at line 125 of file compute_pass_mtl.mm.
|
overrideprivatevirtual |
Encode the recorded commands to the underlying command buffer.
Implements impeller::ComputePass.
Definition at line 168 of file compute_pass_mtl.mm.
|
overrideprivatevirtual |
Implements impeller::ComputePass.
Definition at line 46 of file compute_pass_mtl.mm.
|
overrideprivatevirtual |
Implements impeller::ComputePass.
Definition at line 50 of file compute_pass_mtl.mm.
|
overrideprivatevirtual |
Implements impeller::ComputePass.
Definition at line 59 of file compute_pass_mtl.mm.
|
overrideprivatevirtual |
Implements impeller::ComputePass.
Definition at line 65 of file compute_pass_mtl.mm.
|
friend |
Definition at line 23 of file compute_pass_mtl.h.