#include "dawn/native/EncodingContext.h"
#include "dawn/common/Assert.h"
#include "dawn/native/CommandEncoder.h"
#include "dawn/native/Commands.h"
#include "dawn/native/Device.h"
#include "dawn/native/ErrorData.h"
#include "dawn/native/IndirectDrawValidationEncoder.h"
#include "dawn/native/RenderBundleEncoder.h"
namespace dawn::native {
EncodingContext::EncodingContext(DeviceBase* device, const ApiObjectBase* initialEncoder)
: … { … }
EncodingContext::EncodingContext(DeviceBase* device, ErrorMonad::ErrorTag tag)
: … { … }
EncodingContext::~EncodingContext() { … }
void EncodingContext::Destroy() { … }
CommandIterator EncodingContext::AcquireCommands() { … }
void EncodingContext::HandleError(std::unique_ptr<ErrorData> error) { … }
void EncodingContext::WillBeginRenderPass() { … }
void EncodingContext::EnterPass(const ApiObjectBase* passEncoder) { … }
MaybeError EncodingContext::ExitRenderPass(const ApiObjectBase* passEncoder,
RenderPassResourceUsageTracker usageTracker,
CommandEncoder* commandEncoder,
IndirectDrawMetadata indirectDrawMetadata) { … }
void EncodingContext::ExitComputePass(const ApiObjectBase* passEncoder,
ComputePassResourceUsage usages) { … }
void EncodingContext::EnsurePassExited(const ApiObjectBase* passEncoder) { … }
const RenderPassUsages& EncodingContext::GetRenderPassUsages() const { … }
RenderPassUsages EncodingContext::AcquireRenderPassUsages() { … }
const ComputePassUsages& EncodingContext::GetComputePassUsages() const { … }
ComputePassUsages EncodingContext::AcquireComputePassUsages() { … }
void EncodingContext::PushDebugGroupLabel(std::string_view groupLabel) { … }
void EncodingContext::PopDebugGroupLabel() { … }
MaybeError EncodingContext::Finish() { … }
void EncodingContext::CommitCommands(CommandAllocator allocator) { … }
}