Home
last modified time | relevance | path

Searched refs:dpy (Results 1 – 18 of 18) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xxf86vm/
DXF86VMode.c63 #define XF86VidModeCheckExtension(dpy,i,val) \ argument
64 XextCheckExtension (dpy, i, xf86vidmode_extension_name, val)
102 SDL_NAME(XF86VidModeQueryExtension) (dpy, event_basep, error_basep)
103 Display *dpy;
106 XExtDisplayInfo *info = find_display (dpy);
118 SDL_NAME(XF86VidModeQueryVersion)(dpy, majorVersion, minorVersion)
119 Display* dpy;
123 XExtDisplayInfo *info = find_display (dpy);
127 XF86VidModeCheckExtension (dpy, info, False);
129 LockDisplay(dpy);
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xinerama/
DXinerama.c43 #define PanoramiXCheckExtension(dpy,i,val) \ argument
44 XextCheckExtension (dpy, i, panoramiX_extension_name, val)
45 #define PanoramiXSimpleCheckExtension(dpy,i) \ argument
46 XextSimpleCheckExtension (dpy, i, panoramiX_extension_name)
79 Display *dpy, in XEXT_GENERATE_CLOSE_DISPLAY()
84 XExtDisplayInfo *info = find_display (dpy); in XEXT_GENERATE_CLOSE_DISPLAY()
97 Display *dpy, in SDL_NAME()
102 XExtDisplayInfo *info = find_display (dpy); in SDL_NAME()
106 PanoramiXCheckExtension (dpy, info, 0); in SDL_NAME()
108 LockDisplay (dpy); in SDL_NAME()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xv/
DXv.c63 #define XvCheckExtension(dpy, i, val) \ argument
64 XextCheckExtension(dpy, i, xv_extension_name, val)
107 Display *dpy, in XEXT_GENERATE_CLOSE_DISPLAY()
114 XExtDisplayInfo *info = xv_find_display(dpy); in XEXT_GENERATE_CLOSE_DISPLAY()
118 XvCheckExtension(dpy, info, XvBadExtension); in XEXT_GENERATE_CLOSE_DISPLAY()
120 LockDisplay(dpy); in XEXT_GENERATE_CLOSE_DISPLAY()
124 if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) { in XEXT_GENERATE_CLOSE_DISPLAY()
125 UnlockDisplay(dpy); in XEXT_GENERATE_CLOSE_DISPLAY()
136 UnlockDisplay(dpy); in XEXT_GENERATE_CLOSE_DISPLAY()
144 Display *dpy, in SDL_NAME()
[all …]
DXvlibint.h53 if ((dpy->bufptr + SIZEOF(xv##name##Req)) > dpy->bufmax)\
54 _XFlush(dpy);\
55 req = (xv##name##Req *)(dpy->last_req = dpy->bufptr);\
59 dpy->bufptr += SIZEOF(xv##name##Req);\
60 dpy->request++
65 if ((dpy->bufptr + SIZEOF(xv/**/name/**/Req)) > dpy->bufmax)\
66 _XFlush(dpy);\
67 req = (xv/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\
71 dpy->bufptr += SIZEOF(xv/**/name/**/Req);\
72 dpy->request++
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xxf86dga/
DXF86DGA2.c45 #define XDGACheckExtension(dpy,i,val) \ argument
46 XextCheckExtension (dpy, i, SDL_NAME(xdga_extension_name), val)
54 static int xdga_close_display(Display *dpy, XExtCodes *codes);
55 static Bool xdga_wire_to_event(Display *dpy, XEvent *event, xEvent *wire_ev);
56 static Status xdga_event_to_wire(Display *dpy, XEvent *event, xEvent *wire_ev);
83 Display *dpy, in XEXT_GENERATE_CLOSE_DISPLAY()
92 Display *dpy, in xdga_wire_to_event() argument
100 XExtDisplayInfo *info = SDL_NAME(xdga_find_display) (dpy); in xdga_wire_to_event()
102 XDGACheckExtension (dpy, info, False); in xdga_wire_to_event()
108 mevent->serial = _XSetLastRequestRead(dpy, (xGenericReply *)wire); in xdga_wire_to_event()
[all …]
DXF86DGA.c71 #define XF86DGACheckExtension(dpy,i,val) \ argument
72 XextCheckExtension (dpy, i, SDL_NAME(xdga_extension_name), val)
81 Display *dpy, in SDL_NAME()
85 return SDL_NAME(XDGAQueryExtension)(dpy, event_basep, error_basep); in SDL_NAME()
89 Display* dpy, in SDL_NAME()
93 return SDL_NAME(XDGAQueryVersion)(dpy, majorVersion, minorVersion); in SDL_NAME()
97 Display* dpy, in SDL_NAME()
104 XExtDisplayInfo *info = SDL_NAME(xdga_find_display) (dpy); in SDL_NAME()
108 XF86DGACheckExtension (dpy, info, False); in SDL_NAME()
110 LockDisplay(dpy); in SDL_NAME()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/XME/
Dxme.c177 #define XiGMiscCheckExtension(dpy,i,val) \ argument
178 XextCheckExtension (dpy, i, xigmisc_extension_name, val)
179 #define XiGMiscSimpleCheckExtension(dpy,i) \ argument
180 XextSimpleCheckExtension (dpy, i, xigmisc_extension_name)
230 Bool XiGMiscQueryVersion(Display *dpy, int *major, int *minor) in XEXT_GENERATE_CLOSE_DISPLAY()
235 XExtDisplayInfo *info = XiGMiscFindDisplay(dpy); in XEXT_GENERATE_CLOSE_DISPLAY()
237 if (!XQueryExtension(dpy, XIGMISC_PROTOCOL_NAME, &opcode, &event, &error)) in XEXT_GENERATE_CLOSE_DISPLAY()
240 XiGMiscCheckExtension(dpy, info, xFalse); in XEXT_GENERATE_CLOSE_DISPLAY()
242 LockDisplay (dpy); in XEXT_GENERATE_CLOSE_DISPLAY()
248 if (!_XReply (dpy, (xReply *)&rep, 0, xTrue)) { in XEXT_GENERATE_CLOSE_DISPLAY()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/
Dxf86dga.h142 Display *dpy,
148 Display *dpy,
154 Display *dpy,
160 Display *dpy,
166 Display *dpy,
171 Display *dpy,
176 Display *dpy,
184 Display *dpy,
190 Display *dpy,
197 Display *dpy,
[all …]
Dextutil.h177 #define XextCheckExtension(dpy,i,name,val) \ argument
178 if (!XextHasExtension(i)) { XMissingExtension (dpy, name); return val; }
179 #define XextSimpleCheckExtension(dpy,i,name) \ argument
180 if (!XextHasExtension(i)) { XMissingExtension (dpy, name); return; }
190 XExtDisplayInfo *proc (Display *dpy) \
194 if (!(dpyinfo = XextFindDisplay (extinfo, dpy))) \
195 dpyinfo = XextAddDisplay (extinfo,dpy,extname,hooks,nev,data); \
200 XExtDisplayInfo *proc(Display *dpy)
203 int proc (Display *dpy, XExtCodes *codes) \
205 return XextRemoveDisplay (extinfo, dpy); \
[all …]
DXinerama.h17 Display *dpy,
23 Display *dpy,
28 Bool SDL_NAME(XineramaIsActive)(Display *dpy);
41 Display *dpy,
Dxme.h31 extern Bool XiGMiscQueryVersion(Display *dpy, int *major, int *minor);
32 extern int XiGMiscQueryViews(Display *dpy, int screen,
34 extern int XiGMiscQueryResolutions(Display *dpy, int screen, int view,
37 extern void XiGMiscChangeResolution(Display *dpy, int screen, int view,
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11gl_c.h41 ( Display* dpy,
46 ( Display* dpy,
52 ( Display* dpy,
56 ( Display* dpy,
61 ( Display* dpy,
65 ( Display* dpy,
71 ( Display* dpy,
DSDL_x11sym.h178 SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return)
179 SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
187 SDL_X11_SYM(void,_SmtBufferOverflow,(Display *dpy,register smtDisplayPtr p),(dpy,p),)
188 SDL_X11_SYM(void,_SmtIpError,(Display *dpy,register smtDisplayPtr p, int i),(dpy,p,i),)
196 SDL_X11_SYM(Status,XRRQueryVersion,(Display *dpy,int *major_versionp,int *minor_versionp),(dpy,majo…
197 SDL_X11_SYM(XRRScreenConfiguration *,XRRGetScreenInfo,(Display *dpy,Drawable draw),(dpy,draw),retur…
200 …ScreenConfig,(Display *dpy, XRRScreenConfiguration *config, Drawable draw, int size_index, Rotatio…
207 SDL_X11_SYM(Status,DPMSQueryExtension,(Display *dpy,int *major_versionp,int *minor_versionp),(dpy,m…
208 SDL_X11_SYM(Status,DPMSInfo,(Display *dpy,CARD16 *state,BOOL *onoff),(dpy,state,onoff),return)
209 SDL_X11_SYM(Status,DPMSEnable,(Display *dpy),(dpy),return)
[all …]
DSDL_x11modes.c53 Bool SDL_NAME(XF86VidModeGetModeInfo)(Display *dpy, int scr, SDL_NAME(XF86VidModeModeInfo) *info) in SDL_NAME()
56 return SDL_NAME(XF86VidModeGetModeLine)(dpy, scr, (int*)&info->dotclock, l); in SDL_NAME()
/external/webkit/WebCore/plugins/gtk/
Dgtk2xtbin.c783 Display* dpy=xtclient->xtdisplay; in send_xembed_message() local
789 xevent.xclient.message_type = XInternAtom(dpy,"_XEMBED",False); in send_xembed_message()
798 XSendEvent (dpy, w, False, NoEventMask, &xevent); in send_xembed_message()
799 XSync (dpy,False); in send_xembed_message()
837 Display *dpy = XtDisplay(w); in xt_client_focus_listener() local
845 Widget child=XtWindowToWidget( dpy, event->xcreatewindow.window); in xt_client_focus_listener()
856 Widget child=XtWindowToWidget(dpy, event->xreparent.window); in xt_client_focus_listener()
869 XSetInputFocus(dpy, XtWindow(xtclient->child_widget), RevertToParent, event->xbutton.time); in xt_client_focus_listener()
920 Display *dpy = XtDisplay(treeroot); in xt_add_focus_listener_tree() local
927 if(!XQueryTree(dpy, win, &root, &parent, &children, &nchildren)) { in xt_add_focus_listener_tree()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/dga/
DSDL_dgavideo.c76 Display *dpy = NULL; in DGA_Available() local
85 dpy = XOpenDisplay(display); in DGA_Available()
86 if ( dpy ) { in DGA_Available()
89 if ( SDL_NAME(XDGAQueryExtension)(dpy, &events, &errors) && in DGA_Available()
90 SDL_NAME(XDGAQueryVersion)(dpy, &major, &minor) ) { in DGA_Available()
93 screen = DefaultScreen(dpy); in DGA_Available()
95 SDL_NAME(XDGAOpenFramebuffer)(dpy, screen) ) { in DGA_Available()
97 SDL_NAME(XDGACloseFramebuffer)(dpy, screen); in DGA_Available()
100 XCloseDisplay(dpy); in DGA_Available()
/external/qemu/
Dvnc.c2381 char *dpy; in vnc_display_open() local
2382 dpy = qemu_malloc(256); in vnc_display_open()
2384 pstrcpy(dpy, 256, "unix:"); in vnc_display_open()
2385 vs->lsock = unix_listen(display+5, dpy+5, 256-5); in vnc_display_open()
2387 vs->lsock = inet_listen(display, dpy, 256, SOCK_STREAM, 5900); in vnc_display_open()
2390 free(dpy); in vnc_display_open()
2394 vs->display = dpy; in vnc_display_open()
Dvnc-android.c2385 char *dpy; in vnc_display_open() local
2386 dpy = qemu_malloc(256); in vnc_display_open()
2388 pstrcpy(dpy, 256, "unix:"); in vnc_display_open()
2389 vs->lsock = unix_listen(display+5, dpy+5, 256-5); in vnc_display_open()
2391 vs->lsock = inet_listen(display, dpy, 256, SOCKET_STREAM, 5900); in vnc_display_open()
2394 free(dpy); in vnc_display_open()
2398 vs->display = dpy; in vnc_display_open()