~ubuntu-branches/ubuntu/natty/mesa/natty-proposed

« back to all changes in this revision

Viewing changes to include/GLES/gl.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Hooker, Robert Hooker, Christopher James Halse Rogers
  • Date: 2010-09-14 08:55:40 UTC
  • mfrom: (1.2.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20100914085540-m4fpl0hdjlfd4jgz
Tags: 7.9~git20100909-0ubuntu1
[ Robert Hooker ]
* New upstream git snapshot up to commit 94118fe2d4b1e5 (LP: #631413)
* New features include ATI HD5xxx series support in r600, and a vastly
  improved glsl compiler.
* Remove pre-generated .pc's, use the ones generated at build time
  instead.
* Remove all references to mesa-utils now that its no longer shipped
  with the mesa source.
* Disable the experimental ARB_fragment_shader option by default on
  i915, it exposes incomplete functionality that breaks KDE compositing
  among other things. It can be enabled via driconf still. (LP: #628930).

[ Christopher James Halse Rogers ]
* debian/patches/04_osmesa_version.diff:
  - Refresh for new upstream
* Bugs fixed in this release:
  - Fixes severe rendering corruption in Unity on radeon (LP: #628727,
    LP: #596292, LP: #599741, LP: #630315, LP: #613694, LP: #599741).
  - Also fixes rendering in gnome-shell (LP: #578619).
  - Flickering in OpenGL apps on radeon (LP: #626943, LP: #610541).
  - Provides preliminary support for new intel chips (LP: #601052).
* debian/rules:
  - Update configure flags to match upstream reshuffling.
  - Explicitly remove gallium DRI drivers that we don't want to ship.
* Update debian/gbp.conf for this Maverick-specific packaging
* libegl1-mesa-dri-x11,kms: There are no longer separate kms or x11 drivers
  for EGL, libegl1-mesa-drivers now contains a single driver that provides
  both backends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef __gl_h_
2
2
#define __gl_h_
3
3
 
 
4
/* $Revision: 10601 $ on $Date:: 2010-03-04 22:15:27 -0800 #$ */
4
5
 
5
6
#include <GLES/glplatform.h>
6
7
 
9
10
#endif
10
11
 
11
12
/*
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:
19
 
**
20
 
** http://oss.sgi.com/projects/FreeB
21
 
**
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.
27
 
**
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.
33
 
**
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.
43
 
*/
44
 
 
45
 
typedef unsigned int    GLenum;
46
 
typedef unsigned char   GLboolean;
47
 
typedef unsigned int    GLbitfield;
48
 
typedef signed char     GLbyte;
49
 
typedef short           GLshort;
50
 
typedef int             GLint;
51
 
typedef int             GLsizei;
52
 
typedef unsigned char   GLubyte;
53
 
typedef unsigned short  GLushort;
54
 
typedef unsigned int    GLuint;
55
 
typedef float           GLfloat;
56
 
typedef float           GLclampf;
57
 
typedef void            GLvoid;
58
 
typedef int             GLfixed;
59
 
typedef int             GLclampx;
60
 
 
61
 
typedef int             GLintptr;
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/ .
 
15
 */
 
16
 
 
17
typedef void             GLvoid;
 
18
typedef char             GLchar;
 
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;
 
24
typedef int              GLint;
 
25
typedef int              GLsizei;
 
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;
 
33
 
 
34
typedef khronos_intptr_t GLintptr;
 
35
typedef khronos_ssize_t  GLsizeiptr;
63
36
 
64
37
 
65
38
/*************************************************************/
66
39
 
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
72
45
 
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);