Lines Matching refs:s_display

116     if(((intptr_t)(cfg)<0)||((intptr_t)(cfg)>s_display.getNumConfigs())) { \
121 if ((dpy) != (EGLDisplay)&s_display) { \
127 if (!s_display.initialized()) { \
167 if (s->dpy != (EGLDisplay)&s_display) \
172 static eglDisplay s_display; variable
218 assert(dpy == (EGLDisplay)&s_display); in EGLContext_t()
219 s_display.onCreateContext((EGLContext)this); in EGLContext_t()
235 assert(dpy == (EGLDisplay)&s_display); in ~EGLContext_t()
236 s_display.onDestroyContext((EGLContext)this); in ~EGLContext_t()
309 assert(dpy == (EGLDisplay)&s_display); in egl_surface_t()
310 s_display.onCreateSurface((EGLSurface)this); in egl_surface_t()
319 assert(dpy == (EGLDisplay)&s_display); in ~egl_surface_t()
320 s_display.onDestroySurface((EGLSurface)this); in ~egl_surface_t()
701 return (EGLDisplay)&s_display; in eglGetDisplay()
708 if (!s_display.initialize(&s_eglIface)) { in eglInitialize()
712 *major = s_display.getVersionMajor(); in eglInitialize()
714 *minor = s_display.getVersionMinor(); in eglInitialize()
722 s_display.terminate(); in eglTerminate()
753 return s_display.queryString(name); in eglQueryString()
764 GLint numConfigs = s_display.getNumConfigs(); in eglGetConfigs()
845 if (s_display.getConfigAttrib(config, attribute, value)) in eglGetConfigAttrib()
867 …if (s_display.getConfigAttrib(config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) return EGL_… in eglCreateWindowSurface()
878 &s_display, config, EGL_WINDOW_BIT, static_cast<ANativeWindow*>(win)); in eglCreateWindowSurface()
892 …if (s_display.getConfigAttrib(config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) return EGL_… in eglCreatePbufferSurface()
936 if (s_display.getConfigGLPixelFormat(config, &pixelFormat) == EGL_FALSE) in eglCreatePbufferSurface()
999 ret = s_display.getConfigAttrib(surface->config, EGL_CONFIG_ID, value); in eglQuerySurface()
1020 ret = s_display.getConfigAttrib(surface->config, EGL_SURFACE_TYPE, in eglQuerySurface()
1197 s_display.getConfigAttrib(p_surface->config, EGL_SURFACE_TYPE, &surface_type); in eglSurfaceAttrib()
1208 s_display.getConfigAttrib(p_surface->config, EGL_SURFACE_TYPE, &surface_type); in eglSurfaceAttrib()
1539 s_display.gles2_iface()->init(); in eglMakeCurrent()
1541 ClientAPIExts::initClientFuncs(s_display.gles2_iface(), 1); in eglMakeCurrent()
1554 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1556 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1559 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1561 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1563 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1566 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1568 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1619 s_display.gles2_iface()->init(); in eglMakeCurrent()
1621 ClientAPIExts::initClientFuncs(s_display.gles2_iface(), 1); in eglMakeCurrent()
1630 s_display.gles_iface()->init(); in eglMakeCurrent()
1632 ClientAPIExts::initClientFuncs(s_display.gles_iface(), 0); in eglMakeCurrent()
1680 ret = s_display.getConfigAttrib(context->config, EGL_CONFIG_ID, value); in eglQueryContext()
1711 s_display.gles2_iface()->finish(); in eglWaitGL()
1714 s_display.gles_iface()->finish(); in eglWaitGL()