Lines Matching refs:display
37 Display *display;
45 display = XOpenDisplay(NULL);
49 display,
61 XCloseDisplay(display);
67 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0);
68 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey);
71 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success);
74 assert(XvMCCreateSurface(display, NULL, &surface) == XvMCBadContext);
76 assert(XvMCCreateSurface(display, &context, NULL) == XvMCBadSurface);
78 assert(XvMCCreateSurface(display, &context, &surface) == Success);
88 assert(XvMCDestroySurface(display, &surface) == Success);
90 assert(XvMCDestroySurface(display, NULL) == XvMCBadSurface);
92 assert(XvMCDestroyContext(display, &context) == Success);
94 XvUngrabPort(display, port_num, CurrentTime);
95 XCloseDisplay(display);