Home
last modified time | relevance | path

Searched refs:newRefCount (Results 1 – 3 of 3) 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/
DGrManagedResource.h116 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() local
128 SkASSERT(newRefCount >= 0); in unref()
129 if (newRefCount == 1) { in unref()
/external/angle/src/libANGLE/
DProgram.cpp4408 uint32_t &newRefCount = mState.mExecutable->mActiveSamplerRefCounts[newTextureUnit]; in updateSamplerUniform() local
4410 ASSERT(newRefCount < std::numeric_limits<uint32_t>::max()); in updateSamplerUniform()
4412 newRefCount++; in updateSamplerUniform()
4420 if (newRefCount == 1) in updateSamplerUniform()