Flutter Engine
The Flutter Engine
|
#include <compute_pass_vk.h>
Public Member Functions | |
~ComputePassVK () 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 |
void | OnSetLabel (const std::string &label) override |
bool | EncodeCommands () const override |
Encode the recorded commands to the underlying command buffer. | |
void | SetCommandLabel (std::string_view label) override |
void | SetPipeline (const std::shared_ptr< Pipeline< ComputePipelineDescriptor > > &pipeline) override |
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. | |
fml::Status | Compute (const ISize &grid_size) 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 |
Friends | |
class | CommandBufferVK |
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 15 of file compute_pass_vk.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 222 of file compute_pass_vk.cc.
|
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 233 of file compute_pass_vk.cc.
|
overrideprivatevirtual |
Implements impeller::ResourceBinder.
Definition at line 144 of file compute_pass_vk.cc.
|
overrideprivatevirtual |
Implements impeller::ResourceBinder.
Definition at line 135 of file compute_pass_vk.cc.
|
overrideprivatevirtual |
Implements impeller::ComputePass.
Definition at line 71 of file compute_pass_vk.cc.
|
overrideprivatevirtual |
Encode the recorded commands to the underlying command buffer.
Implements impeller::ComputePass.
Definition at line 244 of file compute_pass_vk.cc.
|
overrideprivatevirtual |
Implements impeller::ComputePass.
Definition at line 31 of file compute_pass_vk.cc.
|
overrideprivatevirtual |
Implements impeller::ComputePass.
Definition at line 35 of file compute_pass_vk.cc.
|
overrideprivatevirtual |
Implements impeller::ComputePass.
Definition at line 43 of file compute_pass_vk.cc.
|
overrideprivatevirtual |
Implements impeller::ComputePass.
Definition at line 51 of file compute_pass_vk.cc.
|
friend |
Definition at line 21 of file compute_pass_vk.h.