Home | History | Annotate | Download | only in EGL

Lines Matching refs: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);
425 if (!cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_NATIVE_VISUAL_ID,
455 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_ALPHA_SIZE, &a);
462 cnx->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);
507 EGLSurface surface = cnx->egl.eglCreateWindowSurface(
511 surface, cnx);
528 egl_connection_t* cnx = NULL;
529 egl_display_ptr dp = validate_display_connection(dpy, cnx);
531 EGLSurface surface = cnx->egl.eglCreatePixmapSurface(
535 surface, cnx);
547 egl_connection_t* cnx = NULL;
548 egl_display_ptr dp = validate_display_connection(dpy, cnx);
550 EGLSurface surface = cnx->egl.eglCreatePbufferSurface(
554 surface, cnx);
573 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface);
593 return s->cnx->egl.eglQuerySurface(
622 egl_connection_t* cnx = NULL;
623 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
632 EGLContext context = cnx->egl.eglCreateContext(
650 egl_context_t* c = new egl_context_t(dpy, context, config, cnx,
675 EGLBoolean result = c->cnx->egl.eglDestroyContext(dp->disp.dpy, c->context);
759 setGLHooksThreadSpecific(c->cnx->hooks[c->version]);
763 GLTrace_eglMakeCurrent(c->version, c->cnx->hooks[c->version], ctx);
774 egl_connection_t* const cnx = &gEGLImpl;
775 result = setError(cnx->egl.eglGetError(), EGL_FALSE);
793 return c->cnx->egl.eglQueryContext(
849 egl_connection_t* const cnx = &gEGLImpl;
850 if (!cnx->dso)
853 return cnx->egl.eglWaitGL();
860 egl_connection_t* const cnx = &gEGLImpl;
861 if (!cnx->dso)
864 return cnx->egl.eglWaitNative(engine);
870 egl_connection_t* const cnx = &gEGLImpl;
871 if (cnx->dso) {
872 err = cnx->egl.eglGetError();
882 const egl_connection_t* cnx = &gEGLImpl;
885 proc = dlsym(cnx->libGles2, procname);
888 proc = dlsym(cnx->libGles1, procname);
953 egl_connection_t* const cnx = &gEGLImpl;
954 if (cnx->dso && cnx->egl.eglGetProcAddress) {
957 cnx->hooks[egl_connection_t::GLESv1_INDEX]->ext.extensions[slot] =
958 cnx->hooks[egl_connection_t::GLESv2_INDEX]->ext.extensions[slot] =
963 cnx->egl.eglGetProcAddress(procname);
1065 setGLHooksThreadSpecific(c->cnx->hooks[c->version]);
1066 GLTrace_eglMakeCurrent(c->version, c->cnx->hooks[c->version], ctx);
1076 if (c) setGLHooksThreadSpecific(c->cnx->hooks[c->version]);
1095 s->cnx->hooks[c->version]->gl.glReadPixels(0,0,1,1,
1100 return s->cnx->egl.eglSwapBuffers(dp->disp.dpy, s->surface);
1116 return s->cnx->egl.eglCopyBuffers(dp->disp.dpy, s->surface, target);
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(
1231 egl_connection_t* const cnx = &gEGLImpl;
1232 if (cnx->dso && cnx->egl.eglSwapInterval) {
1233 res = cnx->egl.eglSwapInterval(dp->disp.dpy, interval);
1248 egl_connection_t* const cnx = &gEGLImpl;
1249 if (!cnx->dso)
1253 if (cnx->egl.eglWaitClient) {
1254 res = cnx->egl.eglWaitClient();
1256 res = cnx->egl.eglWaitGL();
1271 egl_connection_t* const cnx = &gEGLImpl;
1272 if (cnx->dso && cnx->egl.eglBindAPI) {
1273 res = cnx->egl.eglBindAPI(api);
1286 egl_connection_t* const cnx = &gEGLImpl;
1287 if (cnx->dso && cnx->egl.eglQueryAPI) {
1288 return cnx->egl.eglQueryAPI();
1307 egl_connection_t* const cnx = &gEGLImpl;
1308 if (cnx->dso && cnx->egl.eglReleaseThread) {
1309 cnx->egl.eglReleaseThread();
1321 egl_connection_t* cnx = NULL;
1322 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
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);
1385 egl_connection_t* const cnx = &gEGLImpl;
1386 if (cnx->dso && cnx->egl.eglCreateImageKHR) {
1387 result = cnx->egl.eglCreateImageKHR(
1403 egl_connection_t* const cnx = &gEGLImpl;
1404 if (cnx->dso && cnx->egl.eglDestroyImageKHR) {
1405 result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
1423 egl_connection_t* const cnx = &gEGLImpl;
1424 if (cnx->dso && cnx->egl.eglCreateSyncKHR) {
1425 result = cnx->egl.eglCreateSyncKHR(dp->disp.dpy, type, attrib_list);
1438 egl_connection_t* const cnx = &gEGLImpl;
1439 if (cnx->dso && cnx->egl.eglDestroySyncKHR) {
1440 result = cnx->egl.eglDestroySyncKHR(dp->disp.dpy, sync);
1452 egl_connection_t* const cnx = &gEGLImpl;
1453 if (cnx->dso && cnx->egl.eglSignalSyncKHR) {
1454 result = cnx->egl.eglSignalSyncKHR(
1469 egl_connection_t* const cnx = &gEGLImpl;
1470 if (cnx->dso && cnx->egl.eglClientWaitSyncKHR) {
1471 result = cnx->egl.eglClientWaitSyncKHR(
1486 egl_connection_t* const cnx = &gEGLImpl;
1487 if (cnx->dso && cnx->egl.eglGetSyncAttribKHR) {
1488 result = cnx->egl.eglGetSyncAttribKHR(
1503 egl_connection_t* const cnx = &gEGLImpl;
1504 if (cnx->dso && cnx->egl.eglWaitSyncKHR) {
1505 result = cnx->egl.eglWaitSyncKHR(dp->disp.dpy, sync, flags);
1522 egl_connection_t* const cnx = &gEGLImpl;
1523 if (cnx->dso && cnx->egl.eglDupNativeFenceFDANDROID) {
1524 result = cnx
1563 egl_connection_t* const cnx = &gEGLImpl;
1565 if (cnx->dso && cnx->egl.eglGetSystemTimeFrequencyNV) {
1566 return cnx->egl.eglGetSystemTimeFrequencyNV();
1581 egl_connection_t* const cnx = &gEGLImpl;
1583 if (cnx->dso && cnx->egl.eglGetSystemTimeNV) {
1584 return cnx->egl.eglGetSystemTimeNV();