VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/1.6/X11/extensions/randrproto.h@ 17239

Last change on this file since 17239 was 17239, checked in by vboxsync, 16 years ago

Additions/x11/x11include: removed remaining svn:keywords properties

  • Property svn:eol-style set to native
File size: 19.1 KB
Line 
1/*
2 * Copyright © 2000 Compaq Computer Corporation
3 * Copyright © 2002 Hewlett-Packard Company
4 * Copyright © 2006 Intel Corporation
5 * Copyright © 2008 Red Hat, Inc.
6 *
7 * Permission to use, copy, modify, distribute, and sell this software and its
8 * documentation for any purpose is hereby granted without fee, provided that
9 * the above copyright notice appear in all copies and that both that copyright
10 * notice and this permission notice appear in supporting documentation, and
11 * that the name of the copyright holders not be used in advertising or
12 * publicity pertaining to distribution of the software without specific,
13 * written prior permission. The copyright holders make no representations
14 * about the suitability of this software for any purpose. It is provided "as
15 * is" without express or implied warranty.
16 *
17 * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
18 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
19 * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
20 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
21 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
22 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
23 * OF THIS SOFTWARE.
24 *
25 * Author: Jim Gettys, Hewlett-Packard Company, Inc.
26 * Keith Packard, Intel Corporation
27 */
28
29/* note that RANDR 1.0 is incompatible with version 0.0, or 0.1 */
30/* V1.0 removes depth switching from the protocol */
31#ifndef _XRANDRP_H_
32#define _XRANDRP_H_
33
34#include <X11/extensions/randr.h>
35#include <X11/extensions/renderproto.h>
36
37#define Window CARD32
38#define Drawable CARD32
39#define Font CARD32
40#define Pixmap CARD32
41#define Cursor CARD32
42#define Colormap CARD32
43#define GContext CARD32
44#define Atom CARD32
45#define Time CARD32
46#define KeyCode CARD8
47#define KeySym CARD32
48#define RROutput CARD32
49#define RRMode CARD32
50#define RRCrtc CARD32
51#define RRModeFlags CARD32
52
53#define Rotation CARD16
54#define SizeID CARD16
55#define SubpixelOrder CARD16
56
57/*
58 * data structures
59 */
60
61typedef struct {
62 CARD16 widthInPixels B16;
63 CARD16 heightInPixels B16;
64 CARD16 widthInMillimeters B16;
65 CARD16 heightInMillimeters B16;
66} xScreenSizes;
67#define sz_xScreenSizes 8
68
69/*
70 * requests and replies
71 */
72
73typedef struct {
74 CARD8 reqType;
75 CARD8 randrReqType;
76 CARD16 length B16;
77 CARD32 majorVersion B32;
78 CARD32 minorVersion B32;
79} xRRQueryVersionReq;
80#define sz_xRRQueryVersionReq 12
81
82typedef struct {
83 BYTE type; /* X_Reply */
84 BYTE pad1;
85 CARD16 sequenceNumber B16;
86 CARD32 length B32;
87 CARD32 majorVersion B32;
88 CARD32 minorVersion B32;
89 CARD32 pad2 B32;
90 CARD32 pad3 B32;
91 CARD32 pad4 B32;
92 CARD32 pad5 B32;
93} xRRQueryVersionReply;
94#define sz_xRRQueryVersionReply 32
95
96typedef struct {
97 CARD8 reqType;
98 CARD8 randrReqType;
99 CARD16 length B16;
100 Window window B32;
101} xRRGetScreenInfoReq;
102#define sz_xRRGetScreenInfoReq 8
103
104/*
105 * the xRRScreenInfoReply structure is followed by:
106 *
107 * the size information
108 */
109
110
111typedef struct {
112 BYTE type; /* X_Reply */
113 BYTE setOfRotations;
114 CARD16 sequenceNumber B16;
115 CARD32 length B32;
116 Window root B32;
117 Time timestamp B32;
118 Time configTimestamp B32;
119 CARD16 nSizes B16;
120 SizeID sizeID B16;
121 Rotation rotation B16;
122 CARD16 rate B16;
123 CARD16 nrateEnts B16;
124 CARD16 pad B16;
125} xRRGetScreenInfoReply;
126#define sz_xRRGetScreenInfoReply 32
127
128typedef struct {
129 CARD8 reqType;
130 CARD8 randrReqType;
131 CARD16 length B16;
132 Drawable drawable B32;
133 Time timestamp B32;
134 Time configTimestamp B32;
135 SizeID sizeID B16;
136 Rotation rotation B16;
137} xRR1_0SetScreenConfigReq;
138#define sz_xRR1_0SetScreenConfigReq 20
139
140typedef struct {
141 CARD8 reqType;
142 CARD8 randrReqType;
143 CARD16 length B16;
144 Drawable drawable B32;
145 Time timestamp B32;
146 Time configTimestamp B32;
147 SizeID sizeID B16;
148 Rotation rotation B16;
149 CARD16 rate B16;
150 CARD16 pad B16;
151} xRRSetScreenConfigReq;
152#define sz_xRRSetScreenConfigReq 24
153
154typedef struct {
155 BYTE type; /* X_Reply */
156 CARD8 status;
157 CARD16 sequenceNumber B16;
158 CARD32 length B32;
159 Time newTimestamp B32;
160 Time newConfigTimestamp B32;
161 Window root;
162 CARD16 subpixelOrder B16;
163 CARD16 pad4 B16;
164 CARD32 pad5 B32;
165 CARD32 pad6 B32;
166} xRRSetScreenConfigReply;
167#define sz_xRRSetScreenConfigReply 32
168
169typedef struct {
170 CARD8 reqType;
171 CARD8 randrReqType;
172 CARD16 length B16;
173 Window window B32;
174 CARD16 enable B16;
175 CARD16 pad2 B16;
176} xRRSelectInputReq;
177#define sz_xRRSelectInputReq 12
178
179/*
180 * Additions for version 1.2
181 */
182
183typedef struct _xRRModeInfo {
184 RRMode id B32;
185 CARD16 width B16;
186 CARD16 height B16;
187 CARD32 dotClock B32;
188 CARD16 hSyncStart B16;
189 CARD16 hSyncEnd B16;
190 CARD16 hTotal B16;
191 CARD16 hSkew B16;
192 CARD16 vSyncStart B16;
193 CARD16 vSyncEnd B16;
194 CARD16 vTotal B16;
195 CARD16 nameLength B16;
196 RRModeFlags modeFlags B32;
197} xRRModeInfo;
198#define sz_xRRModeInfo 32
199
200typedef struct {
201 CARD8 reqType;
202 CARD8 randrReqType;
203 CARD16 length B16;
204 Window window B32;
205} xRRGetScreenSizeRangeReq;
206#define sz_xRRGetScreenSizeRangeReq 8
207
208typedef struct {
209 BYTE type; /* X_Reply */
210 CARD8 pad;
211 CARD16 sequenceNumber B16;
212 CARD32 length B32;
213 CARD16 minWidth B16;
214 CARD16 minHeight B16;
215 CARD16 maxWidth B16;
216 CARD16 maxHeight B16;
217 CARD32 pad0 B32;
218 CARD32 pad1 B32;
219 CARD32 pad2 B32;
220 CARD32 pad3 B32;
221} xRRGetScreenSizeRangeReply;
222#define sz_xRRGetScreenSizeRangeReply 32
223
224typedef struct {
225 CARD8 reqType;
226 CARD8 randrReqType;
227 CARD16 length B16;
228 Window window B32;
229 CARD16 width B16;
230 CARD16 height B16;
231 CARD32 widthInMillimeters B32;
232 CARD32 heightInMillimeters B32;
233} xRRSetScreenSizeReq;
234#define sz_xRRSetScreenSizeReq 20
235
236typedef struct {
237 CARD8 reqType;
238 CARD8 randrReqType;
239 CARD16 length B16;
240 Window window B32;
241} xRRGetScreenResourcesReq;
242#define sz_xRRGetScreenResourcesReq 8
243
244typedef struct {
245 BYTE type;
246 CARD8 pad;
247 CARD16 sequenceNumber B16;
248 CARD32 length B32;
249 Time timestamp B32;
250 Time configTimestamp B32;
251 CARD16 nCrtcs B16;
252 CARD16 nOutputs B16;
253 CARD16 nModes B16;
254 CARD16 nbytesNames B16;
255 CARD32 pad1 B32;
256 CARD32 pad2 B32;
257} xRRGetScreenResourcesReply;
258#define sz_xRRGetScreenResourcesReply 32
259
260typedef struct {
261 CARD8 reqType;
262 CARD8 randrReqType;
263 CARD16 length B16;
264 RROutput output B32;
265 Time configTimestamp B32;
266} xRRGetOutputInfoReq;
267#define sz_xRRGetOutputInfoReq 12
268
269typedef struct {
270 BYTE type;
271 CARD8 status;
272 CARD16 sequenceNumber B16;
273 CARD32 length B32;
274 Time timestamp B32;
275 RRCrtc crtc B32;
276 CARD32 mmWidth B32;
277 CARD32 mmHeight B32;
278 CARD8 connection;
279 CARD8 subpixelOrder;
280 CARD16 nCrtcs B16;
281 CARD16 nModes B16;
282 CARD16 nPreferred B16;
283 CARD16 nClones B16;
284 CARD16 nameLength B16;
285} xRRGetOutputInfoReply;
286#define sz_xRRGetOutputInfoReply 36
287
288typedef struct {
289 CARD8 reqType;
290 CARD8 randrReqType;
291 CARD16 length B16;
292 RROutput output B32;
293} xRRListOutputPropertiesReq;
294#define sz_xRRListOutputPropertiesReq 8
295
296typedef struct {
297 BYTE type;
298 CARD8 pad0;
299 CARD16 sequenceNumber B16;
300 CARD32 length B32;
301 CARD16 nAtoms B16;
302 CARD16 pad1 B16;
303 CARD32 pad2 B32;
304 CARD32 pad3 B32;
305 CARD32 pad4 B32;
306 CARD32 pad5 B32;
307 CARD32 pad6 B32;
308} xRRListOutputPropertiesReply;
309#define sz_xRRListOutputPropertiesReply 32
310
311typedef struct {
312 CARD8 reqType;
313 CARD8 randrReqType;
314 CARD16 length B16;
315 RROutput output B32;
316 Atom property B32;
317} xRRQueryOutputPropertyReq;
318#define sz_xRRQueryOutputPropertyReq 12
319
320typedef struct {
321 BYTE type;
322 BYTE pad0;
323 CARD16 sequenceNumber B16;
324 CARD32 length B32;
325 BOOL pending;
326 BOOL range;
327 BOOL immutable;
328 BYTE pad1;
329 CARD32 pad2 B32;
330 CARD32 pad3 B32;
331 CARD32 pad4 B32;
332 CARD32 pad5 B32;
333 CARD32 pad6 B32;
334} xRRQueryOutputPropertyReply;
335#define sz_xRRQueryOutputPropertyReply 32
336
337typedef struct {
338 CARD8 reqType;
339 CARD8 randrReqType;
340 CARD16 length B16;
341 RROutput output B32;
342 Atom property B32;
343 BOOL pending;
344 BOOL range;
345 CARD16 pad B16;
346} xRRConfigureOutputPropertyReq;
347#define sz_xRRConfigureOutputPropertyReq 16
348
349typedef struct {
350 CARD8 reqType;
351 CARD8 randrReqType;
352 CARD16 length B16;
353 RROutput output B32;
354 Atom property B32;
355 Atom type B32;
356 CARD8 format;
357 CARD8 mode;
358 CARD16 pad;
359 CARD32 nUnits B32;
360} xRRChangeOutputPropertyReq;
361#define sz_xRRChangeOutputPropertyReq 24
362
363typedef struct {
364 CARD8 reqType;
365 CARD8 randrReqType;
366 CARD16 length B16;
367 RROutput output B32;
368 Atom property B32;
369} xRRDeleteOutputPropertyReq;
370#define sz_xRRDeleteOutputPropertyReq 12
371
372typedef struct {
373 CARD8 reqType;
374 CARD8 randrReqType;
375 CARD16 length B16;
376 RROutput output B32;
377 Atom property B32;
378 Atom type B32;
379 CARD32 longOffset B32;
380 CARD32 longLength B32;
381#ifdef __cplusplus
382 BOOL _delete;
383#else
384 BOOL delete;
385#endif
386 BOOL pending;
387 CARD16 pad1 B16;
388} xRRGetOutputPropertyReq;
389#define sz_xRRGetOutputPropertyReq 28
390
391typedef struct {
392 BYTE type;
393 CARD8 format;
394 CARD16 sequenceNumber B16;
395 CARD32 length B32;
396 Atom propertyType B32;
397 CARD32 bytesAfter B32;
398 CARD32 nItems B32;
399 CARD32 pad1 B32;
400 CARD32 pad2 B32;
401 CARD32 pad3 B32;
402} xRRGetOutputPropertyReply;
403#define sz_xRRGetOutputPropertyReply 32
404
405typedef struct {
406 CARD8 reqType;
407 CARD8 randrReqType;
408 CARD16 length B16;
409 Window window B32;
410 xRRModeInfo modeInfo;
411} xRRCreateModeReq;
412#define sz_xRRCreateModeReq 40
413
414typedef struct {
415 BYTE type;
416 CARD8 pad0;
417 CARD16 sequenceNumber B16;
418 CARD32 length B32;
419 RRMode mode B32;
420 CARD32 pad1 B32;
421 CARD32 pad2 B32;
422 CARD32 pad3 B32;
423 CARD32 pad4 B32;
424 CARD32 pad5 B32;
425} xRRCreateModeReply;
426#define sz_xRRCreateModeReply 32
427
428typedef struct {
429 CARD8 reqType;
430 CARD8 randrReqType;
431 CARD16 length B16;
432 RRMode mode B32;
433} xRRDestroyModeReq;
434#define sz_xRRDestroyModeReq 8
435
436typedef struct {
437 CARD8 reqType;
438 CARD8 randrReqType;
439 CARD16 length B16;
440 RROutput output B32;
441 RRMode mode B32;
442} xRRAddOutputModeReq;
443#define sz_xRRAddOutputModeReq 12
444
445typedef struct {
446 CARD8 reqType;
447 CARD8 randrReqType;
448 CARD16 length B16;
449 RROutput output B32;
450 RRMode mode B32;
451} xRRDeleteOutputModeReq;
452#define sz_xRRDeleteOutputModeReq 12
453
454typedef struct {
455 CARD8 reqType;
456 CARD8 randrReqType;
457 CARD16 length B16;
458 RRCrtc crtc B32;
459 Time configTimestamp B32;
460} xRRGetCrtcInfoReq;
461#define sz_xRRGetCrtcInfoReq 12
462
463typedef struct {
464 BYTE type;
465 CARD8 status;
466 CARD16 sequenceNumber B16;
467 CARD32 length B32;
468 Time timestamp B32;
469 INT16 x B16;
470 INT16 y B16;
471 CARD16 width B16;
472 CARD16 height B16;
473 RRMode mode B32;
474 Rotation rotation B16;
475 Rotation rotations B16;
476 CARD16 nOutput B16;
477 CARD16 nPossibleOutput B16;
478} xRRGetCrtcInfoReply;
479#define sz_xRRGetCrtcInfoReply 32
480
481typedef struct {
482 CARD8 reqType;
483 CARD8 randrReqType;
484 CARD16 length B16;
485 RRCrtc crtc B32;
486 Time timestamp B32;
487 Time configTimestamp B32;
488 INT16 x B16;
489 INT16 y B16;
490 RRMode mode B32;
491 Rotation rotation B16;
492 CARD16 pad B16;
493} xRRSetCrtcConfigReq;
494#define sz_xRRSetCrtcConfigReq 28
495
496typedef struct {
497 BYTE type;
498 CARD8 status;
499 CARD16 sequenceNumber B16;
500 CARD32 length B32;
501 Time newTimestamp B32;
502 CARD32 pad1 B32;
503 CARD32 pad2 B16;
504 CARD32 pad3 B32;
505 CARD32 pad4 B32;
506 CARD32 pad5 B32;
507} xRRSetCrtcConfigReply;
508#define sz_xRRSetCrtcConfigReply 32
509
510typedef struct {
511 CARD8 reqType;
512 CARD8 randrReqType;
513 CARD16 length B16;
514 RRCrtc crtc B32;
515} xRRGetCrtcGammaSizeReq;
516#define sz_xRRGetCrtcGammaSizeReq 8
517
518typedef struct {
519 BYTE type;
520 CARD8 status;
521 CARD16 sequenceNumber B16;
522 CARD32 length B32;
523 CARD16 size B16;
524 CARD16 pad1 B16;
525 CARD32 pad2 B32;
526 CARD32 pad3 B32;
527 CARD32 pad4 B32;
528 CARD32 pad5 B32;
529 CARD32 pad6 B32;
530} xRRGetCrtcGammaSizeReply;
531#define sz_xRRGetCrtcGammaSizeReply 32
532
533typedef struct {
534 CARD8 reqType;
535 CARD8 randrReqType;
536 CARD16 length B16;
537 RRCrtc crtc B32;
538} xRRGetCrtcGammaReq;
539#define sz_xRRGetCrtcGammaReq 8
540
541typedef struct {
542 BYTE type;
543 CARD8 status;
544 CARD16 sequenceNumber B16;
545 CARD32 length B32;
546 CARD16 size B16;
547 CARD16 pad1 B16;
548 CARD32 pad2 B32;
549 CARD32 pad3 B32;
550 CARD32 pad4 B32;
551 CARD32 pad5 B32;
552 CARD32 pad6 B32;
553} xRRGetCrtcGammaReply;
554#define sz_xRRGetCrtcGammaReply 32
555
556typedef struct {
557 CARD8 reqType;
558 CARD8 randrReqType;
559 CARD16 length B16;
560 RRCrtc crtc B32;
561 CARD16 size B16;
562 CARD16 pad1 B16;
563} xRRSetCrtcGammaReq;
564#define sz_xRRSetCrtcGammaReq 12
565
566/*
567 * Additions for V1.3
568 */
569
570typedef xRRGetScreenResourcesReq xRRGetScreenResourcesCurrentReq;
571
572#define sz_xRRGetScreenResourcesCurrentReq sz_xRRGetScreenResourcesReq
573
574typedef xRRGetScreenResourcesReply xRRGetScreenResourcesCurrentReply;
575#define sz_xRRGetScreenResourcesCurrentReply sz_xRRGetScreenResourcesReply
576
577typedef struct {
578 CARD8 reqType;
579 CARD8 randrReqType;
580 CARD16 length B16;
581 RRCrtc crtc B32;
582 xRenderTransform transform;
583 CARD16 nbytesFilter; /* number of bytes in filter name */
584 CARD16 pad B16;
585} xRRSetCrtcTransformReq;
586
587#define sz_xRRSetCrtcTransformReq 48
588
589typedef struct {
590 CARD8 reqType;
591 CARD8 randrReqType;
592 CARD16 length B16;
593 RRCrtc crtc B32;
594} xRRGetCrtcTransformReq;
595
596#define sz_xRRGetCrtcTransformReq 8
597
598typedef struct {
599 BYTE type;
600 CARD8 status;
601 CARD16 sequenceNumber B16;
602 CARD32 length B32;
603 xRenderTransform pendingTransform;
604 BYTE hasTransforms;
605 CARD8 pad0;
606 CARD16 pad1 B16;
607 xRenderTransform currentTransform;
608 CARD32 pad2 B32;
609 CARD16 pendingNbytesFilter B16; /* number of bytes in filter name */
610 CARD16 pendingNparamsFilter B16; /* number of filter params */
611 CARD16 currentNbytesFilter B16; /* number of bytes in filter name */
612 CARD16 currentNparamsFilter B16; /* number of filter params */
613} xRRGetCrtcTransformReply;
614
615#define sz_xRRGetCrtcTransformReply 96
616
617typedef struct {
618 CARD8 reqType;
619 CARD8 randrReqType;
620 CARD16 length B16;
621 Window window B32;
622 RROutput output B32;
623} xRRSetOutputPrimaryReq;
624#define sz_xRRSetOutputPrimaryReq 12
625
626typedef struct {
627 CARD8 reqType;
628 CARD8 randrReqType;
629 CARD16 length B16;
630 Window window B32;
631} xRRGetOutputPrimaryReq;
632#define sz_xRRGetOutputPrimaryReq 8
633
634typedef struct {
635 BYTE type;
636 CARD8 pad;
637 CARD16 sequenceNumber B16;
638 CARD32 length B32;
639 RROutput output B32;
640 CARD32 pad1 B32;
641 CARD32 pad2 B32;
642 CARD32 pad3 B32;
643 CARD32 pad4 B32;
644 CARD32 pad5 B32;
645} xRRGetOutputPrimaryReply;
646#define sz_xRRGetOutputPrimaryReply 32
647
648/*
649 * event
650 */
651typedef struct {
652 CARD8 type; /* always evBase + ScreenChangeNotify */
653 CARD8 rotation; /* new rotation */
654 CARD16 sequenceNumber B16;
655 Time timestamp B32; /* time screen was changed */
656 Time configTimestamp B32; /* time config data was changed */
657 Window root B32; /* root window */
658 Window window B32; /* window requesting notification */
659 SizeID sizeID B16; /* new size ID */
660 CARD16 subpixelOrder B16; /* subpixel order */
661 CARD16 widthInPixels B16; /* new size */
662 CARD16 heightInPixels B16;
663 CARD16 widthInMillimeters B16;
664 CARD16 heightInMillimeters B16;
665} xRRScreenChangeNotifyEvent;
666#define sz_xRRScreenChangeNotifyEvent 32
667
668typedef struct {
669 CARD8 type; /* always evBase + RRNotify */
670 CARD8 subCode; /* RRNotify_CrtcChange */
671 CARD16 sequenceNumber B16;
672 Time timestamp B32; /* time crtc was changed */
673 Window window B32; /* window requesting notification */
674 RRCrtc crtc B32; /* affected CRTC */
675 RRMode mode B32; /* current mode */
676 CARD16 rotation B16; /* rotation and reflection */
677 CARD16 pad1 B16; /* unused */
678 INT16 x B16; /* new location */
679 INT16 y B16;
680 CARD16 width B16; /* new size */
681 CARD16 height B16;
682} xRRCrtcChangeNotifyEvent;
683#define sz_xRRCrtcChangeNotifyEvent 32
684
685typedef struct {
686 CARD8 type; /* always evBase + RRNotify */
687 CARD8 subCode; /* RRNotify_OutputChange */
688 CARD16 sequenceNumber B16;
689 Time timestamp B32; /* time output was changed */
690 Time configTimestamp B32; /* time config was changed */
691 Window window B32; /* window requesting notification */
692 RROutput output B32; /* affected output */
693 RRCrtc crtc B32; /* current crtc */
694 RRMode mode B32; /* current mode */
695 CARD16 rotation B16; /* rotation and reflection */
696 CARD8 connection; /* connection status */
697 CARD8 subpixelOrder; /* subpixel order */
698} xRROutputChangeNotifyEvent;
699#define sz_xRROutputChangeNotifyEvent 32
700
701typedef struct {
702 CARD8 type; /* always evBase + RRNotify */
703 CARD8 subCode; /* RRNotify_OutputProperty */
704 CARD16 sequenceNumber B16;
705 Window window B32; /* window requesting notification */
706 RROutput output B32; /* affected output */
707 Atom atom B32; /* property name */
708 Time timestamp B32; /* time crtc was changed */
709 CARD8 state; /* NewValue or Deleted */
710 CARD8 pad1;
711 CARD16 pad2 B16;
712 CARD32 pad3 B32;
713 CARD32 pad4 B32;
714} xRROutputPropertyNotifyEvent;
715#define sz_xRROutputPropertyNotifyEvent 32
716
717typedef struct {
718 CARD8 reqType;
719 CARD8 randrReqType;
720 CARD16 length B16;
721 RRCrtc crtc B32;
722} xRRGetPanningReq;
723#define sz_xRRGetPanningReq 8
724
725typedef struct {
726 BYTE type;
727 CARD8 status;
728 CARD16 sequenceNumber B16;
729 CARD32 length B32;
730 Time timestamp B32;
731 CARD16 left B16;
732 CARD16 top B16;
733 CARD16 width B16;
734 CARD16 height B16;
735 CARD16 track_left B16;
736 CARD16 track_top B16;
737 CARD16 track_width B16;
738 CARD16 track_height B16;
739 INT16 border_left B16;
740 INT16 border_top B16;
741 INT16 border_right B16;
742 INT16 border_bottom B16;
743} xRRGetPanningReply;
744#define sz_xRRGetPanningReply 36
745
746typedef struct {
747 CARD8 reqType;
748 CARD8 randrReqType;
749 CARD16 length B16;
750 RRCrtc crtc B32;
751 Time timestamp B32;
752 CARD16 left B16;
753 CARD16 top B16;
754 CARD16 width B16;
755 CARD16 height B16;
756 CARD16 track_left B16;
757 CARD16 track_top B16;
758 CARD16 track_width B16;
759 CARD16 track_height B16;
760 INT16 border_left B16;
761 INT16 border_top B16;
762 INT16 border_right B16;
763 INT16 border_bottom B16;
764} xRRSetPanningReq;
765#define sz_xRRSetPanningReq 36
766
767typedef struct {
768 BYTE type;
769 CARD8 status;
770 CARD16 sequenceNumber B16;
771 CARD32 length B32;
772 Time newTimestamp B32;
773 CARD32 pad1 B32;
774 CARD32 pad2 B32;
775 CARD32 pad3 B32;
776 CARD32 pad4 B32;
777 CARD32 pad5 B32;
778} xRRSetPanningReply;
779#define sz_xRRSetPanningReply 32
780
781#undef RRModeFlags
782#undef RRCrtc
783#undef RRMode
784#undef RROutput
785#undef RRMode
786#undef RRCrtc
787#undef Drawable
788#undef Window
789#undef Font
790#undef Pixmap
791#undef Cursor
792#undef Colormap
793#undef GContext
794#undef Atom
795#undef Time
796#undef KeyCode
797#undef KeySym
798#undef Rotation
799#undef SizeID
800#undef SubpixelOrder
801
802#endif /* _XRANDRP_H_ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette