Searched refs:g_surfaceMap (Results 1 – 1 of 1) sorted by relevance
32 static std::unordered_map<void*, std::shared_ptr<Surface>> g_surfaceMap; variable59 g_surfaceMap.insert({surface.get(), surface}); in OH_Drawing_SurfaceCreateFromGpuContext()79 auto it = g_surfaceMap.find(cSurface); in OH_Drawing_SurfaceDestroy()80 if (it == g_surfaceMap.end()) { in OH_Drawing_SurfaceDestroy()83 g_surfaceMap.erase(it); in OH_Drawing_SurfaceDestroy()