Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DGLBackgroundLoader.cpp26 EGLContext s_context = EGL_NO_CONTEXT; variable
35 if (s_context == EGL_NO_CONTEXT) { in main()
36 if (!m_eglIface.createAndBindAuxiliaryContext(&s_context, &s_surface)) { in main()
42 if (!m_eglIface.bindAuxiliaryContext(s_context, s_surface)) { in main()
44 m_eglIface.createAndBindAuxiliaryContext(&s_context, &s_surface); in main()
/hardware/google/gfxstream/guest/magma/
Dmagma.cpp375 static MagmaClientContext* s_context; in GetMagmaContext() local
390 s_context = new MagmaClientContext(stream); in GetMagmaContext()
393 s_context->render_node_fd_ = SafeCast<int>(render_node_fd); in GetMagmaContext()
399 return s_context; in GetMagmaContext()