#include "dawn/native/vulkan/QueueVk.h"
#include <optional>
#include <utility>
#include "dawn/common/Math.h"
#include "dawn/native/Buffer.h"
#include "dawn/native/CommandValidation.h"
#include "dawn/native/Commands.h"
#include "dawn/native/DynamicUploader.h"
#include "dawn/native/vulkan/CommandBufferVk.h"
#include "dawn/native/vulkan/CommandRecordingContext.h"
#include "dawn/native/vulkan/DeviceVk.h"
#include "dawn/native/vulkan/FencedDeleter.h"
#include "dawn/native/vulkan/SharedFenceVk.h"
#include "dawn/native/vulkan/TextureVk.h"
#include "dawn/native/vulkan/UtilsVulkan.h"
#include "dawn/native/vulkan/VulkanError.h"
#include "dawn/platform/DawnPlatform.h"
#include "dawn/platform/tracing/TraceEvent.h"
#include "partition_alloc/pointers/raw_ptr.h"
namespace dawn::native::vulkan {
namespace {
class ScopedSignalSemaphore : public NonCopyable { … };
void DestroyCommandPoolAndBuffer(const VulkanFunctions& fn,
VkDevice device,
const CommandPoolAndBuffer& commands) { … }
}
ResultOrError<Ref<Queue>> Queue::Create(Device* device,
const QueueDescriptor* descriptor,
uint32_t family) { … }
Queue::Queue(Device* device, const QueueDescriptor* descriptor, uint32_t family)
: … { … }
Queue::~Queue() { … }
MaybeError Queue::Initialize() { … }
MaybeError Queue::SubmitImpl(uint32_t commandCount, CommandBufferBase* const* commands) { … }
void Queue::SetLabelImpl() { … }
bool Queue::HasPendingCommands() const { … }
VkQueue Queue::GetVkQueue() const { … }
ResultOrError<ExecutionSerial> Queue::CheckAndUpdateCompletedSerials() { … }
void Queue::ForceEventualFlushOfCommands() { … }
MaybeError Queue::WaitForIdleForDestruction() { … }
CommandRecordingContext* Queue::GetPendingRecordingContext(SubmitMode submitMode) { … }
MaybeError Queue::PrepareRecordingContext() { … }
MaybeError Queue::SplitRecordingContext(CommandRecordingContext* recordingContext) { … }
ResultOrError<CommandPoolAndBuffer> Queue::BeginVkCommandBuffer() { … }
void Queue::RecycleCompletedCommands(ExecutionSerial completedSerial) { … }
MaybeError Queue::SubmitPendingCommands() { … }
ResultOrError<VkFence> Queue::GetUnusedFence() { … }
void Queue::DestroyImpl() { … }
ResultOrError<bool> Queue::WaitForQueueSerial(ExecutionSerial serial, Nanoseconds timeout) { … }
}