Home
last modified time | relevance | path

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

/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp120 static EGLDisplay g_dpy; variable
316 g_dpy = s_egl.eglGetDisplay(EGL_DEFAULT_DISPLAY); in virgl_renderer_init()
317 if (g_dpy == EGL_NO_DISPLAY) { in virgl_renderer_init()
322 if (!s_egl.eglInitialize(g_dpy, nullptr, nullptr)) { in virgl_renderer_init()
324 g_dpy = EGL_NO_DISPLAY; in virgl_renderer_init()
329 if (!s_egl.eglGetConfigs(g_dpy, nullptr, 0, &nConfigs)) { in virgl_renderer_init()
331 s_egl.eglTerminate(g_dpy); in virgl_renderer_init()
332 g_dpy = EGL_NO_DISPLAY; in virgl_renderer_init()
337 if (!s_egl.eglGetConfigs(g_dpy, configs, nConfigs, &nConfigs)) { in virgl_renderer_init()
339 s_egl.eglTerminate(g_dpy); in virgl_renderer_init()
[all …]