glxmd.h revision 17ca54c3
1#ifndef _GLX_glxmd_h_
2#define _GLX_glxmd_h_
3
4
5/*
6 * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
7 * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
8 *
9 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
15 *
16 * The above copyright notice including the dates of first publication and
17 * either this permission notice or a reference to
18 * http://oss.sgi.com/projects/FreeB/
19 * shall be included in all copies or substantial portions of the Software.
20 *
21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
22 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
24 * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
25 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
26 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27 * SOFTWARE.
28 *
29 * Except as contained in this notice, the name of Silicon Graphics, Inc.
30 * shall not be used in advertising or otherwise to promote the sale, use or
31 * other dealings in this Software without prior written authorization from
32 * Silicon Graphics, Inc.
33 */
34
35/*
36** Machine dependent declarations.
37*/
38
39/*
40** Define floating point wire types.  These are in IEEE format on the wire.
41*/
42typedef float FLOAT32;
43typedef double FLOAT64;
44
45/*
46** Like B32, but this is used to store floats in a request.
47**
48** NOTE: Machines that have a native 32-bit IEEE float can define this as
49**       nothing.  Machines that don't might mimic the float with an integer,
50**       and then define this to :32.
51*/
52#define F32
53
54#endif /* _GLX_glxmd_h_ */
55