|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Test seams for BoundedGpuWait. Production callers pass none; tests inject a fake clock and a sleep recorder so timeout behavior is verified deterministically and without real sleeping. More...
#include "donner/svg/renderer/geode/GeodeGpuWait.h"
Test seams for BoundedGpuWait. Production callers pass none; tests inject a fake clock and a sleep recorder so timeout behavior is verified deterministically and without real sleeping.
| std::function<std::chrono::steady_clock::time_point()> donner::geode::GpuWaitTestHooks::now |
Clock override. Defaults to std::chrono::steady_clock::now.
| std::function<void(std::chrono::microseconds)> donner::geode::GpuWaitTestHooks::sleep |
Sleep override. Defaults to std::this_thread::sleep_for.