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