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

« back to all changes in this revision

Viewing changes to src/mesa/main/formats.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:
33
33
#define FORMATS_H
34
34
 
35
35
 
36
 
#include "main/mtypes.h"
 
36
#include <GL/gl.h>
37
37
 
38
38
 
39
39
 
131
131
   /*@}*/
132
132
 
133
133
   /**
 
134
    * \name Non-normalized signed integer formats.
 
135
    * XXX Note: these are just stand-ins for some better hardware
 
136
    * formats TBD such as BGRA or ARGB.
 
137
    */
 
138
   MESA_FORMAT_RGBA_INT8,
 
139
   MESA_FORMAT_RGBA_INT16,
 
140
   MESA_FORMAT_RGBA_INT32,
 
141
 
 
142
   /**
 
143
    * \name Non-normalized unsigned integer formats.
 
144
    */
 
145
   MESA_FORMAT_RGBA_UINT8,
 
146
   MESA_FORMAT_RGBA_UINT16,
 
147
   MESA_FORMAT_RGBA_UINT32,
 
148
 
 
149
                                  /* msb <------ TEXEL BITS -----------> lsb */
 
150
                                  /* ---- ---- ---- ---- ---- ---- ---- ---- */
 
151
   /**
134
152
    * \name Signed fixed point texture formats.
135
153
    */
136
154
   /*@{*/
137
 
   MESA_FORMAT_DUDV8,
138
 
   MESA_FORMAT_SIGNED_RGBA8888,
139
 
   MESA_FORMAT_SIGNED_RGBA8888_REV,
140
 
   MESA_FORMAT_SIGNED_RGBA_16,
 
155
   MESA_FORMAT_DUDV8,             /*                     DUDU DUDU DVDV DVDV */
 
156
   MESA_FORMAT_SIGNED_R8,         /*                               RRRR RRRR */
 
157
   MESA_FORMAT_SIGNED_RG88,       /*                     RRRR RRRR GGGG GGGG */
 
158
   MESA_FORMAT_SIGNED_RGBX8888,   /* RRRR RRRR GGGG GGGG BBBB BBBB xxxx xxxx */
 
159
   MESA_FORMAT_SIGNED_RGBA8888,   /* RRRR RRRR GGGG GGGG BBBB BBBB AAAA AAAA */
 
160
   MESA_FORMAT_SIGNED_RGBA8888_REV,/*AAAA AAAA BBBB BBBB GGGG GGGG RRRR RRRR */
 
161
   MESA_FORMAT_SIGNED_R_16,       /* ushort[0]=R */
 
162
   MESA_FORMAT_SIGNED_RG_16,      /* ushort[0]=R, ushort[1]=G */
 
163
   MESA_FORMAT_SIGNED_RGB_16,     /* ushort[0]=R, ushort[1]=G, ushort[2]=B */
 
164
   MESA_FORMAT_SIGNED_RGBA_16,    /* ... */
 
165
   MESA_FORMAT_RGBA_16,           /* ... */
141
166
   /*@}*/
142
167
 
143
168
   MESA_FORMAT_COUNT
165
190
extern GLboolean
166
191
_mesa_is_format_compressed(gl_format format);
167
192
 
 
193
extern GLboolean
 
194
_mesa_is_format_packed_depth_stencil(gl_format format);
 
195
 
168
196
extern GLenum
169
197
_mesa_get_format_color_encoding(gl_format format);
170
198