Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/
DNativeSubWindow_x11.cpp37 static Display *s_display = NULL; variable
53 if (!s_display) { in createSubWindow()
54 s_display = x11->XOpenDisplay(NULL); in createSubWindow()
60 Window win = x11->XCreateWindow(s_display, in createSubWindow()
73 x11->XMapWindow(s_display,win); in createSubWindow()
74 x11->XSetWindowBackground(s_display, win, 0); in createSubWindow()
76 x11->XIfEvent(s_display, &e, WaitForMapNotify, (char *)win); in createSubWindow()
82 if (!s_display) { in destroySubWindow()
86 getX11Api()->XDestroyWindow(s_display, win); in destroySubWindow()
98 if (!s_display) { in moveSubWindow()
[all …]
/hardware/google/gfxstream/guest/egl/
Degl.cpp120 if (!s_display.isValidConfig(cfg)) { \
125 if ((dpy) != (EGLDisplay)&s_display) { \
131 if (!s_display.initialized()) { \
184 if (!(context) || !s_display.isContext((context))) { \
190 if (!s_display.isSurface((surface))) \
193 if (s->dpy != (EGLDisplay)&s_display) \
198 static eglDisplay s_display; variable
245 assert(dpy == (EGLDisplay)&s_display); in EGLContext_t()
246 s_display.onCreateContext((EGLContext)this); in EGLContext_t()
262 assert(dpy == (EGLDisplay)&s_display); in ~EGLContext_t()
[all …]