• Home
  • Raw
  • Download

Lines Matching refs:dpy

72 int egl_get_init_count(EGLDisplay dpy) {  in egl_get_init_count()  argument
73 egl_display_t* eglDisplay = egl_display_t::get(dpy); in egl_get_init_count()
92 egl_display_t* egl_display_t::get(EGLDisplay dpy) { in get() argument
93 if (uintptr_t(dpy) == 0) { in get()
98 auto search = displayMap.find(dpy); in get()
135 EGLDisplay dpy = EGL_NO_DISPLAY; in getPlatformDisplayAngle() local
165 dpy = cnx->egl.eglGetPlatformDisplay(EGL_PLATFORM_ANGLE_ANGLE, in getPlatformDisplayAngle()
168 if (dpy == EGL_NO_DISPLAY) { in getPlatformDisplayAngle()
171 if (!angle::initializeAnglePlatform(dpy)) { in getPlatformDisplayAngle()
180 return dpy; in getPlatformDisplayAngle()
192 EGLDisplay dpy = EGL_NO_DISPLAY; in getPlatformDisplay() local
196 dpy = getPlatformDisplayAngle(display, cnx, attrib_list, &error); in getPlatformDisplay()
198 return setError(error, dpy); in getPlatformDisplay()
201 if (dpy == EGL_NO_DISPLAY) { in getPlatformDisplay()
205 dpy = cnx->egl.eglGetPlatformDisplay(EGL_PLATFORM_ANDROID_KHR, display, in getPlatformDisplay()
212 if (dpy == EGL_NO_DISPLAY) { in getPlatformDisplay()
216 dpy = cnx->egl.eglGetDisplay(display); in getPlatformDisplay()
220 if (dpy == EGL_NO_DISPLAY) { in getPlatformDisplay()
224 if (displayMap.find(dpy) == displayMap.end()) { in getPlatformDisplay()
226 d->disp.dpy = dpy; in getPlatformDisplay()
227 displayMap[dpy] = std::move(d); in getPlatformDisplay()
229 return dpy; in getPlatformDisplay()
275 EGLDisplay idpy = disp.dpy; in initialize()
424 angle::resetAnglePlatform(disp.dpy); in terminate()
426 if (cnx->egl.eglTerminate(disp.dpy) == EGL_FALSE) { in terminate()
427 ALOGW("eglTerminate(%p) failed (%s)", disp.dpy, in terminate()
504 result = c->cnx->egl.eglMakeCurrent(disp.dpy, impl_draw, impl_read, impl_ctx); in makeCurrent()
509 result = cur_c->cnx->egl.eglMakeCurrent(disp.dpy, impl_draw, impl_read, impl_ctx); in makeCurrent()
535 egl_display_t* validate_display(EGLDisplay dpy) { in validate_display() argument
536 egl_display_t* const dp = get_display(dpy); in validate_display()
543 egl_display_t* validate_display_connection(EGLDisplay dpy, egl_connection_t** outCnx) { in validate_display_connection() argument
545 egl_display_t* dp = validate_display(dpy); in validate_display_connection()