Lines Matching refs:s_display

120     if (!s_display.isValidConfig(cfg)) { \
125 if ((dpy) != (EGLDisplay)&s_display) { \
131 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
245 assert(dpy == (EGLDisplay)&s_display); in EGLContext_t()
246 s_display.onCreateContext((EGLContext)this); in EGLContext_t()
262 assert(dpy == (EGLDisplay)&s_display); in ~EGLContext_t()
263 s_display.onDestroyContext((EGLContext)this); in ~EGLContext_t()
423 assert(dpy == (EGLDisplay)&s_display); in egl_surface_t()
424 s_display.onCreateSurface((EGLSurface)this); in egl_surface_t()
433 assert(dpy == (EGLDisplay)&s_display); in ~egl_surface_t()
434 s_display.onDestroySurface((EGLSurface)this); in ~egl_surface_t()
523 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)s_display.getIndexOfConfig(config), in init()
864 if (!s_display.isSurface(*surface)) { in s_destroyPendingSurfaceAndSetNull()
893 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)s_display.getIndexOfConfig(config), in init()
1104 return (EGLDisplay)&s_display; in eglGetDisplay()
1111 if (!s_display.initialize(&s_eglIface)) { in eglInitialize()
1115 *major = s_display.getVersionMajor(); in eglInitialize()
1117 *minor = s_display.getVersionMinor(); in eglInitialize()
1125 s_display.terminate(); in eglTerminate()
1162 return s_display.queryString(name); in eglQueryString()
1173 GLint numConfigs = s_display.getNumConfigs(); in eglGetConfigs()
1181 *configs++ = (EGLConfig)(uintptr_t)s_display.getConfigAtIndex(i); in eglGetConfigs()
1229 EGLConfig guestConfig = s_display.getConfigAtIndex(*((uint32_t*)tempConfigs+i)); in eglChooseConfig()
1242 if (s_display.getConfigAttrib(config, attribute, value)) in eglGetConfigAttrib()
1264 …if (s_display.getConfigAttrib(config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) return EGL_… in eglCreateWindowSurface()
1275 egl_surface_t* surface = egl_window_surface_t::create(&s_display, config, EGL_WINDOW_BIT, win); in eglCreateWindowSurface()
1289 …if (s_display.getConfigAttrib(config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) return EGL_… in eglCreatePbufferSurface()
1334 if (s_display.getConfigGLPixelFormat(config, &pixelFormat) == EGL_FALSE) in eglCreatePbufferSurface()
1401 ret = s_display.getConfigAttrib(surface->config, EGL_CONFIG_ID, value); in eglQuerySurface()
1422 ret = s_display.getConfigAttrib(surface->config, EGL_SURFACE_TYPE, in eglQuerySurface()
1539 if (!context || !s_display.isContext(context)) { in s_eglReleaseThreadImpl()
1609 s_display.getConfigAttrib(p_surface->config, EGL_SURFACE_TYPE, &surface_type); in eglSurfaceAttrib()
1619 s_display.getConfigAttrib(p_surface->config, EGL_SURFACE_TYPE, &surface_type); in eglSurfaceAttrib()
1861 …uint32_t rcContext = rcEnc->rcCreateContext(rcEnc, (uintptr_t)s_display.getIndexOfConfig(config), … in eglCreateContext()
2006 s_display.gles2_iface()->init(); in eglMakeCurrent()
2008 ClientAPIExts::initClientFuncs(s_display.gles2_iface(), 1); in eglMakeCurrent()
2020 HostDriverCaps caps = s_display.getHostDriverCaps( in eglMakeCurrent()
2080 s_display.gles2_iface()->init(); in eglMakeCurrent()
2082 ClientAPIExts::initClientFuncs(s_display.gles2_iface(), 1); in eglMakeCurrent()
2094 s_display.gles_iface()->init(); in eglMakeCurrent()
2096 ClientAPIExts::initClientFuncs(s_display.gles_iface(), 0); in eglMakeCurrent()
2145 ret = s_display.getConfigAttrib(context->config, EGL_CONFIG_ID, value); in eglQueryContext()
2176 s_display.gles2_iface()->finish(); in eglWaitGL()
2179 s_display.gles_iface()->finish(); in eglWaitGL()