Lines Matching refs:s_display
89 if(((intptr_t)cfg<0)||((intptr_t)cfg>s_display.getNumConfigs())) { \
94 if ((dpy) != (EGLDisplay)&s_display) { \
100 if (!s_display.initialized()) { \
128 if (s->dpy != (EGLDisplay)&s_display) \
472 static eglDisplay s_display;
489 return (EGLDisplay)&s_display;
496 if (!s_display.initialize(&s_eglIface)) {
500 *major = s_display.getVersionMajor();
502 *minor = s_display.getVersionMinor();
510 s_display.terminate();
541 return s_display.queryString(name);
552 GLint numConfigs = s_display.getNumConfigs();
600 if (s_display.getConfigAttrib(config, attribute, value))
621 if (s_display.getConfigAttrib(config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) return EGL_FALSE;
632 &s_display, config, surfaceType, static_cast<ANativeWindow*>(win));
646 if (s_display.getConfigAttrib(config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) return EGL_FALSE;
682 if (s_display.getConfigGLPixelFormat(config, &pixelFormat) == EGL_FALSE)
732 ret = s_display.getConfigAttrib(surface->config, EGL_CONFIG_ID, value);
785 return eglMakeCurrent(&s_display, EGL_NO_CONTEXT, EGL_NO_SURFACE, EGL_NO_SURFACE);
1022 s_display.gles2_iface()->init();
1024 ClientAPIExts::initClientFuncs(s_display.gles2_iface(), 1);
1029 s_display.gles_iface()->init();
1031 ClientAPIExts::initClientFuncs(s_display.gles_iface(), 0);
1079 ret = s_display.getConfigAttrib(context->config, EGL_CONFIG_ID, value);
1110 s_display.gles2_iface()->finish();
1113 s_display.gles_iface()->finish();
1246 s_display.gles2_iface()->finish();
1248 s_display.gles_iface()->finish();