Lines Matching refs:disp
93 EGLDisplay egl_display_t::getFromNativeDisplay(EGLNativeDisplayType disp) { in getFromNativeDisplay() argument
94 if (uintptr_t(disp) >= NUM_DISPLAYS) in getFromNativeDisplay()
97 return sDisplay[uintptr_t(disp)].getDisplay(disp); in getFromNativeDisplay()
108 if (cnx->dso && disp.dpy == EGL_NO_DISPLAY) { in getDisplay()
110 disp.dpy = dpy; in getDisplay()
151 EGLDisplay idpy = disp.dpy; in initialize()
157 disp.state = egl_display_t::INITIALIZED; in initialize()
160 disp.queryString.vendor = cnx->egl.eglQueryString(idpy, in initialize()
162 disp.queryString.version = cnx->egl.eglQueryString(idpy, in initialize()
164 disp.queryString.extensions = cnx->egl.eglQueryString(idpy, in initialize()
166 disp.queryString.clientApi = cnx->egl.eglQueryString(idpy, in initialize()
188 if (findExtension(disp.queryString.extensions, ext.string(), in initialize()
255 if (cnx->dso && disp.state == egl_display_t::INITIALIZED) { in terminate()
256 if (cnx->egl.eglTerminate(disp.dpy) == EGL_FALSE) { in terminate()
257 ALOGW("eglTerminate(%p) failed (%s)", disp.dpy, in terminate()
261 disp.state = egl_display_t::TERMINATED; in terminate()
342 disp.dpy, impl_draw, impl_read, impl_ctx); in makeCurrent()
351 disp.dpy, impl_draw, impl_read, impl_ctx); in makeCurrent()