8#ifndef skgpu_graphite_DawnAsyncWait_DEFINED
9#define skgpu_graphite_DawnAsyncWait_DEFINED
13#include "webgpu/webgpu_cpp.h"
20class DawnSharedContext;
45 void reset() { fSignaled =
false; }
49 std::atomic_bool fSignaled;
void set(const T &result)
DawnAsyncResult(const DawnSharedContext *sharedContext)
const T & waitAndGet() const
const T * getIfReady() const
bool yieldAndCheck() const
DawnAsyncWait(const DawnSharedContext *)