5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_COMMAND_ENCODER_VK_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_COMMAND_ENCODER_VK_H_
28class TrackedObjectsVK;
35 const std::weak_ptr<const ContextVK>& context);
37 std::shared_ptr<CommandEncoderVK>
Create();
39 void SetLabel(
const std::string& label);
42 std::weak_ptr<const ContextVK> context_;
43 std::optional<std::string> label_;
56 std::shared_ptr<TrackedObjectsVK> tracked_objects,
57 const std::shared_ptr<QueueVK>&
queue,
58 std::shared_ptr<FenceWaiterVK> fence_waiter);
64 bool Track(std::shared_ptr<SharedObjectVK>
object);
66 bool Track(std::shared_ptr<const DeviceBuffer>
buffer);
70 bool Track(
const std::shared_ptr<const Texture>&
texture);
74 bool Track(std::shared_ptr<const TextureSourceVK>
texture);
87 const vk::DescriptorSetLayout& layout,
94 std::weak_ptr<const DeviceHolderVK> device_holder_;
95 std::shared_ptr<TrackedObjectsVK> tracked_objects_;
96 std::shared_ptr<QueueVK> queue_;
97 const std::shared_ptr<FenceWaiterVK> fence_waiter_;
98 std::shared_ptr<HostBuffer> host_buffer_;
99 bool is_valid_ =
true;
std::shared_ptr< CommandEncoderVK > Create()
void SetLabel(const std::string &label)
CommandEncoderFactoryVK(const std::weak_ptr< const ContextVK > &context)
void PushDebugGroup(std::string_view label) const
bool Track(std::shared_ptr< SharedObjectVK > object)
bool EndCommandBuffer() const
CommandEncoderVK(std::weak_ptr< const DeviceHolderVK > device_holder, std::shared_ptr< TrackedObjectsVK > tracked_objects, const std::shared_ptr< QueueVK > &queue, std::shared_ptr< FenceWaiterVK > fence_waiter)
vk::CommandBuffer GetCommandBuffer() const
void PopDebugGroup() const
bool IsTracking(const std::shared_ptr< const DeviceBuffer > &texture) const
std::function< void(bool)> SubmitCallback
fml::StatusOr< vk::DescriptorSet > AllocateDescriptorSets(const vk::DescriptorSetLayout &layout, const ContextVK &context)
void InsertDebugMarker(std::string_view label) const
Dart_NativeFunction function
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer