Home
last modified time | relevance | path

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

/external/skqp/src/gpu/vk/
DGrVkResource.h112 SkDEBUGCODE(int newRefCount = )fRefCnt.fetch_add(+1, std::memory_order_relaxed); in ref()
113 SkASSERT(newRefCount >= 1); in ref()
124 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unref() local
125 SkASSERT(newRefCount >= 0); in unref()
126 if (newRefCount == 1) { in unref()
137 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unrefAndAbandon() local
138 SkASSERT(newRefCount >= 0); in unrefAndAbandon()
139 if (newRefCount == 1) { in unrefAndAbandon()
/external/skia/src/gpu/vk/
DGrVkResource.h112 SkDEBUGCODE(int newRefCount = )fRefCnt.fetch_add(+1, std::memory_order_relaxed); in ref()
113 SkASSERT(newRefCount >= 1); in ref()
124 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unref() local
125 SkASSERT(newRefCount >= 0); in unref()
126 if (newRefCount == 1) { in unref()
137 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unrefAndAbandon() local
138 SkASSERT(newRefCount >= 0); in unrefAndAbandon()
139 if (newRefCount == 1) { in unrefAndAbandon()