Lines Matching refs:dp

273     egl_display_ptr dp = get_display(dpy);
274 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE);
276 EGLBoolean res = dp->initialize(major, minor);
289 egl_display_ptr dp = get_display(dpy);
290 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE);
292 EGLBoolean res = dp->terminate();
307 const egl_display_ptr dp = validate_display(dpy);
308 if (!dp) return EGL_FALSE;
320 dp->disp.dpy, configs, config_size, num_config);
332 const egl_display_ptr dp = validate_display(dpy);
333 if (!dp) return EGL_FALSE;
386 dp->disp.dpy, aaAttribs, configs, config_size, &numConfigAA);
398 dp->disp.dpy, attrib_list, configs, config_size, num_config);
409 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
410 if (!dp) return EGL_FALSE;
413 dp->disp.dpy, config, attribute, value);
447 egl_display_ptr dp = validate_display_connection(dpy, cnx);
448 if (dp) {
449 EGLDisplay iDpy = dp->disp.dpy;
489 if (attrib_list && dp->haveExtension("EGL_KHR_gl_colorspace")) {
535 egl_surface_t* s = new egl_surface_t(dp.get(), config, window,
554 egl_display_ptr dp = validate_display_connection(dpy, cnx);
555 if (dp) {
557 dp->disp.dpy, config, pixmap, attrib_list);
559 egl_surface_t* s = new egl_surface_t(dp.get(), config, NULL,
573 egl_display_ptr dp = validate_display_connection(dpy, cnx);
574 if (dp) {
576 dp->disp.dpy, config, attrib_list);
578 egl_surface_t* s = new egl_surface_t(dp.get(), config, NULL,
590 const egl_display_ptr dp = validate_display(dpy);
591 if (!dp) return EGL_FALSE;
593 SurfaceRef _s(dp.get(), surface);
607 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface);
619 const egl_display_ptr dp = validate_display(dpy);
620 if (!dp) return EGL_FALSE;
622 SurfaceRef _s(dp.get(), surface);
628 dp->disp.dpy, s->surface, attribute, value);
635 const egl_display_ptr dp = validate_display(dpy);
636 if (!dp) {
640 SurfaceRef _s(dp.get(), surface);
657 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
658 if (dp) {
660 if (!ContextRef(dp.get(), share_list).get()) {
667 dp->disp.dpy, config, share_list, attrib_list);
700 const egl_display_ptr dp = validate_display(dpy);
701 if (!dp)
704 ContextRef _c(dp.get(), ctx);
709 EGLBoolean result = c->cnx->egl.eglDestroyContext(dp->disp.dpy, c->context);
721 egl_display_ptr dp = validate_display(dpy);
722 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE);
729 if (!dp->isReady()) return setError(EGL_NOT_INITIALIZED, EGL_FALSE);
733 ContextRef _c(dp.get(), ctx);
734 SurfaceRef _d(dp.get(), draw);
735 SurfaceRef _r(dp.get(), read);
787 EGLBoolean result = dp->makeCurrent(c, cur_c,
820 const egl_display_ptr dp = validate_display(dpy);
821 if (!dp) return EGL_FALSE;
823 ContextRef _c(dp.get(), ctx);
828 dp->disp.dpy, c->context, attribute, value);
1084 const egl_display_ptr dp = validate_display(dpy);
1085 if (!dp) return EGL_FALSE;
1087 SurfaceRef _s(dp.get(), draw);
1121 if (CC_UNLIKELY(dp->traceGpuCompletion)) {
1128 if (CC_UNLIKELY(dp->finishOnSwap)) {
1139 return s->cnx->egl.eglSwapBuffers(dp->disp.dpy, s->surface);
1160 return s->cnx->egl.eglSwapBuffersWithDamageKHR(dp->disp.dpy, s->surface,
1163 return s->cnx->egl.eglSwapBuffers(dp->disp.dpy, s->surface);
1177 const egl_display_ptr dp = validate_display(dpy);
1178 if (!dp) return EGL_FALSE;
1180 SurfaceRef _s(dp.get(), surface);
1185 return s->cnx->egl.eglCopyBuffers(dp->disp.dpy, s->surface, target);
1192 const egl_display_ptr dp = validate_display(dpy);
1193 if (!dp) return (const char *) NULL;
1197 return dp->getVendorString();
1199 return dp->getVersionString();
1201 return dp->getExtensionString();
1203 return dp->getClientApiString();
1212 const egl_display_ptr dp = validate_display(dpy);
1213 if (!dp) return (const char *) NULL;
1217 return dp->disp.queryString.vendor;
1219 return dp->disp.queryString.version;
1221 return dp->disp.queryString.extensions;
1223 return dp->disp.queryString.clientApi;
1237 const egl_display_ptr dp = validate_display(dpy);
1238 if (!dp) return EGL_FALSE;
1240 SurfaceRef _s(dp.get(), surface);
1247 dp->disp.dpy, s->surface, attribute, value);
1257 const egl_display_ptr dp = validate_display(dpy);
1258 if (!dp) return EGL_FALSE;
1260 SurfaceRef _s(dp.get(), surface);
1267 dp->disp.dpy, s->surface, buffer);
1277 const egl_display_ptr dp = validate_display(dpy);
1278 if (!dp) return EGL_FALSE;
1280 SurfaceRef _s(dp.get(), surface);
1287 dp->disp.dpy, s->surface, buffer);
1296 const egl_display_ptr dp = validate_display(dpy);
1297 if (!dp) return EGL_FALSE;
1302 res = cnx->egl.eglSwapInterval(dp->disp.dpy, interval);
1391 const egl_display_ptr dp = validate_display_connection(dpy, cnx);
1392 if (!dp) return EGL_FALSE;
1395 dp->disp.dpy, buftype, buffer, config, attrib_list);
1409 const egl_display_ptr dp = validate_display(dpy);
1410 if (!dp) return EGL_FALSE;
1412 SurfaceRef _s(dp.get(), surface);
1419 dp->disp.dpy, s->surface, attrib_list);
1428 const egl_display_ptr dp = validate_display(dpy);
1429 if (!dp) return EGL_FALSE;
1431 SurfaceRef _s(dp.get(), surface);
1437 return s->cnx->egl.eglUnlockSurfaceKHR(dp->disp.dpy, s->surface);
1447 const egl_display_ptr dp = validate_display(dpy);
1448 if (!dp) return EGL_NO_IMAGE_KHR;
1450 ContextRef _c(dp.get(), ctx);
1457 dp->disp.dpy,
1468 const egl_display_ptr dp = validate_display(dpy);
1469 if (!dp) return EGL_FALSE;
1474 result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
1488 const egl_display_ptr dp = validate_display(dpy);
1489 if (!dp) return EGL_NO_SYNC_KHR;
1494 result = cnx->egl.eglCreateSyncKHR(dp->disp.dpy, type, attrib_list);
1503 const egl_display_ptr dp = validate_display(dpy);
1504 if (!dp) return EGL_FALSE;
1509 result = cnx->egl.eglDestroySyncKHR(dp->disp.dpy, sync);
1517 const egl_display_ptr dp = validate_display(dpy);
1518 if (!dp) return EGL_FALSE;
1524 dp->disp.dpy, sync, mode);
1534 const egl_display_ptr dp = validate_display(dpy);
1535 if (!dp) return EGL_FALSE;
1541 dp->disp.dpy, sync, flags, timeout);
1551 const egl_display_ptr dp = validate_display(dpy);
1552 if (!dp) return EGL_FALSE;
1558 dp->disp.dpy, sync, attribute, value);
1567 const egl_display_ptr dp = validate_display(dpy);
1568 if (!dp) return EGL_NO_STREAM_KHR;
1574 dp->disp.dpy, attrib_list);
1583 const egl_display_ptr dp = validate_display(dpy);
1584 if (!dp) return EGL_FALSE;
1590 dp->disp.dpy, stream);
1600 const egl_display_ptr dp = validate_display(dpy);
1601 if (!dp) return EGL_FALSE;
1607 dp->disp.dpy, stream, attribute, value);
1617 const egl_display_ptr dp = validate_display(dpy);
1618 if (!dp) return EGL_FALSE;
1624 dp->disp.dpy, stream, attribute, value);
1634 const egl_display_ptr dp = validate_display(dpy);
1635 if (!dp) return EGL_FALSE;
1641 dp->disp.dpy, stream, attribute, value);
1651 const egl_display_ptr dp = validate_display(dpy);
1652 if (!dp) return EGL_FALSE;
1658 dp->disp.dpy, stream, attribute, value);
1668 egl_display_ptr dp = validate_display(dpy);
1669 if (!dp) return EGL_NO_SURFACE;
1674 dp->disp.dpy, config, stream, attrib_list);
1676 egl_surface_t* s = new egl_surface_t(dp.get(), config, NULL,
1689 const egl_display_ptr dp = validate_display(dpy);
1690 if (!dp) return EGL_FALSE;
1696 dp->disp.dpy, stream);
1706 const egl_display_ptr dp = validate_display(dpy);
1707 if (!dp) return EGL_FALSE;
1713 dp->disp.dpy, stream);
1723 const egl_display_ptr dp = validate_display(dpy);
1724 if (!dp) return EGL_FALSE;
1730 dp->disp.dpy, stream);
1740 const egl_display_ptr dp = validate_display(dpy);
1741 if (!dp) return EGL_NO_FILE_DESCRIPTOR_KHR;
1747 dp->disp.dpy, stream);
1757 const egl_display_ptr dp = validate_display(dpy);
1758 if (!dp) return EGL_NO_STREAM_KHR;
1764 dp->disp.dpy, file_descriptor);
1775 const egl_display_ptr dp = validate_display(dpy);
1776 if (!dp) return EGL_FALSE;
1780 result = cnx->egl.eglWaitSyncKHR(dp->disp.dpy, sync, flags);
1793 const egl_display_ptr dp = validate_display(dpy);
1794 if (!dp) return EGL_NO_NATIVE_FENCE_FD_ANDROID;
1799 result = cnx->egl.eglDupNativeFenceFDANDROID(dp->disp.dpy, sync);
1809 const egl_display_ptr dp = validate_display(dpy);
1810 if (!dp) {
1814 SurfaceRef _s(dp.get(), surface);
1873 const egl_display_ptr dp = validate_display(dpy);
1874 if (!dp) {
1879 SurfaceRef _s(dp.get(), surface);
1887 return s->cnx->egl.eglSetDamageRegionKHR(dp->disp.dpy, s->surface,