Searched refs:refCount (Results 1 – 3 of 3) sorted by relevance
7 uint32_t refCount = 1; variable
73 void VkEncoder::incRef() { __atomic_add_fetch(&refCount, 1, __ATOMIC_SEQ_CST); }76 if (0 == __atomic_sub_fetch(&refCount, 1, __ATOMIC_SEQ_CST)) {
2521 const unsigned refCount = stream->getBe32(); in onLoad() local2524 if (refCount == 0) { in onLoad()2527 return {handle, ColorBufferRef{std::move(cb), refCount, opened, closedTs}}; in onLoad()