radeon/r200/r300: cleanup some of the renderbuffer code
[mesa.git] / src / mesa / main / version.h
1 /*
2 * Mesa 3-D graphics library
3 <<<<<<< HEAD:src/mesa/main/version.h
4 * Version: 7.5
5 =======
6 * Version: 7.4
7 >>>>>>> origin/gallium-0.2:src/mesa/main/version.h
8 *
9 * Copyright (C) 1999-2008 Brian Paul All Rights Reserved.
10 *
11 * Permission is hereby granted, free of charge, to any person obtaining a
12 * copy of this software and associated documentation files (the "Software"),
13 * to deal in the Software without restriction, including without limitation
14 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15 * and/or sell copies of the Software, and to permit persons to whom the
16 * Software is furnished to do so, subject to the following conditions:
17 *
18 * The above copyright notice and this permission notice shall be included
19 * 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 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
25 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
26 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 */
28
29
30 #ifndef VERSION_H
31 #define VERSION_H
32
33
34 /* Mesa version */
35 #define MESA_MAJOR 7
36 #define MESA_MINOR 5
37 #define MESA_PATCH 0
38 #define MESA_VERSION_STRING "7.5-devel"
39
40 /* To make version comparison easy */
41 #define MESA_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
42 #define MESA_VERSION_CODE MESA_VERSION(MESA_MAJOR, MESA_MINOR, MESA_PATCH)
43
44
45 /* OpenGL API version */
46 #define OPENGL_MAJOR 2
47 #define OPENGL_MINOR 1
48 #define OPENGL_PATCH 0
49 #define OPENGL_VERSION_STRING "2.1"
50
51 /* To make version comparison easy */
52 #define OPENGL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
53 #define OPENGL_VERSION_CODE OPENGL_VERSION(OPENGL_MAJOR, OPENGL_MINOR, OPENGL_PATCH)
54
55
56 #endif /* VERSION_H */