Home
last modified time | relevance | path

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

12

/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xinerama/
DXinerama.c48 #define PanoramiXCheckExtension(dpy,i,val) \ argument
49 XextCheckExtension (dpy, i, panoramiX_extension_name, val)
50 #define PanoramiXSimpleCheckExtension(dpy,i) \ argument
51 XextSimpleCheckExtension (dpy, i, panoramiX_extension_name)
84 Display *dpy, in XEXT_GENERATE_CLOSE_DISPLAY()
89 XExtDisplayInfo *info = find_display (dpy); in XEXT_GENERATE_CLOSE_DISPLAY()
102 Display *dpy, in SDL_NAME()
107 XExtDisplayInfo *info = find_display (dpy); in SDL_NAME()
111 PanoramiXCheckExtension (dpy, info, 0); in SDL_NAME()
113 LockDisplay (dpy); in SDL_NAME()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xxf86vm/
DXF86VMode.c66 #define XF86VidModeCheckExtension(dpy,i,val) \ argument
67 XextCheckExtension (dpy, i, xf86vidmode_extension_name, val)
105 SDL_NAME(XF86VidModeQueryExtension) (dpy, event_basep, error_basep)
106 Display *dpy;
109 XExtDisplayInfo *info = find_display (dpy);
121 SDL_NAME(XF86VidModeQueryVersion)(dpy, majorVersion, minorVersion)
122 Display* dpy;
126 XExtDisplayInfo *info = find_display (dpy);
130 XF86VidModeCheckExtension (dpy, info, False);
132 LockDisplay(dpy);
[all …]
/external/qemu/distrib/sdl-1.2.15/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.h58 if ((dpy->bufptr + SIZEOF(xv##name##Req)) > dpy->bufmax)\
59 _XFlush(dpy);\
60 req = (xv##name##Req *)(dpy->last_req = dpy->bufptr);\
64 dpy->bufptr += SIZEOF(xv##name##Req);\
65 dpy->request++
70 if ((dpy->bufptr + SIZEOF(xv/**/name/**/Req)) > dpy->bufmax)\
71 _XFlush(dpy);\
72 req = (xv/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\
76 dpy->bufptr += SIZEOF(xv/**/name/**/Req);\
77 dpy->request++
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/
DXF86DGA2.c50 #define XDGACheckExtension(dpy,i,val) \ argument
51 XextCheckExtension (dpy, i, SDL_NAME(xdga_extension_name), val)
59 static int xdga_close_display(Display *dpy, XExtCodes *codes);
60 static Bool xdga_wire_to_event(Display *dpy, XEvent *event, xEvent *wire_ev);
61 static Status xdga_event_to_wire(Display *dpy, XEvent *event, xEvent *wire_ev);
88 Display *dpy, in XEXT_GENERATE_CLOSE_DISPLAY()
97 Display *dpy, in xdga_wire_to_event() argument
105 XExtDisplayInfo *info = SDL_NAME(xdga_find_display) (dpy); in xdga_wire_to_event()
107 XDGACheckExtension (dpy, info, False); in xdga_wire_to_event()
113 mevent->serial = _XSetLastRequestRead(dpy, (xGenericReply *)wire); in xdga_wire_to_event()
[all …]
DXF86DGA.c76 #define XF86DGACheckExtension(dpy,i,val) \ argument
77 XextCheckExtension (dpy, i, SDL_NAME(xdga_extension_name), val)
86 Display *dpy, in SDL_NAME()
90 return SDL_NAME(XDGAQueryExtension)(dpy, event_basep, error_basep); in SDL_NAME()
94 Display* dpy, in SDL_NAME()
98 return SDL_NAME(XDGAQueryVersion)(dpy, majorVersion, minorVersion); in SDL_NAME()
102 Display* dpy, in SDL_NAME()
109 XExtDisplayInfo *info = SDL_NAME(xdga_find_display) (dpy); in SDL_NAME()
113 XF86DGACheckExtension (dpy, info, False); in SDL_NAME()
115 LockDisplay(dpy); in SDL_NAME()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/XME/
Dxme.c182 #define XiGMiscCheckExtension(dpy,i,val) \ argument
183 XextCheckExtension (dpy, i, xigmisc_extension_name, val)
184 #define XiGMiscSimpleCheckExtension(dpy,i) \ argument
185 XextSimpleCheckExtension (dpy, i, xigmisc_extension_name)
235 Bool XiGMiscQueryVersion(Display *dpy, int *major, int *minor) in XEXT_GENERATE_CLOSE_DISPLAY()
240 XExtDisplayInfo *info = XiGMiscFindDisplay(dpy); in XEXT_GENERATE_CLOSE_DISPLAY()
242 if (!XQueryExtension(dpy, XIGMISC_PROTOCOL_NAME, &opcode, &event, &error)) in XEXT_GENERATE_CLOSE_DISPLAY()
245 XiGMiscCheckExtension(dpy, info, xFalse); in XEXT_GENERATE_CLOSE_DISPLAY()
247 LockDisplay (dpy); in XEXT_GENERATE_CLOSE_DISPLAY()
253 if (!_XReply (dpy, (xReply *)&rep, 0, xTrue)) { in XEXT_GENERATE_CLOSE_DISPLAY()
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/
DlibEGL.cpp121 EGLBoolean __stdcall eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitialize() argument
124 dpy, major, minor); in eglInitialize()
128 if (dpy == EGL_NO_DISPLAY) in eglInitialize()
133 egl::Display *display = static_cast<egl::Display*>(dpy); in eglInitialize()
153 EGLBoolean __stdcall eglTerminate(EGLDisplay dpy) in eglTerminate() argument
155 TRACE("(EGLDisplay dpy = 0x%0.8p)", dpy); in eglTerminate()
159 if (dpy == EGL_NO_DISPLAY) in eglTerminate()
164 egl::Display *display = static_cast<egl::Display*>(dpy); in eglTerminate()
178 const char *__stdcall eglQueryString(EGLDisplay dpy, EGLint name) in eglQueryString() argument
180 TRACE("(EGLDisplay dpy = 0x%0.8p, EGLint name = %d)", dpy, name); in eglQueryString()
[all …]
Dmain.cpp115 void setCurrentDisplay(EGLDisplay dpy) in setCurrentDisplay() argument
119 current->display = dpy; in setCurrentDisplay()
Dmain.h32 void setCurrentDisplay(EGLDisplay dpy);
/external/qemu/distrib/sdl-1.2.15/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/webkit/Source/ThirdParty/ANGLE/include/EGL/
Degl.h252 EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor);
253 EGLAPI EGLBoolean EGLAPIENTRY eglTerminate(EGLDisplay dpy);
255 EGLAPI const char * EGLAPIENTRY eglQueryString(EGLDisplay dpy, EGLint name);
257 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay dpy, EGLConfig *configs,
259 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list,
262 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config,
265 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
268 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config,
270 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config,
273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface);
[all …]
Deglext.h84 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, E…
85 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image);
87 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenu…
88 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image);
140 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_l…
141 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync);
142 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTi…
143 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
144 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute…
146 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLi…
[all …]
/external/quake/quake/src/WinQuake/
Dgl_vidlinuxglx.cpp43 static Display *dpy = NULL; variable
275 XDefineCursor(dpy, win, CreateNullCursor(dpy, win)); in install_grabs()
277 XGrabPointer(dpy, win, in install_grabs()
288 if (!XF86DGAQueryVersion(dpy, &MajorVersion, &MinorVersion)) { in install_grabs()
294 XF86DGADirectVideo(dpy, DefaultScreen(dpy), XF86DGADirectMouse); in install_grabs()
295 XWarpPointer(dpy, None, win, 0, 0, 0, 0, 0, 0); in install_grabs()
298 XWarpPointer(dpy, None, win, in install_grabs()
303 XGrabKeyboard(dpy, win, in install_grabs()
315 if (!dpy || !win) in uninstall_grabs()
320 XF86DGADirectVideo(dpy, DefaultScreen(dpy), 0); in uninstall_grabs()
[all …]
/external/qemu/distrib/sdl-1.2.15/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,
76 int (*glXSwapIntervalEXT)( Display *dpy, GLXDrawable drw, int interval);
DSDL_x11dyn.c115 static void *SDL_XGetRequest_workaround(Display* dpy, CARD8 type, size_t len) in SDL_XGetRequest_workaround() argument
119 if (dpy->bufptr + len > dpy->bufmax) in SDL_XGetRequest_workaround()
120 _XFlush(dpy); in SDL_XGetRequest_workaround()
121 dpy->last_req = dpy->bufptr; in SDL_XGetRequest_workaround()
122 req = (xReq*)dpy->bufptr; in SDL_XGetRequest_workaround()
125 dpy->bufptr += len; in SDL_XGetRequest_workaround()
126 dpy->request++; in SDL_XGetRequest_workaround()
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),)
193 SDL_X11_SYM(void,_SmtBufferOverflow,(Display *dpy,register smtDisplayPtr p),(dpy,p),)
194 SDL_X11_SYM(void,_SmtIpError,(Display *dpy,register smtDisplayPtr p, int i),(dpy,p,i),)
202 SDL_X11_SYM(Status,XRRQueryVersion,(Display *dpy,int *major_versionp,int *minor_versionp),(dpy,majo…
203 SDL_X11_SYM(XRRScreenConfiguration *,XRRGetScreenInfo,(Display *dpy,Drawable draw),(dpy,draw),retur…
206 …ScreenConfig,(Display *dpy, XRRScreenConfiguration *config, Drawable draw, int size_index, Rotatio…
/external/quake/quake/src/QW/client/
Dgl_vidlinuxglx.c43 static Display *dpy = NULL; variable
234 XGrabPointer(dpy, win, in install_grabs()
243 XF86DGADirectVideo(dpy, DefaultScreen(dpy), XF86DGADirectMouse); in install_grabs()
246 XWarpPointer(dpy, None, win, in install_grabs()
251 XGrabKeyboard(dpy, win, in install_grabs()
262 XF86DGADirectVideo(dpy, DefaultScreen(dpy), 0); in uninstall_grabs()
266 XUngrabPointer(dpy, CurrentTime); in uninstall_grabs()
267 XUngrabKeyboard(dpy, CurrentTime); in uninstall_grabs()
277 if (!dpy) in GetEvent()
280 XNextEvent(dpy, &event); in GetEvent()
[all …]
Dgl_vidlinux_x11.c43 static Display *dpy = NULL; variable
153 XUngrabPointer(dpy,CurrentTime); in VID_Shutdown()
154 XUngrabKeyboard(dpy,CurrentTime); in VID_Shutdown()
156 glXDestroyContext(dpy,ctx); in VID_Shutdown()
160 XF86DGADirectVideo(dpy,DefaultScreen(dpy),0); in VID_Shutdown()
311 if(!XCheckMaskEvent(dpy,KEY_MASK,&x_event)) in Keyboard_Update()
335 if(!XCheckMaskEvent(dpy,MOUSE_MASK,&x_event)) in Mouse_Update()
348 XSelectInput(dpy,win, (KEY_MASK | MOUSE_MASK) & ~PointerMotionMask); in Mouse_Update()
349 XWarpPointer(dpy,None,win,0,0,0,0, (scr_width/2),(scr_height/2)); in Mouse_Update()
350 XSelectInput(dpy,win, KEY_MASK | MOUSE_MASK); in Mouse_Update()
[all …]
/external/webkit/Source/WebCore/plugins/gtk/
Dgtk2xtbin.c811 Display* dpy=xtclient->xtdisplay; in send_xembed_message() local
817 xevent.xclient.message_type = XInternAtom(dpy,"_XEMBED",False); in send_xembed_message()
826 XSendEvent (dpy, w, False, NoEventMask, &xevent); in send_xembed_message()
827 XSync (dpy,False); in send_xembed_message()
865 Display *dpy = XtDisplay(w); in xt_client_focus_listener() local
873 Widget child=XtWindowToWidget( dpy, event->xcreatewindow.window); in xt_client_focus_listener()
884 Widget child=XtWindowToWidget(dpy, event->xreparent.window); in xt_client_focus_listener()
897 XSetInputFocus(dpy, XtWindow(xtclient->child_widget), RevertToParent, event->xbutton.time); in xt_client_focus_listener()
945 Display *dpy = XtDisplay(treeroot); in xt_add_focus_listener_tree() local
952 if(!XQueryTree(dpy, win, &root, &parent, &children, &nchildren)) { in xt_add_focus_listener_tree()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
DSDL_dgavideo.c71 Display *dpy = NULL; in DGA_Available() local
80 dpy = XOpenDisplay(display); in DGA_Available()
81 if ( dpy ) { in DGA_Available()
84 if ( SDL_NAME(XDGAQueryExtension)(dpy, &events, &errors) && in DGA_Available()
85 SDL_NAME(XDGAQueryVersion)(dpy, &major, &minor) ) { in DGA_Available()
88 screen = DefaultScreen(dpy); in DGA_Available()
90 SDL_NAME(XDGAOpenFramebuffer)(dpy, screen) ) { in DGA_Available()
92 SDL_NAME(XDGACloseFramebuffer)(dpy, screen); in DGA_Available()
95 XCloseDisplay(dpy); in DGA_Available()
/external/skia/src/gpu/gl/unix/
DSkNativeGLContext_unix.cpp29 static int ctxErrorHandler(Display *dpy, XErrorEvent *ev) { in ctxErrorHandler() argument

12