glext.h revision deceeca18d3a3f18caeac980ad63fafd8bad709c
1#ifndef __glext_h_
2#define __glext_h_
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/*
9** Copyright 1992-2003, Silicon Graphics, Inc.
10** All Rights Reserved.
11**
12** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
13** the contents of this file may not be disclosed to third parties, copied or
14** duplicated in any form, in whole or in part, without the prior written
15** permission of Silicon Graphics, Inc.
16**
17** RESTRICTED RIGHTS LEGEND:
18** Use, duplication or disclosure by the Government is subject to restrictions
19** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
20** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
21** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
22** rights reserved under the Copyright Laws of the United States.
23**
24** --------------------------------------------------------------------------
25**
26** Copyright (c) 2004, Hans-Martin Will. All rights reserved.
27**
28** Redistribution and use in source and binary forms, with or without
29** modification, are permitted provided that the following conditions are
30** met:
31**
32**	 *  Redistributions of source code must retain the above copyright
33** 		notice, this list of conditions and the following disclaimer.
34**   *	Redistributions in binary form must reproduce the above copyright
35** 		notice, this list of conditions and the following disclaimer in the
36** 		documentation and/or other materials provided with the distribution.
37**
38** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
39** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
40** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
41** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
42** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
43** OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
44** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
45** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
46** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
47** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
48** THE POSSIBILITY OF SUCH DAMAGE.
49**
50*/
51
52#ifndef WIN32
53#define APIENTRY
54#endif
55
56#ifndef APIENTRY
57#define APIENTRY
58#endif
59
60#ifdef EGL_ON_SYMBIAN
61#	undef GLAPI
62#	define GLAPI EXPORT_C
63#else
64#	ifndef GLAPI
65#	define GLAPI
66#	endif
67#endif
68
69
70#define GL_OES_query_matrix		    1
71
72/* OES_query_matrix */
73GLAPI GLbitfield APIENTRY glQueryMatrixxOES(GLfixed *mantissa, GLint *exponent);
74
75
76#ifdef __cplusplus
77}
78#endif
79
80#endif /* __glext_h_ */
81