Home | History | Annotate | Download | only in EGL

Lines Matching defs:cnx

272     egl_connection_t* const cnx = &gEGLImpl;
273 if (cnx->dso) {
274 res = cnx->egl.eglGetConfigs(
297 egl_connection_t* const cnx = &gEGLImpl;
298 if (cnx->dso) {
340 EGLBoolean resAA = cnx->egl.eglChooseConfig(
352 res = cnx->egl.eglChooseConfig(
363 egl_connection_t* cnx = NULL;
364 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
367 return cnx->egl.eglGetConfigAttrib(
406 egl_connection_t* cnx = NULL;
407 egl_display_ptr dp = validate_display_connection(dpy, cnx);
427 if (!cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_NATIVE_VISUAL_ID,
457 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_ALPHA_SIZE, &a);
464 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_RED_SIZE, &r);
465 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_GREEN_SIZE, &g);
466 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_BLUE_SIZE, &b);
509 EGLSurface surface = cnx->egl.eglCreateWindowSurface(
513 surface, cnx);
530 egl_connection_t* cnx = NULL;
531 egl_display_ptr dp = validate_display_connection(dpy, cnx);
533 EGLSurface surface = cnx->egl.eglCreatePixmapSurface(
537 surface, cnx);
549 egl_connection_t* cnx = NULL;
550 egl_display_ptr dp = validate_display_connection(dpy, cnx);
552 EGLSurface surface = cnx->egl.eglCreatePbufferSurface(
556 surface, cnx);
575 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface);
595 return s->cnx->egl.eglQuerySurface(
624 egl_connection_t* cnx = NULL;
625 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
634 EGLContext context = cnx->egl.eglCreateContext(
652 egl_context_t* c = new egl_context_t(dpy, context, config, cnx,
677 EGLBoolean result = c->cnx->egl.eglDestroyContext(dp->disp.dpy, c->context);
761 setGLHooksThreadSpecific(c->cnx->hooks[c->version]);
765 GLTrace_eglMakeCurrent(c->version, c->cnx->hooks[c->version], ctx);
776 egl_connection_t* const cnx = &gEGLImpl;
777 result = setError(cnx->egl.eglGetError(), EGL_FALSE);
795 return c->cnx->egl.eglQueryContext(
851 egl_connection_t* const cnx = &gEGLImpl;
852 if (!cnx->dso)
855 return cnx->egl.eglWaitGL();
862 egl_connection_t* const cnx = &gEGLImpl;
863 if (!cnx->dso)
866 return cnx->egl.eglWaitNative(engine);
872 egl_connection_t* const cnx = &gEGLImpl;
873 if (cnx->dso) {
874 err = cnx->egl.eglGetError();
884 const egl_connection_t* cnx = &gEGLImpl;
887 proc = dlsym(cnx->libEgl, procname);
890 proc = dlsym(cnx->libGles2, procname);
893 proc = dlsym(cnx->libGles1, procname);
958 egl_connection_t* const cnx = &gEGLImpl;
959 if (cnx->dso && cnx->egl.eglGetProcAddress) {
962 cnx->hooks[egl_connection_t::GLESv1_INDEX]->ext.extensions[slot] =
963 cnx->hooks[egl_connection_t::GLESv2_INDEX]->ext.extensions[slot] =
968 cnx->egl.eglGetProcAddress(procname);
1070 setGLHooksThreadSpecific(c->cnx->hooks[c->version]);
1071 GLTrace_eglMakeCurrent(c->version, c->cnx->hooks[c->version], ctx);
1081 if (c) setGLHooksThreadSpecific(c->cnx->hooks[c->version]);
1100 s->cnx->hooks[c->version]->gl.glReadPixels(0,0,1,1,
1105 return s->cnx->egl.eglSwapBuffers(dp->disp.dpy, s->surface);
1121 return s->cnx->egl.eglCopyBuffers(dp->disp.dpy, s->surface, target);
1181 if (s->cnx->egl.eglSurfaceAttrib) {
1182 return s->cnx->egl.eglSurfaceAttrib(
1201 if (s->cnx->egl.eglBindTexImage) {
1202 return s->cnx->egl.eglBindTexImage(
1221 if (s->cnx->egl.eglReleaseTexImage) {
1222 return s->cnx->egl.eglReleaseTexImage(
1236 egl_connection_t* const cnx = &gEGLImpl;
1237 if (cnx->dso && cnx->egl.eglSwapInterval) {
1238 res = cnx->egl.eglSwapInterval(dp->disp.dpy, interval);
1253 egl_connection_t* const cnx = &gEGLImpl;
1254 if (!cnx->dso)
1258 if (cnx->egl.eglWaitClient) {
1259 res = cnx->egl.eglWaitClient();
1261 res = cnx->egl.eglWaitGL();
1276 egl_connection_t* const cnx = &gEGLImpl;
1277 if (cnx->dso && cnx->egl.eglBindAPI) {
1278 res = cnx->egl.eglBindAPI(api);
1291 egl_connection_t* const cnx = &gEGLImpl;
1292 if (cnx->dso && cnx->egl.eglQueryAPI) {
1293 return cnx->egl.eglQueryAPI();
1312 egl_connection_t* const cnx = &gEGLImpl;
1313 if (cnx->dso && cnx->egl.eglReleaseThread) {
1314 cnx->egl.eglReleaseThread();
1326 egl_connection_t* cnx = NULL;
1327 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
1329 if (cnx->egl.eglCreatePbufferFromClientBuffer) {
1330 return cnx->egl.eglCreatePbufferFromClientBuffer(
1353 if (s->cnx->egl.eglLockSurfaceKHR) {
1354 return s->cnx->egl.eglLockSurfaceKHR(
1372 if (s->cnx->egl.eglUnlockSurfaceKHR) {
1373 return s->cnx->egl.eglUnlockSurfaceKHR(dp->disp.dpy, s->surface);
1390 egl_connection_t* const cnx = &gEGLImpl;
1391 if (cnx->dso && cnx->egl.eglCreateImageKHR) {
1392 result = cnx->egl.eglCreateImageKHR(
1408 egl_connection_t* const cnx = &gEGLImpl;
1409 if (cnx->dso && cnx->egl.eglDestroyImageKHR) {
1410 result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
1428 egl_connection_t* const cnx = &gEGLImpl;
1429 if (cnx->dso && cnx->egl.eglCreateSyncKHR) {
1430 result = cnx->egl.eglCreateSyncKHR(dp->disp.dpy, type, attrib_list);
1443 egl_connection_t* const cnx = &gEGLImpl;
1444 if (cnx->dso && cnx->egl.eglDestroySyncKHR) {
1445 result = cnx->egl.eglDestroySyncKHR(dp->disp.dpy, sync);
1457 egl_connection_t* const cnx = &gEGLImpl;
1458 if (cnx->dso && cnx->egl.eglSignalSyncKHR) {
1459 result = cnx->egl.eglSignalSyncKHR(
1474 egl_connection_t* const cnx = &gEGLImpl;
1475 if (cnx->dso && cnx->egl.eglClientWaitSyncKHR) {
1476 result = cnx->egl.eglClientWaitSyncKHR(
1491 egl_connection_t* const cnx = &gEGLImpl;
1492 if (cnx->dso && cnx->egl.eglGetSyncAttribKHR) {
1493 result = cnx->egl.eglGetSyncAttribKHR(
1508 egl_connection_t* const cnx = &gEGLImpl;
1509 if (cnx->dso && cnx->egl.eglWaitSyncKHR) {
1510 result = cnx->egl.eglWaitSyncKHR(dp->disp.dpy, sync, flags);
1527 egl_connection_t* const cnx = &gEGLImpl;
1528 if (cnx->dso && cnx->egl.eglDupNativeFenceFDANDROID) {
1529 result = cnx->egl.eglDupNativeFenceFDANDROID(dp->disp.dpy, sync);
1568 egl_connection_t* const cnx = &gEGLImpl;
1570 if (cnx->dso && cnx->egl.eglGetSystemTimeFrequencyNV) {
1571 return cnx->egl.eglGetSystemTimeFrequencyNV();
1586 egl_connection_t* const cnx = &gEGLImpl;
1588 if (cnx->dso && cnx->egl.eglGetSystemTimeNV) {
1589 return cnx->egl.eglGetSystemTimeNV();