Home | History | Annotate | Download | only in EGL

Lines Matching defs:dp

136     egl_display_ptr dp = get_display(dpy);
137 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE);
139 EGLBoolean res = dp->initialize(major, minor);
152 egl_display_ptr dp = get_display(dpy);
153 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE);
155 EGLBoolean res = dp->terminate();
170 const egl_display_ptr dp = validate_display(dpy);
171 if (!dp) return EGL_FALSE;
183 dp->disp.dpy, configs, config_size, num_config);
195 const egl_display_ptr dp = validate_display(dpy);
196 if (!dp) return EGL_FALSE;
249 dp->disp.dpy, aaAttribs, configs, config_size, &numConfigAA);
261 dp->disp.dpy, attrib_list, configs, config_size, num_config);
272 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
273 if (!dp) return EGL_FALSE;
276 dp->disp.dpy, config, attribute, value);
290 egl_display_ptr dp = validate_display_connection(dpy, cnx);
291 if (dp) {
292 EGLDisplay iDpy = dp->disp.dpy;
323 egl_surface_t* s = new egl_surface_t(dp.get(), config, window,
342 egl_display_ptr dp = validate_display_connection(dpy, cnx);
343 if (dp) {
345 dp->disp.dpy, config, pixmap, attrib_list);
347 egl_surface_t* s = new egl_surface_t(dp.get(), config, NULL,
361 egl_display_ptr dp = validate_display_connection(dpy, cnx);
362 if (dp) {
364 dp->disp.dpy, config, attrib_list);
366 egl_surface_t* s = new egl_surface_t(dp.get(), config, NULL,
378 const egl_display_ptr dp = validate_display(dpy);
379 if (!dp) return EGL_FALSE;
381 SurfaceRef _s(dp.get(), surface);
386 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface);
398 const egl_display_ptr dp = validate_display(dpy);
399 if (!dp) return EGL_FALSE;
401 SurfaceRef _s(dp.get(), surface);
407 dp->disp.dpy, s->surface, attribute, value);
414 const egl_display_ptr dp = validate_display(dpy);
415 if (!dp) {
419 SurfaceRef _s(dp.get(), surface);
441 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
448 dp->disp.dpy, config, share_list, attrib_list);
487 const egl_display_ptr dp = validate_display(dpy);
488 if (!dp)
491 ContextRef _c(dp.get(), ctx);
496 EGLBoolean result = c->cnx->egl.eglDestroyContext(dp->disp.dpy, c->context);
508 egl_display_ptr dp = validate_display(dpy);
509 dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE);
516 if (!dp->isReady()) return setError(EGL_NOT_INITIALIZED, EGL_FALSE);
520 ContextRef _c(dp.get(), ctx);
521 SurfaceRef _d(dp.get(), draw);
522 SurfaceRef _r(dp.get(), read);
572 EGLBoolean result = dp->makeCurrent(c, cur_c,
604 const egl_display_ptr dp = validate_display(dpy);
605 if (!dp) return EGL_FALSE;
607 ContextRef _c(dp.get(), ctx);
612 dp->disp.dpy, c->context, attribute, value);
853 const egl_display_ptr dp = validate_display(dpy);
854 if (!dp) return EGL_FALSE;
856 SurfaceRef _s(dp.get(), draw);
867 if (CC_UNLIKELY(dp->finishOnSwap)) {
877 EGLBoolean result = s->cnx->egl.eglSwapBuffers(dp->disp.dpy, s->surface);
879 if (CC_UNLIKELY(dp->traceGpuCompletion)) {
897 const egl_display_ptr dp = validate_display(dpy);
898 if (!dp) return EGL_FALSE;
900 SurfaceRef _s(dp.get(), surface);
905 return s->cnx->egl.eglCopyBuffers(dp->disp.dpy, s->surface, target);
912 const egl_display_ptr dp = validate_display(dpy);
913 if (!dp) return (const char *) NULL;
917 return dp->getVendorString();
919 return dp->getVersionString();
921 return dp->getExtensionString();
923 return dp->getClientApiString();
925 return dp->disp.queryString.version;
940 const egl_display_ptr dp = validate_display(dpy);
941 if (!dp) return EGL_FALSE;
943 SurfaceRef _s(dp.get(), surface);
950 dp->disp.dpy, s->surface, attribute, value);
960 const egl_display_ptr dp = validate_display(dpy);
961 if (!dp) return EGL_FALSE;
963 SurfaceRef _s(dp.get(), surface);
970 dp->disp.dpy, s->surface, buffer);
980 const egl_display_ptr dp = validate_display(dpy);
981 if (!dp) return EGL_FALSE;
983 SurfaceRef _s(dp.get(), surface);
990 dp->disp.dpy, s->surface, buffer);
999 const egl_display_ptr dp = validate_display(dpy);
1000 if (!dp) return EGL_FALSE;
1005 res = cnx->egl.eglSwapInterval(dp->disp.dpy, interval);
1094 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
1095 if (!dp) return EGL_FALSE;
1098 dp->disp.dpy, buftype, buffer, config, attrib_list);
1112 const egl_display_ptr dp = validate_display(dpy);
1113 if (!dp) return EGL_FALSE;
1115 SurfaceRef _s(dp.get(), surface);
1122 dp->disp.dpy, s->surface, attrib_list);
1131 const egl_display_ptr dp = validate_display(dpy);
1132 if (!dp) return EGL_FALSE;
1134 SurfaceRef _s(dp.get(), surface);
1140 return s->cnx->egl.eglUnlockSurfaceKHR(dp->disp.dpy, s->surface);
1150 const egl_display_ptr dp = validate_display(dpy);
1151 if (!dp) return EGL_NO_IMAGE_KHR;
1153 ContextRef _c(dp.get(), ctx);
1160 dp->disp.dpy,
1171 const egl_display_ptr dp = validate_display(dpy);
1172 if (!dp) return EGL_FALSE;
1176 cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
1190 const egl_display_ptr dp = validate_display(dpy);
1191 if (!dp) return EGL_NO_SYNC_KHR;
1196 result = cnx->egl.eglCreateSyncKHR(dp->disp.dpy, type, attrib_list);
1205 const egl_display_ptr dp = validate_display(dpy);
1206 if (!dp) return EGL_FALSE;
1211 result = cnx->egl.eglDestroySyncKHR(dp->disp.dpy, sync);
1221 const egl_display_ptr dp = validate_display(dpy);
1222 if (!dp) return EGL_FALSE;
1228 dp->disp.dpy, sync, flags, timeout);
1238 const egl_display_ptr dp = validate_display(dpy);
1239 if (!dp) return EGL_FALSE;
1245 dp->disp.dpy, sync, attribute, value);
1258 const egl_display_ptr dp = validate_display(dpy);
1259 if (!dp) return EGL_NO_NATIVE_FENCE_FD_ANDROID;
1264 result = cnx->egl.eglDupNativeFenceFDANDROID(dp->disp.dpy, sync);
1273 const egl_display_ptr dp = validate_display(dpy);
1274 if (!dp) return EGL_NO_NATIVE_FENCE_FD_ANDROID;
1279 result = cnx->egl.eglWaitSyncANDROID(dp->disp.dpy, sync, flags);