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