Searched refs:gObjectSet (Results 1 – 1 of 1) sorted by relevance
47 static std::unordered_set<GpuMemoryTracker*> gObjectSet; variable56 auto result = gObjectSet.insert(this); in startTrackingObject()63 size_t removed = gObjectSet.erase(this); in stopTrackingObject()78 if (CC_UNLIKELY(gObjectSet.size() > 0)) { in onGpuContextDestroyed()82 LOG_ALWAYS_FATAL("Leaked %zd GPU objects!", gObjectSet.size()); in onGpuContextDestroyed()123 for (const auto& obj : gObjectSet) { in onFrameCompleted()