VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/XFree86-4.3/Xserver/xf4bpp.h@ 69098

Last change on this file since 69098 was 69098, checked in by vboxsync, 7 years ago

Clean up XFree86 driver header files.
bugref:3810: X11 Guest Additions maintenance
Over the years we have cleaned up the layout in the tree of the X.Org
header files we use to build drivers. The XFree86 ones were still in their
original, rather sub-optimal layout. This change fixes that.

  • Property svn:eol-style set to native
File size: 10.4 KB
Line 
1/* $XFree86: xc/programs/Xserver/hw/xfree86/xf4bpp/xf4bpp.h,v 1.8 2003/02/18 21:29:59 tsi Exp $ */
2
3
4#ifndef __XF4BPP_H__
5#define __XF4BPP_H__
6
7
8#include "windowstr.h"
9#include "gcstruct.h"
10#include "colormapst.h"
11#include "fontstruct.h"
12#ifndef PixelType
13#define PixelType CARD32
14#endif
15
16/* ppcArea.c */
17void xf4bppFillArea(
18#if NeedFunctionPrototypes
19 WindowPtr,
20 int,
21 BoxPtr,
22 GCPtr
23#endif
24);
25
26/* ppcBStore.c */
27void xf4bppSaveAreas(
28#if NeedFunctionPrototypes
29 PixmapPtr,
30 RegionPtr,
31 int,
32 int,
33 WindowPtr
34#endif
35);
36void xf4bppRestoreAreas(
37#if NeedFunctionPrototypes
38 PixmapPtr,
39 RegionPtr,
40 int,
41 int,
42 WindowPtr
43#endif
44);
45
46/* ppcClip.c */
47void xf4bppDestroyClip(
48#if NeedFunctionPrototypes
49 GCPtr
50#endif
51);
52void xf4bppChangeClip(
53#if NeedFunctionPrototypes
54 GCPtr,
55 int,
56 pointer,
57 int
58#endif
59);
60void xf4bppCopyClip(
61#if NeedFunctionPrototypes
62 GCPtr,
63 GCPtr
64#endif
65);
66
67/* ppcCpArea.c */
68RegionPtr xf4bppCopyArea(
69#if NeedFunctionPrototypes
70 DrawablePtr,
71 DrawablePtr,
72 GCPtr,
73 int,
74 int,
75 int,
76 int,
77 int,
78 int
79#endif
80);
81
82/* ppcDepth.c */
83Bool xf4bppDepthOK(
84#if NeedFunctionPrototypes
85 DrawablePtr,
86 int
87#endif
88);
89
90/* ppcFillRct.c */
91void xf4bppPolyFillRect(
92#if NeedFunctionPrototypes
93 DrawablePtr,
94 GCPtr,
95 int,
96 xRectangle *
97#endif
98);
99
100/* ppcWindowFS.c */
101void xf4bppSolidWindowFS(
102#if NeedFunctionPrototypes
103 DrawablePtr,
104 GCPtr,
105 int,
106 DDXPointPtr,
107 int *,
108 int
109#endif
110);
111void xf4bppStippleWindowFS(
112#if NeedFunctionPrototypes
113 DrawablePtr,
114 GCPtr,
115 int,
116 DDXPointPtr,
117 int *,
118 int
119#endif
120);
121void xf4bppOpStippleWindowFS(
122#if NeedFunctionPrototypes
123 DrawablePtr,
124 GCPtr,
125 int,
126 DDXPointPtr,
127 int *,
128 int
129#endif
130);
131void xf4bppTileWindowFS(
132#if NeedFunctionPrototypes
133 DrawablePtr,
134 GCPtr,
135 int,
136 DDXPointPtr,
137 int *,
138 int
139#endif
140);
141
142/* xf4bppPixmapFS.c */
143void xf4bppSolidPixmapFS(
144#if NeedFunctionPrototypes
145 DrawablePtr,
146 GCPtr,
147 int,
148 DDXPointPtr,
149 int *,
150 int
151#endif
152);
153void xf4bppStipplePixmapFS(
154#if NeedFunctionPrototypes
155 DrawablePtr,
156 GCPtr,
157 int,
158 DDXPointPtr,
159 int *,
160 int
161#endif
162);
163void xf4bppOpStipplePixmapFS(
164#if NeedFunctionPrototypes
165 DrawablePtr,
166 GCPtr,
167 int,
168 DDXPointPtr,
169 int *,
170 int
171#endif
172);
173void xf4bppTilePixmapFS(
174#if NeedFunctionPrototypes
175 DrawablePtr,
176 GCPtr,
177 int,
178 DDXPointPtr,
179 int *,
180 int
181#endif
182);
183
184/* ppcGC.c */
185Bool xf4bppCreateGC(
186#if NeedFunctionPrototypes
187 GCPtr
188#endif
189);
190void xf4bppDestroyGC(
191#if NeedFunctionPrototypes
192 GC *
193#endif
194);
195void xf4bppValidateGC(
196#if NeedFunctionPrototypes
197 GCPtr,
198 unsigned long,
199 DrawablePtr
200#endif
201);
202
203/* ppcGetSp.c */
204void xf4bppGetSpans(
205#if NeedFunctionPrototypes
206 DrawablePtr,
207 int,
208 DDXPointPtr,
209 int *,
210 int,
211 char *
212#endif
213);
214
215/* ppcImg.c */
216void xf4bppGetImage(
217#if NeedFunctionPrototypes
218 DrawablePtr,
219 int,
220 int,
221 int,
222 int,
223 unsigned int,
224 unsigned long,
225 char *
226#endif
227);
228
229/* ppcLine.c */
230void xf4bppScrnZeroLine(
231#if NeedFunctionPrototypes
232 DrawablePtr,
233 GCPtr,
234 int,
235 int,
236 DDXPointPtr
237#endif
238);
239void xf4bppScrnZeroDash(
240#if NeedFunctionPrototypes
241 DrawablePtr,
242 GCPtr,
243 int,
244 int,
245 DDXPointPtr
246#endif
247);
248void xf4bppScrnZeroSegs(
249#if NeedFunctionPrototypes
250 DrawablePtr,
251 GCPtr,
252 int,
253 xSegment *
254#endif
255);
256
257/* ppcPixmap.c */
258PixmapPtr xf4bppCreatePixmap(
259#if NeedFunctionPrototypes
260 ScreenPtr,
261 int,
262 int,
263 int
264#endif
265);
266PixmapPtr xf4bppCopyPixmap(
267#if NeedFunctionPrototypes
268 PixmapPtr
269#endif
270);
271
272/* ppcPntWin.c */
273void xf4bppPaintWindow(
274#if NeedFunctionPrototypes
275 WindowPtr,
276 RegionPtr,
277 int
278#endif
279);
280
281/* ppcPolyPnt.c */
282void xf4bppPolyPoint(
283#if NeedFunctionPrototypes
284 DrawablePtr,
285 GCPtr,
286 int,
287 int,
288 xPoint *
289#endif
290);
291
292/* ppcPolyRec.c */
293void xf4bppPolyRectangle(
294#if NeedFunctionPrototypes
295 DrawablePtr,
296 GCPtr,
297 int,
298 xRectangle *
299#endif
300);
301
302/* ppcQuery.c */
303void xf4bppQueryBestSize(
304#if NeedFunctionPrototypes
305 int,
306 unsigned short *,
307 unsigned short *,
308 ScreenPtr
309#endif
310);
311
312/* ppcRslvC.c */
313void xf4bppResolveColor(
314#if NeedFunctionPrototypes
315 unsigned short *,
316 unsigned short *,
317 unsigned short *,
318 VisualPtr
319#endif
320);
321Bool xf4bppInitializeColormap(
322#if NeedFunctionPrototypes
323 ColormapPtr
324#endif
325);
326
327/* ppcSetSp.c */
328void xf4bppSetSpans(
329#if NeedFunctionPrototypes
330 DrawablePtr,
331 GCPtr,
332 char *,
333 DDXPointPtr,
334 int *,
335 int,
336 int
337#endif
338);
339
340/* ppcWindow.c */
341void xf4bppCopyWindow(
342#if NeedFunctionPrototypes
343 WindowPtr,
344 DDXPointRec,
345 RegionPtr
346#endif
347);
348Bool xf4bppPositionWindow(
349#if NeedFunctionPrototypes
350 WindowPtr,
351 int,
352 int
353#endif
354);
355Bool xf4bppUnrealizeWindow(
356#if NeedFunctionPrototypes
357 WindowPtr,
358 int,
359 int
360#endif
361);
362Bool xf4bppDestroyWindow(
363#if NeedFunctionPrototypes
364 WindowPtr
365#endif
366);
367Bool xf4bppCreateWindowForXYhardware(
368#if NeedFunctionPrototypes
369 WindowPtr
370#endif
371);
372
373/* emulOpStip.c */
374void xf4bppOpaqueStipple(
375#if NeedFunctionPrototypes
376 WindowPtr,
377 PixmapPtr,
378 unsigned long int,
379 unsigned long int,
380 int,
381 unsigned long int,
382 int,
383 int,
384 int,
385 int,
386 int,
387 int
388#endif
389);
390
391/* emulRepAre.c */
392void xf4bppReplicateArea(
393#if NeedFunctionPrototypes
394 WindowPtr,
395 int,
396 int,
397 int,
398 int,
399 int,
400 int,
401 int
402#endif
403);
404
405/* emulTile.c */
406void xf4bppTileRect(
407#if NeedFunctionPrototypes
408 WindowPtr,
409 PixmapPtr,
410 const int,
411 const unsigned long int,
412 int,
413 int,
414 int,
415 int,
416 int,
417 int
418#endif
419);
420
421/* vgaGC.c */
422Mask xf4bppChangeWindowGC(
423#if NeedFunctionPrototypes
424 GCPtr,
425 Mask
426#endif
427);
428
429/* vgaBitBlt.c */
430void xf4bppBitBlt(
431#if NeedFunctionPrototypes
432 WindowPtr,
433 int,
434 int,
435 int,
436 int,
437 int,
438 int,
439 int,
440 int
441#endif
442);
443
444/* vgaImages.c */
445void xf4bppDrawColorImage(
446#if NeedFunctionPrototypes
447 WindowPtr,
448 int,
449 int,
450 int,
451 int,
452 unsigned char *,
453 int,
454 const int,
455 const unsigned long int
456#endif
457);
458void xf4bppReadColorImage(
459#if NeedFunctionPrototypes
460 WindowPtr,
461 int,
462 int,
463 int,
464 int,
465 unsigned char *,
466 int
467#endif
468);
469
470/* vgaLine.c */
471void xf4bppHorzLine(
472#if NeedFunctionPrototypes
473 WindowPtr,
474 unsigned long int,
475 int,
476 unsigned long int,
477 int,
478 int,
479 int
480#endif
481);
482void xf4bppVertLine(
483#if NeedFunctionPrototypes
484 WindowPtr,
485 unsigned long int,
486 int,
487 unsigned long int,
488 int,
489 int,
490 int
491#endif
492);
493void xf4bppBresLine(
494#if NeedFunctionPrototypes
495 WindowPtr,
496 unsigned long int,
497 int,
498 unsigned long int,
499 int,
500 int,
501 int,
502 int,
503 int,
504 int,
505 int,
506 int,
507 unsigned long int
508#endif
509);
510
511/* vgaStipple.c */
512void xf4bppFillStipple(
513#if NeedFunctionPrototypes
514 WindowPtr,
515 const PixmapPtr,
516 unsigned long int,
517 const int,
518 unsigned long int,
519 int,
520 int,
521 int,
522 int,
523 const int,
524 const int
525#endif
526);
527
528/* vgaSolid.c */
529void xf4bppFillSolid(
530#if NeedFunctionPrototypes
531 WindowPtr,
532 unsigned long int,
533 const int,
534 unsigned long int,
535 int,
536 const int,
537 int,
538 const int
539#endif
540);
541
542/* offscreen.c */
543void xf4bppOffBitBlt(
544#if NeedFunctionPrototypes
545 WindowPtr,
546 const int,
547 const int,
548 int,
549 int,
550 int,
551 int,
552 int,
553 int
554#endif
555);
556void xf4bppOffDrawColorImage(
557#if NeedFunctionPrototypes
558 WindowPtr,
559 int,
560 int,
561 int,
562 int,
563 unsigned char *,
564 int,
565 const int,
566 const unsigned long int
567#endif
568);
569void xf4bppOffReadColorImage(
570#if NeedFunctionPrototypes
571 WindowPtr,
572 int,
573 int,
574 int,
575 int,
576 unsigned char *,
577 int
578#endif
579);
580void xf4bppOffFillSolid(
581#if NeedFunctionPrototypes
582 WindowPtr,
583 unsigned long int,
584 const int,
585 unsigned long int,
586 int,
587 const int,
588 int,
589 const int
590#endif
591);
592void xf4bppOffDrawMonoImage(
593#if NeedFunctionPrototypes
594 WindowPtr,
595 unsigned char *,
596 int,
597 int,
598 int,
599 int,
600 unsigned long int,
601 int,
602 unsigned long int
603#endif
604);
605void xf4bppOffFillStipple(
606#if NeedFunctionPrototypes
607 WindowPtr,
608 const PixmapPtr,
609 unsigned long int,
610 const int,
611 unsigned long int,
612 int,
613 int,
614 int,
615 int,
616 const int,
617 const int
618#endif
619);
620
621/* mfbimggblt.c */
622void xf4bppImageGlyphBlt(
623#if NeedFunctionPrototypes
624 DrawablePtr,
625 GCPtr,
626 int,
627 int,
628 unsigned int,
629 CharInfoPtr *,
630 pointer
631#endif
632);
633
634/* wm3.c */
635int wm3_set_regs(
636#if NeedFunctionPrototypes
637 GC *
638#endif
639);
640
641/* ppcIO.c */
642int xf4bppNeverCalled(
643#if NeedFunctionPrototypes
644 void
645#endif
646);
647Bool xf4bppScreenInit(
648#if NeedFunctionPrototypes
649 ScreenPtr,
650 pointer,
651 int,
652 int,
653 int,
654 int,
655 int
656#endif
657);
658
659/* mfbfillarc.c */
660void xf4bppPolyFillArc(
661#if NeedFunctionPrototypes
662 DrawablePtr,
663 GCPtr,
664 int,
665 xArc *
666#endif
667);
668
669/* mfbzerarc.c */
670void xf4bppZeroPolyArc(
671#if NeedFunctionPrototypes
672 DrawablePtr,
673 GCPtr,
674 int,
675 xArc *
676#endif
677);
678
679/* mfbline.c */
680void xf4bppSegmentSS (
681#if NeedFunctionPrototypes
682 DrawablePtr,
683 GCPtr,
684 int,
685 xSegment *
686#endif
687);
688void xf4bppLineSS (
689#if NeedFunctionPrototypes
690 DrawablePtr,
691 GCPtr,
692 int,
693 int,
694 DDXPointPtr
695#endif
696);
697void xf4bppSegmentSD (
698#if NeedFunctionPrototypes
699 DrawablePtr,
700 GCPtr,
701 int,
702 xSegment *
703#endif
704);
705void xf4bppLineSD (
706#if NeedFunctionPrototypes
707 DrawablePtr,
708 GCPtr,
709 int,
710 int,
711 DDXPointPtr
712#endif
713);
714
715/* mfbbres.c */
716void xf4bppBresS(
717#if NeedFunctionPrototypes
718 PixelType *,
719 int,
720 int,
721 int,
722 int,
723 int,
724 int,
725 int,
726 int,
727 int,
728 int
729#endif
730);
731
732/* mfbbresd.c */
733void xf4bppBresD(
734#if NeedFunctionPrototypes
735 DrawablePtr,
736 int, int,
737 int *,
738 unsigned char *,
739 int,
740 int *,
741 int,
742 PixelType *,
743 int, int, int, int, int, int,
744 int, int,
745 int, int
746#endif
747);
748
749/* mfbhrzvert.c */
750void xf4bppHorzS(
751#if NeedFunctionPrototypes
752 PixelType *,
753 int,
754 int,
755 int,
756 int
757#endif
758);
759void xf4bppVertS(
760#if NeedFunctionPrototypes
761 PixelType *,
762 int,
763 int,
764 int,
765 int
766#endif
767);
768
769#ifdef PC98_EGC
770
771/* egc_asm.s */
772unsigned char getbits_x(
773#if NeedFunctionPrototypes
774 int,
775 unsigned int,
776 pointer,
777 unsigned int
778#endif
779);
780void wcopyr(
781#if NeedFunctionPrototypes
782 pointer,
783 pointer,
784 int,
785 pointer
786#endif
787);
788void wcopyl(
789#if NeedFunctionPrototypes
790 pointer,
791 pointer,
792 int,
793 pointer
794#endif
795);
796unsigned long int read8Z(
797#if NeedFunctionPrototypes
798 pointer
799#endif
800);
801
802#endif /* PC98_EGC */
803
804#endif /* __XF4BPP_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