Lines Matching refs:disp
129 EGLDisplay egl_display_t::getFromNativeDisplay(EGLNativeDisplayType disp, in getFromNativeDisplay() argument
131 if (uintptr_t(disp) >= NUM_DISPLAYS) in getFromNativeDisplay()
134 return sDisplay[uintptr_t(disp)].getPlatformDisplay(disp, attrib_list); in getFromNativeDisplay()
215 disp.dpy = dpy; in getPlatformDisplay()
264 EGLDisplay idpy = disp.dpy; in initialize()
270 disp.state = egl_display_t::INITIALIZED; in initialize()
273 disp.queryString.vendor = cnx->egl.eglQueryString(idpy, in initialize()
275 disp.queryString.version = cnx->egl.eglQueryString(idpy, in initialize()
277 disp.queryString.extensions = cnx->egl.eglQueryString(idpy, in initialize()
279 disp.queryString.clientApi = cnx->egl.eglQueryString(idpy, in initialize()
323 hasColorSpaceSupport = findExtension(disp.queryString.extensions, "EGL_KHR_gl_colorspace"); in initialize()
359 findExtension(disp.queryString.extensions, "EGL_KHR_image_gl_colorspace")) { in initialize()
362 if (findExtension(disp.queryString.extensions, ext.c_str(), len)) { in initialize()
420 if (cnx->dso && disp.state == egl_display_t::INITIALIZED) { in terminate()
423 angle::resetAnglePlatform(disp.dpy); in terminate()
425 if (cnx->egl.eglTerminate(disp.dpy) == EGL_FALSE) { in terminate()
426 ALOGW("eglTerminate(%p) failed (%s)", disp.dpy, in terminate()
430 disp.state = egl_display_t::TERMINATED; in terminate()
508 disp.dpy, impl_draw, impl_read, impl_ctx); in makeCurrent()
514 disp.dpy, impl_draw, impl_read, impl_ctx); in makeCurrent()