Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
Commands.h File Reference

Validated command value types recorded by donner::gpu::CommandEncoder. More...

#include <cstdint>
#include <variant>
#include "donner/gpu/Descriptors.h"
#include "donner/gpu/Handles.h"
Include dependency graph for Commands.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::gpu::BeginRenderPassCommand
 Recorded beginRenderPass. Attachment references inside the descriptor are validated before recording and re-validated at submission. More...
struct  donner::gpu::BeginComputePassCommand
 Recorded beginComputePass. More...
struct  donner::gpu::SetPipelineCommand
 Recorded render pass setPipeline. More...
struct  donner::gpu::SetComputePipelineCommand
 Recorded compute pass setPipeline. More...
struct  donner::gpu::SetBindGroupCommand
 Recorded setBindGroup. More...
struct  donner::gpu::SetVertexBufferCommand
 Recorded setVertexBuffer. More...
struct  donner::gpu::SetScissorRectCommand
 Recorded setScissorRect. More...
struct  donner::gpu::SetViewportCommand
 Recorded setViewport. More...
struct  donner::gpu::DrawCommand
 Recorded draw. More...
struct  donner::gpu::DispatchWorkgroupsCommand
 Recorded dispatchWorkgroups. More...
struct  donner::gpu::EndRenderPassCommand
 Recorded render pass end. More...
struct  donner::gpu::EndComputePassCommand
 Recorded compute pass end. More...
struct  donner::gpu::CopyTextureToBufferCommand
 Recorded copyTextureToBuffer (readback staging copy). More...
struct  donner::gpu::CopyTextureToTextureCommand
 Recorded copyTextureToTexture (sub-rectangle texture copy; both origins default to texel (0, 0), which is the whole-rect copy every recorded stream used before origins existed). More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Typedefs

using donner::gpu::Command
 One recorded command.

Detailed Description

Validated command value types recorded by donner::gpu::CommandEncoder.

Commands store only validated Donner value objects and slot-based resource identities, never raw pointers or native handles, so recorded streams serialize deterministically and contain no process state. Each referenced resource is stored as a ResourceIdentity (slot plus generation): Device::submit re-validates every identity, so a resource destroyed between recording and submission fails closed instead of reaching a backend.

Typedef Documentation

◆ Command

Initial value:
Recorded beginComputePass.
Definition Commands.h:27
Recorded beginRenderPass. Attachment references inside the descriptor are validated before recording ...
Definition Commands.h:22
Recorded copyTextureToBuffer (readback staging copy).
Definition Commands.h:94
Recorded copyTextureToTexture (sub-rectangle texture copy; both origins default to texel (0,...
Definition Commands.h:103
Recorded dispatchWorkgroups.
Definition Commands.h:81
Recorded draw.
Definition Commands.h:73
Recorded compute pass end.
Definition Commands.h:91
Recorded render pass end.
Definition Commands.h:88
Recorded setBindGroup.
Definition Commands.h:42
Recorded compute pass setPipeline.
Definition Commands.h:37
Recorded render pass setPipeline.
Definition Commands.h:32
Recorded setScissorRect.
Definition Commands.h:55
Recorded setVertexBuffer.
Definition Commands.h:48
Recorded setViewport.
Definition Commands.h:63

One recorded command.