Lines Matching refs:egl
27 #include <EGL/egl.h>
28 #include <EGL/eglext.h>
66 * This is the list of EGL extensions exposed to applications.
68 * Some of them (gBuiltinExtensionString) are implemented entirely in this EGL
71 * The rest (gExtensionString) depend on support in the EGL driver, and are
113 * EGL Extensions entry-points exposed to 3rd party applications
159 * They're used internally by the Android EGL layer.
240 // terminates an EGLDisplay, not a EGL itself.
274 res = cnx->egl.eglGetConfigs(
301 property_get("debug.egl.force_msaa", value, "false");
340 EGLBoolean resAA = cnx->egl.eglChooseConfig(
352 res = cnx->egl.eglChooseConfig(
367 return cnx->egl.eglGetConfigAttrib(
376 // been added to the Khronos egl.h.
425 if (!cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_NATIVE_VISUAL_ID,
455 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_ALPHA_SIZE, &a);
462 egl.eglGetConfigAttrib(iDpy, config, EGL_RED_SIZE, &r);
463 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_GREEN_SIZE, &g);
464 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_BLUE_SIZE, &b);
502 // the EGL spec requires that a new EGLSurface default to swap interval
507 EGLSurface surface = cnx->egl.eglCreateWindowSurface(
531 EGLSurface surface = cnx->egl.eglCreatePixmapSurface(
550 EGLSurface surface = cnx->egl.eglCreatePbufferSurface(
573 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface);
593 return s->cnx->egl.eglQuerySurface(
632 EGLContext context = cnx->egl.eglCreateContext(
675 EGLBoolean result = c->cnx->egl.eglDestroyContext(dp->disp.dpy, c->context);
775 result = setError(cnx->egl.eglGetError(), EGL_FALSE);
793 return c->cnx->egl.eglQueryContext(
853 return cnx->egl.eglWaitGL();
864 return cnx->egl.eglWaitNative(engine);
872 err = cnx->egl.eglGetError();
954 if (cnx->dso && cnx->egl.eglGetProcAddress) {
963 cnx->egl.eglGetProcAddress(procname);
1100 return s->cnx->egl.eglSwapBuffers(dp->disp.dpy, s->surface);
1116 return s->cnx->egl.eglCopyBuffers(dp->disp.dpy, s->surface, target);
1160 // EGL 1.1
1176 if (s->cnx->egl.eglSurfaceAttrib) {
1177 return s->cnx->egl.eglSurfaceAttrib(
1196 if (s->cnx->egl.eglBindTexImage) {
1197 return s->cnx->egl.eglBindTexImage(
1216 if (s->cnx->egl.eglReleaseTexImage) {
1217 return s->cnx->egl.eglReleaseTexImage(
1232 if (cnx->dso && cnx->egl.eglSwapInterval) {
1233 res = cnx->egl.eglSwapInterval(dp->disp.dpy, interval);
1241 // EGL 1.2
1253 if (cnx->egl.eglWaitClient) {
1254 res = cnx->egl.eglWaitClient();
1256 res = cnx->egl.eglWaitGL();
1272 if (cnx->dso && cnx->egl.eglBindAPI) {
1273 res = cnx->egl.eglBindAPI(api);
1287 if (cnx->dso && cnx->egl.eglQueryAPI) {
1288 return cnx->egl.eglQueryAPI();
1308 if (cnx->dso && cnx->egl.eglReleaseThread) {
1309 cnx->egl.eglReleaseThread();
1324 if (cnx->egl.eglCreatePbufferFromClientBuffer) {
1325 return cnx->egl.eglCreatePbufferFromClientBuffer(
1348 if (s->cnx->egl.eglLockSurfaceKHR) {
1349 return s->cnx->egl.eglLockSurfaceKHR(
1367 if (s->cnx->egl.eglUnlockSurfaceKHR) {
1368 return s->cnx->egl.eglUnlockSurfaceKHR(dp->disp.dpy, s->surface);
1386 if (cnx->dso && cnx->egl.eglCreateImageKHR) {
1387 result = cnx->egl.eglCreateImageKHR(
1404 if (cnx->dso && cnx->egl.eglDestroyImageKHR) {
1405 result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
1424 if (cnx->dso && cnx->egl.eglCreateSyncKHR) {
1425 result = cnx->egl.eglCreateSyncKHR(dp->disp.dpy, type, attrib_list);
1439 if (cnx->dso && cnx->egl.eglDestroySyncKHR) {
1440 result = cnx->egl.eglDestroySyncKHR(dp->disp.dpy, sync);
1453 if (cnx->dso && cnx->egl.eglSignalSyncKHR) {
1454 result = cnx->egl.eglSignalSyncKHR(
1470 if (cnx->dso && cnx->egl.eglClientWaitSyncKHR) {
1471 result = cnx->egl.eglClientWaitSyncKHR(
1487 if (cnx->dso && cnx->egl.eglGetSyncAttribKHR) {
1488 result = cnx->egl.eglGetSyncAttribKHR(
1504 if (cnx->dso && cnx->egl.eglWaitSyncKHR) {
1505 result = cnx->egl.eglWaitSyncKHR(dp->disp.dpy, sync, flags);
1523 if (cnx->dso && cnx->egl.eglDupNativeFenceFDANDROID) {
1524 result = cnx->egl
1565 if (cnx->dso && cnx->egl.eglGetSystemTimeFrequencyNV) {
1566 return cnx->egl.eglGetSystemTimeFrequencyNV();
1583 if (cnx->dso && cnx->egl.eglGetSystemTimeNV) {
1584 return cnx->egl.eglGetSystemTimeNV();