Home
last modified time | relevance | path

Searched refs:egl_display_ (Results 1 – 2 of 2) sorted by relevance

/external/drm_hwcomposer/
Dglworker.cpp446 : egl_display_(EGL_NO_DISPLAY), egl_ctx_(EGL_NO_CONTEXT) { in GLWorkerCompositor()
477 egl_display_ = eglGetDisplay(EGL_DEFAULT_DISPLAY); in Init()
478 if (egl_display_ == EGL_NO_DISPLAY) { in Init()
483 if (!eglInitialize(egl_display_, NULL, NULL)) { in Init()
488 egl_extensions = eglQueryString(egl_display_, EGL_EXTENSIONS); in Init()
501 if (!eglChooseConfig(egl_display_, config_attribs, &egl_config, 1, in Init()
508 eglCreateContext(egl_display_, egl_config, in Init()
516 if (!eglMakeCurrent(egl_display_, EGL_NO_SURFACE, EGL_NO_SURFACE, egl_ctx_)) { in Init()
547 if (egl_display_ != EGL_NO_DISPLAY && egl_ctx_ != EGL_NO_CONTEXT) in ~GLWorkerCompositor()
548 if (eglDestroyContext(egl_display_, egl_ctx_) == EGL_FALSE) in ~GLWorkerCompositor()
[all …]
Dglworker.h73 EGLDisplay egl_display_; variable