Home
last modified time | relevance | path

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

/external/skia/src/gpu/graphite/
DResource.h40 (void)fUsageRefCnt.fetch_add(+1, std::memory_order_relaxed); in ref()
50 if (1 == fUsageRefCnt.fetch_add(-1, std::memory_order_acq_rel)) { in unref()
134 SkASSERT(fUsageRefCnt >= 0); in initialUsageRef()
136 (void)fUsageRefCnt.fetch_add(+1, std::memory_order_relaxed); in initialUsageRef()
184 if (0 == fUsageRefCnt.load(std::memory_order_acquire)) { in hasUsageRef()
233 mutable std::atomic<int32_t> fUsageRefCnt; variable
DResource.cpp18 , fUsageRefCnt(1) in Resource()