Searched refs:egl_display_ (Results 1 – 2 of 2) sorted by relevance
/external/drm_hwcomposer/ |
D | glworker.cpp | 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() [all …]
|
D | glworker.h | 58 EGLDisplay egl_display_; member 60 EGLImageDeleter(EGLDisplay egl_display) : egl_display_(egl_display) { in EGLImageDeleter() 65 eglDestroyImageKHR(egl_display_, p); in operator() 103 EGLDisplay egl_display_;
|