summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/accel/s3/s3name.h
blob: aaf51aca92eb4a603ac0e23be2a9bcae734e12c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/* $XConsortium$ */
/*
 * Copyright 1993 by David Dawes <dawes@physics.su.oz.au>
 *
 * 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 David Dawes 
 * not be used in advertising or publicity pertaining to distribution of 
 * the software without specific, written prior permission.
 * David Dawes makes no representations about the suitability of this 
 * software for any purpose.  It is provided "as is" without express or 
 * implied warranty.
 *
 * DAVID DAWES DISCLAIMS ALL WARRANTIES WITH REGARD TO 
 * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 
 * FITNESS, IN NO EVENT SHALL DAVID DAWES 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 S3_NAME_H
#define S3_NAME_H

#if (__STDC__ && !defined(UNIXCPP)) || defined(ANSICPP) || (defined (sun) && defined (i386) && defined (SVR4) && defined (__STDC__) && !defined (__GNUC__))
#define CATNAME(prefix,subname) prefix##subname
#else
#define CATNAME(prefix,subname) prefix/**/subname
#endif

#ifdef S3_MMIO
#define CUSTOMNAME(name) CATNAME(mmio928,name)
#endif

#ifdef CUSTOMNAME
#define s3Initialize CUSTOMNAME(_s3Initialize)
#define s3RenewCursorColor  CUSTOMNAME(_s3RenewCursorColor)
#define s3EnterLeaveVT CUSTOMNAME(_s3EnterLeaveVT)
#define s3AdjustFrame CUSTOMNAME(_s3AdjustFrame)
#define s3SwitchMode CUSTOMNAME(_s3SwitchMode)
#define s3CloseScreen CUSTOMNAME(_s3CloseScreen)
#define s3SaveScreen CUSTOMNAME(_s3SaveScreen)
#define s3ListInstalledColormaps CUSTOMNAME(_s3ListInstalledColormaps)
#define s3RestoreDACvalues CUSTOMNAME(_s3RestoreDACvalues)
#define s3GetInstalledColormaps CUSTOMNAME(_s3GetInstalledColormaps)
#define s3StoreColors CUSTOMNAME(_s3StoreColors)
#define s3InstallColormap CUSTOMNAME(_s3InstallColormap)
#define s3UninstallColormap CUSTOMNAME(_s3UninstallColormap)
#define s3RestoreColor0 CUSTOMNAME(_s3RestoreColor0)
#define s3CreateGC CUSTOMNAME(_s3CreateGC)
#define s3SolidFSpans CUSTOMNAME(_s3SolidFSpans)
#define s3TiledFSpans CUSTOMNAME(_s3TiledFSpans)
#define s3StipFSpans CUSTOMNAME(_s3StipFSpans)
#define s3OStipFSpans CUSTOMNAME(_s3OStipFSpans)
#define s3SetSpans CUSTOMNAME(_s3SetSpans)
#define s3GetSpans CUSTOMNAME(_s3GetSpans)
#define s3CopyWindow CUSTOMNAME(_s3CopyWindow)
#define s3ImageInit CUSTOMNAME(_s3ImageInit)
#define s3ImageWriteNoMem CUSTOMNAME(_s3ImageWriteNoMem)
#define s3ImageStipple CUSTOMNAME(_s3ImageStipple)
#define s3ImageOpStipple CUSTOMNAME(_s3ImageOpStipple)
#define s3SaveAreas CUSTOMNAME(_s3SaveAreas)
#define s3RestoreAreas CUSTOMNAME(_s3RestoreAreas)
#define s3BSFuncRec CUSTOMNAME(_s3BSFuncRec)
#define s3ScreenInit CUSTOMNAME(_s3ScreenInit)
#define s3CopyArea CUSTOMNAME(_s3CopyArea)
#define s3FindOrdering CUSTOMNAME(_s3FindOrdering)
#define s3CopyPlane CUSTOMNAME(_s3CopyPlane)
#define s3CacheInit CUSTOMNAME(_s3CacheInit)
#define s3CacheFreeSlot CUSTOMNAME(_s3CacheFreeSlot)
#define s3CacheTile CUSTOMNAME(_s3CacheTile)
#define s3CacheStipple CUSTOMNAME(_s3CacheStipple)
#define s3CacheOpStipple CUSTOMNAME(_s3CacheOpStipple)
#define s3PcachOverflow CUSTOMNAME(_s3PcachOverflow)
#define s3CImageFill CUSTOMNAME(_s3CImageFill)
#define s3CImageStipple CUSTOMNAME(_s3CImageStipple)
#define s3CImageOpStipple CUSTOMNAME(_s3CImageOpStipple)
#define s3PolyPoint CUSTOMNAME(_s3PolyPoint)
#define s3Line CUSTOMNAME(_s3Line)
#define s3Segment CUSTOMNAME(_s3Segment)
#define s3PolyFillRect CUSTOMNAME(_s3PolyFillRect)
#define s3PolyText8 CUSTOMNAME(_s3PolyText8)
#define s3PolyText16 CUSTOMNAME(_s3PolyText16)
#define s3ImageText8 CUSTOMNAME(_s3ImageText8)
#define s3ImageText16 CUSTOMNAME(_s3ImageText16)
#define s3RealizeFont CUSTOMNAME(_s3RealizeFont)
#define s3UnrealizeFont CUSTOMNAME(_s3UnrealizeFont)
#define s3UnCacheFont8 CUSTOMNAME(_s3UnCacheFont8)
#define s3CacheFont8 CUSTOMNAME(_s3CacheFont8)
#define s3CPolyText8 CUSTOMNAME(_s3CPolyText8)
#define s3NoCPolyText CUSTOMNAME(_s3NoCPolyText)
#define s3NoCImageText CUSTOMNAME(_s3NoCImageText)
#define s3CImageText8 CUSTOMNAME(_s3CImageText8)
#define s3CursorInit CUSTOMNAME(_s3CursorInit)
#define s3ShowCursor CUSTOMNAME(_s3ShowCursor)
#define s3HideCursor CUSTOMNAME(_s3HideCursor)
#define s3RestoreCursor CUSTOMNAME(_s3RestoreCursor)
#define s3RepositionCursor CUSTOMNAME(_s3RepositionCursor)
#define s3WarpCursor CUSTOMNAME(_s3WarpCursor)
#define s3QueryBestSize CUSTOMNAME(_s3QueryBestSize)
#define s3Dline CUSTOMNAME(_s3Dline)
#define s3Dsegment CUSTOMNAME(_s3Dsegment)
#define s3BitCache8Init CUSTOMNAME(_s3BitCache8Init)
#define s3CReturnBlock CUSTOMNAME(_s3CReturnBlock)
#define s3CGetBlock CUSTOMNAME(_s3CGetBlock)
#endif /* CUSTOMNAME */

#endif /* S3_NAME_H */