Home | History | Annotate | Download | only in EGL

Lines Matching defs:dpy

295     EGLDisplay dpy = egl_display_t::getFromNativeDisplay(display);
296 return dpy;
303 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor)
307 egl_display_ptr dp = get_display(dpy);
315 EGLBoolean eglTerminate(EGLDisplay dpy)
323 egl_display_ptr dp = get_display(dpy);
335 EGLBoolean eglGetConfigs( EGLDisplay dpy,
341 const egl_display_ptr dp = validate_display(dpy);
354 dp->disp.dpy, configs, config_size, num_config);
360 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list,
366 const egl_display_ptr dp = validate_display(dpy);
422 dp->disp.dpy, aaAttribs, configs, config_size, &numConfigAA);
434 dp->disp.dpy, attrib_list, configs, config_size, num_config);
439 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config,
445 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
449 dp->disp.dpy, config, attribute, value);
609 void getNativePixelFormat(EGLDisplay dpy, egl_connection_t* cnx, EGLConfig config,
618 cnx->egl.eglGetConfigAttrib(dpy, config, EGL_COLOR_COMPONENT_TYPE_EXT, &componentType);
623 cnx->egl.eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r);
624 cnx->egl.eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g);
625 cnx->egl.eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b);
626 cnx->egl.eglGetConfigAttrib(dpy, config, EGL_ALPHA_SIZE, &a);
695 EGLSurface eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config,
703 egl_display_ptr dp = validate_display_connection(dpy, cnx);
723 EGLDisplay iDpy = dp->disp.dpy;
779 EGLSurface eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config,
786 egl_display_ptr dp = validate_display_connection(dpy, cnx);
788 EGLDisplay iDpy = dp->disp.dpy;
803 dp->disp.dpy, config, pixmap, attrib_list);
814 EGLSurface eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config,
820 egl_display_ptr dp = validate_display_connection(dpy, cnx);
822 EGLDisplay iDpy = dp->disp.dpy;
837 dp->disp.dpy, config, attrib_list);
848 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface)
852 const egl_display_ptr dp = validate_display(dpy);
860 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface);
867 EGLBoolean eglQuerySurface( EGLDisplay dpy, EGLSurface surface,
872 const egl_display_ptr dp = validate_display(dpy);
887 return s->cnx->egl.eglQuerySurface(dp->disp.dpy, s->surface, attribute, value);
890 void EGLAPI eglBeginFrame(EGLDisplay dpy, EGLSurface surface) {
894 const egl_display_ptr dp = validate_display(dpy);
909 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config,
915 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
925 dp->disp.dpy, config, share_list, attrib_list);
942 egl_context_t* c = new egl_context_t(dpy, context, config, cnx,
950 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx)
954 const egl_display_ptr dp = validate_display(dpy);
963 EGLBoolean result = c->cnx->egl.eglDestroyContext(dp->disp.dpy, c->context);
970 EGLBoolean eglMakeCurrent( EGLDisplay dpy, EGLSurface draw,
975 egl_display_ptr dp = validate_display(dpy);
979 // EGL_NO_SURFACE, then an EGL_NOT_INITIALIZED error is generated if dpy is
1097 EGLBoolean eglQueryContext( EGLDisplay dpy, EGLContext ctx,
1102 const egl_display_ptr dp = validate_display(dpy);
1110 dp->disp.dpy, c->context, attribute, value);
1156 return c->dpy;
1337 EGLDisplay dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
1343 EGLint result = eglClientWaitSyncKHR(dpy, sync, 0, EGL_FOREVER_KHR);
1349 eglDestroySyncKHR(dpy, sync);
1366 EGLBoolean eglSwapBuffersWithDamageKHR(EGLDisplay dpy, EGLSurface draw,
1372 const egl_display_ptr dp = validate_display(dpy);
1382 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_FENCE_KHR, NULL);
1404 return s->cnx->egl.eglSwapBuffers(dp->disp.dpy, s->surface);
1424 return s->cnx->egl.eglSwapBuffersWithDamageKHR(dp->disp.dpy, s->surface,
1427 return s->cnx->egl.eglSwapBuffers(dp->disp.dpy, s->surface);
1431 EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface)
1433 return eglSwapBuffersWithDamageKHR(dpy, surface, NULL, 0);
1436 EGLBoolean eglCopyBuffers( EGLDisplay dpy, EGLSurface surface,
1441 const egl_display_ptr dp = validate_display(dpy);
1449 return s->cnx->egl.eglCopyBuffers(dp->disp.dpy, s->surface, target);
1452 const char* eglQueryString(EGLDisplay dpy, EGLint name)
1463 if (dpy == EGL_NO_DISPLAY && name == EGL_EXTENSIONS)
1466 const egl_display_ptr dp = validate_display(dpy);
1484 extern "C" EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name)
1488 const egl_display_ptr dp = validate_display(dpy);
1511 EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value)
1515 const egl_display_ptr dp = validate_display(dpy);
1546 dp->disp.dpy, s->surface, attribute, value);
1552 EGLDisplay dpy, EGLSurface surface, EGLint buffer)
1556 const egl_display_ptr dp = validate_display(dpy);
1566 dp->disp.dpy, s->surface, buffer);
1572 EGLDisplay dpy, EGLSurface surface, EGLint buffer)
1576 const egl_display_ptr dp = validate_display(dpy);
1586 dp->disp.dpy, s->surface, buffer);
1591 EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval)
1595 const egl_display_ptr dp = validate_display(dpy);
1601 res = cnx->egl.eglSwapInterval(dp->disp.dpy, interval);
1680 EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer,
1686 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
1690 dp->disp.dpy, buftype, buffer, config, attrib_list);
1699 EGLBoolean eglLockSurfaceKHR(EGLDisplay dpy, EGLSurface surface,
1704 const egl_display_ptr dp = validate_display(dpy);
1714 dp->disp.dpy, s->surface, attrib_list);
1719 EGLBoolean eglUnlockSurfaceKHR(EGLDisplay dpy, EGLSurface surface)
1723 const egl_display_ptr dp = validate_display(dpy);
1732 return s->cnx->egl.eglUnlockSurfaceKHR(dp->disp.dpy, s->surface);
1737 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target,
1742 const egl_display_ptr dp = validate_display(dpy);
1770 dp->disp.dpy,
1777 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img)
1781 const egl_display_ptr dp = validate_display(dpy);
1787 result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
1797 EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list)
1801 const egl_display_ptr dp = validate_display(dpy);
1807 result = cnx->egl.eglCreateSyncKHR(dp->disp.dpy, type, attrib_list);
1812 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync)
1816 const egl_display_ptr dp = validate_display(dpy);
1822 result = cnx->egl.eglDestroySyncKHR(dp->disp.dpy, sync);
1827 EGLBoolean eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) {
1830 const egl_display_ptr dp = validate_display(dpy);
1837 dp->disp.dpy, sync, mode);
1842 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync,
1847 const egl_display_ptr dp = validate_display(dpy);
1854 dp->disp.dpy, sync, flags, timeout);
1859 EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync,
1864 const egl_display_ptr dp = validate_display(dpy);
1871 dp->disp.dpy, sync, attribute, value);
1876 EGLStreamKHR eglCreateStreamKHR(EGLDisplay dpy, const EGLint *attrib_list)
1880 const egl_display_ptr dp = validate_display(dpy);
1887 dp->disp.dpy, attrib_list);
1892 EGLBoolean eglDestroyStreamKHR(EGLDisplay dpy, EGLStreamKHR stream)
1896 const egl_display_ptr dp = validate_display(dpy);
1903 dp->disp.dpy, stream);
1908 EGLBoolean eglStreamAttribKHR(EGLDisplay dpy, EGLStreamKHR stream,
1913 const egl_display_ptr dp = validate_display(dpy);
1920 dp->disp.dpy, stream, attribute, value);
1925 EGLBoolean eglQueryStreamKHR(EGLDisplay dpy, EGLStreamKHR stream,
1930 const egl_display_ptr dp = validate_display(dpy);
1937 dp->disp.dpy, stream, attribute, value);
1942 EGLBoolean eglQueryStreamu64KHR(EGLDisplay dpy, EGLStreamKHR stream,
1947 const egl_display_ptr dp = validate_display(dpy);
1954 dp->disp.dpy, stream, attribute, value);
1959 EGLBoolean eglQueryStreamTimeKHR(EGLDisplay dpy, EGLStreamKHR stream,
1964 const egl_display_ptr dp = validate_display(dpy);
1971 dp->disp.dpy, stream, attribute, value);
1976 EGLSurface eglCreateStreamProducerSurfaceKHR(EGLDisplay dpy, EGLConfig config,
1981 egl_display_ptr dp = validate_display(dpy);
1987 dp->disp.dpy, config, stream, attrib_list);
1997 EGLBoolean eglStreamConsumerGLTextureExternalKHR(EGLDisplay dpy,
2002 const egl_display_ptr dp = validate_display(dpy);
2009 dp->disp.dpy, stream);
2014 EGLBoolean eglStreamConsumerAcquireKHR(EGLDisplay dpy,
2019 const egl_display_ptr dp = validate_display(dpy);
2026 dp->disp.dpy, stream);
2031 EGLBoolean eglStreamConsumerReleaseKHR(EGLDisplay dpy,
2036 const egl_display_ptr dp = validate_display(dpy);
2043 dp->disp.dpy, stream);
2049 EGLDisplay dpy, EGLStreamKHR stream)
2053 const egl_display_ptr dp = validate_display(dpy);
2060 dp->disp.dpy, stream);
2066 EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor)
2070 const egl_display_ptr dp = validate_display(dpy);
2077 dp->disp.dpy, file_descriptor);
2086 EGLint eglWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) {
2088 const egl_display_ptr dp = validate_display(dpy);
2093 result = cnx->egl.eglWaitSyncKHR(dp->disp.dpy, sync, flags);
2102 EGLint eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync)
2106 const egl_display_ptr dp = validate_display(dpy);
2112 result = cnx->egl.eglDupNativeFenceFDANDROID(dp->disp.dpy, sync);
2117 EGLBoolean eglPresentationTimeANDROID(EGLDisplay dpy, EGLSurface surface,
2122 const egl_display_ptr dp = validate_display(dpy);
2194 EGLBoolean eglSetDamageRegionKHR(EGLDisplay dpy, EGLSurface surface,
2199 const egl_display_ptr dp = validate_display(dpy);
2213 return s->cnx->egl.eglSetDamageRegionKHR(dp->disp.dpy, s->surface,
2220 EGLBoolean eglGetNextFrameIdANDROID(EGLDisplay dpy, EGLSurface surface,
2224 const egl_display_ptr dp = validate_display(dpy);
2254 EGLBoolean eglGetCompositorTimingANDROID(EGLDisplay dpy, EGLSurface surface,
2259 const egl_display_ptr dp = validate_display(dpy);
2312 EGLDisplay dpy, EGLSurface surface, EGLint name)
2316 const egl_display_ptr dp = validate_display(dpy);
2343 EGLBoolean eglGetFrameTimestampsANDROID(EGLDisplay dpy, EGLSurface surface,
2349 const egl_display_ptr dp = validate_display(dpy);
2432 EGLDisplay dpy, EGLSurface surface, EGLint timestamp)
2436 const egl_display_ptr dp = validate_display(dpy);