Lines Matching refs:dpy
37 #define WindowsDRICheckExtension(dpy,i,val) \ argument
38 XextCheckExtension (dpy, i, windowsdri_extension_name, val)
46 static int close_display(Display * dpy, XExtCodes * extCodes);
85 XWindowsDRIQueryExtension(dpy, event_basep, error_basep)
86 Display *dpy;
89 XExtDisplayInfo *info = find_display(dpy);
105 XWindowsDRIQueryVersion(dpy, majorVersion, minorVersion, patchVersion) in XWindowsDRIQueryVersion() argument
106 Display *dpy; in XWindowsDRIQueryVersion()
111 XExtDisplayInfo *info = find_display(dpy);
116 WindowsDRICheckExtension(dpy, info, False);
118 LockDisplay(dpy);
122 if (!_XReply(dpy, (xReply *) & rep, 0, xFalse)) {
123 UnlockDisplay(dpy);
131 UnlockDisplay(dpy);
138 XWindowsDRIQueryDirectRenderingCapable(dpy, screen, isCapable) in XWindowsDRIQueryDirectRenderingCapable() argument
139 Display *dpy; in XWindowsDRIQueryDirectRenderingCapable()
143 XExtDisplayInfo *info = find_display(dpy);
148 WindowsDRICheckExtension(dpy, info, False);
150 LockDisplay(dpy);
155 if (!_XReply(dpy, (xReply *) & rep, 0, xFalse)) {
156 UnlockDisplay(dpy);
162 UnlockDisplay(dpy);
169 XWindowsDRIQueryDrawable(Display *dpy, int screen, Drawable drawable, in XWindowsDRIQueryDrawable() argument
172 XExtDisplayInfo *info = find_display(dpy); in XWindowsDRIQueryDrawable()
177 WindowsDRICheckExtension(dpy, info, False); in XWindowsDRIQueryDrawable()
179 LockDisplay(dpy); in XWindowsDRIQueryDrawable()
186 if (!_XReply(dpy, (xReply *) & rep, 0, xFalse)) { in XWindowsDRIQueryDrawable()
187 UnlockDisplay(dpy); in XWindowsDRIQueryDrawable()
200 UnlockDisplay(dpy); in XWindowsDRIQueryDrawable()
207 XWindowsDRIFBConfigToPixelFormat(Display *dpy, int screen, int fbConfigID, in XWindowsDRIFBConfigToPixelFormat() argument
210 XExtDisplayInfo *info = find_display(dpy); in XWindowsDRIFBConfigToPixelFormat()
215 WindowsDRICheckExtension(dpy, info, False); in XWindowsDRIFBConfigToPixelFormat()
217 LockDisplay(dpy); in XWindowsDRIFBConfigToPixelFormat()
224 if (!_XReply(dpy, (xReply *) & rep, 0, xFalse)) { in XWindowsDRIFBConfigToPixelFormat()
225 UnlockDisplay(dpy); in XWindowsDRIFBConfigToPixelFormat()
233 UnlockDisplay(dpy); in XWindowsDRIFBConfigToPixelFormat()