• Home
  • Raw
  • Download

Lines Matching refs:dpy

54 EGLBoolean EGLAPI eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw,
104 static egl_display_t& get_display(EGLDisplay dpy);
106 static EGLBoolean is_valid(EGLDisplay dpy) { in is_valid()
107 return ((uintptr_t(dpy)-1U) >= NUM_DISPLAYS) ? EGL_FALSE : EGL_TRUE; in is_valid()
116 egl_display_t& egl_display_t::get_display(EGLDisplay dpy) { in get_display() argument
117 return gDisplays[uintptr_t(dpy)-1U]; in get_display()
126 EGLDisplay dpy; member
147 EGLDisplay dpy; member
152 egl_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat);
174 egl_surface_t::egl_surface_t(EGLDisplay dpy, in egl_surface_t() argument
177 : magic(MAGIC), dpy(dpy), config(config), ctx(0), zombie(false) in egl_surface_t()
219 EGLDisplay dpy, EGLConfig config,
340 egl_window_surface_v2_t::egl_window_surface_v2_t(EGLDisplay dpy, in egl_window_surface_v2_t() argument
344 : egl_surface_t(dpy, config, depthFormat), in egl_window_surface_v2_t()
644 EGLDisplay dpy, EGLConfig config,
659 egl_pixmap_surface_t::egl_pixmap_surface_t(EGLDisplay dpy, in egl_pixmap_surface_t() argument
663 : egl_surface_t(dpy, config, depthFormat), nativePixmap(*pixmap) in egl_pixmap_surface_t()
708 EGLDisplay dpy, EGLConfig config, int32_t depthFormat,
722 egl_pbuffer_surface_t::egl_pbuffer_surface_t(EGLDisplay dpy, in egl_pbuffer_surface_t() argument
725 : egl_surface_t(dpy, config, depthFormat) in egl_pbuffer_surface_t()
1200 static EGLBoolean getConfigAttrib(EGLDisplay dpy, EGLConfig config, in getConfigAttrib() argument
1229 static EGLSurface createWindowSurface(EGLDisplay dpy, EGLConfig config, in createWindowSurface() argument
1232 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createWindowSurface()
1238 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createWindowSurface()
1250 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createWindowSurface()
1266 surface = new egl_window_surface_v2_t(dpy, config, depthFormat, in createWindowSurface()
1278 static EGLSurface createPixmapSurface(EGLDisplay dpy, EGLConfig config, in createPixmapSurface() argument
1281 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPixmapSurface()
1287 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPixmapSurface()
1299 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createPixmapSurface()
1312 new egl_pixmap_surface_t(dpy, config, depthFormat, in createPixmapSurface()
1324 static EGLSurface createPbufferSurface(EGLDisplay dpy, EGLConfig config, in createPbufferSurface() argument
1327 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPbufferSurface()
1331 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPbufferSurface()
1338 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createPbufferSurface()
1356 new egl_pbuffer_surface_t(dpy, config, depthFormat, w, h, pixelFormat); in createPbufferSurface()
1389 EGLDisplay dpy = (EGLDisplay)1; in eglGetDisplay() local
1390 egl_display_t& d = egl_display_t::get_display(dpy); in eglGetDisplay()
1392 return dpy; in eglGetDisplay()
1397 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitialize() argument
1399 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglInitialize()
1403 egl_display_t& d = egl_display_t::get_display(dpy); in eglInitialize()
1418 EGLBoolean eglTerminate(EGLDisplay dpy) in eglTerminate() argument
1420 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglTerminate()
1424 egl_display_t& d = egl_display_t::get_display(dpy); in eglTerminate()
1437 EGLBoolean eglGetConfigs( EGLDisplay dpy, in eglGetConfigs() argument
1441 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglGetConfigs()
1457 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
1461 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglChooseConfig()
1539 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, in eglGetConfigAttrib() argument
1542 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglGetConfigAttrib()
1545 return getConfigAttrib(dpy, config, attribute, value); in eglGetConfigAttrib()
1552 EGLSurface eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, in eglCreateWindowSurface() argument
1556 return createWindowSurface(dpy, config, window, attrib_list); in eglCreateWindowSurface()
1559 EGLSurface eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, in eglCreatePixmapSurface() argument
1563 return createPixmapSurface(dpy, config, pixmap, attrib_list); in eglCreatePixmapSurface()
1566 EGLSurface eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, in eglCreatePbufferSurface() argument
1569 return createPbufferSurface(dpy, config, attrib_list); in eglCreatePbufferSurface()
1572 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface eglSurface) in eglDestroySurface() argument
1574 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglDestroySurface()
1580 if (surface->dpy != dpy) in eglDestroySurface()
1593 EGLBoolean eglQuerySurface( EGLDisplay dpy, EGLSurface eglSurface, in eglQuerySurface() argument
1596 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQuerySurface()
1601 if (surface->dpy != dpy) in eglQuerySurface()
1607 ret = getConfigAttrib(dpy, surface->config, EGL_CONFIG_ID, value); in eglQuerySurface()
1657 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, in eglCreateContext() argument
1660 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCreateContext()
1668 c->dpy = dpy; in eglCreateContext()
1675 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument
1677 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglDestroyContext()
1686 EGLBoolean eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, in eglMakeCurrent() argument
1689 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglMakeCurrent()
1695 if (s->dpy != dpy) in eglMakeCurrent()
1703 if (s->dpy != dpy) in eglMakeCurrent()
1833 return c->dpy; in eglGetCurrentDisplay()
1836 EGLBoolean eglQueryContext( EGLDisplay dpy, EGLContext ctx, in eglQueryContext() argument
1839 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQueryContext()
1846 return getConfigAttrib(dpy, c->config, EGL_CONFIG_ID, value); in eglQueryContext()
1861 EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface draw) in eglSwapBuffers() argument
1863 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSwapBuffers()
1869 if (d->dpy != dpy) in eglSwapBuffers()
1890 EGLBoolean eglCopyBuffers( EGLDisplay dpy, EGLSurface surface, in eglCopyBuffers() argument
1893 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCopyBuffers()
1904 const char* eglQueryString(EGLDisplay dpy, EGLint name) in eglQueryString() argument
1906 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQueryString()
1927 EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) in eglSurfaceAttrib() argument
1929 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSurfaceAttrib()
1936 EGLDisplay dpy, EGLSurface surface, EGLint buffer) in eglBindTexImage() argument
1938 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglBindTexImage()
1945 EGLDisplay dpy, EGLSurface surface, EGLint buffer) in eglReleaseTexImage() argument
1947 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglReleaseTexImage()
1953 EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval) in eglSwapInterval() argument
1955 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSwapInterval()
1990 EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, in eglCreatePbufferFromClientBuffer() argument
1993 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCreatePbufferFromClientBuffer()
2014 EGLBoolean eglLockSurfaceKHR(EGLDisplay dpy, EGLSurface surface, in eglLockSurfaceKHR() argument
2021 EGLBoolean eglUnlockSurfaceKHR(EGLDisplay dpy, EGLSurface surface) in eglUnlockSurfaceKHR() argument
2027 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, in eglCreateImageKHR() argument
2030 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglCreateImageKHR()
2065 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) in eglDestroyImageKHR() argument
2067 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglDestroyImageKHR()
2090 EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, in eglCreateSyncKHR() argument
2093 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglCreateSyncKHR()
2111 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) in eglDestroySyncKHR() argument
2120 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, in eglClientWaitSyncKHR() argument
2130 EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, in eglGetSyncAttribKHR() argument
2156 EGLBoolean eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, in eglSetSwapRectangleANDROID() argument
2159 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSetSwapRectangleANDROID()
2165 if (d->dpy != dpy) in eglSetSwapRectangleANDROID()