#include <Context.h>
Definition at line 186 of file Context.h.
◆ ContextID()
skgpu::graphite::Context::ContextID::ContextID |
( |
| ) |
|
|
inline |
Definition at line 190 of file Context.h.
static constexpr uint32_t SK_InvalidUniqueID
◆ isValid()
bool skgpu::graphite::Context::ContextID::isValid |
( |
| ) |
const |
|
inline |
◆ makeInvalid()
void skgpu::graphite::Context::ContextID::makeInvalid |
( |
| ) |
|
|
inline |
◆ Next()
Definition at line 70 of file Context.cpp.
70 {
71 static std::atomic<uint32_t> nextID{1};
73 do {
74 id = nextID.fetch_add(1, std::memory_order_relaxed);
77}
◆ operator!=()
bool skgpu::graphite::Context::ContextID::operator!= |
( |
const ContextID & |
that | ) |
const |
|
inline |
Definition at line 193 of file Context.h.
193{ return !(*this == that); }
◆ operator==()
bool skgpu::graphite::Context::ContextID::operator== |
( |
const ContextID & |
that | ) |
const |
|
inline |
Definition at line 192 of file Context.h.
192{ return fID == that.fID; }
The documentation for this class was generated from the following files: