Lines Matching refs:disp
83 EGLDisplay egl_display_t::getFromNativeDisplay(EGLNativeDisplayType disp) {
84 if (uintptr_t(disp) >= NUM_DISPLAYS)
87 return sDisplay[uintptr_t(disp)].getDisplay(disp);
98 if (cnx->dso && disp.dpy == EGL_NO_DISPLAY) {
100 disp.dpy = dpy;
153 disp[i].dpy = cnx->egl.eglGetDisplay(EGL_DEFAULT_DISPLAY);
157 EGLDisplay idpy = disp.dpy;
163 disp.state = egl_display_t::INITIALIZED;
166 disp.queryString.vendor = cnx->egl.eglQueryString(idpy,
168 disp.queryString.version = cnx->egl.eglQueryString(idpy,
170 disp.queryString.extensions = cnx->egl.eglQueryString(idpy,
172 disp.queryString.clientApi = cnx->egl.eglQueryString(idpy,
199 if (disp.queryString.extensions) {
202 const char* match = strstr(disp.queryString.extensions, ext.string());
259 if (cnx->dso && disp.state == egl_display_t::INITIALIZED) {
260 if (cnx->egl.eglTerminate(disp.dpy) == EGL_FALSE) {
261 ALOGW("eglTerminate(%p) failed (%s)", disp.dpy,
265 disp.state = egl_display_t::TERMINATED;
340 disp.dpy, impl_draw, impl_read, impl_ctx);
349 disp.dpy, impl_draw, impl_read, impl_ctx);