VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/ppcGCstr.h@ 29743

Last change on this file since 29743 was 25078, checked in by vboxsync, 15 years ago

Additions/x11/x11include: exported and set eol-style on new headers

  • Property svn:eol-style set to native
File size: 3.4 KB
Line 
1/*
2 * Copyright IBM Corporation 1987,1988,1989
3 *
4 * All Rights Reserved
5 *
6 * Permission to use, copy, modify, and distribute this software and its
7 * documentation for any purpose and without fee is hereby granted,
8 * provided that the above copyright notice appear in all copies and that
9 * both that copyright notice and this permission notice appear in
10 * supporting documentation, and that the name of IBM not be
11 * used in advertising or publicity pertaining to distribution of the
12 * software without specific, written prior permission.
13 *
14 * IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16 * IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17 * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20 * SOFTWARE.
21 *
22*/
23/***********************************************************
24 Copyright IBM Corporation 1988
25
26 All Rights Reserved
27
28Permission to use, copy, modify, and distribute this software and its
29documentation for any purpose and without fee is hereby granted,
30provided that the above copyright notice appear in all copies and that
31both that copyright notice and this permission notice appear in
32supporting documentation, and that the name of IBM not be
33used in advertising or publicity pertaining to distribution of the
34software without specific, written prior permission.
35
36IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
37ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
38IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
39ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
40WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
41ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
42SOFTWARE.
43
44******************************************************************/
45/* $XConsortium: ppcGCstr.h /main/3 1996/02/21 17:57:42 kaleb $ */
46
47#ifdef HAVE_XORG_CONFIG_H
48#include <xorg-config.h>
49#endif
50
51#include "gc.h"
52#include "mfb.h"
53
54typedef struct {
55 unsigned long planemask ;
56 unsigned long fgPixel ;
57 unsigned long bgPixel ;
58 int alu ;
59 int fillStyle ;
60 } ppcReducedRrop ;
61
62/* ************************************************************************ */
63
64/* private field of GC */
65typedef struct {
66/* The next five (5) fields MUST CORRESPOND to
67 * the fields of a "mfbPrivGC" struct
68 * ----- BEGINNING OF "DO-NOT-CHANGE" REGION -----
69 */
70 unsigned char rop ; /* reduction of rasterop to 1 of 3 */
71 unsigned char ropOpStip ; /* rop for opaque stipple */
72 unsigned char ropFillArea ; /* == alu, rop, or ropOpStip */
73 unsigned char unused[sizeof(long) - 3];
74 mfbFillAreaProcPtr FillArea; /* fills regions; look at the code */
75/* ----- END OF "DO-NOT-CHANGE" REGION ----- */
76 ppcReducedRrop colorRrop ;
77 short lastDrawableType ; /* was last drawable a window or a pixmap? */
78 short lastDrawableDepth ; /* was last drawable 1 or 8 planes? */
79 pointer devPriv ; /* Private area for device specific stuff */
80 } ppcPrivGC ;
81typedef ppcPrivGC *ppcPrivGCPtr ;
82
83/* ppcCReduce.c */
84void xf4bppGetReducedColorRrop(
85 GCPtr,
86 int,
87 ppcReducedRrop *
88);
89
90/* vgaGC.c */
91void xf4bppChangeGCtype(
92 GCPtr,
93 ppcPrivGCPtr
94);
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