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

« back to all changes in this revision

Viewing changes to include/GLES/glplatform.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 __glplatform_h_
2
2
#define __glplatform_h_
3
3
 
4
 
 
5
 
#ifdef __cplusplus
6
 
extern "C" {
7
 
#endif
 
4
/* $Revision: 10601 $ on $Date:: 2010-03-04 22:15:27 -0800 #$ */
8
5
 
9
6
/*
10
 
** License Applicability. Except to the extent portions of this file are
11
 
** made subject to an alternative license as permitted in the SGI Free
12
 
** Software License B, Version 1.0 (the "License"), the contents of this
13
 
** file are subject only to the provisions of the License. You may not use
14
 
** this file except in compliance with the License. You may obtain a copy
15
 
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
16
 
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
17
 
**
18
 
** http://oss.sgi.com/projects/FreeB
19
 
**
20
 
** Note that, as provided in the License, the Software is distributed on an
21
 
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
22
 
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
23
 
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
24
 
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
25
 
**
26
 
** Original Code. The Original Code is: OpenGL Sample Implementation,
27
 
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
28
 
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
29
 
** Copyright in any portions created by third parties is as indicated
30
 
** elsewhere herein. All Rights Reserved.
31
 
**
32
 
** Additional Notice Provisions: The application programming interfaces
33
 
** established by SGI in conjunction with the Original Code are The
34
 
** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
35
 
** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
36
 
** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
37
 
** Window System(R) (Version 1.3), released October 19, 1998. This software
38
 
** was created using the OpenGL(R) version 1.2.1 Sample Implementation
39
 
** published by SGI, but has not been independently verified as being
40
 
** compliant with the OpenGL(R) version 1.2.1 Specification.
41
 
*/
42
 
 
43
 
/*-------------------------------------------------------------------------
44
 
 * Definition of GL_API and GL_APIENTRY
45
 
 *-----------------------------------------------------------------------*/
46
 
 
47
 
#ifdef _WIN32
48
 
#   ifdef __GL_EXPORTS
49
 
#       define GL_API __declspec(dllexport)
50
 
#   else
51
 
#       define GL_API __declspec(dllimport)
52
 
#   endif
53
 
#   ifdef UNDER_CE
54
 
#       define GL_APIENTRY
55
 
#   else
56
 
#       define GL_APIENTRY __stdcall
57
 
#   endif
58
 
#else
59
 
#   ifdef __GL_EXPORTS
60
 
#       define GL_API
61
 
#   else
62
 
#       define GL_API extern
63
 
#   endif
64
 
#   define GL_APIENTRY
65
 
#endif
66
 
 
67
 
 
68
 
#ifndef APIENTRY
69
 
#   define APIENTRY GL_APIENTRY
70
 
#endif
71
 
 
72
 
#ifdef __cplusplus
73
 
}
 
7
 * This document is licensed under the SGI Free Software B License Version
 
8
 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
 
9
 */
 
10
 
 
11
/* Platform-specific types and definitions for OpenGL ES 1.X  gl.h
 
12
 *
 
13
 * Adopters may modify khrplatform.h and this file to suit their platform.
 
14
 * You are encouraged to submit all modifications to the Khronos group so that
 
15
 * they can be included in future versions of this file.  Please submit changes
 
16
 * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
 
17
 * by filing a bug against product "OpenGL-ES" component "Registry".
 
18
 */
 
19
 
 
20
#include <KHR/khrplatform.h>
 
21
 
 
22
#ifndef GL_API
 
23
#define GL_API      KHRONOS_APICALL
 
24
#endif
 
25
 
 
26
#ifndef GL_APIENTRY
 
27
#define GL_APIENTRY KHRONOS_APIENTRY
74
28
#endif
75
29
 
76
30
#endif /* __glplatform_h_ */