Searched refs:gObjectSet (Results 1 – 1 of 1) sorted by relevance
44 static std::unordered_set<GpuMemoryTracker*> gObjectSet; variable53 auto result = gObjectSet.insert(this); in startTrackingObject()60 size_t removed = gObjectSet.erase(this); in stopTrackingObject()76 if (CC_UNLIKELY(gObjectSet.size() > 0)) { in onGpuContextDestroyed()80 LOG_ALWAYS_FATAL("Leaked %zd GPU objects!", gObjectSet.size()); in onGpuContextDestroyed()