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()
657 EGLDisplay dpy, EGLConfig config,
672 egl_pixmap_surface_t::egl_pixmap_surface_t(EGLDisplay dpy, in egl_pixmap_surface_t() argument
676 : egl_surface_t(dpy, config, depthFormat), nativePixmap(*pixmap) in egl_pixmap_surface_t()
728 EGLDisplay dpy, EGLConfig config, int32_t depthFormat,
742 egl_pbuffer_surface_t::egl_pbuffer_surface_t(EGLDisplay dpy, in egl_pbuffer_surface_t() argument
745 : egl_surface_t(dpy, config, depthFormat) in egl_pbuffer_surface_t()
1256 static EGLSurface createWindowSurface(EGLDisplay dpy, EGLConfig config, in createWindowSurface() argument
1259 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createWindowSurface()
1265 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createWindowSurface()
1277 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createWindowSurface()
1293 surface = new egl_window_surface_v2_t(dpy, config, depthFormat, in createWindowSurface()
1305 static EGLSurface createPixmapSurface(EGLDisplay dpy, EGLConfig config, in createPixmapSurface() argument
1308 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPixmapSurface()
1314 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPixmapSurface()
1326 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createPixmapSurface()
1339 new egl_pixmap_surface_t(dpy, config, depthFormat, in createPixmapSurface()
1351 static EGLSurface createPbufferSurface(EGLDisplay dpy, EGLConfig config, in createPbufferSurface() argument
1354 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPbufferSurface()
1358 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPbufferSurface()
1365 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createPbufferSurface()
1383 new egl_pbuffer_surface_t(dpy, config, depthFormat, w, h, pixelFormat); in createPbufferSurface()
1416 EGLDisplay dpy = (EGLDisplay)1; in eglGetDisplay() local
1417 egl_display_t& d = egl_display_t::get_display(dpy); in eglGetDisplay()
1419 return dpy; in eglGetDisplay()
1424 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitialize() argument
1426 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglInitialize()
1430 egl_display_t& d = egl_display_t::get_display(dpy); in eglInitialize()
1445 EGLBoolean eglTerminate(EGLDisplay dpy) in eglTerminate() argument
1447 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglTerminate()
1451 egl_display_t& d = egl_display_t::get_display(dpy); in eglTerminate()
1464 EGLBoolean eglGetConfigs( EGLDisplay dpy, in eglGetConfigs() argument
1468 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglGetConfigs()
1484 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
1488 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglChooseConfig()
1566 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, in eglGetConfigAttrib() argument
1569 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglGetConfigAttrib()
1572 return getConfigAttrib(dpy, config, attribute, value); in eglGetConfigAttrib()
1579 EGLSurface eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, in eglCreateWindowSurface() argument
1583 return createWindowSurface(dpy, config, window, attrib_list); in eglCreateWindowSurface()
1586 EGLSurface eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, in eglCreatePixmapSurface() argument
1590 return createPixmapSurface(dpy, config, pixmap, attrib_list); in eglCreatePixmapSurface()
1593 EGLSurface eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, in eglCreatePbufferSurface() argument
1596 return createPbufferSurface(dpy, config, attrib_list); in eglCreatePbufferSurface()
1599 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface eglSurface) in eglDestroySurface() argument
1601 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglDestroySurface()
1607 if (surface->dpy != dpy) in eglDestroySurface()
1620 EGLBoolean eglQuerySurface( EGLDisplay dpy, EGLSurface eglSurface, in eglQuerySurface() argument
1623 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQuerySurface()
1628 if (surface->dpy != dpy) in eglQuerySurface()
1634 ret = getConfigAttrib(dpy, surface->config, EGL_CONFIG_ID, value); in eglQuerySurface()
1684 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, in eglCreateContext() argument
1687 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCreateContext()
1695 c->dpy = dpy; in eglCreateContext()
1702 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument
1704 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglDestroyContext()
1713 EGLBoolean eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, in eglMakeCurrent() argument
1716 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglMakeCurrent()
1722 if (s->dpy != dpy) in eglMakeCurrent()
1730 if (s->dpy != dpy) in eglMakeCurrent()
1860 return c->dpy; in eglGetCurrentDisplay()
1863 EGLBoolean eglQueryContext( EGLDisplay dpy, EGLContext ctx, in eglQueryContext() argument
1866 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQueryContext()
1873 return getConfigAttrib(dpy, c->config, EGL_CONFIG_ID, value); in eglQueryContext()
1888 EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface draw) in eglSwapBuffers() argument
1890 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSwapBuffers()
1896 if (d->dpy != dpy) in eglSwapBuffers()
1917 EGLBoolean eglCopyBuffers( EGLDisplay dpy, EGLSurface /*surface*/, in eglCopyBuffers() argument
1920 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCopyBuffers()
1931 const char* eglQueryString(EGLDisplay dpy, EGLint name) in eglQueryString() argument
1933 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQueryString()
1954 EGLDisplay dpy, EGLSurface /*surface*/, EGLint /*attribute*/, EGLint /*value*/) in eglSurfaceAttrib() argument
1956 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSurfaceAttrib()
1963 EGLDisplay dpy, EGLSurface /*surface*/, EGLint /*buffer*/) in eglBindTexImage() argument
1965 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglBindTexImage()
1972 EGLDisplay dpy, EGLSurface /*surface*/, EGLint /*buffer*/) in eglReleaseTexImage() argument
1974 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglReleaseTexImage()
1980 EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint /*interval*/) in eglSwapInterval() argument
1982 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSwapInterval()
2017 EGLDisplay dpy, EGLenum /*buftype*/, EGLClientBuffer /*buffer*/, in eglCreatePbufferFromClientBuffer() argument
2020 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCreatePbufferFromClientBuffer()
2054 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, in eglCreateImageKHR() argument
2057 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglCreateImageKHR()
2090 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) in eglDestroyImageKHR() argument
2092 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglDestroyImageKHR()
2115 EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, in eglCreateSyncKHR() argument
2118 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglCreateSyncKHR()
2181 EGLBoolean eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, in eglSetSwapRectangleANDROID() argument
2184 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSetSwapRectangleANDROID()
2190 if (d->dpy != dpy) in eglSetSwapRectangleANDROID()