diff options
author | Brian Paul <[email protected]> | 2009-09-30 21:00:16 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-30 21:00:16 -0600 |
commit | 3fa7dbf368bb060220e9f78e666b00d6827166a6 (patch) | |
tree | 83cf26eb834b50f174c496fc4467db65bdba9e48 /src/mesa/main/formats.c | |
parent | 74ae14a2bde4f87a554c3d96e6f4a9a02591308d (diff) |
mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead
Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
Diffstat (limited to 'src/mesa/main/formats.c')
-rw-r--r-- | src/mesa/main/formats.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index 2ad5685883e..f915b1da91a 100644 --- a/src/mesa/main/formats.c +++ b/src/mesa/main/formats.c @@ -402,54 +402,6 @@ static struct gl_format_info format_info[MESA_FORMAT_COUNT] = #endif { - MESA_FORMAT_RGBA, - GL_RGBA, - GL_UNSIGNED_NORMALIZED, - CHAN_BITS, CHAN_BITS, CHAN_BITS, CHAN_BITS, - 0, 0, 0, 0, 0, - 1, 1, 4 * CHAN_BITS / 8 - }, - { - MESA_FORMAT_RGB, - GL_RGB, - GL_UNSIGNED_NORMALIZED, - CHAN_BITS, CHAN_BITS, CHAN_BITS, 0, - 0, 0, 0, 0, 0, - 1, 1, 3 * CHAN_BITS / 8 - }, - { - MESA_FORMAT_ALPHA, - GL_ALPHA, - GL_UNSIGNED_NORMALIZED, - 0, 0, 0, CHAN_BITS, - 0, 0, 0, 0, 0, - 1, 1, 1 * CHAN_BITS / 8 - }, - { - MESA_FORMAT_LUMINANCE, - GL_LUMINANCE, - GL_UNSIGNED_NORMALIZED, - 0, 0, 0, 0, - CHAN_BITS, 0, 0, 0, 0, - 1, 1, 1 * CHAN_BITS / 8 - }, - { - MESA_FORMAT_LUMINANCE_ALPHA, - GL_LUMINANCE_ALPHA, - GL_UNSIGNED_NORMALIZED, - 0, 0, 0, CHAN_BITS, - CHAN_BITS, 0, 0, 0, 0, - 1, 1, 2 * CHAN_BITS / 8 - }, - { - MESA_FORMAT_INTENSITY, - GL_INTENSITY, - GL_UNSIGNED_NORMALIZED, - 0, 0, 0, 0, - 0, CHAN_BITS, 0, 0, 0, - 1, 1, 1 * CHAN_BITS / 8 - }, - { MESA_FORMAT_RGBA_FLOAT32, GL_RGBA, GL_FLOAT, |