/
usr
/
include
/
X11
/
extensions
/
/usr/include/X11/extensions
mkdir
upload
Name
Size
Mode
Actions
ag.h
1705
0644
edit
dl
rm
agproto.h
5005
0644
edit
dl
rm
bigreqsproto.h
1909
0644
edit
dl
rm
bigreqstr.h
187
0644
edit
dl
rm
composite.h
3130
0644
edit
dl
rm
compositeproto.h
5462
0644
edit
dl
rm
cup.h
1353
0644
edit
dl
rm
cupproto.h
3065
0644
edit
dl
rm
damageproto.h
3615
0644
edit
dl
rm
damagewire.h
1893
0644
edit
dl
rm
dbe.h
2159
0644
edit
dl
rm
dbeproto.h
7343
0644
edit
dl
rm
dmx.h
2373
0644
edit
dl
rm
dmxproto.h
13343
0644
edit
dl
rm
dpmsconst.h
1778
0644
edit
dl
rm
dpmsproto.h
5288
0644
edit
dl
rm
dri2proto.h
8318
0644
edit
dl
rm
dri2tokens.h
2468
0644
edit
dl
rm
dri3proto.h
6129
0644
edit
dl
rm
EVI.h
1563
0644
edit
dl
rm
EVIproto.h
3006
0644
edit
dl
rm
ge.h
1782
0644
edit
dl
rm
geproto.h
2351
0644
edit
dl
rm
lbx.h
2236
0644
edit
dl
rm
lbxproto.h
24782
0644
edit
dl
rm
mitmiscconst.h
1509
0644
edit
dl
rm
mitmiscproto.h
2229
0644
edit
dl
rm
multibufconst.h
2575
0644
edit
dl
rm
multibufproto.h
8600
0644
edit
dl
rm
panoramiXproto.h
5473
0644
edit
dl
rm
presentproto.h
5409
0644
edit
dl
rm
presenttokens.h
3597
0644
edit
dl
rm
randr.h
6909
0644
edit
dl
rm
randrproto.h
25751
0644
edit
dl
rm
recordconst.h
2064
0644
edit
dl
rm
recordproto.h
7634
0644
edit
dl
rm
recordstr.h
258
0644
edit
dl
rm
render.h
6933
0644
edit
dl
rm
renderproto.h
13218
0644
edit
dl
rm
saver.h
1900
0644
edit
dl
rm
saverproto.h
5132
0644
edit
dl
rm
secur.h
2141
0644
edit
dl
rm
securproto.h
3177
0644
edit
dl
rm
shapeconst.h
1878
0644
edit
dl
rm
shapeproto.h
6730
0644
edit
dl
rm
shapestr.h
252
0644
edit
dl
rm
shm.h
1645
0644
edit
dl
rm
shmproto.h
6045
0644
edit
dl
rm
shmstr.h
2123
0644
edit
dl
rm
syncconst.h
6750
0644
edit
dl
rm
syncproto.h
11001
0644
edit
dl
rm
syncstr.h
5606
0644
edit
dl
rm
xcmiscproto.h
3057
0644
edit
dl
rm
xcmiscstr.h
185
0644
edit
dl
rm
xf86bigfont.h
414
0644
edit
dl
rm
xf86bigfproto.h
2544
0644
edit
dl
rm
xf86bigfstr.h
191
0644
edit
dl
rm
xf86dga.h
369
0644
edit
dl
rm
xf86dga1const.h
931
0644
edit
dl
rm
xf86dga1proto.h
4506
0644
edit
dl
rm
xf86dga1str.h
191
0644
edit
dl
rm
xf86dgaconst.h
2533
0644
edit
dl
rm
xf86dgaproto.h
7106
0644
edit
dl
rm
xf86dgastr.h
188
0644
edit
dl
rm
xf86misc.h
3901
0644
edit
dl
rm
xf86mscstr.h
6104
0644
edit
dl
rm
xf86vm.h
2106
0644
edit
dl
rm
xf86vmproto.h
15700
0644
edit
dl
rm
xf86vmstr.h
185
0644
edit
dl
rm
xfixesproto.h
12752
0644
edit
dl
rm
xfixeswire.h
5396
0644
edit
dl
rm
XI.h
9823
0644
edit
dl
rm
XI2.h
10542
0644
edit
dl
rm
XI2proto.h
37577
0644
edit
dl
rm
XIproto.h
41010
0644
edit
dl
rm
XKB.h
28211
0644
edit
dl
rm
XKBgeom.h
15808
0644
edit
dl
rm
XKBproto.h
29105
0644
edit
dl
rm
XKBsrv.h
28018
0644
edit
dl
rm
XKBstr.h
19630
0644
edit
dl
rm
XResproto.h
5168
0644
edit
dl
rm
xtestconst.h
1392
0644
edit
dl
rm
xtestext1const.h
5439
0644
edit
dl
rm
xtestext1proto.h
7790
0644
edit
dl
rm
xtestproto.h
3254
0644
edit
dl
rm
Xv.h
3027
0644
edit
dl
rm
XvMC.h
3620
0644
edit
dl
rm
XvMCproto.h
4484
0644
edit
dl
rm
Xvproto.h
12109
0644
edit
dl
rm
Edit:
/usr/include/X11/extensions/presentproto.h
(5409B)
/* * Copyright © 2013 Keith Packard * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that copyright * notice and this permission notice appear in supporting documentation, and * that the name of the copyright holders not be used in advertising or * publicity pertaining to distribution of the software without specific, * written prior permission. The copyright holders make no representations * about the suitability of this software for any purpose. It is provided "as * is" without express or implied warranty. * * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ #ifndef _PRESENT_PROTO_H_ #define _PRESENT_PROTO_H_ #include <X11/extensions/presenttokens.h> #define Window CARD32 #define Pixmap CARD32 #define Region CARD32 #define XSyncFence CARD32 #define EventID CARD32 typedef struct { Window window; CARD32 serial; } xPresentNotify; #define sz_xPresentNotify 8 typedef struct { CARD8 reqType; CARD8 presentReqType; CARD16 length; CARD32 majorVersion; CARD32 minorVersion; } xPresentQueryVersionReq; #define sz_xPresentQueryVersionReq 12 typedef struct { BYTE type; /* X_Reply */ BYTE pad1; CARD16 sequenceNumber; CARD32 length; CARD32 majorVersion; CARD32 minorVersion; CARD32 pad2; CARD32 pad3; CARD32 pad4; CARD32 pad5; } xPresentQueryVersionReply; #define sz_xPresentQueryVersionReply 32 typedef struct { CARD8 reqType; CARD8 presentReqType; CARD16 length; Window window; Pixmap pixmap; CARD32 serial; Region valid; Region update; INT16 x_off; INT16 y_off; CARD32 target_crtc; XSyncFence wait_fence; XSyncFence idle_fence; CARD32 options; CARD32 pad1; CARD64 target_msc; CARD64 divisor; CARD64 remainder; /* followed by a LISTofPRESENTNOTIFY */ } xPresentPixmapReq; #define sz_xPresentPixmapReq 72 typedef struct { CARD8 reqType; CARD8 presentReqType; CARD16 length; Window window; CARD32 serial; CARD32 pad0; CARD64 target_msc; CARD64 divisor; CARD64 remainder; } xPresentNotifyMSCReq; #define sz_xPresentNotifyMSCReq 40 typedef struct { CARD8 reqType; CARD8 presentReqType; CARD16 length; CARD32 eid; CARD32 window; CARD32 eventMask; } xPresentSelectInputReq; #define sz_xPresentSelectInputReq 16 typedef struct { CARD8 reqType; CARD8 presentReqType; CARD16 length; CARD32 target; } xPresentQueryCapabilitiesReq; #define sz_xPresentQueryCapabilitiesReq 8 typedef struct { BYTE type; /* X_Reply */ BYTE pad1; CARD16 sequenceNumber; CARD32 length; CARD32 capabilities; CARD32 pad3; CARD32 pad4; CARD32 pad5; CARD32 pad6; CARD32 pad7; } xPresentQueryCapabilitiesReply; #define sz_xPresentQueryCapabilitiesReply 32 /* * Events * * All Present events are X Generic Events */ typedef struct { CARD8 type; CARD8 extension; CARD16 sequenceNumber; CARD32 length; CARD16 evtype; CARD16 pad2; CARD32 eid; CARD32 window; INT16 x; INT16 y; CARD16 width; CARD16 height; INT16 off_x; INT16 off_y; CARD16 pixmap_width; CARD16 pixmap_height; CARD32 pixmap_flags; } xPresentConfigureNotify; #define sz_xPresentConfigureNotify 40 typedef struct { CARD8 type; CARD8 extension; CARD16 sequenceNumber; CARD32 length; CARD16 evtype; CARD8 kind; CARD8 mode; CARD32 eid; Window window; CARD32 serial; CARD64 ust; CARD64 msc; } xPresentCompleteNotify; #define sz_xPresentCompleteNotify 40 typedef struct { CARD8 type; CARD8 extension; CARD16 sequenceNumber; CARD32 length; CARD16 evtype; CARD16 pad2; CARD32 eid; Window window; CARD32 serial; Pixmap pixmap; CARD32 idle_fence; } xPresentIdleNotify; #define sz_xPresentIdleNotify 32 #if PRESENT_FUTURE_VERSION typedef struct { CARD8 type; CARD8 extension; CARD16 sequenceNumber; CARD32 length; CARD16 evtype; CARD8 update_window; CARD8 pad1; CARD32 eid; Window event_window; Window window; Pixmap pixmap; CARD32 serial; /* 32-byte boundary */ Region valid_region; Region update_region; xRectangle valid_rect; xRectangle update_rect; INT16 x_off; INT16 y_off; CARD32 target_crtc; XSyncFence wait_fence; XSyncFence idle_fence; CARD32 options; CARD32 pad2; CARD64 target_msc; CARD64 divisor; CARD64 remainder; } xPresentRedirectNotify; #define sz_xPresentRedirectNotify 104 #endif #undef Window #undef Pixmap #undef Region #undef XSyncFence #undef EventID #endif
Save
cmd:
run