Lines Matching refs:dpy
56 EGLBoolean EGLAPI eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw,
126 static egl_display_t& get_display(EGLDisplay dpy);
128 static EGLBoolean is_valid(EGLDisplay dpy) { in is_valid()
129 return ((uintptr_t(dpy)-1U) >= NUM_DISPLAYS) ? EGL_FALSE : EGL_TRUE; in is_valid()
138 egl_display_t& egl_display_t::get_display(EGLDisplay dpy) { in get_display() argument
139 return gDisplays[uintptr_t(dpy)-1U]; in get_display()
148 EGLDisplay dpy; member
169 EGLDisplay dpy; member
174 egl_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat);
196 egl_surface_t::egl_surface_t(EGLDisplay dpy, in egl_surface_t() argument
199 : magic(MAGIC), dpy(dpy), config(config), ctx(0), zombie(false) in egl_surface_t()
241 EGLDisplay dpy, EGLConfig config,
361 egl_window_surface_v2_t::egl_window_surface_v2_t(EGLDisplay dpy, in egl_window_surface_v2_t() argument
365 : egl_surface_t(dpy, config, depthFormat), in egl_window_surface_v2_t()
668 EGLDisplay dpy, EGLConfig config,
683 egl_pixmap_surface_t::egl_pixmap_surface_t(EGLDisplay dpy, in egl_pixmap_surface_t() argument
687 : egl_surface_t(dpy, config, depthFormat), nativePixmap(*pixmap) in egl_pixmap_surface_t()
739 EGLDisplay dpy, EGLConfig config, int32_t depthFormat,
753 egl_pbuffer_surface_t::egl_pbuffer_surface_t(EGLDisplay dpy, in egl_pbuffer_surface_t() argument
756 : egl_surface_t(dpy, config, depthFormat) in egl_pbuffer_surface_t()
1286 static EGLSurface createWindowSurface(EGLDisplay dpy, EGLConfig config, in createWindowSurface() argument
1289 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createWindowSurface()
1295 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createWindowSurface()
1307 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createWindowSurface()
1323 surface = new egl_window_surface_v2_t(dpy, config, depthFormat, in createWindowSurface()
1335 static EGLSurface createPixmapSurface(EGLDisplay dpy, EGLConfig config, in createPixmapSurface() argument
1338 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPixmapSurface()
1344 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPixmapSurface()
1356 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createPixmapSurface()
1369 new egl_pixmap_surface_t(dpy, config, depthFormat, in createPixmapSurface()
1381 static EGLSurface createPbufferSurface(EGLDisplay dpy, EGLConfig config, in createPbufferSurface() argument
1384 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPbufferSurface()
1388 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPbufferSurface()
1395 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createPbufferSurface()
1413 new egl_pbuffer_surface_t(dpy, config, depthFormat, w, h, pixelFormat); in createPbufferSurface()
1446 EGLDisplay dpy = (EGLDisplay)1; in eglGetDisplay() local
1447 egl_display_t& d = egl_display_t::get_display(dpy); in eglGetDisplay()
1449 return dpy; in eglGetDisplay()
1454 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitialize() argument
1456 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglInitialize()
1460 egl_display_t& d = egl_display_t::get_display(dpy); in eglInitialize()
1475 EGLBoolean eglTerminate(EGLDisplay dpy) in eglTerminate() argument
1477 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglTerminate()
1481 egl_display_t& d = egl_display_t::get_display(dpy); in eglTerminate()
1495 EGLBoolean eglGetConfigs( EGLDisplay dpy, in eglGetConfigs() argument
1499 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglGetConfigs()
1518 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
1522 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglChooseConfig()
1600 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, in eglGetConfigAttrib() argument
1603 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglGetConfigAttrib()
1606 return getConfigAttrib(dpy, config, attribute, value); in eglGetConfigAttrib()
1613 EGLSurface eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, in eglCreateWindowSurface() argument
1617 return createWindowSurface(dpy, config, window, attrib_list); in eglCreateWindowSurface()
1620 EGLSurface eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, in eglCreatePixmapSurface() argument
1624 return createPixmapSurface(dpy, config, pixmap, attrib_list); in eglCreatePixmapSurface()
1627 EGLSurface eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, in eglCreatePbufferSurface() argument
1630 return createPbufferSurface(dpy, config, attrib_list); in eglCreatePbufferSurface()
1633 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface eglSurface) in eglDestroySurface() argument
1635 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglDestroySurface()
1641 if (surface->dpy != dpy) in eglDestroySurface()
1654 EGLBoolean eglQuerySurface( EGLDisplay dpy, EGLSurface eglSurface, in eglQuerySurface() argument
1657 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQuerySurface()
1662 if (surface->dpy != dpy) in eglQuerySurface()
1668 ret = getConfigAttrib(dpy, surface->config, EGL_CONFIG_ID, value); in eglQuerySurface()
1718 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, in eglCreateContext() argument
1721 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCreateContext()
1729 c->dpy = dpy; in eglCreateContext()
1736 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument
1738 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglDestroyContext()
1747 EGLBoolean eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, in eglMakeCurrent() argument
1750 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglMakeCurrent()
1756 if (s->dpy != dpy) in eglMakeCurrent()
1764 if (s->dpy != dpy) in eglMakeCurrent()
1893 return c->dpy; in eglGetCurrentDisplay()
1896 EGLBoolean eglQueryContext( EGLDisplay dpy, EGLContext ctx, in eglQueryContext() argument
1899 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQueryContext()
1906 return getConfigAttrib(dpy, c->config, EGL_CONFIG_ID, value); in eglQueryContext()
1921 EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface draw) in eglSwapBuffers() argument
1923 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSwapBuffers()
1929 if (d->dpy != dpy) in eglSwapBuffers()
1950 EGLBoolean eglCopyBuffers( EGLDisplay dpy, EGLSurface /*surface*/, in eglCopyBuffers() argument
1953 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCopyBuffers()
1964 const char* eglQueryString(EGLDisplay dpy, EGLint name) in eglQueryString() argument
1966 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQueryString()
1987 EGLDisplay dpy, EGLSurface /*surface*/, EGLint /*attribute*/, EGLint /*value*/) in eglSurfaceAttrib() argument
1989 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSurfaceAttrib()
1996 EGLDisplay dpy, EGLSurface /*surface*/, EGLint /*buffer*/) in eglBindTexImage() argument
1998 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglBindTexImage()
2005 EGLDisplay dpy, EGLSurface /*surface*/, EGLint /*buffer*/) in eglReleaseTexImage() argument
2007 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglReleaseTexImage()
2013 EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint /*interval*/) in eglSwapInterval() argument
2015 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSwapInterval()
2050 EGLDisplay dpy, EGLenum /*buftype*/, EGLClientBuffer /*buffer*/, in eglCreatePbufferFromClientBuffer() argument
2053 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCreatePbufferFromClientBuffer()
2087 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, in eglCreateImageKHR() argument
2090 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglCreateImageKHR()
2123 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) in eglDestroyImageKHR() argument
2125 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglDestroyImageKHR()
2148 EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, in eglCreateSyncKHR() argument
2151 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglCreateSyncKHR()
2214 EGLBoolean eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, in eglSetSwapRectangleANDROID() argument
2217 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSetSwapRectangleANDROID()
2223 if (d->dpy != dpy) in eglSetSwapRectangleANDROID()