Donner SVG main
0.8.0 ยท 64d9612f0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
DrawCpuWorkload.h File Reference

One Geode fill workload shared by the structural gate and the nightly CPU benchmark. More...

#include <gtest/gtest.h>
#include <algorithm>
#include <array>
#include <chrono>
#include <cstdint>
#include <memory>
#include <optional>
#include <span>
#include <vector>
#include "donner/gpu/CommandEncoder.h"
#include "donner/gpu/Device.h"
#include "donner/gpu/DeviceObserver.h"
#include "donner/gpu/shader/LinkedProjection.h"
#include "donner/gpu/shader/programs/SlugFill.h"
#include "donner/svg/renderer/geode/GeodePipeline.h"
Include dependency graph for DrawCpuWorkload.h:

Classes

struct  donner::geode::benchmarks::DrawCpuSample
 CPU time for one accepted submission. Pipeline/resource creation and GPU completion are outside both timed intervals. More...
class  donner::geode::benchmarks::DrawCountObserver
 A fixed observer avoids allocating in the measured Device::submit path. More...
class  donner::geode::benchmarks::DrawCpuWorkload
 Uses the shipped SlugFill pipeline and all eleven reflected bind slots. One target and bind group serve every sample so the timer isolates command recording and submission. More...

Namespaces

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

Detailed Description

One Geode fill workload shared by the structural gate and the nightly CPU benchmark.