Lines Matching refs:egl_display_
411 : egl_display_(EGL_NO_DISPLAY), egl_ctx_(EGL_NO_CONTEXT) {
442 egl_display_ = eglGetDisplay(EGL_DEFAULT_DISPLAY);
443 if (egl_display_ == EGL_NO_DISPLAY) {
448 if (!eglInitialize(egl_display_, NULL, NULL)) {
453 egl_extensions = eglQueryString(egl_display_, EGL_EXTENSIONS);
466 if (!eglChooseConfig(egl_display_, config_attribs, &egl_config, 1,
473 eglCreateContext(egl_display_, egl_config,
481 if (!eglMakeCurrent(egl_display_, EGL_NO_SURFACE, EGL_NO_SURFACE, egl_ctx_)) {
506 if (egl_display_ != EGL_NO_DISPLAY && egl_ctx_ != EGL_NO_CONTEXT)
507 if (eglDestroyContext(egl_display_, egl_ctx_) == EGL_FALSE)
528 eglCreateImageKHR(egl_display_, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID,
531 EGLImageDeleter(egl_display_));
568 layer_textures.emplace_back(egl_display_);
569 ret = CreateTextureFromHandle(egl_display_, layer->handle,
572 ret = EGLFenceWait(egl_display_, layer->acquireFenceFd);