#include <command_encoder_vk.h>
Definition at line 50 of file command_encoder_vk.h.
◆ SubmitCallback
◆ CommandEncoderVK()
Definition at line 68 of file command_encoder_vk.cc.
73 : device_holder_(std::move(device_holder)),
74 tracked_objects_(std::move(tracked_objects)),
76 fence_waiter_(std::move(fence_waiter)) {}
◆ ~CommandEncoderVK()
impeller::CommandEncoderVK::~CommandEncoderVK |
( |
| ) |
|
|
default |
◆ AllocateDescriptorSets()
fml::StatusOr< vk::DescriptorSet > impeller::CommandEncoderVK::AllocateDescriptorSets |
( |
const vk::DescriptorSetLayout & |
layout, |
|
|
const ContextVK & |
context |
|
) |
| |
Definition at line 164 of file command_encoder_vk.cc.
166 {
169 }
170
171 return tracked_objects_->GetDescriptorPool().AllocateDescriptorSets(layout,
172 context);
173}
◆ EndCommandBuffer()
bool impeller::CommandEncoderVK::EndCommandBuffer |
( |
| ) |
const |
Definition at line 84 of file command_encoder_vk.cc.
84 {
86
88 tracked_objects_->GetGPUProbe().RecordCmdBufferEnd(command_buffer);
89
90 auto status = command_buffer.end();
91 if (status != vk::Result::eSuccess) {
93 return false;
94 }
95 return true;
96}
vk::CommandBuffer GetCommandBuffer() const
void InsertDebugMarker(std::string_view label) const
static SkString to_string(int n)
◆ GetCommandBuffer()
vk::CommandBuffer impeller::CommandEncoderVK::GetCommandBuffer |
( |
| ) |
const |
Definition at line 98 of file command_encoder_vk.cc.
98 {
99 if (tracked_objects_) {
100 return tracked_objects_->GetCommandBuffer();
101 }
102 return {};
103}
◆ InsertDebugMarker()
void impeller::CommandEncoderVK::InsertDebugMarker |
( |
std::string_view |
label | ) |
const |
Definition at line 195 of file command_encoder_vk.cc.
195 {
197 return;
198 }
199 vk::DebugUtilsLabelEXT label_info;
200 label_info.pLabelName = label.data();
202 command_buffer.insertDebugUtilsLabelEXT(label_info);
203 }
204 if (queue_) {
205 queue_->InsertDebugMarker(label);
206 }
207}
bool HasValidationLayers()
◆ IsTracking() [1/2]
bool impeller::CommandEncoderVK::IsTracking |
( |
const std::shared_ptr< const DeviceBuffer > & |
texture | ) |
const |
Definition at line 128 of file command_encoder_vk.cc.
129 {
131 return false;
132 }
133 return tracked_objects_->IsTracking(
buffer);
134}
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
◆ IsTracking() [2/2]
bool impeller::CommandEncoderVK::IsTracking |
( |
const std::shared_ptr< const Texture > & |
texture | ) |
const |
Definition at line 154 of file command_encoder_vk.cc.
155 {
157 return false;
158 }
159 std::shared_ptr<const TextureSourceVK>
source =
161 return tracked_objects_->IsTracking(
source);
162}
static TextureVK & Cast(Texture &base)
std::shared_ptr< const TextureSourceVK > GetTextureSource() const
◆ IsValid()
bool impeller::CommandEncoderVK::IsValid |
( |
| ) |
const |
◆ PopDebugGroup()
void impeller::CommandEncoderVK::PopDebugGroup |
( |
| ) |
const |
Definition at line 186 of file command_encoder_vk.cc.
186 {
188 return;
189 }
191 command_buffer.endDebugUtilsLabelEXT();
192 }
193}
◆ PushDebugGroup()
void impeller::CommandEncoderVK::PushDebugGroup |
( |
std::string_view |
label | ) |
const |
Definition at line 175 of file command_encoder_vk.cc.
175 {
177 return;
178 }
179 vk::DebugUtilsLabelEXT label_info;
180 label_info.pLabelName = label.data();
182 command_buffer.beginDebugUtilsLabelEXT(label_info);
183 }
184}
◆ Track() [1/4]
bool impeller::CommandEncoderVK::Track |
( |
const std::shared_ptr< const Texture > & |
texture | ) |
|
Definition at line 144 of file command_encoder_vk.cc.
144 {
146 return false;
147 }
149 return true;
150 }
152}
bool Track(std::shared_ptr< SharedObjectVK > object)
◆ Track() [2/4]
bool impeller::CommandEncoderVK::Track |
( |
std::shared_ptr< const DeviceBuffer > |
buffer | ) |
|
Definition at line 120 of file command_encoder_vk.cc.
120 {
122 return false;
123 }
124 tracked_objects_->Track(std::move(
buffer));
125 return true;
126}
◆ Track() [3/4]
bool impeller::CommandEncoderVK::Track |
( |
std::shared_ptr< const TextureSourceVK > |
texture | ) |
|
◆ Track() [4/4]
bool impeller::CommandEncoderVK::Track |
( |
std::shared_ptr< SharedObjectVK > |
object | ) |
|
Definition at line 112 of file command_encoder_vk.cc.
112 {
114 return false;
115 }
116 tracked_objects_->Track(std::move(object));
117 return true;
118}
◆ CommandQueueVK
◆ ContextVK
The documentation for this class was generated from the following files: