Searched refs:newRefCount (Results 1 – 3 of 3) sorted by relevance
112 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() local125 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() local138 SkASSERT(newRefCount >= 0); in unrefAndAbandon()139 if (newRefCount == 1) { in unrefAndAbandon()
116 SkDEBUGCODE(int newRefCount = )fRefCnt.fetch_add(+1, std::memory_order_relaxed); in ref()117 SkASSERT(newRefCount >= 1); in ref()127 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unref() local128 SkASSERT(newRefCount >= 0); in unref()129 if (newRefCount == 1) { in unref()
4408 uint32_t &newRefCount = mState.mExecutable->mActiveSamplerRefCounts[newTextureUnit]; in updateSamplerUniform() local4410 ASSERT(newRefCount < std::numeric_limits<uint32_t>::max()); in updateSamplerUniform()4412 newRefCount++; in updateSamplerUniform()4420 if (newRefCount == 1) in updateSamplerUniform()