Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/common/
DRefCounted.cpp23 static constexpr uint64_t kRefCountIncrement = (uint64_t(1) << kPayloadBits); variable
25 RefCounted::RefCounted(uint64_t payload) : mRefCount(kRefCountIncrement + payload) { in RefCounted()
49 mRefCount.fetch_add(kRefCountIncrement, std::memory_order_relaxed); in Reference()
64 uint64_t previousRefCount = mRefCount.fetch_sub(kRefCountIncrement, std::memory_order_release); in Release()
67 if (previousRefCount < 2 * kRefCountIncrement) { in Release()