e:/XFree86 for RH 8.0/XFree86-4.2.0/xc/programs/Xserver/hw/hp/ngle/ngle.h

Go to the documentation of this file.
00001 /* $Xorg: ngle.h,v 1.3 2000/08/17 19:48:27 cpqbld Exp $ */ 00002 /************************************************************************* 00003 * 00004 * (c)Copyright 1992 Hewlett-Packard Co., All Rights Reserved. 00005 * 00006 Permission to use, copy, modify, and distribute this 00007 software and its documentation for any purpose and without 00008 fee is hereby granted, provided that the above copyright 00009 notice appear in all copies and that both that copyright 00010 notice and this permission notice appear in supporting 00011 documentation, and that the name of Hewlett Packard not be used in 00012 advertising or publicity pertaining to distribution of the 00013 software without specific, written prior permission. 00014 00015 HEWLETT-PACKARD MAKES NO WARRANTY OF ANY KIND WITH REGARD 00016 TO THIS SOFWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 00017 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00018 PURPOSE. Hewlett-Packard shall not be liable for errors 00019 contained herein or direct, indirect, special, incidental or 00020 consequential damages in connection with the furnishing, 00021 performance, or use of this material. 00022 * 00023 *************************************************************************/ 00024 00025 #ifndef NGLE_H 00026 #define NGLE_H 00027 00028 /* Rummor has it that NDEBUG is defined by default in X build environment. 00029 * It is used to activate assert statements (see /usr/include/assert.h). 00030 * Compiling with the preprocessor option -DNDEBUG (see cpp(1)), or with 00031 * the preprocessor control statement #define NDEBUG ahead of the 00032 * #include <assert.h> statement, stops assertions from being compiled 00033 * into the program. 00034 */ 00035 00036 #include <unistd.h> /* keys off _[POSIX|HPUX|XOPEN]_SOURCE */ 00037 #include <stdlib.h> /* For prototype of getenv() */ 00038 #include <stdio.h> 00039 #include <errno.h> 00040 #include <assert.h> /* For assert() statements */ 00041 #include <sys/types.h> 00042 #include <sys/stat.h> 00043 #include <sys/sysmacros.h> 00044 #include <sys/framebuf.h> 00045 #include <fcntl.h> 00046 00047 #include "X.h" 00048 #include "Xproto.h" 00049 00050 #include "scrnintstr.h" 00051 #include "cursorstr.h" 00052 #include "pixmapstr.h" 00053 #include "regionstr.h" 00054 #include "gcstruct.h" 00055 #include "windowstr.h" 00056 #include "colormapst.h" 00057 #include "resource.h" 00058 #include "opaque.h" 00059 00060 /* included for the mi private structure */ 00061 #include "mibstorest.h" 00062 00063 #ifndef Card32 00064 #define Card32 unsigned int 00065 #endif 00066 #ifndef Int32 00067 #define Int32 int 00068 #endif 00069 00070 #ifndef Card16 00071 #define Card16 unsigned short 00072 #endif 00073 #ifndef Int16 00074 #define Int16 short 00075 #endif 00076 00077 #ifndef Card8 00078 #define Card8 unsigned char 00079 #endif 00080 #ifndef Int8 00081 #define Int8 char 00082 #endif 00083 00084 #include "ngleextern.h" 00085 #include "dregs.h" 00086 #include "ngledevrom.h" 00087 #include "nglehdw.h" 00088 #include "nglecursor.h" 00089 #include "nglecopy.h" 00090 #include "nglecolormap.h" 00091 #include "nglenoop.h" 00092 #include "hppriv.h" 00093 #include "nglescreen.h" 00094 00095 00096 # ifndef S9000_ID_TIMBER /* Bushmaster (710) Graphics */ 00097 # define S9000_ID_TIMBER 0x27F12392 00098 # endif 00099 00100 # ifndef S9000_ID_TOMCAT /* 2-headed ELK */ 00101 # define S9000_ID_TOMCAT 0x27FCCB6D 00102 # endif 00103 00104 # ifndef CRX24_OVERLAY_PLANES /* Overlay planes on CRX24 */ 00105 # define CRX24_OVERLAY_PLANES 0x920825AA 00106 # endif 00107 00108 # ifndef S9000_ID_ARTIST /* Artist (Gecko/712 & 715) Graphics */ 00109 # define S9000_ID_ARTIST 0x2B4DED6D 00110 # endif 00111 00112 # ifndef S9000_ID_HCRX /* hyperdrive Graphics */ 00113 # define S9000_ID_HCRX 0x2BCB015A 00114 # endif 00115 00116 #define hpGivingUp (dispatchException & DE_TERMINATE) 00117 00118 #define MAX_BITS_PER_RGB 8 /* The maximum number of bits that any 00119 of the DACs have on our hardware. */ 00120 00121 #endif /* NGLE_H */

Generated on Mon May 10 20:19:11 2004 for XFree86 by doxygen 1.3.7