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

« back to all changes in this revision

Viewing changes to src/mesa/es/main/mfeatures_es2.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
 
/**************************************************************************
2
 
 * 
3
 
 * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas.
4
 
 * All Rights Reserved.
5
 
 * 
6
 
 * Permission is hereby granted, free of charge, to any person obtaining a
7
 
 * copy of this software and associated documentation files (the
8
 
 * "Software"), to deal in the Software without restriction, including
9
 
 * without limitation the rights to use, copy, modify, merge, publish,
10
 
 * distribute, sub license, and/or sell copies of the Software, and to
11
 
 * permit persons to whom the Software is furnished to do so, subject to
12
 
 * the following conditions:
13
 
 * 
14
 
 * The above copyright notice and this permission notice (including the
15
 
 * next paragraph) shall be included in all copies or substantial portions
16
 
 * of the Software.
17
 
 * 
18
 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19
 
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
 
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
21
 
 * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR
22
 
 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23
 
 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24
 
 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
 
 * 
26
 
 **************************************************************************/
27
 
 
28
 
/**
29
 
 * \file mfeatures.h
30
 
 *
31
 
 * The #defines in this file enable/disable Mesa features needed
32
 
 * for OpenGL ES 2.0.
33
 
 */
34
 
 
35
 
 
36
 
#ifndef MFEATURES_ES2_H
37
 
#define MFEATURES_ES2_H
38
 
 
39
 
/* this file replaces main/mfeatures.h */
40
 
#ifdef FEATURES_H
41
 
#error "main/mfeatures.h was wrongly included"
42
 
#endif
43
 
#define FEATURES_H
44
 
 
45
 
#define ASSERT_NO_FEATURE() ASSERT(0)
46
 
 
47
 
/*
48
 
 * Enable/disable features (blocks of code) by setting FEATURE_xyz to 0 or 1.
49
 
 */
50
 
#ifndef _HAVE_FULL_GL
51
 
#define _HAVE_FULL_GL 1
52
 
#endif
53
 
 
54
 
#ifdef IN_DRI_DRIVER
55
 
#define FEATURE_remap_table 1
56
 
#else
57
 
#define FEATURE_remap_table 0
58
 
#endif
59
 
 
60
 
#define FEATURE_accum 0
61
 
#define FEATURE_arrayelt 0
62
 
#define FEATURE_attrib 0
63
 
#define FEATURE_beginend 0
64
 
#define FEATURE_colortable 0
65
 
#define FEATURE_convolve 0
66
 
#define FEATURE_dispatch 1
67
 
#define FEATURE_dlist 0
68
 
#define FEATURE_draw_read_buffer 0
69
 
#define FEATURE_drawpix 0
70
 
#define FEATURE_eval 0
71
 
#define FEATURE_feedback 0
72
 
#define FEATURE_fixedpt 1
73
 
#define FEATURE_histogram 0
74
 
#define FEATURE_pixel 0
75
 
#define FEATURE_point_size_array 1
76
 
#define FEATURE_queryobj 0
77
 
#define FEATURE_rastpos 0
78
 
#define FEATURE_texgen 1
79
 
#define FEATURE_texture_fxt1 0
80
 
#define FEATURE_texture_s3tc 0
81
 
#define FEATURE_userclip 1
82
 
#define FEATURE_vertex_array_byte 1
83
 
#define FEATURE_es2_glsl 1
84
 
 
85
 
#define FEATURE_ARB_fragment_program  _HAVE_FULL_GL
86
 
#define FEATURE_ARB_vertex_buffer_object  _HAVE_FULL_GL
87
 
#define FEATURE_ARB_vertex_program  _HAVE_FULL_GL
88
 
 
89
 
#define FEATURE_ARB_vertex_shader _HAVE_FULL_GL
90
 
#define FEATURE_ARB_fragment_shader _HAVE_FULL_GL
91
 
#define FEATURE_ARB_shader_objects (FEATURE_ARB_vertex_shader || FEATURE_ARB_fragment_shader)
92
 
#define FEATURE_ARB_shading_language_100 FEATURE_ARB_shader_objects
93
 
#define FEATURE_ARB_shading_language_120 FEATURE_ARB_shader_objects
94
 
 
95
 
#define FEATURE_EXT_framebuffer_blit 0
96
 
#define FEATURE_EXT_framebuffer_object _HAVE_FULL_GL
97
 
#define FEATURE_EXT_pixel_buffer_object  _HAVE_FULL_GL
98
 
#define FEATURE_EXT_texture_sRGB 0
99
 
#define FEATURE_ATI_fragment_shader 0
100
 
#define FEATURE_MESA_program_debug  _HAVE_FULL_GL
101
 
#define FEATURE_NV_fence 0
102
 
#define FEATURE_NV_fragment_program 0
103
 
#define FEATURE_NV_vertex_program 0
104
 
 
105
 
#define FEATURE_OES_framebuffer_object 1
106
 
#define FEATURE_OES_draw_texture 0
107
 
#define FEATURE_OES_mapbuffer 1
108
 
 
109
 
#define FEATURE_OES_EGL_image 1
110
 
 
111
 
#define FEATURE_extra_context_init 1
112
 
 
113
 
/*@}*/
114
 
 
115
 
 
116
 
 
117
 
 
118
 
#endif /* MFEATURES_ES2_H */