Home
last modified time | relevance | path

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

/hardware/google/gfxstream/common/detector/
DGraphicsDetectorGl.cpp30 class Closer { class
32 Closer(std::function<void()> on_close) : on_close_(std::move(on_close)) {} in Closer() function in gfxstream::__anond53beeb80111::Closer
33 ~Closer() { on_close_(); } in ~Closer()
61 Closer contextCloser([&]() { egl.eglDestroyContext(eglDisplay, context); }); in GetGlesContextAvailability()