Searched refs:sk_atomic_fetch_add (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/gpu/vk/ |
D | GrVkResource.h | 71 fKey = sk_atomic_fetch_add(&fKeyCounter, 1u, sk_memory_order_relaxed); in GrVkResource() 108 (void)sk_atomic_fetch_add(&fRefCnt, +1, sk_memory_order_relaxed); // No barrier required. in ref() 120 if (1 == sk_atomic_fetch_add(&fRefCnt, -1, sk_memory_order_acq_rel)) { in unref() 131 if (1 == sk_atomic_fetch_add(&fRefCnt, -1, sk_memory_order_acq_rel)) { in unrefAndAbandon()
|
/external/skqp/src/gpu/vk/ |
D | GrVkResource.h | 71 fKey = sk_atomic_fetch_add(&fKeyCounter, 1u, sk_memory_order_relaxed); in GrVkResource() 108 (void)sk_atomic_fetch_add(&fRefCnt, +1, sk_memory_order_relaxed); // No barrier required. in ref() 120 if (1 == sk_atomic_fetch_add(&fRefCnt, -1, sk_memory_order_acq_rel)) { in unref() 131 if (1 == sk_atomic_fetch_add(&fRefCnt, -1, sk_memory_order_acq_rel)) { in unrefAndAbandon()
|
/external/skia/include/private/ |
D | SkAtomics.h | 33 T sk_atomic_fetch_add(T*, T, sk_memory_order = sk_memory_order_seq_cst); 76 return sk_atomic_fetch_add(&fVal, val, mo); 114 T sk_atomic_fetch_add(T* ptr, T val, sk_memory_order mo) { in sk_atomic_fetch_add() function 156 inline int32_t sk_atomic_inc(int32_t* ptr) { return sk_atomic_fetch_add(ptr, +1); } in sk_atomic_inc() 157 inline int32_t sk_atomic_dec(int32_t* ptr) { return sk_atomic_fetch_add(ptr, -1); } in sk_atomic_dec()
|
/external/skqp/include/private/ |
D | SkAtomics.h | 33 T sk_atomic_fetch_add(T*, T, sk_memory_order = sk_memory_order_seq_cst); 76 return sk_atomic_fetch_add(&fVal, val, mo); 114 T sk_atomic_fetch_add(T* ptr, T val, sk_memory_order mo) { in sk_atomic_fetch_add() function 156 inline int32_t sk_atomic_inc(int32_t* ptr) { return sk_atomic_fetch_add(ptr, +1); } in sk_atomic_inc() 157 inline int32_t sk_atomic_dec(int32_t* ptr) { return sk_atomic_fetch_add(ptr, -1); } in sk_atomic_dec()
|
/external/skqp/src/core/ |
D | SkPixelRef.cpp | 22 id = sk_atomic_fetch_add(&gID, 2u) + 2; // Never set the low bit. in ImageID()
|
D | SkPicture.cpp | 39 uint32_t next = sk_atomic_fetch_add(&gNextID, 1u); in uniqueID()
|
/external/skia/src/core/ |
D | SkPixelRef.cpp | 22 id = sk_atomic_fetch_add(&gID, 2u) + 2; // Never set the low bit. in ImageID()
|
D | SkPicture.cpp | 39 uint32_t next = sk_atomic_fetch_add(&gNextID, 1u); in uniqueID()
|