#include <GrDirectContext.h>
Definition at line 886 of file GrDirectContext.h.
◆ DirectContextID()
GrDirectContext::DirectContextID::DirectContextID |
( |
| ) |
|
|
inline |
◆ isValid()
bool GrDirectContext::DirectContextID::isValid |
( |
| ) |
const |
|
inline |
◆ makeInvalid()
void GrDirectContext::DirectContextID::makeInvalid |
( |
| ) |
|
|
inline |
◆ Next()
Definition at line 79 of file GrDirectContext.cpp.
79 {
80 static std::atomic<uint32_t> nextID{1};
82 do {
83 id = nextID.fetch_add(1, std::memory_order_relaxed);
86}
◆ operator!=()
bool GrDirectContext::DirectContextID::operator!= |
( |
const DirectContextID & |
that | ) |
const |
|
inline |
◆ operator==()
bool GrDirectContext::DirectContextID::operator== |
( |
const DirectContextID & |
that | ) |
const |
|
inline |
The documentation for this class was generated from the following files: