Home | History | Annotate | Download | only in EGL

Lines Matching defs:cnx

180     egl_connection_t* const cnx = &gEGLImpl;
181 if (cnx->dso) {
182 res = cnx->egl.eglGetConfigs(
205 egl_connection_t* const cnx = &gEGLImpl;
206 if (cnx->dso) {
207 res = cnx->egl.eglChooseConfig(
218 egl_connection_t* cnx = NULL;
219 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
222 return cnx->egl.eglGetConfigAttrib(
236 egl_connection_t* cnx = NULL;
237 egl_display_ptr dp = validate_display_connection(dpy, cnx);
249 if (cnx->egl.eglGetConfigAttrib(iDpy,
267 EGLSurface surface = cnx->egl.eglCreateWindowSurface(
271 surface, cnx);
288 egl_connection_t* cnx = NULL;
289 egl_display_ptr dp = validate_display_connection(dpy, cnx);
291 EGLSurface surface = cnx->egl.eglCreatePixmapSurface(
295 surface, cnx);
307 egl_connection_t* cnx = NULL;
308 egl_display_ptr dp = validate_display_connection(dpy, cnx);
310 EGLSurface surface = cnx->egl.eglCreatePbufferSurface(
314 surface, cnx);
333 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface);
353 return s->cnx->egl.eglQuerySurface(
387 egl_connection_t* cnx = NULL;
388 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
394 EGLContext context = cnx->egl.eglCreateContext(
412 egl_context_t* c = new egl_context_t(dpy, context, config, cnx,
437 EGLBoolean result = c->cnx->egl.eglDestroyContext(dp->disp.dpy, c->context);
519 setGLHooksThreadSpecific(c->cnx->hooks[c->version]);
523 cnx->hooks[c->version], ctx);
534 result = setError(c->cnx->egl.eglGetError(), EGL_FALSE);
552 return c->cnx->egl.eglQueryContext(
608 egl_connection_t* const cnx = &gEGLImpl;
609 if (!cnx->dso)
612 return cnx->egl.eglWaitGL();
619 egl_connection_t* const cnx = &gEGLImpl;
620 if (!cnx->dso)
623 return cnx->egl.eglWaitNative(engine);
629 egl_connection_t* const cnx = &gEGLImpl;
630 if (cnx->dso) {
631 err = cnx->egl.eglGetError();
700 egl_connection_t* const cnx = &gEGLImpl;
701 if (cnx->dso && cnx->egl.eglGetProcAddress) {
704 cnx->hooks[egl_connection_t::GLESv1_INDEX]->ext.extensions[slot] =
705 cnx->hooks[egl_connection_t::GLESv2_INDEX]->ext.extensions[slot] =
710 cnx->egl.eglGetProcAddress(procname);
811 s->cnx->hooks[c->version]->gl.glReadPixels(0,0,1,1,
816 EGLBoolean result = s->cnx->egl.eglSwapBuffers(dp->disp.dpy, s->surface);
844 return s->cnx->egl.eglCopyBuffers(dp->disp.dpy, s->surface, target);
887 if (s->cnx->egl.eglSurfaceAttrib) {
888 return s->cnx->egl.eglSurfaceAttrib(
907 if (s->cnx->egl.eglBindTexImage) {
908 return s->cnx->egl.eglBindTexImage(
927 if (s->cnx->egl.eglReleaseTexImage) {
928 return s->cnx->egl.eglReleaseTexImage(
942 egl_connection_t* const cnx = &gEGLImpl;
943 if (cnx->dso && cnx->egl.eglSwapInterval) {
944 res = cnx->egl.eglSwapInterval(dp->disp.dpy, interval);
959 egl_connection_t* const cnx = &gEGLImpl;
960 if (!cnx->dso)
964 if (cnx->egl.eglWaitClient) {
965 res = cnx->egl.eglWaitClient();
967 res = cnx->egl.eglWaitGL();
982 egl_connection_t* const cnx = &gEGLImpl;
983 if (cnx->dso && cnx->egl.eglBindAPI) {
984 res = cnx->egl.eglBindAPI(api);
997 egl_connection_t* const cnx = &gEGLImpl;
998 if (cnx->dso && cnx->egl.eglQueryAPI) {
999 return cnx->egl.eglQueryAPI();
1013 egl_connection_t* const cnx = &gEGLImpl;
1014 if (cnx->dso && cnx->egl.eglReleaseThread) {
1015 cnx->egl.eglReleaseThread();
1032 egl_connection_t* cnx = NULL;
1033 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
1035 if (cnx->egl.eglCreatePbufferFromClientBuffer) {
1036 return cnx->egl.eglCreatePbufferFromClientBuffer(
1059 if (s->cnx->egl.eglLockSurfaceKHR) {
1060 return s->cnx->egl.eglLockSurfaceKHR(
1078 if (s->cnx->egl.eglUnlockSurfaceKHR) {
1079 return s->cnx->egl.eglUnlockSurfaceKHR(dp->disp.dpy, s->surface);
1096 egl_connection_t* const cnx = &gEGLImpl;
1097 if (cnx->dso && cnx->egl.eglCreateImageKHR) {
1098 result = cnx->egl.eglCreateImageKHR(
1113 egl_connection_t* const cnx = &gEGLImpl;
1114 if (cnx->dso && cnx->egl.eglDestroyImageKHR) {
1115 cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
1133 egl_connection_t* const cnx = &gEGLImpl;
1134 if (cnx->dso && cnx->egl.eglCreateSyncKHR) {
1135 result = cnx->egl.eglCreateSyncKHR(dp->disp.dpy, type, attrib_list);
1148 egl_connection_t* const cnx = &gEGLImpl;
1149 if (cnx->dso && cnx->egl.eglDestroySyncKHR) {
1150 result = cnx->egl.eglDestroySyncKHR(dp->disp.dpy, sync);
1164 egl_connection_t* const cnx = &gEGLImpl;
1165 if (cnx->dso && cnx->egl.eglClientWaitSyncKHR) {
1166 result = cnx->egl.eglClientWaitSyncKHR(
1181 egl_connection_t* const cnx = &gEGLImpl;
1182 if (cnx->dso && cnx->egl.eglGetSyncAttribKHR) {
1183 result = cnx->egl.eglGetSyncAttribKHR(
1207 egl_connection_t* const cnx = &gEGLImpl;
1209 if (cnx->dso && cnx->egl.eglGetSystemTimeFrequencyNV) {
1210 return cnx->egl.eglGetSystemTimeFrequencyNV();
1225 egl_connection_t* const cnx = &gEGLImpl;
1227 if (cnx->dso && cnx->egl.eglGetSystemTimeNV) {
1228 return cnx->egl.eglGetSystemTimeNV();