Home
last modified time | relevance | path

Searched refs:gObjectSet (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
DGpuMemoryTracker.cpp44 static std::unordered_set<GpuMemoryTracker*> gObjectSet; variable
53 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()