Lines Matching refs:dp

214     egl_display_ptr dp = get_display(dpy);
215 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE);
217 EGLBoolean res = dp->initialize(major, minor);
230 egl_display_ptr dp = get_display(dpy);
231 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE);
233 EGLBoolean res = dp->terminate();
248 const egl_display_ptr dp = validate_display(dpy);
249 if (!dp) return EGL_FALSE;
261 dp->disp.dpy, configs, config_size, num_config);
273 const egl_display_ptr dp = validate_display(dpy);
274 if (!dp) return EGL_FALSE;
327 dp->disp.dpy, aaAttribs, configs, config_size, &numConfigAA);
339 dp->disp.dpy, attrib_list, configs, config_size, num_config);
350 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
351 if (!dp) return EGL_FALSE;
354 dp->disp.dpy, config, attribute, value);
368 egl_display_ptr dp = validate_display_connection(dpy, cnx);
369 if (dp) {
370 EGLDisplay iDpy = dp->disp.dpy;
401 egl_surface_t* s = new egl_surface_t(dp.get(), config, window,
420 egl_display_ptr dp = validate_display_connection(dpy, cnx);
421 if (dp) {
423 dp->disp.dpy, config, pixmap, attrib_list);
425 egl_surface_t* s = new egl_surface_t(dp.get(), config, NULL,
439 egl_display_ptr dp = validate_display_connection(dpy, cnx);
440 if (dp) {
442 dp->disp.dpy, config, attrib_list);
444 egl_surface_t* s = new egl_surface_t(dp.get(), config, NULL,
456 const egl_display_ptr dp = validate_display(dpy);
457 if (!dp) return EGL_FALSE;
459 SurfaceRef _s(dp.get(), surface);
464 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface);
476 const egl_display_ptr dp = validate_display(dpy);
477 if (!dp) return EGL_FALSE;
479 SurfaceRef _s(dp.get(), surface);
485 dp->disp.dpy, s->surface, attribute, value);
492 const egl_display_ptr dp = validate_display(dpy);
493 if (!dp) {
497 SurfaceRef _s(dp.get(), surface);
519 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
526 dp->disp.dpy, config, share_list, attrib_list);
565 const egl_display_ptr dp = validate_display(dpy);
566 if (!dp)
569 ContextRef _c(dp.get(), ctx);
574 EGLBoolean result = c->cnx->egl.eglDestroyContext(dp->disp.dpy, c->context);
586 egl_display_ptr dp = validate_display(dpy);
587 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE);
594 if (!dp->isReady()) return setError(EGL_NOT_INITIALIZED, EGL_FALSE);
598 ContextRef _c(dp.get(), ctx);
599 SurfaceRef _d(dp.get(), draw);
600 SurfaceRef _r(dp.get(), read);
650 EGLBoolean result = dp->makeCurrent(c, cur_c,
682 const egl_display_ptr dp = validate_display(dpy);
683 if (!dp) return EGL_FALSE;
685 ContextRef _c(dp.get(), ctx);
690 dp->disp.dpy, c->context, attribute, value);
944 const egl_display_ptr dp = validate_display(dpy);
945 if (!dp) return EGL_FALSE;
947 SurfaceRef _s(dp.get(), draw);
981 if (CC_UNLIKELY(dp->traceGpuCompletion)) {
988 if (CC_UNLIKELY(dp->finishOnSwap)) {
998 return s->cnx->egl.eglSwapBuffers(dp->disp.dpy, s->surface);
1006 const egl_display_ptr dp = validate_display(dpy);
1007 if (!dp) return EGL_FALSE;
1009 SurfaceRef _s(dp.get(), surface);
1014 return s->cnx->egl.eglCopyBuffers(dp->disp.dpy, s->surface, target);
1021 const egl_display_ptr dp = validate_display(dpy);
1022 if (!dp) return (const char *) NULL;
1026 return dp->getVendorString();
1028 return dp->getVersionString();
1030 return dp->getExtensionString();
1032 return dp->getClientApiString();
1041 const egl_display_ptr dp = validate_display(dpy);
1042 if (!dp) return (const char *) NULL;
1046 return dp->disp.queryString.vendor;
1048 return dp->disp.queryString.version;
1050 return dp->disp.queryString.extensions;
1052 return dp->disp.queryString.clientApi;
1066 const egl_display_ptr dp = validate_display(dpy);
1067 if (!dp) return EGL_FALSE;
1069 SurfaceRef _s(dp.get(), surface);
1076 dp->disp.dpy, s->surface, attribute, value);
1086 const egl_display_ptr dp = validate_display(dpy);
1087 if (!dp) return EGL_FALSE;
1089 SurfaceRef _s(dp.get(), surface);
1096 dp->disp.dpy, s->surface, buffer);
1106 const egl_display_ptr dp = validate_display(dpy);
1107 if (!dp) return EGL_FALSE;
1109 SurfaceRef _s(dp.get(), surface);
1116 dp->disp.dpy, s->surface, buffer);
1125 const egl_display_ptr dp = validate_display(dpy);
1126 if (!dp) return EGL_FALSE;
1131 res = cnx->egl.eglSwapInterval(dp->disp.dpy, interval);
1220 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
1221 if (!dp) return EGL_FALSE;
1224 dp->disp.dpy, buftype, buffer, config, attrib_list);
1238 const egl_display_ptr dp = validate_display(dpy);
1239 if (!dp) return EGL_FALSE;
1241 SurfaceRef _s(dp.get(), surface);
1248 dp->disp.dpy, s->surface, attrib_list);
1257 const egl_display_ptr dp = validate_display(dpy);
1258 if (!dp) return EGL_FALSE;
1260 SurfaceRef _s(dp.get(), surface);
1266 return s->cnx->egl.eglUnlockSurfaceKHR(dp->disp.dpy, s->surface);
1276 const egl_display_ptr dp = validate_display(dpy);
1277 if (!dp) return EGL_NO_IMAGE_KHR;
1279 ContextRef _c(dp.get(), ctx);
1286 dp->disp.dpy,
1297 const egl_display_ptr dp = validate_display(dpy);
1298 if (!dp) return EGL_FALSE;
1303 result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
1317 const egl_display_ptr dp = validate_display(dpy);
1318 if (!dp) return EGL_NO_SYNC_KHR;
1323 result = cnx->egl.eglCreateSyncKHR(dp->disp.dpy, type, attrib_list);
1332 const egl_display_ptr dp = validate_display(dpy);
1333 if (!dp) return EGL_FALSE;
1338 result = cnx->egl.eglDestroySyncKHR(dp->disp.dpy, sync);
1346 const egl_display_ptr dp = validate_display(dpy);
1347 if (!dp) return EGL_FALSE;
1353 dp->disp.dpy, sync, mode);
1363 const egl_display_ptr dp = validate_display(dpy);
1364 if (!dp) return EGL_FALSE;
1370 dp->disp.dpy, sync, flags, timeout);
1380 const egl_display_ptr dp = validate_display(dpy);
1381 if (!dp) return EGL_FALSE;
1387 dp->disp.dpy, sync, attribute, value);
1398 const egl_display_ptr dp = validate_display(dpy);
1399 if (!dp) return EGL_FALSE;
1403 result = cnx->egl.eglWaitSyncKHR(dp->disp.dpy, sync, flags);
1416 const egl_display_ptr dp = validate_display(dpy);
1417 if (!dp) return EGL_NO_NATIVE_FENCE_FD_ANDROID;
1422 result = cnx->egl.eglDupNativeFenceFDANDROID(dp->disp.dpy, sync);
1432 const egl_display_ptr dp = validate_display(dpy);
1433 if (!dp) {
1437 SurfaceRef _s(dp.get(), surface);