~ubuntu-branches/ubuntu/edgy/xorg-server/edgy-updates

« back to all changes in this revision

Viewing changes to hw/xgl/glx/xglx.h

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Parra Novo
  • Date: 2006-07-25 20:06:28 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060725200628-gjmmd9gxfxdc4ejs
Tags: 1:1.1.1-0ubuntu1
* New Upstream version
* Changed Build-Depends from mesa-swrast-source to mesa-swx11-source,
  following Debian package nomenclature
* Re-did 12_security_policy_in_etc.diff for 1.1.1
* Dropped 15_security_allocate_local.diff (applied upstream)
* Dropped 16_SECURITY_setuid.diff (applied upstream)
* Dropped 000_ubuntu_fix_read_kernel_mapping.patch (applied upstream)
* Dropped 002_ubuntu_fix_for_certain_intel_chipsets.patch (applied upstream)
* Updated versioned Build-Depends on mesa-swx11-source to version
  6.5.0.cvs.20060725-0ubuntu1
* Added arrayobj.c, arrayobj.h, bitset.h & rbadaptors.h to
  GL/symlink-mesa.sh (linked from mesa-swx11-source)
* Added arrayobj.c to default build target on GL/mesa/main

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2005 Novell, Inc.
 
3
 *
 
4
 * Permission to use, copy, modify, distribute, and sell this software
 
5
 * and its documentation for any purpose is hereby granted without
 
6
 * fee, provided that the above copyright notice appear in all copies
 
7
 * and that both that copyright notice and this permission notice
 
8
 * appear in supporting documentation, and that the name of
 
9
 * Novell, Inc. not be used in advertising or publicity pertaining to
 
10
 * distribution of the software without specific, written prior permission.
 
11
 * Novell, Inc. makes no representations about the suitability of this
 
12
 * software for any purpose. It is provided "as is" without express or
 
13
 * implied warranty.
 
14
 *
 
15
 * NOVELL, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 
16
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
 
17
 * NO EVENT SHALL NOVELL, INC. BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 
18
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
 
19
 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 
20
 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 
21
 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
22
 *
 
23
 * Author: David Reveman <davidr@novell.com>
 
24
 */
 
25
 
 
26
#ifndef _XGLX_H_
 
27
#define _XGLX_H_
 
28
 
 
29
#include "xgl.h"
 
30
 
 
31
#ifdef _XSERVER64
 
32
#define _XSERVER64_tmp
 
33
#undef _XSERVER64
 
34
typedef unsigned long XID64;
 
35
typedef unsigned long Mask64;
 
36
typedef unsigned long Atom64;
 
37
typedef unsigned long VisualID64;
 
38
typedef unsigned long Time64;
 
39
#define XID      XID64
 
40
#define Mask     Mask64
 
41
#define Atom     Atom64
 
42
#define VisualID VisualID64
 
43
#define Time     Time64
 
44
typedef XID Window64;
 
45
typedef XID Drawable64;
 
46
typedef XID Font64;
 
47
typedef XID Pixmap64;
 
48
typedef XID Cursor64;
 
49
typedef XID Colormap64;
 
50
typedef XID GContext64;
 
51
typedef XID KeySym64;
 
52
#define Window   Window64
 
53
#define Drawable Drawable64
 
54
#define Font     Font64
 
55
#define Pixmap   Pixmap64
 
56
#define Cursor   Cursor64
 
57
#define Colormap Colormap64
 
58
#define GContext GContext64
 
59
#define KeySym   KeySym64
 
60
#endif
 
61
 
 
62
#define GC XlibGC
 
63
#include <X11/Xlib.h>
 
64
#include <X11/Xutil.h>
 
65
#undef GC
 
66
 
 
67
#ifdef _XSERVER64_tmp
 
68
#ifndef _XSERVER64
 
69
#define _XSERVER64
 
70
#endif
 
71
#undef _XSERVER64_tmp
 
72
#undef XID
 
73
#undef Mask
 
74
#undef Atom
 
75
#undef VisualID
 
76
#undef Time
 
77
#undef Window
 
78
#undef Drawable
 
79
#undef Font
 
80
#undef Pixmap
 
81
#undef Cursor
 
82
#undef Colormap
 
83
#undef GContext
 
84
#undef KeySym
 
85
#endif
 
86
 
 
87
void
 
88
xglxInitOutput (ScreenInfo *pScreenInfo,
 
89
                int        argc,
 
90
                char       **argv);
 
91
 
 
92
Bool
 
93
xglxLegalModifier (unsigned int key,
 
94
                   DevicePtr    pDev);
 
95
 
 
96
void
 
97
xglxProcessInputEvents (void);
 
98
 
 
99
void
 
100
xglxInitInput (int  argc,
 
101
               char **argv);
 
102
 
 
103
void
 
104
xglxUseMsg (void);
 
105
 
 
106
int
 
107
xglxProcessArgument (int  argc,
 
108
                     char **argv,
 
109
                     int  i);
 
110
 
 
111
void
 
112
xglxAbort (void);
 
113
 
 
114
void
 
115
xglxGiveUp (void);
 
116
 
 
117
void
 
118
xglxOsVendorInit (void);
 
119
 
 
120
#ifndef NXGLXORG
 
121
 
 
122
void
 
123
xglxUseXorgMsg (void);
 
124
 
 
125
int
 
126
xglxProcessXorgArgument (int  argc,
 
127
                         char **argv,
 
128
                         int  i);
 
129
 
 
130
void
 
131
xglxAbortXorg (void);
 
132
 
 
133
char *
 
134
xglxInitXorg (void);
 
135
 
 
136
#endif
 
137
 
 
138
#endif /* _XGLX_H_ */