12
** License Applicability. Except to the extent portions of this file are
13
** made subject to an alternative license as permitted in the SGI Free
14
** Software License B, Version 1.0 (the "License"), the contents of this
15
** file are subject only to the provisions of the License. You may not use
16
** this file except in compliance with the License. You may obtain a copy
17
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
18
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
20
** http://oss.sgi.com/projects/FreeB
22
** Note that, as provided in the License, the Software is distributed on an
23
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
24
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
25
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
26
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
28
** Original Code. The Original Code is: OpenGL Sample Implementation,
29
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
30
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
31
** Copyright in any portions created by third parties is as indicated
32
** elsewhere herein. All Rights Reserved.
34
** Additional Notice Provisions: The application programming interfaces
35
** established by SGI in conjunction with the Original Code are The
36
** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
37
** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
38
** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
39
** Window System(R) (Version 1.3), released October 19, 1998. This software
40
** was created using the OpenGL(R) version 1.2.1 Sample Implementation
41
** published by SGI, but has not been independently verified as being
42
** compliant with the OpenGL(R) version 1.2.1 Specification.
45
typedef unsigned int GLenum;
46
typedef unsigned char GLboolean;
47
typedef unsigned int GLbitfield;
48
typedef signed char GLbyte;
49
typedef short GLshort;
52
typedef unsigned char GLubyte;
53
typedef unsigned short GLushort;
54
typedef unsigned int GLuint;
55
typedef float GLfloat;
56
typedef float GLclampf;
62
typedef int GLsizeiptr;
13
* This document is licensed under the SGI Free Software B License Version
14
* 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
19
typedef unsigned int GLenum;
20
typedef unsigned char GLboolean;
21
typedef unsigned int GLbitfield;
22
typedef khronos_int8_t GLbyte;
23
typedef short GLshort;
26
typedef khronos_uint8_t GLubyte;
27
typedef unsigned short GLushort;
28
typedef unsigned int GLuint;
29
typedef khronos_float_t GLfloat;
30
typedef khronos_float_t GLclampf;
31
typedef khronos_int32_t GLfixed;
32
typedef khronos_int32_t GLclampx;
34
typedef khronos_intptr_t GLintptr;
35
typedef khronos_ssize_t GLsizeiptr;
65
38
/*************************************************************/
67
40
/* OpenGL ES core versions */
68
#define GL_VERSION_ES_CM_1_0 1
69
#define GL_VERSION_ES_CL_1_0 1
70
#define GL_VERSION_ES_CM_1_1 1
71
#define GL_VERSION_ES_CL_1_1 1
41
#define GL_VERSION_ES_CM_1_0 1
42
#define GL_VERSION_ES_CL_1_0 1
43
#define GL_VERSION_ES_CM_1_1 1
44
#define GL_VERSION_ES_CL_1_1 1
73
46
/* ClearBufferMask */
74
47
#define GL_DEPTH_BUFFER_BIT 0x00000100
706
679
GL_API void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *params);
707
680
GL_API void GL_APIENTRY glGetLightxv (GLenum light, GLenum pname, GLfixed *params);
708
681
GL_API void GL_APIENTRY glGetMaterialxv (GLenum face, GLenum pname, GLfixed *params);
709
GL_API void GL_APIENTRY glGetPointerv (GLenum pname, void **params);
682
GL_API void GL_APIENTRY glGetPointerv (GLenum pname, GLvoid **params);
710
683
GL_API const GLubyte * GL_APIENTRY glGetString (GLenum name);
711
684
GL_API void GL_APIENTRY glGetTexEnviv (GLenum env, GLenum pname, GLint *params);
712
685
GL_API void GL_APIENTRY glGetTexEnvxv (GLenum env, GLenum pname, GLfixed *params);