Lines Matching refs:s_display
130 if (!s_display.isValidConfig(cfg)) { \
135 if ((dpy) != (EGLDisplay)&s_display) { \
141 if (!s_display.initialized()) { \
184 if (!(context) || !s_display.isContext((context))) { \
190 if (!s_display.isSurface((surface))) \
193 if (s->dpy != (EGLDisplay)&s_display) \
198 static eglDisplay s_display; variable
249 assert(dpy == (EGLDisplay)&s_display); in EGLContext_t()
250 s_display.onCreateContext((EGLContext)this); in EGLContext_t()
266 assert(dpy == (EGLDisplay)&s_display); in ~EGLContext_t()
267 s_display.onDestroyContext((EGLContext)this); in ~EGLContext_t()
346 assert(dpy == (EGLDisplay)&s_display); in egl_surface_t()
347 s_display.onCreateSurface((EGLSurface)this); in egl_surface_t()
356 assert(dpy == (EGLDisplay)&s_display); in ~egl_surface_t()
357 s_display.onDestroySurface((EGLSurface)this); in ~egl_surface_t()
418 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)s_display.getIndexOfConfig(config), in init()
753 if (!s_display.isSurface(*surface)) { in s_destroyPendingSurfaceAndSetNull()
782 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)s_display.getIndexOfConfig(config), in init()
984 return (EGLDisplay)&s_display; in eglGetDisplay()
991 if (!s_display.initialize(&s_eglIface)) { in eglInitialize()
995 *major = s_display.getVersionMajor(); in eglInitialize()
997 *minor = s_display.getVersionMinor(); in eglInitialize()
1005 s_display.terminate(); in eglTerminate()
1040 return s_display.queryString(name); in eglQueryString()
1051 GLint numConfigs = s_display.getNumConfigs(); in eglGetConfigs()
1059 *configs++ = (EGLConfig)(uintptr_t)s_display.getConfigAtIndex(i); in eglGetConfigs()
1120 EGLConfig guestConfig = s_display.getConfigAtIndex(*((uint32_t*)tempConfigs+i)); in eglChooseConfig()
1133 if (s_display.getConfigAttrib(config, attribute, value)) in eglGetConfigAttrib()
1155 …if (s_display.getConfigAttrib(config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) return EGL_… in eglCreateWindowSurface()
1166 &s_display, config, EGL_WINDOW_BIT, static_cast<ANativeWindow*>(win)); in eglCreateWindowSurface()
1180 …if (s_display.getConfigAttrib(config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) return EGL_… in eglCreatePbufferSurface()
1225 if (s_display.getConfigGLPixelFormat(config, &pixelFormat) == EGL_FALSE) in eglCreatePbufferSurface()
1292 ret = s_display.getConfigAttrib(surface->config, EGL_CONFIG_ID, value); in eglQuerySurface()
1313 ret = s_display.getConfigAttrib(surface->config, EGL_SURFACE_TYPE, in eglQuerySurface()
1430 if (!context || !s_display.isContext(context)) { in s_eglReleaseThreadImpl()
1500 s_display.getConfigAttrib(p_surface->config, EGL_SURFACE_TYPE, &surface_type); in eglSurfaceAttrib()
1510 s_display.getConfigAttrib(p_surface->config, EGL_SURFACE_TYPE, &surface_type); in eglSurfaceAttrib()
1732 …uint32_t rcContext = rcEnc->rcCreateContext(rcEnc, (uintptr_t)s_display.getIndexOfConfig(config), … in eglCreateContext()
1850 s_display.gles2_iface()->init(); in eglMakeCurrent()
1852 ClientAPIExts::initClientFuncs(s_display.gles2_iface(), 1); in eglMakeCurrent()
1872 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1874 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1877 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1879 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1881 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1884 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1886 s_display.gles2_iface()->getIntegerv( in eglMakeCurrent()
1942 s_display.gles2_iface()->init(); in eglMakeCurrent()
1944 ClientAPIExts::initClientFuncs(s_display.gles2_iface(), 1); in eglMakeCurrent()
1956 s_display.gles_iface()->init(); in eglMakeCurrent()
1958 ClientAPIExts::initClientFuncs(s_display.gles_iface(), 0); in eglMakeCurrent()
2007 ret = s_display.getConfigAttrib(context->config, EGL_CONFIG_ID, value); in eglQueryContext()
2038 s_display.gles2_iface()->finish(); in eglWaitGL()
2041 s_display.gles_iface()->finish(); in eglWaitGL()