Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_surface.cpp32 static std::unordered_map<void*, std::shared_ptr<Surface>> g_surfaceMap; variable
59 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()