Searched refs:Closer (Results 1 – 1 of 1) sorted by relevance
30 class Closer { class32 Closer(std::function<void()> on_close) : on_close_(std::move(on_close)) {} in Closer() function in gfxstream::__anond53beeb80111::Closer33 ~Closer() { on_close_(); } in ~Closer()61 Closer contextCloser([&]() { egl.eglDestroyContext(eglDisplay, context); }); in GetGlesContextAvailability()