Lines Matching refs:m_display
45 m_display = eglGetDisplay((EGLNativeDisplayType)native_display); in EglState()
46 FAIL_IF(!m_display, "failed to get egl display"); in EglState()
48 b = eglInitialize(m_display, &major, &minor); in EglState()
52 printf("Using display %p with EGL version %d.%d\n", m_display, major, minor); in EglState()
54 printf("EGL_VENDOR: %s\n", eglQueryString(m_display, EGL_VENDOR)); in EglState()
55 printf("EGL_VERSION: %s\n", eglQueryString(m_display, EGL_VERSION)); in EglState()
56 printf("EGL_EXTENSIONS: %s\n", eglQueryString(m_display, EGL_EXTENSIONS)); in EglState()
57 printf("EGL_CLIENT_APIS: %s\n", eglQueryString(m_display, EGL_CLIENT_APIS)); in EglState()
66 b = eglGetConfigs(m_display, nullptr, 0, &numConfigs); in EglState()
70 b = eglGetConfigs(m_display, configs, numConfigs, &numConfigs); in EglState()
75 print_egl_config(m_display, configs[i]); in EglState()
78 b = eglChooseConfig(m_display, config_attribs, &m_config, 1, &n); in EglState()
83 print_egl_config(m_display, m_config); in EglState()
86 m_context = eglCreateContext(m_display, m_config, EGL_NO_CONTEXT, context_attribs); in EglState()
89 EGLBoolean ok = eglMakeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, m_context); in EglState()
95 eglMakeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~EglState()
96 eglTerminate(m_display); in ~EglState()