donner::geode::GeodeGpuContext - the donner::gpu facing context Geode's encoders record against, plus donner::geode::GeodeTransientResources, the per-recording RAII holder for transient GPU handles.
More...
#include <cstdint>
#include <deque>
#include <utility>
#include "donner/gpu/Handles.h"
|
| constexpr uint64_t | donner::geode::kUniformOffsetAlignment = 256u |
| | Uniform-buffer binding offset alignment every Geode uniform arena honors. 256 is the WebGPU default minUniformBufferOffsetAlignment; a path that ever queries the device limit instead must keep this in sync, or its bindings fail validation on a device with a larger one.
|
|
constexpr uint32_t | donner::geode::kGradientPaintBlockRows = 25u |
| | Rows of one gradient paint block, in vec4 units. Shared by the runtime device's dummy binding and GeoEncoder's paint-data reservation so their layouts cannot drift apart.
|
donner::geode::GeodeGpuContext - the donner::gpu facing context Geode's encoders record against, plus donner::geode::GeodeTransientResources, the per-recording RAII holder for transient GPU handles.
◆ kUniformOffsetAlignment
| uint64_t donner::geode::kUniformOffsetAlignment = 256u |
|
inlineconstexpr |
Uniform-buffer binding offset alignment every Geode uniform arena honors. 256 is the WebGPU default minUniformBufferOffsetAlignment; a path that ever queries the device limit instead must keep this in sync, or its bindings fail validation on a device with a larger one.
Defined here rather than beside any one arena because four of them need it, and a per-arena copy is how they drift apart.