Home
last modified time | relevance | path

Searched refs:sk_memory_order_relaxed (Results 1 – 10 of 10) sorted by relevance

/external/skia/include/private/
DSkAtomics.h18 sk_memory_order_relaxed, enumerator
96 SkASSERT(mo == sk_memory_order_relaxed || in sk_atomic_load()
106 SkASSERT(mo == sk_memory_order_relaxed || in sk_atomic_store()
132 SkASSERT(failure == sk_memory_order_relaxed || in sk_atomic_compare_exchange()
DSkOncePtr.h70 … &fState, &state, (uintptr_t)1, sk_memory_order_relaxed, sk_memory_order_relaxed)) { in get()
DSkOnce.h75 if (!sk_atomic_load(done, sk_memory_order_relaxed)) { in sk_once_slow()
/external/skia/src/core/
DSkSharedMutex.cpp276 int32_t oldQueueCounts = fQueueCounts.load(sk_memory_order_relaxed); in release()
302 sk_memory_order_release, sk_memory_order_relaxed)); in release()
314 int32_t oldQueueCounts = fQueueCounts.load(sk_memory_order_relaxed); in acquireShared()
325 sk_memory_order_acquire, sk_memory_order_relaxed)); in acquireShared()
DSkPicture.cpp34 uint32_t id = sk_atomic_load(&fUniqueID, sk_memory_order_relaxed); in ~SkPicture()
43 uint32_t id = sk_atomic_load(&fUniqueID, sk_memory_order_relaxed); in uniqueID()
47 sk_memory_order_relaxed, in uniqueID()
48 sk_memory_order_relaxed)) { in uniqueID()
DSkTaskGroup.cpp59 SkASSERT(pending->load(sk_memory_order_relaxed) == 0); in Wait()
127 pending->fetch_add(+1, sk_memory_order_relaxed); // No barrier needed. in add()
136 pending->fetch_add(+N, sk_memory_order_relaxed); // No barrier needed. in batch()
DSkTraceEvent.h109 #define TRACE_EVENT_API_ATOMIC_LOAD(var) sk_atomic_load(&var, sk_memory_order_relaxed)
111 sk_atomic_store(&var, value, sk_memory_order_relaxed)
/external/skia/include/core/
DSkRefCnt.h70 (void)sk_atomic_fetch_add(&fRefCnt, +1, sk_memory_order_relaxed); // No barrier required. in ref()
241 void ref() const { (void)sk_atomic_fetch_add(&fRefCnt, +1, sk_memory_order_relaxed); } in ref()
DSkPath.h1106 mutable SkAtomic<uint8_t, sk_memory_order_relaxed> fFirstDirection;// SkPathPriv::FirstDirection
/external/skia/src/gpu/vk/
DGrVkResource.h88 (void)sk_atomic_fetch_add(&fRefCnt, +1, sk_memory_order_relaxed); // No barrier required. in ref()