History log of /external/mesa3d/src/mesa/main/attrib.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
613154fc8fee89c3791c174363832581ab871580 16-Jan-2017 Nicolai Hähnle <nicolai.haehnle@amd.com> mesa/main: fix meta caller of _mesa_ClampColor

Since _mesa_ClampColor properly checks for support of the API function
now, it's meta callers need to check support as well.

Fixes: 963311b71f ("mesa/main: fix version/extension checks in _mesa_ClampColor")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99401
Tested-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit a7c635ec6589f600f0d52d0097774ea0b938de9f)
/external/mesa3d/src/mesa/main/attrib.c
910bc4d12cdc2b5743ad379fddee45c8b0112762 20-Oct-2016 Brian Paul <brianp@vmware.com> mesa: rename gl_vertex_array_object::VertexBinding to BufferBinding

To be a little more understandable.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/attrib.c
62d41162bbde86b181afd9e550d49b918fa02831 01-Aug-2016 Mathias Fröhlich <mathias.froehlich@web.de> mesa: Copy bitmask of VBOs in the VAO on gl{Push,Pop}Attrib.

On gl{Push,Pop}Attrib(GL_CLIENT_VERTEX_ARRAY_BIT) take
care that gl_vertex_array_object::VertexAttribBufferMask
matches the bound buffer object in the
gl_vertex_array_object::VertexBinding array.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Fredrik Höglund <fredrik@kde.org>
/external/mesa3d/src/mesa/main/attrib.c
d68c1e2ac28bbf0ac6259e9619fb73958fc598b8 10-Jun-2016 Ilia Mirkin <imirkin@alum.mit.edu> mesa: add GL_EXT_window_rectangles state storage/retrieval functionality

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
6749d77c690d2254b8ed3f16a653c41565ebab49 22-May-2016 Mathias Fröhlich <mathias.froehlich@web.de> mesa: Rename CoordReplaceBits back to CoordReplace.

It used to be called like that and fits better with 80 columns.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/attrib.c
1c78515d93994e529cb4fd8d009476c90c55365c 22-May-2016 Mathias Fröhlich <mathias.froehlich@web.de> mesa: Add gl_point_attrib::CoordReplaceBits bitfield.

The aim is to replace the CoordReplace array by
a bitfield. Until all drivers are converted,
establish the bitfield in parallel to the
CoordReplace array.

v2: Fix bitmask logic.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/attrib.c
6a08673c5eb4d55522888c3c2fd6af6946ce1264 11-Feb-2016 Brian Paul <brianp@vmware.com> mesa: remove _ARB suffix from cube map enums

Just minor clean-up so we're consistent everywhere.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
/external/mesa3d/src/mesa/main/attrib.c
2f11e92cef51c88a09bc778e2ceca4ab50cf0017 18-Jul-2015 Kenneth Graunke <kenneth@whitecape.org> mesa: Rename _mesa_lookup_enum_by_nr() to _mesa_enum_to_string().

Generated by sed; no manual changes.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
4dd72fe70d6800525302c734d161be411ed9f7e0 15-May-2015 Brian Paul <brianp@vmware.com> mesa: restore GL_EXT_depth_bounds_test state in glPopAttrib()

Spotted by inspection. Untested (no piglit test).

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
6139195606d97b43a739500627c906baf804fab0 15-May-2015 Brian Paul <brianp@vmware.com> mesa: fix glPushAttrib(0) / glPopAttrib() error

If the glPushAttrib() mask value was zero we didn't actually push
anything onto the attribute stack. A subsequent glPopAttrib() call
would generate a GL_STACK_UNDERFLOW error. Now push a dummy attribute
in that case to prevent the error.

Mesa now matches nvidia's behavior.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
2768a0b1b42f3c1531ab9c3647a93f0504002280 01-Apr-2015 Brian Paul <brianp@vmware.com> mesa: remove unneeded #include of colormac.h

Acked-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Mark Janes <mark.a.janes@intel.com>
/external/mesa3d/src/mesa/main/attrib.c
c2e130f8201239f836f429cab3beddb4d66a3357 28-Feb-2015 Brian Paul <brianp@vmware.com> mesa/main: replace Elements() with ARRAY_SIZE()

We've been using a mix of these two macros for a while now. Let's
just use the later everywhere. It seems to be the convention used
by other open-source projects.

Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/main/attrib.c
81998dda637cea18b1ec035e178dd829ce7e8645 31-Dec-2014 Ilia Mirkin <imirkin@alum.mit.edu> mesa: add support for GL_EXT_polygon_offset_clamp

Nothing enables the extension yet, but the values are now available.
The spec calls for it to only be exposed for GL 3.3+, which is core-only
in mesa. Instead we allow any driver to enable it, including in a compat
context for any GL version.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
/external/mesa3d/src/mesa/main/attrib.c
8ca8dd123af78e9d4ff08f8fac2346e17fb7a0ee 04-Nov-2014 Kenneth Graunke <kenneth@whitecape.org> mesa: Don't call _mesa_ClipControl from glPopAttrib when unsupported.

Otherwise, calling glPopAttrib on drivers that don't support
ARB_clip_control gives you a GL error, which is surprising at best.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
34a3c97fe6d273d68d2ee80386791832824f3211 21-Sep-2014 Mathias Fröhlich <Mathias.Froehlich@gmx.net> mesa: Implement ARB_clip_control.

Implement the mesa parts of ARB_clip_control.
So far no driver enables this.

v3:
Restrict getting clip control state to the availability
of ARB_clip_control.
Move to transformation state.
Handle clip control state with the GL_TRANSFORM_BIT.
Move _FrontBit update into state.c.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/attrib.c
23247e8059b92cd0330fbf9a4ec8b7227c53d50f 23-Aug-2014 Kenneth Graunke <kenneth@whitecape.org> mesa: Use VertexArray, not _VertexArray, in array size expressions.

Both sizes are VERT_ATTRIB_MAX, so this has no effect. But it drops a
few trivial uses of the derived state.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Fredrik Höglund <fredrik@kde.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
26ee6f23a9aec6b1f392baa0e3f1f2c62c038a57 15-Sep-2014 Kenneth Graunke <kenneth@whitecape.org> mesa: Delete VAO _MaxElement code and index buffer bounds checking.

Fredrik's implementation of ARB_vertex_attrib_binding introduced new
gl_vertex_attrib_array and gl_vertex_buffer_binding structures, and
converted Mesa's older gl_client_array to be derived state. Ultimately,
we'd like to drop gl_client_array and use those structures directly.

One hitch is that gl_client_array::_MaxElement doesn't correspond to
either structure (unlike every other field), so we'd have to figure out
where to store it. The _MaxElement computation uses values from both
structures, so it doesn't really belong in either place. We could put
it in the VAO, but we'd have to pass it around everywhere.

It turns out that it's only used when ctx->Const.CheckArrayBounds is
set, which is only set by the (rarely used) classic swrast driver.
It appears that drivers/x11 used to set it as well, which was intended
to avoid segmentation faults on out-of-bounds memory access in the X
server (probably for indirect GLX clients). However, ajax deleted that
code in 2010 (commit 1ccef926be46dce3b6b5c76e812e2fae4e205ce7).

The bounds checking apparently doesn't actually work, either. Non-VBO
attributes arbitrarily set _MaxElement to 2 * 1000 * 1000 * 1000.
vbo_save_draw and vbo_exec_draw remark /* ??? */ when setting it, and
the i965 code contains a comment noting that _MaxElement is often bogus.

Given that the code is complex, rarely used, and dubiously functional,
it doesn't seem worth maintaining going forward. This patch drops it.

This will probably mean the classic swrast driver may begin crashing on
out of bounds vertex buffer access in some cases, but I believe that is
allowed by OpenGL (and probably happened for non-VBO accesses anyway).
There do not appear to be any Piglit regressions, either.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
374f3e9e19f064007ea8a864fbd00f1ae7deafd1 01-Sep-2014 Marek Olšák <marek.olsak@amd.com> mesa: invalidate draw state in glPopClientAttrib

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82538

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
7fbb8ba4997060f53c345288d8983b61177f0014 10-Apr-2014 Brian Paul <brianp@vmware.com> mesa: use malloc/free instead of MALLOC/FREE in attrib stack code

We moved away from MALLOC/FREE in the rest of core Mesa a while ago.

Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
9afbd04d892f96e7fc6b689ca57ea5da124f7560 07-Feb-2014 Fredrik Höglund <fredrik@kde.org> mesa: Preserve the NewArrays state when copying a VAO

Cc: "10.1" "10.0" <mesa-stable@lists.freedesktop.org>

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72895
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
e1b1f2a687c219021f65219df59f412bc86daadd 02-Feb-2014 Kenneth Graunke <kenneth@whitecape.org> mesa: Rename ElementArrayBufferObj to IndexBufferObj.

DirectX and most hardware documentation use the term "Index Buffer" to
refer to a buffer containing indexes into arrays of vertex data, which
allows random access to vertex data, rather than sequential access.

OpenGL uses a different term for this concept: "Element Array Buffer".
However, "Index Buffer" has become much more widespread. A quick
Google search shows 29,300 hits for "Element Array Buffer" vs.
82,300 hits for "Index Buffer."

Arguably, "Index Buffer" is clearer: an "element of an array" (or list)
usually refers to an actual item stored in the array, not the index used
to refer to it.

The terminology is also already used in Mesa: some VBO module code for
dealing with ElementArrayBufferObj names local variables "ib".

Completely generated by:
$ find . -type f -print0 | xargs -0 sed -i \
's/ElementArrayBufferObj/IndexBufferObj/g'

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
de47fd2668961503bbdaaf1194e7bb435ad5dbb7 02-Feb-2014 Kenneth Graunke <kenneth@whitecape.org> mesa: Rename _mesa_..._array_obj functions to _mesa_..._vao.

_mesa_update_vao_client_arrays() is less of a mouthful than
_mesa_update_array_object_client_arrays(), and generally clearer.

Generated by:
$ find . -type f -print0 | xargs -0 sed -i \
's/_mesa_\([^_]*\)_array_object/_mesa_\1_vao/g'
with manual whitespace and indentation fixes applied.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
aac1415b66fafedc50c4346dae2d652723156ed9 02-Feb-2014 Kenneth Graunke <kenneth@whitecape.org> mesa: Rename "struct gl_array_object" to gl_vertex_array_object.

I considered replacing it with "gl_vao", but spelling it out seemed to
fit better with Mesa's traditional style. Mesa doesn't shy away from
long type names - consider gl_transform_feedback_object,
gl_fragment_program_state, gl_uniform_buffer_binding, and so on.

Completely generated by:
$ find . -type f -print0 | xargs -0 sed -i \
's/gl_array_object/gl_vertex_array_object/g'

v2: Rerun command to resolve conflicts with Ian's meta patches.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
0dfe50f1a6cc5e1f979ac65cca4ed9359d18869d 02-Feb-2014 Kenneth Graunke <kenneth@whitecape.org> mesa: Rename ArrayObj to VAO and DefaultArrayObj to DefaultVAO.

When reading through the Mesa drawing code, it's not immediately obvious
to me that "ArrayObj" (gl_array_object) is the Vertex Array Object (VAO)
state. The comment above the structure explains this, but readers still
have to remember this and translate accordingly.

Out of context, "array object" is a fairly vague. Even in context,
"array" has a lot of meanings: glDrawArrays, vertex data stored in user
arrays, gl_client_arrays, gl_vertex_attrib_arrays, and so on.

Using the term "VAO" immediately associates these fields with the OpenGL
concept, clarifying the situation and aiding programmer sanity.

Completely generated by:
$ find . -type f -print0 | xargs -0 sed -i \
-e 's/ArrayObj;/VAO;/g' \
-e 's/->ArrayObj/->VAO/g' \
-e 's/Array\.ArrayObj/Array.VAO/g' \
-e 's/Array\.DefaultArrayObj/Array.DefaultVAO/g'

v2: Rerun command to resolve conflicts with Ian's meta patches.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
562f353434878844e3aca4d75d049d5f17242aa8 08-Jan-2014 Ian Romanick <ian.d.romanick@intel.com> mesa: Restore all the viewports in _mesa_PopAttrib

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
c65db3ebedf884568f9331d00b4759bee28102bb 08-Jan-2014 Ian Romanick <ian.d.romanick@intel.com> mesa: Restore all the scissor rectangles in _mesa_PopAttrib

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
f6d7cd4a11e70b816733cff681dde7d03588d1c8 08-Jan-2014 Ian Romanick <ian.d.romanick@intel.com> mesa: Add an index parameter to _mesa_set_scissor

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
cbb271a48845c2d236f31327df316d42888a1907 14-Nov-2013 Courtney Goeltzenleuchter <courtney@LunarG.com> mesa: Convert gl_context::Viewport to gl_context::ViewportArray

Only element 0 of the array is used anywhere at this time, so there
should be no changes.

v4: Split out from a single megapatch. Suggested by Ken.

Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
a9c73fb778a41b422a811c67b4aba806d4dfb7c8 13-Nov-2013 Courtney Goeltzenleuchter <courtney@LunarG.com> mesa: Update gl_scissor_attrib to support ARB_viewport_array

Update Mesa and drivers to access updated gl_scissor_attrib.
Now have an enable bitfield and array of gl_scissor_rects.
Drivers have been updated to the new scissor enable state
attribute (gl_context.scissor.EnableFlags) but still treat it
as a single boolean which is okay as mesa will only use
bit 0 when communicating with a driver that does not support
ARB_viewport_array.

v2 (idr): Rebase fixes.

v3 (idr): Small code formatting fix suggsted by Ken.

Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
56c5ba8f92d372f6c36d1746e875bbba09b6b00f 16-Dec-2013 Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> mesa: Verify memory allocations success in _mesa_PushAttrib

Check for malloc() returning null to fix Klocwork warnings.
Minor clean-ups by BrianP.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
2a83e4182c02f150ac278945f4519a615ec54f44 16-Dec-2013 Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> mesa: Verify memory allocations success in _mesa_PushClientAttrib

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
d08ac826c517f2a0a96c5e00d5c9bc4c223e6564 16-Dec-2013 Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> mesa: Change save_attrib_data() to return boolean

Change save_attrib_data() to return true/false depending on success.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
2a3d1e2e06ce74801ccbfd349558d44653b9692f 20-Nov-2013 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove support for GL_MESA_texture_array

This extension enabled the use of texture array with fixed-function and
assembly fragment shaders. No applications are known to use this
extension.

NOTE: This patch regresses GL_TEXTURE_1D_ARRAY and GL_TEXTURE_2D_ARRAY
cases of the copyteximage piglit test. The test is incorrectly using
texture arrays with fixed function while only requiring the
GL_EXT_texture_array extension. A fix for the test has been posted to
the piglit mailing list.

http://lists.freedesktop.org/archives/piglit/2013-November/008639.html

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
538a7f2a8082e748caa599636c01833332bd039a 20-Nov-2013 Ian Romanick <ian.d.romanick@intel.com> mesa: Use a single enable for GL_EXT_texture_array and GL_MESA_texture_array

Every driver that enables one also enables the other. The difference
between the two is MESA adds support for fixed-function and assembly
fragment shaders, but EXT only adds support for GLSL. The MESA
extension was created back when Mesa did not support GLSL.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
59b01ca252bd6706f08cd80a864819d71dfe741c 09-Apr-2013 Fredrik Höglund <fredrik@kde.org> mesa: Add ARB_vertex_attrib_binding

update_array() and update_array_format() are changed to update the new
attrib and binding states, and the client arrays become derived state.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/attrib.c
12cbe995edbbf2791459579918486413965d4bf0 03-Apr-2013 Fredrik Höglund <fredrik@kde.org> mesa: Rename gl_array_object::VertexAttrib to _VertexAttrib

This will become derived state as part of the ARB_vertex_attrib_binding
support.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/attrib.c
c74a7eb9c53fda10d77bec09801c0b619b29deea 27-Jun-2013 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove GL_EXT_clip_volume_hint

As far as I can tell, no driver has enabled this extension since c6499a7
back in 2007.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
3998cfa933dcd9134b75d9f0ae2c9cfcd6f2ee45 05-Jun-2013 Rico Schüller <kgbricola@web.de> mesa: remove outdated version lines in comments

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
e6efb900e7a7601797b2e8263388fe72f6820e9b 29-May-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Delete the ctx->Array._RestartIndex derived state.

It's incorrect and isn't used any longer.

v2: Actually flush vertices/flag _NEW_TRANSFORM on RestartIndex change.

NOTE: This is a candidate for the 9.1 branch.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/attrib.c
3d8d5b298a268b119d840bc9bae0ee9e0c9244a9 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Restore 78-column wrapping of license text in C-style comments.

The previous commit introduced extra words, breaking the formatting.

This text transformation was done automatically via the following shell
command:
$ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript

where 'vimscript' is a file containing:
/THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * '
:wq

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
96ff2edc73ccf11d4d198ba3665507f73ae4a9f7 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.

This brings the license text in line with the MIT License as published
on the Open Source Initiative website:

http://opensource.org/licenses/mit-license.php

Generated automatically be the following shell command:
$ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \
sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {}

This introduces some wrapping issues, to be fixed in the next commit.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
dd404bc94f78a1766527becee03f8ef6ae3a799b 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.

Generated automatically be the following shell command:
$ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \
sed -i 's/BRIAN PAUL/THE AUTHORS/' {}

The intention here is to protect all authors, not just Brian Paul. I
believe that was already the sensible interpretation, but spelling it
out is probably better.

More practically, it also prevents people from accidentally copy &
pasting the license into a new file which says Brian is not liable when
he isn't even one of the authors.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
d883d008780b61e9233cb7979cfaa8ef90d7b3b7 15-Apr-2013 Marek Olšák <maraeo@gmail.com> mesa: remove _NEW_PACKUNPACK

No driver checks the flag. Nobody uses it.

I also removed the FLUSH_VERTICES calls, because PixelStorei has no effect
on rendering.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/attrib.c
b76f6d9557ff27140e18cf8aa2b57db8876d5d4d 17-Apr-2013 Brian Paul <brianp@vmware.com> mesa: remove #include "mfeatures.h" from numerous source files

None of the remaining FEATURE_x symbols in mfeatures.h are used anymore.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/attrib.c
3264c3e99700389f0a3958db7c9c19673107d67a 28-Mar-2013 Marek Olšák <maraeo@gmail.com> mesa: allow drivers not to expose ARB_color_buffer_float in GL core profile

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
d04a4dd0039d397c19e28cde878f51cad0877f07 24-Nov-2012 Chris Forbes <chrisf@ijw.co.nz> mesa: add texobj support for ARB_texture_multisample

Adds the new texture targets, and per-image state for GL_TEXTURE_SAMPLES
and GL_TEXTURE_FIXED_SAMPLE_LOCATIONS.

V2: - Allow multisample texture targets in glInvalidateTexSubImage too.
This was already partly there, but I missed it the first time around
since the interaction is defined in a newer extension. Fixed weird
indentation.
- Allow multisample array textures in glFramebufferTextureLayer.
This was overlooked as the tests originally only used 2d
multisample textures.

V3: - Set min/mag filters sensibly for multisample textures. This
can't actually be changed by the user, so it's more sensible to
initialize it correctly than to hack around it being bogus later.

V4: - Tidy up initial min/mag filter setup. Setup in
_mesa_initialize_texture_object was bogus, but benign since
finish_texture_init() clobbered everything with correct values. For V4,
just do the setup in finish_texture_init().

V5: - Don't break glPopAttrib(GL_TEXTURE_BIT)

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
[V2] Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/attrib.c
6f1538f8b4b253ba7aa92c98997719ce3ca59451 28-Feb-2013 Jordan Justen <jordan.l.justen@intel.com> attrib: push/pop FRAGMENT_PROGRAM_ARB state

This requirement was added by ARB_fragment_program

When the Steam overlay is enabled, this fixes:
* Menu corruption with the Puddle game
* The screen going black on Rochard when
the Steam overlay is accessed

NOTE: This is a candidate for the 9.0 and 9.1 branches.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
a9754793dab4b24c09cae21c29f902ce0e53319a 17-Jan-2013 Eric Anholt <eric@anholt.net> mesa: Drop manual checks for outside begin/end.

We now have a separate dispatch table for begin/end that prevent these
functions from being entered during that time. The
ASSERT_OUTSIDE_BEGIN_END_WITH_RETVALs are left because I don't want to
change any return values or introduce new error-only stubs at this
point.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/attrib.c
42ed81a7c3eec215a543c47239cc30536f284ada 11-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es3: Add support for GL_PRIMITIVE_RESTART_FIXED_INDEX

This requires some derived state. The cut vertex used is either the
value specified by glPrimitiveRestartIndex or it's hard-coded to ~0.
The derived state gl_array_attrib::_RestartIndex captures this value.
In addition, the derived state gl_array_attrib::_PrimitiveRestart is set
whenever either gl_array_attrib::PrimitiveRestart or
gl_array_attrib::PrimitiveRestartFixedIndex is set.

v2: Use _mesa_is_gles3.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/attrib.c
dbd6135bc1ba285128ab991c03c4df6fbd6fefe8 27-Nov-2012 Paul Berry <stereotype441@gmail.com> mesa: Rename API_OPENGL to API_OPENGL_COMPAT.

This should help avoid confusion now that we're using the gl_api enum
to distinguishing between core and compatibility API's. The
corresponding enum value for core API's is API_OPENGL_CORE.

Acked-by: Eric Anholt <eric@anholt.net>
Acked-by: Matt Turner <mattst88@gmail.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
1a1db1746db82efc7f0643508886dfc78a15eb71 06-Nov-2012 Paul Berry <stereotype441@gmail.com> mesa: Standardize names of OpenGL functions.

This patch adjusts the aliasing pattern in the GL API description XML,
and the functions that implement the GL API within Mesa, to
consistently follow these naming conventions:

- When several function names are aliases of each other, the primary
name is the one with no extension suffix (or the name with the
suffix "ARB", if no unsuffixed name is available). (By "primary
name", I mean the name that all the other functions point to using
the XML "alias" attribute).

- The name of the mesa implementation of each function is the same as
the primary name, with the prefix "_mesa_".

This patch renames the following mesa functions:
_check_GetTexGenxvOES => _mesa_GetTexGenxvOES
_check_TexGenxOES => _mesa_TexGenxOES
_check_TexGenxvOES => _mesa_TexGenxvOES
_es_AlphaFuncx => _mesa_AlphaFuncx
_es_ClearColorx => _mesa_ClearColorx
_es_ClearDepthx => _mesa_ClearDepthx
_es_ClipPlanef => _mesa_ClipPlanef
_es_ClipPlanex => _mesa_ClipPlanex
_es_Color4x => _mesa_Color4x
_es_DepthRangex => _mesa_DepthRangex
_es_DrawTexxOES => _mesa_DrawTexxOES
_es_DrawTexxvOES => _mesa_DrawTexxvOES
_es_Fogx => _mesa_Fogx
_es_Fogxv => _mesa_Fogxv
_es_Frustumf => _mesa_Frustumf
_es_Frustumx => _mesa_Frustumx
_es_GetClipPlanef => _mesa_GetClipPlanef
_es_GetClipPlanex => _mesa_GetClipPlanex
_es_GetLightxv => _mesa_GetLightxv
_es_GetMaterialxv => _mesa_GetMaterialxv
_es_GetTexEnvxv => _mesa_GetTexEnvxv
_es_GetTexParameterxv => _mesa_GetTexParameterxv
_es_LightModelx => _mesa_LightModelx
_es_LightModelxv => _mesa_LightModelxv
_es_Lightx => _mesa_Lightx
_es_Lightxv => _mesa_Lightxv
_es_LineWidthx => _mesa_LineWidthx
_es_LoadMatrixx => _mesa_LoadMatrixx
_es_Materialx => _mesa_Materialx
_es_Materialxv => _mesa_Materialxv
_es_MultMatrixx => _mesa_MultMatrixx
_es_MultiTexCoord4x => _mesa_MultiTexCoord4x
_es_Normal3x => _mesa_Normal3x
_es_Orthof => _mesa_Orthof
_es_Orthox => _mesa_Orthox
_es_PointParameterx => _mesa_PointParameterx
_es_PointParameterxv => _mesa_PointParameterxv
_es_PointSizex => _mesa_PointSizex
_es_PolygonOffsetx => _mesa_PolygonOffsetx
_es_QueryMatrixxOES => _mesa_QueryMatrixxOES
_es_Rotatex => _mesa_Rotatex
_es_SampleCoveragex => _mesa_SampleCoveragex
_es_Scalex => _mesa_Scalex
_es_TexEnvx => _mesa_TexEnvx
_es_TexEnvxv => _mesa_TexEnvxv
_es_TexParameterx => _mesa_TexParameterx
_es_TexParameterxv => _mesa_TexParameterxv
_es_Translatex => _mesa_Translatex
_mesa_ActiveTextureARB => _mesa_ActiveTexture
_mesa_BeginQueryARB => _mesa_BeginQuery
_mesa_BindAttribLocationARB => _mesa_BindAttribLocation
_mesa_BindBufferARB => _mesa_BindBuffer
_mesa_BindFramebufferEXT => _mesa_BindFramebuffer
_mesa_BindProgram => _mesa_BindProgramARB
_mesa_BindRenderbufferEXT => _mesa_BindRenderbuffer
_mesa_BlendEquationSeparateEXT => _mesa_BlendEquationSeparate
_mesa_BlendEquationSeparatei => _mesa_BlendEquationSeparateiARB
_mesa_BlendEquationi => _mesa_BlendEquationiARB
_mesa_BlendFuncSeparateEXT => _mesa_BlendFuncSeparate
_mesa_BlendFuncSeparatei => _mesa_BlendFuncSeparateiARB
_mesa_BlendFunci => _mesa_BlendFunciARB
_mesa_BlitFramebufferEXT => _mesa_BlitFramebuffer
_mesa_BufferDataARB => _mesa_BufferData
_mesa_BufferSubDataARB => _mesa_BufferSubData
_mesa_CheckFramebufferStatusEXT => _mesa_CheckFramebufferStatus
_mesa_ClampColorARB => _mesa_ClampColor
_mesa_ClientActiveTextureARB => _mesa_ClientActiveTexture
_mesa_ColorMaskIndexed => _mesa_ColorMaski
_mesa_CompileShaderARB => _mesa_CompileShader
_mesa_CompressedTexImage1DARB => _mesa_CompressedTexImage1D
_mesa_CompressedTexImage2DARB => _mesa_CompressedTexImage2D
_mesa_CompressedTexImage3DARB => _mesa_CompressedTexImage3D
_mesa_CompressedTexSubImage1DARB => _mesa_CompressedTexSubImage1D
_mesa_CompressedTexSubImage2DARB => _mesa_CompressedTexSubImage2D
_mesa_CompressedTexSubImage3DARB => _mesa_CompressedTexSubImage3D
_mesa_DeleteBuffersARB => _mesa_DeleteBuffers
_mesa_DeleteFramebuffersEXT => _mesa_DeleteFramebuffers
_mesa_DeletePrograms => _mesa_DeleteProgramsARB
_mesa_DeleteQueriesARB => _mesa_DeleteQueries
_mesa_DeleteRenderbuffersEXT => _mesa_DeleteRenderbuffers
_mesa_DeleteVertexArraysAPPLE => _mesa_DeleteVertexArrays
_mesa_DisableIndexed => _mesa_Disablei
_mesa_DisableVertexAttribArrayARB => _mesa_DisableVertexAttribArray
_mesa_DrawBuffersARB => _mesa_DrawBuffers
_mesa_DrawTexf => _mesa_DrawTexfOES
_mesa_DrawTexfv => _mesa_DrawTexfvOES
_mesa_DrawTexi => _mesa_DrawTexiOES
_mesa_DrawTexiv => _mesa_DrawTexivOES
_mesa_DrawTexs => _mesa_DrawTexsOES
_mesa_DrawTexsv => _mesa_DrawTexsvOES
_mesa_EnableIndexed => _mesa_Enablei
_mesa_EnableVertexAttribArrayARB => _mesa_EnableVertexAttribArray
_mesa_EndQueryARB => _mesa_EndQuery
_mesa_FogCoordPointerEXT => _mesa_FogCoordPointer
_mesa_FramebufferRenderbufferEXT => _mesa_FramebufferRenderbuffer
_mesa_FramebufferTexture1DEXT => _mesa_FramebufferTexture1D
_mesa_FramebufferTexture2DEXT => _mesa_FramebufferTexture2D
_mesa_FramebufferTexture3DEXT => _mesa_FramebufferTexture3D
_mesa_FramebufferTextureLayerEXT => _mesa_FramebufferTextureLayer
_mesa_GenBuffersARB => _mesa_GenBuffers
_mesa_GenFramebuffersEXT => _mesa_GenFramebuffers
_mesa_GenPrograms => _mesa_GenProgramsARB
_mesa_GenQueriesARB => _mesa_GenQueries
_mesa_GenRenderbuffersEXT => _mesa_GenRenderbuffers
_mesa_GenerateMipmapEXT => _mesa_GenerateMipmap
_mesa_GetActiveAttribARB => _mesa_GetActiveAttrib
_mesa_GetActiveUniformARB => _mesa_GetActiveUniform
_mesa_GetAttribLocationARB => _mesa_GetAttribLocation
_mesa_GetBooleanIndexedv => _mesa_GetBooleani_v
_mesa_GetBufferParameterivARB => _mesa_GetBufferParameteriv
_mesa_GetBufferPointervARB => _mesa_GetBufferPointerv
_mesa_GetBufferSubDataARB => _mesa_GetBufferSubData
_mesa_GetCompressedTexImageARB => _mesa_GetCompressedTexImage
_mesa_GetFramebufferAttachmentParameterivEXT => _mesa_GetFramebufferAttachmentParameteriv
_mesa_GetIntegerIndexedv => _mesa_GetIntegeri_v
_mesa_GetQueryObjecti64vEXT => _mesa_GetQueryObjecti64v
_mesa_GetQueryObjectivARB => _mesa_GetQueryObjectiv
_mesa_GetQueryObjectui64vEXT => _mesa_GetQueryObjectui64v
_mesa_GetQueryObjectuivARB => _mesa_GetQueryObjectuiv
_mesa_GetQueryivARB => _mesa_GetQueryiv
_mesa_GetRenderbufferParameterivEXT => _mesa_GetRenderbufferParameteriv
_mesa_GetShaderSourceARB => _mesa_GetShaderSource
_mesa_GetUniformLocationARB => _mesa_GetUniformLocation
_mesa_GetUniformfvARB => _mesa_GetUniformfv
_mesa_GetUniformivARB => _mesa_GetUniformiv
_mesa_GetVertexAttribPointervARB => _mesa_GetVertexAttribPointerv
_mesa_GetVertexAttribdvARB => _mesa_GetVertexAttribdv
_mesa_GetVertexAttribfvARB => _mesa_GetVertexAttribfv
_mesa_GetVertexAttribivARB => _mesa_GetVertexAttribiv
_mesa_IsBufferARB => _mesa_IsBuffer
_mesa_IsEnabledIndexed => _mesa_IsEnabledi
_mesa_IsFramebufferEXT => _mesa_IsFramebuffer
_mesa_IsQueryARB => _mesa_IsQuery
_mesa_IsRenderbufferEXT => _mesa_IsRenderbuffer
_mesa_IsVertexArrayAPPLE => _mesa_IsVertexArray
_mesa_LinkProgramARB => _mesa_LinkProgram
_mesa_LoadTransposeMatrixdARB => _mesa_LoadTransposeMatrixd
_mesa_LoadTransposeMatrixfARB => _mesa_LoadTransposeMatrixf
_mesa_MapBufferARB => _mesa_MapBuffer
_mesa_MultTransposeMatrixdARB => _mesa_MultTransposeMatrixd
_mesa_MultTransposeMatrixfARB => _mesa_MultTransposeMatrixf
_mesa_MultiDrawArraysEXT => _mesa_MultiDrawArrays
_mesa_PointSizePointer => _mesa_PointSizePointerOES
_mesa_ProvokingVertexEXT => _mesa_ProvokingVertex
_mesa_RenderbufferStorageEXT => _mesa_RenderbufferStorage
_mesa_SampleCoverageARB => _mesa_SampleCoverage
_mesa_SecondaryColorPointerEXT => _mesa_SecondaryColorPointer
_mesa_ShaderSourceARB => _mesa_ShaderSource
_mesa_Uniform1fARB => _mesa_Uniform1f
_mesa_Uniform1fvARB => _mesa_Uniform1fv
_mesa_Uniform1iARB => _mesa_Uniform1i
_mesa_Uniform1ivARB => _mesa_Uniform1iv
_mesa_Uniform2fARB => _mesa_Uniform2f
_mesa_Uniform2fvARB => _mesa_Uniform2fv
_mesa_Uniform2iARB => _mesa_Uniform2i
_mesa_Uniform2ivARB => _mesa_Uniform2iv
_mesa_Uniform3fARB => _mesa_Uniform3f
_mesa_Uniform3fvARB => _mesa_Uniform3fv
_mesa_Uniform3iARB => _mesa_Uniform3i
_mesa_Uniform3ivARB => _mesa_Uniform3iv
_mesa_Uniform4fARB => _mesa_Uniform4f
_mesa_Uniform4fvARB => _mesa_Uniform4fv
_mesa_Uniform4iARB => _mesa_Uniform4i
_mesa_Uniform4ivARB => _mesa_Uniform4iv
_mesa_UniformMatrix2fvARB => _mesa_UniformMatrix2fv
_mesa_UniformMatrix3fvARB => _mesa_UniformMatrix3fv
_mesa_UniformMatrix4fvARB => _mesa_UniformMatrix4fv
_mesa_UnmapBufferARB => _mesa_UnmapBuffer
_mesa_UseProgramObjectARB => _mesa_UseProgram
_mesa_ValidateProgramARB => _mesa_ValidateProgram
_mesa_VertexAttribPointerARB => _mesa_VertexAttribPointer
_mesa_WindowPos2dMESA => _mesa_WindowPos2d
_mesa_WindowPos2dvMESA => _mesa_WindowPos2dv
_mesa_WindowPos2fMESA => _mesa_WindowPos2f
_mesa_WindowPos2fvMESA => _mesa_WindowPos2fv
_mesa_WindowPos2iMESA => _mesa_WindowPos2i
_mesa_WindowPos2ivMESA => _mesa_WindowPos2iv
_mesa_WindowPos2sMESA => _mesa_WindowPos2s
_mesa_WindowPos2svMESA => _mesa_WindowPos2sv
_mesa_WindowPos3dMESA => _mesa_WindowPos3d
_mesa_WindowPos3dvMESA => _mesa_WindowPos3dv
_mesa_WindowPos3fMESA => _mesa_WindowPos3f
_mesa_WindowPos3fvMESA => _mesa_WindowPos3fv
_mesa_WindowPos3iMESA => _mesa_WindowPos3i
_mesa_WindowPos3ivMESA => _mesa_WindowPos3iv
_mesa_WindowPos3sMESA => _mesa_WindowPos3s
_mesa_WindowPos3svMESA => _mesa_WindowPos3sv
loopback_Color3b_f => _mesa_Color3b
loopback_Color3bv_f => _mesa_Color3bv
loopback_Color3d_f => _mesa_Color3d
loopback_Color3dv_f => _mesa_Color3dv
loopback_Color3i_f => _mesa_Color3i
loopback_Color3iv_f => _mesa_Color3iv
loopback_Color3s_f => _mesa_Color3s
loopback_Color3sv_f => _mesa_Color3sv
loopback_Color3ub_f => _mesa_Color3ub
loopback_Color3ubv_f => _mesa_Color3ubv
loopback_Color3ui_f => _mesa_Color3ui
loopback_Color3uiv_f => _mesa_Color3uiv
loopback_Color3us_f => _mesa_Color3us
loopback_Color3usv_f => _mesa_Color3usv
loopback_Color4b_f => _mesa_Color4b
loopback_Color4bv_f => _mesa_Color4bv
loopback_Color4d_f => _mesa_Color4d
loopback_Color4dv_f => _mesa_Color4dv
loopback_Color4i_f => _mesa_Color4i
loopback_Color4iv_f => _mesa_Color4iv
loopback_Color4s_f => _mesa_Color4s
loopback_Color4sv_f => _mesa_Color4sv
loopback_Color4ub_f => _mesa_Color4ub
loopback_Color4ubv_f => _mesa_Color4ubv
loopback_Color4ui_f => _mesa_Color4ui
loopback_Color4uiv_f => _mesa_Color4uiv
loopback_Color4us_f => _mesa_Color4us
loopback_Color4usv_f => _mesa_Color4usv
loopback_EdgeFlagv => _mesa_EdgeFlagv
loopback_EvalCoord1d => _mesa_EvalCoord1d
loopback_EvalCoord1dv => _mesa_EvalCoord1dv
loopback_EvalCoord1fv => _mesa_EvalCoord1fv
loopback_EvalCoord2d => _mesa_EvalCoord2d
loopback_EvalCoord2dv => _mesa_EvalCoord2dv
loopback_EvalCoord2fv => _mesa_EvalCoord2fv
loopback_FogCoorddEXT => _mesa_FogCoordd
loopback_FogCoorddvEXT => _mesa_FogCoorddv
loopback_Indexd => _mesa_Indexd
loopback_Indexdv => _mesa_Indexdv
loopback_Indexi => _mesa_Indexi
loopback_Indexiv => _mesa_Indexiv
loopback_Indexs => _mesa_Indexs
loopback_Indexsv => _mesa_Indexsv
loopback_Indexub => _mesa_Indexub
loopback_Indexubv => _mesa_Indexubv
loopback_Materialf => _mesa_Materialf
loopback_Materiali => _mesa_Materiali
loopback_Materialiv => _mesa_Materialiv
loopback_MultiTexCoord1dARB => _mesa_MultiTexCoord1d
loopback_MultiTexCoord1dvARB => _mesa_MultiTexCoord1dv
loopback_MultiTexCoord1iARB => _mesa_MultiTexCoord1i
loopback_MultiTexCoord1ivARB => _mesa_MultiTexCoord1iv
loopback_MultiTexCoord1sARB => _mesa_MultiTexCoord1s
loopback_MultiTexCoord1svARB => _mesa_MultiTexCoord1sv
loopback_MultiTexCoord2dARB => _mesa_MultiTexCoord2d
loopback_MultiTexCoord2dvARB => _mesa_MultiTexCoord2dv
loopback_MultiTexCoord2iARB => _mesa_MultiTexCoord2i
loopback_MultiTexCoord2ivARB => _mesa_MultiTexCoord2iv
loopback_MultiTexCoord2sARB => _mesa_MultiTexCoord2s
loopback_MultiTexCoord2svARB => _mesa_MultiTexCoord2sv
loopback_MultiTexCoord3dARB => _mesa_MultiTexCoord3d
loopback_MultiTexCoord3dvARB => _mesa_MultiTexCoord3dv
loopback_MultiTexCoord3iARB => _mesa_MultiTexCoord3i
loopback_MultiTexCoord3ivARB => _mesa_MultiTexCoord3iv
loopback_MultiTexCoord3sARB => _mesa_MultiTexCoord3s
loopback_MultiTexCoord3svARB => _mesa_MultiTexCoord3sv
loopback_MultiTexCoord4dARB => _mesa_MultiTexCoord4d
loopback_MultiTexCoord4dvARB => _mesa_MultiTexCoord4dv
loopback_MultiTexCoord4iARB => _mesa_MultiTexCoord4i
loopback_MultiTexCoord4ivARB => _mesa_MultiTexCoord4iv
loopback_MultiTexCoord4sARB => _mesa_MultiTexCoord4s
loopback_MultiTexCoord4svARB => _mesa_MultiTexCoord4sv
loopback_Normal3b => _mesa_Normal3b
loopback_Normal3bv => _mesa_Normal3bv
loopback_Normal3d => _mesa_Normal3d
loopback_Normal3dv => _mesa_Normal3dv
loopback_Normal3i => _mesa_Normal3i
loopback_Normal3iv => _mesa_Normal3iv
loopback_Normal3s => _mesa_Normal3s
loopback_Normal3sv => _mesa_Normal3sv
loopback_Rectd => _mesa_Rectd
loopback_Rectdv => _mesa_Rectdv
loopback_Rectfv => _mesa_Rectfv
loopback_Recti => _mesa_Recti
loopback_Rectiv => _mesa_Rectiv
loopback_Rects => _mesa_Rects
loopback_Rectsv => _mesa_Rectsv
loopback_SecondaryColor3bEXT_f => _mesa_SecondaryColor3b
loopback_SecondaryColor3bvEXT_f => _mesa_SecondaryColor3bv
loopback_SecondaryColor3dEXT_f => _mesa_SecondaryColor3d
loopback_SecondaryColor3dvEXT_f => _mesa_SecondaryColor3dv
loopback_SecondaryColor3iEXT_f => _mesa_SecondaryColor3i
loopback_SecondaryColor3ivEXT_f => _mesa_SecondaryColor3iv
loopback_SecondaryColor3sEXT_f => _mesa_SecondaryColor3s
loopback_SecondaryColor3svEXT_f => _mesa_SecondaryColor3sv
loopback_SecondaryColor3ubEXT_f => _mesa_SecondaryColor3ub
loopback_SecondaryColor3ubvEXT_f => _mesa_SecondaryColor3ubv
loopback_SecondaryColor3uiEXT_f => _mesa_SecondaryColor3ui
loopback_SecondaryColor3uivEXT_f => _mesa_SecondaryColor3uiv
loopback_SecondaryColor3usEXT_f => _mesa_SecondaryColor3us
loopback_SecondaryColor3usvEXT_f => _mesa_SecondaryColor3usv
loopback_TexCoord1d => _mesa_TexCoord1d
loopback_TexCoord1dv => _mesa_TexCoord1dv
loopback_TexCoord1i => _mesa_TexCoord1i
loopback_TexCoord1iv => _mesa_TexCoord1iv
loopback_TexCoord1s => _mesa_TexCoord1s
loopback_TexCoord1sv => _mesa_TexCoord1sv
loopback_TexCoord2d => _mesa_TexCoord2d
loopback_TexCoord2dv => _mesa_TexCoord2dv
loopback_TexCoord2i => _mesa_TexCoord2i
loopback_TexCoord2iv => _mesa_TexCoord2iv
loopback_TexCoord2s => _mesa_TexCoord2s
loopback_TexCoord2sv => _mesa_TexCoord2sv
loopback_TexCoord3d => _mesa_TexCoord3d
loopback_TexCoord3dv => _mesa_TexCoord3dv
loopback_TexCoord3i => _mesa_TexCoord3i
loopback_TexCoord3iv => _mesa_TexCoord3iv
loopback_TexCoord3s => _mesa_TexCoord3s
loopback_TexCoord3sv => _mesa_TexCoord3sv
loopback_TexCoord4d => _mesa_TexCoord4d
loopback_TexCoord4dv => _mesa_TexCoord4dv
loopback_TexCoord4i => _mesa_TexCoord4i
loopback_TexCoord4iv => _mesa_TexCoord4iv
loopback_TexCoord4s => _mesa_TexCoord4s
loopback_TexCoord4sv => _mesa_TexCoord4sv
loopback_Vertex2d => _mesa_Vertex2d
loopback_Vertex2dv => _mesa_Vertex2dv
loopback_Vertex2i => _mesa_Vertex2i
loopback_Vertex2iv => _mesa_Vertex2iv
loopback_Vertex2s => _mesa_Vertex2s
loopback_Vertex2sv => _mesa_Vertex2sv
loopback_Vertex3d => _mesa_Vertex3d
loopback_Vertex3dv => _mesa_Vertex3dv
loopback_Vertex3i => _mesa_Vertex3i
loopback_Vertex3iv => _mesa_Vertex3iv
loopback_Vertex3s => _mesa_Vertex3s
loopback_Vertex3sv => _mesa_Vertex3sv
loopback_Vertex4d => _mesa_Vertex4d
loopback_Vertex4dv => _mesa_Vertex4dv
loopback_Vertex4i => _mesa_Vertex4i
loopback_Vertex4iv => _mesa_Vertex4iv
loopback_Vertex4s => _mesa_Vertex4s
loopback_Vertex4sv => _mesa_Vertex4sv
loopback_VertexAttrib1dARB => _mesa_VertexAttrib1d
loopback_VertexAttrib1dNV => _mesa_VertexAttrib1dNV
loopback_VertexAttrib1dvARB => _mesa_VertexAttrib1dv
loopback_VertexAttrib1dvNV => _mesa_VertexAttrib1dvNV
loopback_VertexAttrib1sARB => _mesa_VertexAttrib1s
loopback_VertexAttrib1sNV => _mesa_VertexAttrib1sNV
loopback_VertexAttrib1svARB => _mesa_VertexAttrib1sv
loopback_VertexAttrib1svNV => _mesa_VertexAttrib1svNV
loopback_VertexAttrib2dARB => _mesa_VertexAttrib2d
loopback_VertexAttrib2dNV => _mesa_VertexAttrib2dNV
loopback_VertexAttrib2dvARB => _mesa_VertexAttrib2dv
loopback_VertexAttrib2dvNV => _mesa_VertexAttrib2dvNV
loopback_VertexAttrib2sARB => _mesa_VertexAttrib2s
loopback_VertexAttrib2sNV => _mesa_VertexAttrib2sNV
loopback_VertexAttrib2svARB => _mesa_VertexAttrib2sv
loopback_VertexAttrib2svNV => _mesa_VertexAttrib2svNV
loopback_VertexAttrib3dARB => _mesa_VertexAttrib3d
loopback_VertexAttrib3dNV => _mesa_VertexAttrib3dNV
loopback_VertexAttrib3dvARB => _mesa_VertexAttrib3dv
loopback_VertexAttrib3dvNV => _mesa_VertexAttrib3dvNV
loopback_VertexAttrib3sARB => _mesa_VertexAttrib3s
loopback_VertexAttrib3sNV => _mesa_VertexAttrib3sNV
loopback_VertexAttrib3svARB => _mesa_VertexAttrib3sv
loopback_VertexAttrib3svNV => _mesa_VertexAttrib3svNV
loopback_VertexAttrib4NbvARB => _mesa_VertexAttrib4Nbv
loopback_VertexAttrib4NivARB => _mesa_VertexAttrib4Niv
loopback_VertexAttrib4NsvARB => _mesa_VertexAttrib4Nsv
loopback_VertexAttrib4NubARB => _mesa_VertexAttrib4Nub
loopback_VertexAttrib4NubvARB => _mesa_VertexAttrib4Nubv
loopback_VertexAttrib4NuivARB => _mesa_VertexAttrib4Nuiv
loopback_VertexAttrib4NusvARB => _mesa_VertexAttrib4Nusv
loopback_VertexAttrib4bvARB => _mesa_VertexAttrib4bv
loopback_VertexAttrib4dARB => _mesa_VertexAttrib4d
loopback_VertexAttrib4dNV => _mesa_VertexAttrib4dNV
loopback_VertexAttrib4dvARB => _mesa_VertexAttrib4dv
loopback_VertexAttrib4dvNV => _mesa_VertexAttrib4dvNV
loopback_VertexAttrib4ivARB => _mesa_VertexAttrib4iv
loopback_VertexAttrib4sARB => _mesa_VertexAttrib4s
loopback_VertexAttrib4sNV => _mesa_VertexAttrib4sNV
loopback_VertexAttrib4svARB => _mesa_VertexAttrib4sv
loopback_VertexAttrib4svNV => _mesa_VertexAttrib4svNV
loopback_VertexAttrib4ubNV => _mesa_VertexAttrib4ubNV
loopback_VertexAttrib4ubvARB => _mesa_VertexAttrib4ubv
loopback_VertexAttrib4ubvNV => _mesa_VertexAttrib4ubvNV
loopback_VertexAttrib4uivARB => _mesa_VertexAttrib4uiv
loopback_VertexAttrib4usvARB => _mesa_VertexAttrib4usv
loopback_VertexAttribI1iv => _mesa_VertexAttribI1iv
loopback_VertexAttribI1uiv => _mesa_VertexAttribI1uiv
loopback_VertexAttribI4bv => _mesa_VertexAttribI4bv
loopback_VertexAttribI4sv => _mesa_VertexAttribI4sv
loopback_VertexAttribI4ubv => _mesa_VertexAttribI4ubv
loopback_VertexAttribI4usv => _mesa_VertexAttribI4usv
loopback_VertexAttribs1dvNV => _mesa_VertexAttribs1dvNV
loopback_VertexAttribs1fvNV => _mesa_VertexAttribs1fvNV
loopback_VertexAttribs1svNV => _mesa_VertexAttribs1svNV
loopback_VertexAttribs2dvNV => _mesa_VertexAttribs2dvNV
loopback_VertexAttribs2fvNV => _mesa_VertexAttribs2fvNV
loopback_VertexAttribs2svNV => _mesa_VertexAttribs2svNV
loopback_VertexAttribs3dvNV => _mesa_VertexAttribs3dvNV
loopback_VertexAttribs3fvNV => _mesa_VertexAttribs3fvNV
loopback_VertexAttribs3svNV => _mesa_VertexAttribs3svNV
loopback_VertexAttribs4dvNV => _mesa_VertexAttribs4dvNV
loopback_VertexAttribs4fvNV => _mesa_VertexAttribs4fvNV
loopback_VertexAttribs4svNV => _mesa_VertexAttribs4svNV
loopback_VertexAttribs4ubvNV => _mesa_VertexAttribs4ubvNV

And changes the primary name assignment in the XML as follows:
ActiveTextureARB => ActiveTexture
AlphaFuncxOES => AlphaFuncx
BeginConditionalRenderNV => BeginConditionalRender
BeginQueryARB => BeginQuery
BeginTransformFeedbackEXT => BeginTransformFeedback
BindAttribLocationARB => BindAttribLocation
BindBufferARB => BindBuffer
BindBufferBaseEXT => BindBufferBase
BindBufferRangeEXT => BindBufferRange
BindFragDataLocationEXT => BindFragDataLocation
BindFramebufferEXT => BindFramebuffer
BindProgramNV => BindProgramARB
BindRenderbufferEXT => BindRenderbuffer
BlendEquationSeparateEXT => BlendEquationSeparate
BlendFuncSeparateEXT => BlendFuncSeparate
BlitFramebufferEXT => BlitFramebuffer
BufferDataARB => BufferData
BufferSubDataARB => BufferSubData
CheckFramebufferStatusEXT => CheckFramebufferStatus
ClampColorARB => ClampColor
ClearColorxOES => ClearColorx
ClearDepthxOES => ClearDepthx
ClientActiveTextureARB => ClientActiveTexture
ClipPlanefOES => ClipPlanef
ClipPlanexOES => ClipPlanex
Color4xOES => Color4x
ColorMaskIndexedEXT => ColorMaski
CompileShaderARB => CompileShader
CompressedTexImage1DARB => CompressedTexImage1D
CompressedTexImage2DARB => CompressedTexImage2D
CompressedTexImage3DARB => CompressedTexImage3D
CompressedTexSubImage1DARB => CompressedTexSubImage1D
CompressedTexSubImage2DARB => CompressedTexSubImage2D
CompressedTexSubImage3DARB => CompressedTexSubImage3D
DeleteBuffersARB => DeleteBuffers
DeleteFramebuffersEXT => DeleteFramebuffers
DeleteProgramsNV => DeleteProgramsARB
DeleteQueriesARB => DeleteQueries
DeleteRenderbuffersEXT => DeleteRenderbuffers
DeleteVertexArraysAPPLE => DeleteVertexArrays
DepthRangexOES => DepthRangex
DisableIndexedEXT => Disablei
DisableVertexAttribArrayARB => DisableVertexAttribArray
DrawBuffersARB => DrawBuffers
EnableIndexedEXT => Enablei
EnableVertexAttribArrayARB => EnableVertexAttribArray
EndConditionalRenderNV => EndConditionalRender
EndQueryARB => EndQuery
EndTransformFeedbackEXT => EndTransformFeedback
FogCoordPointerEXT => FogCoordPointer
FogCoorddEXT => FogCoordd
FogCoorddvEXT => FogCoorddv
FogxOES => Fogx
FogxvOES => Fogxv
FramebufferRenderbufferEXT => FramebufferRenderbuffer
FramebufferTexture1DEXT => FramebufferTexture1D
FramebufferTexture2DEXT => FramebufferTexture2D
FramebufferTexture3DEXT => FramebufferTexture3D
FramebufferTextureLayerEXT => FramebufferTextureLayer
FrustumfOES => Frustumf
FrustumxOES => Frustumx
GenBuffersARB => GenBuffers
GenFramebuffersEXT => GenFramebuffers
GenProgramsNV => GenProgramsARB
GenQueriesARB => GenQueries
GenRenderbuffersEXT => GenRenderbuffers
GenerateMipmapEXT => GenerateMipmap
GetActiveAttribARB => GetActiveAttrib
GetActiveUniformARB => GetActiveUniform
GetAttribLocationARB => GetAttribLocation
GetBooleanIndexedvEXT => GetBooleani_v
GetBufferParameterivARB => GetBufferParameteriv
GetBufferPointervARB => GetBufferPointerv
GetBufferSubDataARB => GetBufferSubData
GetClipPlanefOES => GetClipPlanef
GetClipPlanexOES => GetClipPlanex
GetCompressedTexImageARB => GetCompressedTexImage
GetFixedvOES => GetFixedv
GetFragDataLocationEXT => GetFragDataLocation
GetFramebufferAttachmentParameterivEXT => GetFramebufferAttachmentParameteriv
GetIntegerIndexedvEXT => GetIntegeri_v
GetLightxvOES => GetLightxv
GetMaterialxvOES => GetMaterialxv
GetQueryObjecti64vEXT => GetQueryObjecti64v
GetQueryObjectivARB => GetQueryObjectiv
GetQueryObjectui64vEXT => GetQueryObjectui64v
GetQueryObjectuivARB => GetQueryObjectuiv
GetQueryivARB => GetQueryiv
GetRenderbufferParameterivEXT => GetRenderbufferParameteriv
GetShaderSourceARB => GetShaderSource
GetTexEnvxvOES => GetTexEnvxv
GetTexParameterIivEXT => GetTexParameterIiv
GetTexParameterIuivEXT => GetTexParameterIuiv
GetTexParameterxvOES => GetTexParameterxv
GetTransformFeedbackVaryingEXT => GetTransformFeedbackVarying
GetUniformLocationARB => GetUniformLocation
GetUniformfvARB => GetUniformfv
GetUniformivARB => GetUniformiv
GetUniformuivEXT => GetUniformuiv
GetVertexAttribIivEXT => GetVertexAttribIiv
GetVertexAttribIuivEXT => GetVertexAttribIuiv
GetVertexAttribPointervNV => GetVertexAttribPointerv
GetVertexAttribdvARB => GetVertexAttribdv
GetVertexAttribfvARB => GetVertexAttribfv
GetVertexAttribivARB => GetVertexAttribiv
IsBufferARB => IsBuffer
IsEnabledIndexedEXT => IsEnabledi
IsFramebufferEXT => IsFramebuffer
IsProgramNV => IsProgramARB
IsQueryARB => IsQuery
IsRenderbufferEXT => IsRenderbuffer
IsVertexArrayAPPLE => IsVertexArray
LightModelxOES => LightModelx
LightModelxvOES => LightModelxv
LightxOES => Lightx
LightxvOES => Lightxv
LineWidthxOES => LineWidthx
LinkProgramARB => LinkProgram
LoadMatrixxOES => LoadMatrixx
LoadTransposeMatrixdARB => LoadTransposeMatrixd
LoadTransposeMatrixfARB => LoadTransposeMatrixf
MapBufferARB => MapBuffer
MaterialxOES => Materialx
MaterialxvOES => Materialxv
MultMatrixxOES => MultMatrixx
MultTransposeMatrixdARB => MultTransposeMatrixd
MultTransposeMatrixfARB => MultTransposeMatrixf
MultiDrawArraysEXT => MultiDrawArrays
MultiTexCoord1dARB => MultiTexCoord1d
MultiTexCoord1dvARB => MultiTexCoord1dv
MultiTexCoord1iARB => MultiTexCoord1i
MultiTexCoord1ivARB => MultiTexCoord1iv
MultiTexCoord1sARB => MultiTexCoord1s
MultiTexCoord1svARB => MultiTexCoord1sv
MultiTexCoord2dARB => MultiTexCoord2d
MultiTexCoord2dvARB => MultiTexCoord2dv
MultiTexCoord2iARB => MultiTexCoord2i
MultiTexCoord2ivARB => MultiTexCoord2iv
MultiTexCoord2sARB => MultiTexCoord2s
MultiTexCoord2svARB => MultiTexCoord2sv
MultiTexCoord3dARB => MultiTexCoord3d
MultiTexCoord3dvARB => MultiTexCoord3dv
MultiTexCoord3iARB => MultiTexCoord3i
MultiTexCoord3ivARB => MultiTexCoord3iv
MultiTexCoord3sARB => MultiTexCoord3s
MultiTexCoord3svARB => MultiTexCoord3sv
MultiTexCoord4dARB => MultiTexCoord4d
MultiTexCoord4dvARB => MultiTexCoord4dv
MultiTexCoord4iARB => MultiTexCoord4i
MultiTexCoord4ivARB => MultiTexCoord4iv
MultiTexCoord4sARB => MultiTexCoord4s
MultiTexCoord4svARB => MultiTexCoord4sv
MultiTexCoord4xOES => MultiTexCoord4x
Normal3xOES => Normal3x
OrthofOES => Orthof
OrthoxOES => Orthox
PointParameterfEXT => PointParameterf
PointParameterfvEXT => PointParameterfv
PointParameteriNV => PointParameteri
PointParameterivNV => PointParameteriv
PointParameterxOES => PointParameterx
PointParameterxvOES => PointParameterxv
PointSizexOES => PointSizex
PolygonOffsetxOES => PolygonOffsetx
PrimitiveRestartIndexNV => PrimitiveRestartIndex
ProvokingVertexEXT => ProvokingVertex
RenderbufferStorageEXT => RenderbufferStorage
RotatexOES => Rotatex
SampleCoverageARB => SampleCoverage
SampleCoveragexOES => SampleCoveragex
ScalexOES => Scalex
SecondaryColor3bEXT => SecondaryColor3b
SecondaryColor3bvEXT => SecondaryColor3bv
SecondaryColor3dEXT => SecondaryColor3d
SecondaryColor3dvEXT => SecondaryColor3dv
SecondaryColor3iEXT => SecondaryColor3i
SecondaryColor3ivEXT => SecondaryColor3iv
SecondaryColor3sEXT => SecondaryColor3s
SecondaryColor3svEXT => SecondaryColor3sv
SecondaryColor3ubEXT => SecondaryColor3ub
SecondaryColor3ubvEXT => SecondaryColor3ubv
SecondaryColor3uiEXT => SecondaryColor3ui
SecondaryColor3uivEXT => SecondaryColor3uiv
SecondaryColor3usEXT => SecondaryColor3us
SecondaryColor3usvEXT => SecondaryColor3usv
SecondaryColorPointerEXT => SecondaryColorPointer
ShaderSourceARB => ShaderSource
TexBufferARB => TexBuffer
TexEnvxOES => TexEnvx
TexEnvxvOES => TexEnvxv
TexParameterIivEXT => TexParameterIiv
TexParameterIuivEXT => TexParameterIuiv
TexParameterxOES => TexParameterx
TexParameterxvOES => TexParameterxv
TransformFeedbackVaryingsEXT => TransformFeedbackVaryings
TranslatexOES => Translatex
Uniform1fARB => Uniform1f
Uniform1fvARB => Uniform1fv
Uniform1iARB => Uniform1i
Uniform1ivARB => Uniform1iv
Uniform1uiEXT => Uniform1ui
Uniform1uivEXT => Uniform1uiv
Uniform2fARB => Uniform2f
Uniform2fvARB => Uniform2fv
Uniform2iARB => Uniform2i
Uniform2ivARB => Uniform2iv
Uniform2uiEXT => Uniform2ui
Uniform2uivEXT => Uniform2uiv
Uniform3fARB => Uniform3f
Uniform3fvARB => Uniform3fv
Uniform3iARB => Uniform3i
Uniform3ivARB => Uniform3iv
Uniform3uiEXT => Uniform3ui
Uniform3uivEXT => Uniform3uiv
Uniform4fARB => Uniform4f
Uniform4fvARB => Uniform4fv
Uniform4iARB => Uniform4i
Uniform4ivARB => Uniform4iv
Uniform4uiEXT => Uniform4ui
Uniform4uivEXT => Uniform4uiv
UniformMatrix2fvARB => UniformMatrix2fv
UniformMatrix3fvARB => UniformMatrix3fv
UniformMatrix4fvARB => UniformMatrix4fv
UnmapBufferARB => UnmapBuffer
UseProgramObjectARB => UseProgram
ValidateProgramARB => ValidateProgram
VertexAttrib1dARB => VertexAttrib1d
VertexAttrib1dvARB => VertexAttrib1dv
VertexAttrib1sARB => VertexAttrib1s
VertexAttrib1svARB => VertexAttrib1sv
VertexAttrib2dARB => VertexAttrib2d
VertexAttrib2dvARB => VertexAttrib2dv
VertexAttrib2sARB => VertexAttrib2s
VertexAttrib2svARB => VertexAttrib2sv
VertexAttrib3dARB => VertexAttrib3d
VertexAttrib3dvARB => VertexAttrib3dv
VertexAttrib3sARB => VertexAttrib3s
VertexAttrib3svARB => VertexAttrib3sv
VertexAttrib4NbvARB => VertexAttrib4Nbv
VertexAttrib4NivARB => VertexAttrib4Niv
VertexAttrib4NsvARB => VertexAttrib4Nsv
VertexAttrib4NubARB => VertexAttrib4Nub
VertexAttrib4NubvARB => VertexAttrib4Nubv
VertexAttrib4NuivARB => VertexAttrib4Nuiv
VertexAttrib4NusvARB => VertexAttrib4Nusv
VertexAttrib4bvARB => VertexAttrib4bv
VertexAttrib4dARB => VertexAttrib4d
VertexAttrib4dvARB => VertexAttrib4dv
VertexAttrib4ivARB => VertexAttrib4iv
VertexAttrib4sARB => VertexAttrib4s
VertexAttrib4svARB => VertexAttrib4sv
VertexAttrib4ubvARB => VertexAttrib4ubv
VertexAttrib4uivARB => VertexAttrib4uiv
VertexAttrib4usvARB => VertexAttrib4usv
VertexAttribDivisorARB => VertexAttribDivisor
VertexAttribI1ivEXT => VertexAttribI1iv
VertexAttribI1uivEXT => VertexAttribI1uiv
VertexAttribI4bvEXT => VertexAttribI4bv
VertexAttribI4svEXT => VertexAttribI4sv
VertexAttribI4ubvEXT => VertexAttribI4ubv
VertexAttribI4usvEXT => VertexAttribI4usv
VertexAttribIPointerEXT => VertexAttribIPointer
VertexAttribPointerARB => VertexAttribPointer
WindowPos2dMESA => WindowPos2d
WindowPos2dvMESA => WindowPos2dv
WindowPos2fMESA => WindowPos2f
WindowPos2fvMESA => WindowPos2fv
WindowPos2iMESA => WindowPos2i
WindowPos2ivMESA => WindowPos2iv
WindowPos2sMESA => WindowPos2s
WindowPos2svMESA => WindowPos2sv
WindowPos3dMESA => WindowPos3d
WindowPos3dvMESA => WindowPos3dv
WindowPos3fMESA => WindowPos3f
WindowPos3fvMESA => WindowPos3fv
WindowPos3iMESA => WindowPos3i
WindowPos3ivMESA => WindowPos3iv
WindowPos3sMESA => WindowPos3s
WindowPos3svMESA => WindowPos3sv

Acked-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
eabbe5c45f5d05822c5f841628afa4008398d553 07-Oct-2012 Mario Kleiner <mario.kleiner@tuebingen.mpg.de> mesa: Don't glPopAttrib() GL_POINT_SPRITE_COORD_ORIGIN on < OpenGL-2.0

The GL_POINT_BIT state attribute GL_POINT_SPRITE_COORD_ORIGIN
is only supported on OpenGL-2.0 or later. Prevent glPopAttrib()
from trying to restore it on OpenGL-1.4 implementations which
support GL_ARB_POINT_SPRITE, as otherwise the sequence...

glPushAttrib(GL_POINT_BIT);
glPopAttrib();

throws an GL_INVALID_ENUM error in glPopAttrib().

See also commit f778174ea1e431a7113f12c12beb4aba9e825a9f

NOTE: This is a candidate for the 9.0 branch.

Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/attrib.c
5b115864d2d6b9a1235dfe510e89ed1a5f6ed3a3 06-Nov-2012 Dave Airlie <airlied@redhat.com> mesa: arb_texture_cube_map_array: fix attrib push/pop

fdo9833 piglit test caught this.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/attrib.c
91b828ea740daa0bff6abb7da03dd18594016091 31-Oct-2012 Paul Berry <stereotype441@gmail.com> dispatch: Delete unused init_dispatch functions.

The new code-generated version of _mesa_create_exec_table() populates
the entire dispatch table (except for dynamic functions) by itself; it
no longer calls separate functions to initialize parts of the dispatch
table. This patch removes those no-longer-needed functions.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/attrib.c
09c006da9f5913e41c161866daadbc3a4ef4e469 10-Oct-2012 Eric Anholt <eric@anholt.net> mesa: Fix comments for NV_vp code that's now only used by other extensions.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
c0120c250945dd4cc56685ab92e053fb60b661e9 10-Oct-2012 Eric Anholt <eric@anholt.net> mesa: Remove support for NV_vertex_program's attribute evaluation.

Note that the MAP2 getters were missing from the implementation. Neat.

v2: Rebase on top of get.c changes.

Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
/external/mesa3d/src/mesa/main/attrib.c
985b0cb22fc5e88e7f572c7ead86f15a21abaee0 11-Sep-2012 Oliver McFadden <oliver.mcfadden@linux.intel.com> mesa: remove FEATURE_attrib_stack define.

Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
2b7a972e3f36bfcdc6fbe2b59d7ffdcde49c9405 04-Sep-2012 Matt Turner <mattst88@gmail.com> Don't cast the return value of malloc/realloc

This patch has been generated by the following Coccinelle semantic
patch:

// Don't cast the return value of malloc/realloc.
//
// Casting the return value of malloc/realloc only stands to hide
// errors.

@@
type T;
expression E1, E2;
@@
- (T)
(
_mesa_align_calloc(E1, E2)
|
_mesa_align_malloc(E1, E2)
|
calloc(E1, E2)
|
malloc(E1)
|
realloc(E1, E2)
)
/external/mesa3d/src/mesa/main/attrib.c
fe72a069d1fcce943f315907b4744b63158938b1 01-Sep-2012 Brian Paul <brianp@vmware.com> mesa: s/FREE/free/

v2: replace instances in dri/common/ dirs

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
33bb8c051df3f2561c7b4a5ad7abefa3fce99d37 01-Sep-2012 Brian Paul <brianp@vmware.com> mesa: s/MALLOC/malloc/

v2: replace instances in dri/common/ dirs

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
1aee8803f83f7ae24d9c2150c70afff2b1ee4c2f 28-Aug-2012 Brian Paul <brianp@vmware.com> mesa: test for GL_EXT_framebuffer_sRGB in glPopAttrib()

To avoid spurious GL_INVALID_ENUM errors if the extension isn't supported.
/external/mesa3d/src/mesa/main/attrib.c
707f0679157f83ac45127e41647b96ed924d45c9 11-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Kill GL_ARB_shadow_ambient with fire

No driver supports this extension, and it seems unlikely than any driver
ever will. I think r300c may have supported it at one time, but that
driver has already been removed.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/attrib.c
4bbd12036819ed6a2d0993c437e0c02bf0c92b0b 01-Aug-2012 Eric Anholt <eric@anholt.net> mesa: Fix glPopAttrib() behavior on GL_FRAMEBUFFER_SRGB.

I happened to notice this while looking at a blit pass in l4d2, which had an
optional push/pop around framebuffer srgb setting. It didn't matter in the
end, but the fix is sitting in my tree now.

Reviewed-by: Brian Paul <brianp@vmware.com>
NOTE: This is a candidate for the 8.0 branch.
/external/mesa3d/src/mesa/main/attrib.c
c37efbfe4c415b6fd2d4f968220d7c9b62f11ecf 12-Jun-2012 Pauli Nieminen <pauli.nieminen@linux.intel.com> mesa: Move DepthMode to texture object

GL_DEPTH_TEXTURE_MODE isn't meant to be part of sampler state based on
compatibility profile specifications.

OpenGL specification 4.1 compatibility 20100725 3.9.2:
"... The values accepted in the pname parameter
are TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_WRAP_R, TEXTURE_MIN_-
FILTER, TEXTURE_MAG_FILTER, TEXTURE_BORDER_COLOR, TEXTURE_MIN_-
LOD, TEXTURE_MAX_LOD, TEXTURE_LOD_BIAS, TEXTURE_COMPARE_MODE, and
TEXTURE_COMPARE_FUNC. Texture state listed in table 6.25 but not listed here and
in the sampler state in table 6.26 is not part of the sampler state, and remains in the
texture object."

The list of states is in Table 6.24 "Textures (state per texture
object)" instead of 6.25 mentioned in the specification text.

Same can be found from 3.3 compatibility specification.

Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/attrib.c
608c3d2083be9de1eadac6dad67cd571888ca5d7 28-Jan-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Restore depth texture state on glPopAttrib(GL_TEXTURE_BIT).

According to Table 6.17 in the GL 2.1 specification, DEPTH_TEXTURE_MODE,
TEXTURE_COMPARE_MODE, and TEXTURE_COMPARE_FUNC need to be restored on
glPopAttrib(GL_TEXTURE_BIT).

Makes a number of oglconform tests happier.

v2: Make restoration conditional on the ARB_shadow and ARB_depth_texture
extensions, as suggested by Brian. I'm not sure that any
implementations still remain that don't support those, but why not?

NOTE: This is a candidate for stable release branches.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/attrib.c
b0e048f0b955ef79e2de794172de053d27d7d8fa 18-Apr-2012 Brian Paul <brianp@vmware.com> mesa: move gl_array_attrib::NewState to gl_array_object::NewArrays

The field wasn't actually used before and it's not used now either.
But this is a more logical place for it and will hopefully allow
doing smarter draw/array validation (per array object) in the future.

Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/attrib.c
784dd51198433e5c299da4a7742c68d21d68d1c1 16-Apr-2012 Marek Olšák <maraeo@gmail.com> mesa,vbo: properly detect when vertex arrays need to be recalculated

This moves the RebindArrays flag into the vbo module, consolidates the code,
and adds missing vbo_draw_method calls.

Also with this change, the vertex arrays are not needlessly recalculated twice.
The issue with the old code was:
- If recalculate_input_bindings updates vp_varying_inputs, _NEW_ARRAY is set.
- _mesa_update_state is called and the vp_varying_inputs change causes
regeneration of the fixed-function shaders, which also sets _NEW_PROGRAM.
- The occurence of either _NEW_ARRAY or _NEW_PROGRAM sets
the recalculate_inputs flag to TRUE again.
- The new code sets the flag to FALSE after the second _mesa_update_state,
because there can't possibly be any change which would require recalculating
the arrays.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/attrib.c
b631b471d86747c8bb20c6c9c413ff1ff2ad6486 13-Feb-2012 Eric Anholt <eric@anholt.net> mesa: Include the multisample enables under GL_MULTISAMPLE_BIT attrib as well.

Fixes (with the previous commit) piglit GL_ARB_multisample/pushpop.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
4b6e45c7d6a60be71540109866c71fe0d2f35569 13-Feb-2012 Eric Anholt <eric@anholt.net> mesa: Fix push/pop of multisample coverage invert.

In the table of of push/pop attributes, this one doesn't fall under
the enable group.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
a1471e4877515e2ce4fcc129c4ce26f5c306b193 01-Feb-2012 Brian Paul <brianp@vmware.com> mesa: reference shared state in glPushAttrib(GL_TEXTURE_BIT)

This fixes a dangling texture object pointer bug hit via wglShareLists().
When we push the GL_TEXTURE_BIT state we may push references to the default
texture objects which are owned by the gl_shared_state object. We don't
want to accidentally delete that shared state while the attribute stack
references shared objects. So keep a reference to it.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
133c5727b58c60afe6467ecbfe07739c7466d8c8 31-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove stray comment in PopAttrib() code
/external/mesa3d/src/mesa/main/attrib.c
34c353ce463960afdf64fa2be1f155b8b7f6c70c 21-Jan-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Don't resurrect deleted ARB VAOs in glPopClientAttrib

When ARB VAOs are used, glPopClientAttrib does not resurrect a deleted
VAO or VBO. This difference between the two spec is, unfortunately,
not very well spelled out in the specs.

Fixes oglc vao(advanced.pushPop.deleteVAO) and
vao(advanced.pushPop.deleteVBO) tests.

NOTE: This is a candidate for release branches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
09639901530da7df7347428512c2bee86af1ef8e 23-Jan-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Rename gl_array_object::VBOonly to ::ARBsemantics

There are more differences between Apple and ARB than just requiring
that all arrays be stored in VBOs. Additional uses will be added in
following commits.

Also, set the flag at Bind time instead of Gen time. The ARB_vao spec
specifies that behavior.

NOTE: This is a candidate for release branches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
478f0d228be1c184adabd1df4dd76a01061b9e24 01-Dec-2011 Brian Paul <brianp@vmware.com> mesa: fix indentation in attrib.c
/external/mesa3d/src/mesa/main/attrib.c
762c9766c93697af8d7fbaa729aed118789dbe8e 31-Oct-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Use VERT_ATTRIB_* indexed array in gl_array_object.

Replace the distinct struct gl_client_array members in gl_array_object by
an array of gl_client_arrays indexed by VERT_ATTRIB_*.
Renumber the vertex attributes slightly to keep the old semantics of the
distinct array members. Make use of the upper 32 bits in VERT_BIT_*.
Update all occurances of the distinct struct members with the array
equivalents.

Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/attrib.c
a0a5bd4bb30a73c10b02c3c3b914940a03f9b790 23-Nov-2011 Yuanhan Liu <yuanhan.liu@linux.intel.com> mesa: move ElementArrayBufferObj to gl_array_object

According opengl spec 4.2.pdf table 6.12 (Vertex Array Object State) at
page 515, the element buffer object is listed in vertex array object.

So, move the ElementArrayBufferObj inside gl_array_object to make
element buffer object per-vao.

This would fix most of(3 left) intel oglc vao test fail

NOTE: this is a candidate for the 7.11 branch.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
0c87f16817ff0bf1f05e0d634944fd47b097faee 23-Oct-2011 Chia-I Wu <olv@lunarg.com> mesa: add support for GL_OES_EGL_image_external

This is an OpenGL ES specific extension. External textures are textures that
may be sampled from, but not be updated (no glTexSubImage* and etc.). The
image data are taken from an EGLImage.

Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
597df3efdaa06d7c6a834bcaed8e6d5806be0cb5 19-Oct-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Fix multithreaded buffer object refcounting.

Buffer objects may be shared across contexts.
Rework the array attrib push/pop implementation
to be thread safe. Make use of more library functions
for this purpose.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/attrib.c
dd9574d7a585bd470f2fe28f73e6d31430293dc9 01-Oct-2011 Brian Paul <brianp@vmware.com> mesa: number of combiner terms to pop depends on GL_NV_texture_env_combine4

If GL_NV_texture_env_combine4 is not supported, setting the fourth
combiner term would generate a GL error.
Of course, I noticed this right after committing the previous patch
to use a loop in the first place. <sigh>

Note that GL_EXT_texture_env_combine is always supported so the first
three combiner terms are always accepted.
/external/mesa3d/src/mesa/main/attrib.c
b15ab1d2283f9c856f6ed4381e22216b9711a2ed 01-Oct-2011 Brian Paul <brianp@vmware.com> mesa: use !! to simplify some _mesa_set_enable() calls in attrib.c

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
986a9bb1806174b70b756165ece555856a705dfb 01-Oct-2011 Brian Paul <brianp@vmware.com> mesa: use loop in pop_texture_group() to restore 4 combiner terms

There's four combiner terms (not 3) with GL_NV_texture_env_combine4.
Use a loop to make the code a little more compact.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
f9a2352c9569ef562e9507bfe09358f236aaf4b7 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_texture_lod_bias extension enable flag

All drivers remaining in Mesa support this extension. This extension
is either required or optional features in desktop OpenGL, OpenGL ES
1.x, and OpenGL ES 2.x.

This extension was previously not supported on mach64, mga, or r128.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
bde8bd99b64876b47f9d335320eb1ad5b3be8d9d 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_texture_env_combine extension enable flag

All drivers remaining in Mesa support this extension. This extension
is either required or optional features in desktop OpenGL, OpenGL ES
1.x, and OpenGL ES 2.x. The existing support is already partially
broken in Mesa (e.g., querying GL_TEXTURE_ENV_MODE in OpenGL ES 2.x).
This patch does not change the situation in any way.

It looks like the only hardware supported by Mesa that cannot do
ARB_texture_env_combine is pre-NV10 NVIDA chips. It appears that
these chips cannot do the GL_SUBTRACT mode. Based on looking at older
copies of nvOpenGLspecs.pdf found on the net, NVIDIA never supported
ARB_texture_env_combine on those chips either.

This extension was previously not supported on mach64, mga (G200),
r128, savage, sis, and tdfx (Voodoo Banshee and Voodoo3).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/attrib.c
9e9a76eea17bc92c8ac74323c99e10b9480ee583 22-Sep-2011 Brian Paul <brianp@vmware.com> mesa: remove support for GL_APPLE_client_storage extension

AFAIK, there are few users of this extension and I can see a couple
reasons why this is probably broken in Mesa anyway.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/attrib.c
27bdc76eb92b11bcd61b829bd1372866cb9ef304 08-Sep-2011 Paul Berry <stereotype441@gmail.com> mesa: Update clipping code to use ctx->Const.MaxClipPlanes.

To support GLSL 1.30, we will need to increase MAX_CLIP_PLANES to 8.
To avoid breaking drivers that do not yet support 8 clip planes, this
patch modifies the Mesa core code that pertains to clipping to use
ctx->Const.MaxClipPlanes rather than MAX_CLIP_PLANES, since
ctx->Const.MaxClipPlanes will remain 6 for drivers that only support 6
clip planes.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/attrib.c
093dc9e548537e6c77e33064a584f849ad90dfa5 12-Sep-2011 Dave Airlie <airlied@redhat.com> mesa: introduce a clear color union to be used for int/unsigned buffers

This introduces a new gl_color_union union and moves the current
ClearColorUnclamped to use it, it removes current ClearColor completely and
renames CCU to CC, then all drivers are modified to expected unclamped floats instead.

also fixes st to use translated color in one place it wasn't.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/attrib.c
ecfaab88b2577bd0395bc05d75a036126806a9c4 10-Apr-2011 Brian Paul <brianp@vmware.com> mesa: move sampler state into new gl_sampler_object type

gl_texture_object contains an instance of this type for the regular
texture object sampling state. glGenSamplers() generates new instances
of gl_sampler_object which can override that state with glBindSampler().
/external/mesa3d/src/mesa/main/attrib.c
53245fffc022e5fc18c847e799f65c6b91e7378a 06-Apr-2011 Brian Paul <brianp@vmware.com> mesa: fix popping of texture state for GL_TEXTURE_BUFFER

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=36032
/external/mesa3d/src/mesa/main/attrib.c
e5c6a92a12b5cd7db205d72039f58d302b0be9d5 15-Feb-2011 Marek Olšák <maraeo@gmail.com> mesa: implement clamping controls (ARB_color_buffer_float)

Squashed commit of the following:

Author: Marek Olšák <maraeo@gmail.com>

mesa: fix getteximage so that it doesn't clamp values
mesa: update the compute_version function
mesa: add display list support for ARB_color_buffer_float
mesa: fix glGet query with GL_ALPHA_TEST_REF and ARB_color_buffer_float

commit b2f6ddf907935b2594d2831ddab38cf57a1729ce
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Tue Aug 31 16:50:57 2010 +0200

mesa: document known possible deviations from ARB_color_buffer_float

commit 5458935be800c1b19d1c9d1569dc4fa30a97e8b8
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Tue Aug 24 21:54:56 2010 +0200

mesa: expose GL_ARB_color_buffer_float

commit aef5c3c6be6edd076e955e37c80905bc447f8a82
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:12:34 2010 +0200

mesa, mesa/st: handle read color clamping properly

(I'll squash the st/mesa part to a separate commit. -Marek)

We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where
the operation mandates it.

TODO: did I get the set of operations mandating it right?

commit 3a9cb5e59b676b6148c50907ce6eef5441677e36
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:09:41 2010 +0200

mesa: respect color clamping in texenv programs (v2)

Changes in v2:
- Fix attributes other than vertex color sometimes getting clamped

commit de26f9e47e886e176aab6e5a2c3d4481efb64362
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:05:53 2010 +0200

mesa: restore color clamps on glPopAttrib

commit a55ac3c300c189616627c05d924c40a8b55bfafa
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:04:26 2010 +0200

mesa: clamp color queries if and only if fragment clamping is enabled

commit 9940a3e31c2fb76cc3d28b15ea78dde369825107
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Wed Aug 25 00:00:16 2010 +0200

mesa: introduce derived _ClampXxxColor state resolving FIXED_ONLY

To do this, we make ClampColor call FLUSH_VERTICES with the appropriate
_NEW flag.

We introduce _NEW_FRAG_CLAMP since fragment clamping has wide-ranging
effects, despite being in the Color attrib group.

This may be easily changed by s/_NEW_FRAG_CLAMP/_NEW_COLOR/g

commit 6244c446e3beed5473b4e811d10787e4019f59d6
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 17:58:24 2010 +0200

mesa: add unclamped color parameters
/external/mesa3d/src/mesa/main/attrib.c
9d20849516fe34bb0a430b007cef7878858cf0c7 01-Mar-2011 Brian Paul <brianp@vmware.com> mesa: remove GL_SGI_texture_color_table support

It was only implemented in the swrast driver and probably not used by
any applications. A modern app would use a dependent/chained texture
lookup in the fragment shader.
/external/mesa3d/src/mesa/main/attrib.c
74713e2d293f9e796a4053a5a99ee5cb7df5c740 11-Jan-2011 Brian Paul <brianp@vmware.com> mesa: begin implementation of GL_ARB_draw_buffers_blend
/external/mesa3d/src/mesa/main/attrib.c
db61b9ce39bccc43140357652ceb78baaf2aea44 07-Jan-2011 Vinson Lee <vlee@vmware.com> mesa: Directly include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/main/attrib.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/attrib.c
a62efdf82c20747feb11dfd7756f0579aa914b57 10-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Remove EXT_convolution.

More optional code.
/external/mesa3d/src/mesa/main/attrib.c
6c227e57e69158e4da40c69322db0eac4c31086c 10-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Remove SGI_color_table.

Another optional ARB_imaging subset extension.
/external/mesa3d/src/mesa/main/attrib.c
7126e38d9037da66fd531c4cb02b3843b68b84ff 10-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Remove EXT_histogram.

This has always been optional, and not useful.
/external/mesa3d/src/mesa/main/attrib.c
bddbdd624f407604e0c306b05201970688411e89 30-Jul-2010 Vinson Lee <vlee@vmware.com> mesa: Include macros.h in attrib.c for COPY_4FV symbol.
/external/mesa3d/src/mesa/main/attrib.c
d6164a2ef3d5254200fab6307c77b8c69ae0a41a 12-May-2010 Brian Paul <brianp@vmware.com> mesa: remove unused header
/external/mesa3d/src/mesa/main/attrib.c
2cf44390d1e819f23e1d7ceb3199276c9148c647 23-Feb-2010 Chia-I Wu <olv@lunarg.com> mesa: Move src/mesa/glapi/dispatch.h to mesa.

glapi/dispatch.h is a core Mesa header file. Move the header file to
main/ to make this clear. It also becomes clear after this change that
IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
/external/mesa3d/src/mesa/main/attrib.c
32f2fd1c5d6088692551c80352b7d6fa35b0cd09 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
/external/mesa3d/src/mesa/main/attrib.c
e197de56cdb86835f1437688a9161cd909792d80 19-Feb-2010 Brian Paul <brianp@vmware.com> mesa: replace old MEMCPY macro with memcpy
/external/mesa3d/src/mesa/main/attrib.c
c7ac486261ad30ef654f6d0b1608da4e8483cd40 19-Feb-2010 Kenneth Graunke <kenneth@whitecape.org> Remove _mesa_memcpy in favor of plain memcpy.

This may break the SUNOS4 build, but it's no longer relevant.
/external/mesa3d/src/mesa/main/attrib.c
cd8614b0287dc5a69725ec4ee0208fad61f7789e 22-Jan-2010 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
src/gallium/auxiliary/pipebuffer/Makefile
src/gallium/auxiliary/pipebuffer/SConscript
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/drivers/i915/i915_surface.c
src/gallium/drivers/i915/i915_texture.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/softpipe/sp_prim_vbuf.c
src/gallium/state_trackers/xorg/xorg_dri2.c
src/gallium/winsys/drm/intel/gem/intel_drm_api.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
src/gallium/winsys/drm/radeon/core/radeon_drm.c
src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c
src/mesa/state_tracker/st_cb_clear.c
45a27eacd6301078c6f62682193dda3141088fe2 19-Jan-2010 Vinson Lee <vlee@vmware.com> mesa: Remove unnecessary header from attrib.c.
/external/mesa3d/src/mesa/main/attrib.c
f6c2d1f94ffa8f87b22ed1ff5c465d0e9aa1489e 05-Jan-2010 Brian Paul <brianp@vmware.com> mesa: make texture BorderColor a union of float/int/uint

When we have integer-valued texture formats, the texture border color
must also store integer and uint values.

With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions
can set the border color to int or uint values.
/external/mesa3d/src/mesa/main/attrib.c
5ac16495a2772886100789f04e1a7d65068e9a40 05-Jan-2010 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
docs/relnotes.html
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
src/gallium/drivers/r300/r300_cs.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/main/enums.c
6130bb13913090f7477d3dab5662c7e80c7b9293 04-Jan-2010 Vinson Lee <vlee@vmware.com> mesa: Prevent possible array out-of-bounds access by _mesa_light.
/external/mesa3d/src/mesa/main/attrib.c
1677d5c0aebe8edb54aa3236294acede536013f3 30-Dec-2009 Brian Paul <brianp@vmware.com> mesa: fix-up blend enable/disable code in _mesa_PopAttrib()
/external/mesa3d/src/mesa/main/attrib.c
36092fa2d82b9f31b37260d97a2c671e49c7579a 30-Dec-2009 Brian Paul <brianp@vmware.com> mesa: finish-up indexed color mask code in _mesa_PopAttrib()
/external/mesa3d/src/mesa/main/attrib.c
fd5511d27fc44096117c47ab503fb5b47f993061 30-Dec-2009 Brian Paul <brianp@vmware.com> mesa: implement per-buffer color masking

This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0.

The ctx->Color.ColorMask field is now a 2-D array. Until drivers are
modified to support per-buffer color masking, they can just look at
the 0th color mask.

The new _mesa_ColorMaskIndexed() function will be called by
glColorMaskIndexedEXT() or glColorMaski().
/external/mesa3d/src/mesa/main/attrib.c
3728673bd1b974e54858fbab6ff62d3607b0d3f0 29-Dec-2009 Brian Paul <brianp@vmware.com> mesa: per-buffer blend enabled flags

ctx->Color.BlendEnabled is now a GLbitfield instead of a GLboolean to
indicate blend on/off status for each color/draw buffer.

This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x

New functions include _mesa_EnableIndexed(), _mesa_DisableIndexed(), and
_mesa_IsEnabledIndexed(). The enable function corresponds to
glEnableIndexedEXT() for GL_EXT_draw_buffers2 or glEnablei() for GL3.

Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in
drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0
unless GL_EXT_draw_buffers2 is enabled.
/external/mesa3d/src/mesa/main/attrib.c
2b36db496d34c60a3f987fa88d52bf5684713240 07-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Make FEATURE_attrib_stack follow feature conventions.

As shown in mfeatures.h, this allows users of attrib.h to work without
knowing if the feature is available.
/external/mesa3d/src/mesa/main/attrib.c
b4922b533155cc139ebafb111502bb55d2ad2ccf 26-Aug-2009 Eric Anholt <eric@anholt.net> mesa: Add support for ARB_depth_clamp.

This currently doesn't include fixing up the cliptests in the assembly
paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
/external/mesa3d/src/mesa/main/attrib.c
101c2f907e71b7c5e14dcd899389155ea802b2af 07-Aug-2009 Brian Paul <brianp@vmware.com> mesa: simplify glPushAttrib() list building code
/external/mesa3d/src/mesa/main/attrib.c
b96ae1b2c463d6d99ee0418083ef68f4027b7cd7 18-Jul-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
progs/glsl/multitex.c
src/mesa/main/enums.c
src/mesa/main/state.c
src/mesa/main/texenvprogram.c
src/mesa/main/version.h
9aca6769dfb934e15e848f938b7fb31345a8b3b2 14-Jul-2009 Brian Paul <brianp@vmware.com> mesa: fix texture border color code for glPopAttrib()

The texture object's border color used to be stored as GLchan but it's
been GLfloat for a while now.
/external/mesa3d/src/mesa/main/attrib.c
19ca5ee1db002db48fd3d2ff665670a9bc8d699b 21-May-2009 Brian Paul <brianp@vmware.com> mesa: fix some potential state-restore issues in pop_texture_group()

Call the _mesa_set_enable() functions instead of driver functions, etc.

Also, add missing code for 1D/2D texture arrays.
(cherry picked from commit aac19609bfd7c950b2577489b06886c8a8097bb2)
/external/mesa3d/src/mesa/main/attrib.c
8091aa86337b5541e70f0a83bc9b13c55faec559 22-May-2009 Brian Paul <brianp@vmware.com> mesa: use Elements() for loop limit
/external/mesa3d/src/mesa/main/attrib.c
180df4d328166a21fa9bb847b52ec1ba8f95dfcc 22-May-2009 Brian Paul <brianp@vmware.com> mesa: simplify adjust_buffer_object_ref_counts()
/external/mesa3d/src/mesa/main/attrib.c
aac19609bfd7c950b2577489b06886c8a8097bb2 21-May-2009 Brian Paul <brianp@vmware.com> mesa: fix some potential state-restore issues in pop_texture_group()

Call the _mesa_set_enable() functions instead of driver functions, etc.

Also, add missing code for 1D/2D texture arrays.
/external/mesa3d/src/mesa/main/attrib.c
d82876e850960eb5e3799c4ab02b618c4b548fd8 16-Apr-2009 Lars Henning Wendt <lhwendt@igd.fhg.de> mesa: fix bad mask bit in clip plane restore code for glPopAttrib()
/external/mesa3d/src/mesa/main/attrib.c
7391ba1e9d81f15465059db25d1279eefdbeb1a9 03-Apr-2009 Brian Paul <brianp@vmware.com> mesa: rename some gl_light fields to be clearer

EyeDirection -> SpotDirection
_NormDirection -> _NormSpotDirection
/external/mesa3d/src/mesa/main/attrib.c
2c3785159574e6c8640b6af3ce2ef561d095f324 07-Mar-2009 Brian Paul <brianp@vmware.com> mesa: move glViewport and glDepthRange functions into new viewport.c file

A bit of refactoring with an eye toward ES2 and GL 3.1
/external/mesa3d/src/mesa/main/attrib.c
7f25d9ebb4856273c46ea4bbba4152b85f610a91 28-Feb-2009 Brian Paul <brianp@vmware.com> mesa: move gl_attrib_node struct to attrib.c too
/external/mesa3d/src/mesa/main/attrib.c
55399c29511a47bd52c39862a246f29e6f35c3cf 28-Feb-2009 Brian Paul <brianp@vmware.com> mesa: move gl_enable_attrib struct to attrib.c, the only place it's used
/external/mesa3d/src/mesa/main/attrib.c
9818734e0148510967ca9ee0d1aa8b196b509f02 21-Feb-2009 Brian Paul <brianp@vmware.com> mesa: use an array for current texture objects

Use loops to consolidate lots of texture object code.
/external/mesa3d/src/mesa/main/attrib.c
9705cff2033f1771a39ac3bb78eb5fcea522218a 21-Feb-2009 Brian Paul <brianp@vmware.com> mesa: re-org texgen state

New gl_texgen struct allows quite a bit of code reduction.
/external/mesa3d/src/mesa/main/attrib.c
19dff5efc1e348d037b1b3cdfb9ac91020ecde4d 12-Feb-2009 Brian Paul <brianp@vmware.com> mesa: don't include m_xform.h where not needed
/external/mesa3d/src/mesa/main/attrib.c
88e0b92a747d9b14885010029133fa1221696e5e 30-Jan-2009 Brian Paul <brianp@vmware.com> mesa: remove incorrect refcounting adjustment in adjust_buffer_object_ref_counts()

Fixes bug 19835. However, a more elaborate fix should be implemented someday
which uses proper reference counting for gl_array_object.
/external/mesa3d/src/mesa/main/attrib.c
8aa209c766b79144db499063dd1c8482562b07bf 28-Jan-2009 Ian Romanick <idr@freedesktop.org> Make GL_ARB_draw_buffers mandatory

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/attrib.c
33fa5e4bfad8005f09ad3c9fc92c40fa863935d1 28-Jan-2009 Ian Romanick <idr@freedesktop.org> Make GL_ARB_texture_compression mandatory

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/attrib.c
26da28c995557c8b913e5ccfe31b31dc32e6c735 29-Jan-2009 Brian Paul <brianp@vmware.com> mesa: remove GL_SGIX_shadow, GL_SGIX_shadow_ambient and GL_SGIX_depth_texture

Everyone should be using the newer/better ARB versions of these extensions.
/external/mesa3d/src/mesa/main/attrib.c
e9b34885b8ff2ccb67a801cd1ce07e0df1b0e397 31-Dec-2008 Brian Paul <brianp@vmware.com> mesa: increase max texture image units and GLSL samplers to 16

The max texture coord units is still 8. All the fixed-function paths are
still limited to 8 too. But GLSL shaders can use more samplers now.

Note that some texcoord-related data structures are declared to be 16
elements in size rather than 8. This just simplifies the code in a few
places; the extra elements aren't accessible to the user.

These changes haven't been extensively tested yet, but sanity checking has
been done.

It should be possible to increase the max image units/samplers to 32 without
doing anything special. Beyond that we'll need longer bitfields in a few
places.
/external/mesa3d/src/mesa/main/attrib.c
ae1fdc15238498bf025d0f0be7337e2f9dda455f 12-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move glTexParameter-related functions into new texparam.c file
/external/mesa3d/src/mesa/main/attrib.c
11ebfd22bb451f86a492254b77c90aeb011f8d9a 12-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move glTexEnv-related functions into new texenv.c file
(cherry picked from commit 7ecac78ab53016ae3db3dd601b187cb050037463)
/external/mesa3d/src/mesa/main/attrib.c
10db6c2d81506bb8cc5165d07b01e93d3830978d 12-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move glTexGen-related functions into new texgen.c file
(cherry picked from commit 27049189d6221fefe43eb55846efaa51742dcdf4)
/external/mesa3d/src/mesa/main/attrib.c
c132e2b1db855b3c33d8b879c4a986011d631d43 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move multisample-related functions into new multisample.c file
/external/mesa3d/src/mesa/main/attrib.c
e48defc98045f419e71ca13e4f45470b2336ecaf 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to framebuffer.c
(cherry picked from commit 9091015a9782ad15e58540a8fd61df83ea2bfe31)
/external/mesa3d/src/mesa/main/attrib.c
55e341c4c2e5a6f3475a8a3e6389b904f99a6d1a 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move scissor functions into new scissor.c file
(cherry picked from commit 4be7296bfcba22a849f949d105ea385e6964cc25)
/external/mesa3d/src/mesa/main/attrib.c
9228f1c881b7574d75f6ef4dfa5e06aba398ed02 05-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: remove EXT/NV suffixes from _mesa_PointParameter functions
/external/mesa3d/src/mesa/main/attrib.c
11d694b1bb0cb384d802d7e0e252cf5119febb98 05-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()
/external/mesa3d/src/mesa/main/attrib.c
37c74af01ce52b603f565a6c8a9094500d5cb87a 04-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: improved gl_buffer_object reference counting

Use new _mesa_reference_buffer_object() function wherever possible.
Fixes buffer object/display list crash reported in ParaView.
/external/mesa3d/src/mesa/main/attrib.c
3c9862d337244e305dc39bdd0a48e254c9766ec8 21-Mar-2008 Brian <brian.paul@tungstengraphics.com> include varray.h to silence warning
/external/mesa3d/src/mesa/main/attrib.c
0819b25dfba326c3d32b3b0af5d77e53d1973890 17-Mar-2008 Xiang, Haihao <haihao.xiang@intel.com> mesa: avoid to unlock an unlocked array in _mesa_PopClientAttrib
/external/mesa3d/src/mesa/main/attrib.c
5857e988be9317810cf713478195b4ed849eea4a 02-Feb-2008 Eric Anholt <eric@anholt.net> Allow first != 0 in mesa CVA handling, and add more error checking.
/external/mesa3d/src/mesa/main/attrib.c
b59dbd822f353cbf0db404f14c2721c79cde79fc 28-Oct-2007 Alan Hourihane <alanh@tungstengraphics.com> Only set R_MODE with NV_point_sprite
/external/mesa3d/src/mesa/main/attrib.c
0135ff512d25b221d1a4cf9a5d344420d4ad3341 16-Aug-2007 Brian <brian.paul@tungstengraphics.com> replace separate 1D/2D/etc fields with an array indexed by texture target
/external/mesa3d/src/mesa/main/attrib.c
145d762044f795bf9d68f28079cc5e5d3056920e 16-Aug-2007 Brian <brian.paul@tungstengraphics.com> Bring over the texobj refcounting changes from mesa_7_0_branch
/external/mesa3d/src/mesa/main/attrib.c
9e01b915f1243a3f551cb795b7124bd1e52ca15f 13-Aug-2007 Brian <brian.paul@tungstengraphics.com> Implement mutex/locking around texture object reference counting.

Use new _mesa_reference_texobj() function for referencing/unreferencing
textures. Add new assertions/tests to try to detect invalid usage of
deleted textures.
/external/mesa3d/src/mesa/main/attrib.c
a1bc0d0f51c2aa248a349283c3b86ae2c72af4aa 18-Jul-2007 Roland Scheidegger <sroland@tungstengraphics.com> fix mesa's handling of fbo's / window fb (again)

Make sure the relevant fields in window fbs get updated at appropriate time
(those are NOT the same as fbos!!!), and fix up related code accordingly.
This is a bit ugly, but there's a reason the issues section in EXT_fbo is
a couple hundred pages long...
Hopefully correct now.
/external/mesa3d/src/mesa/main/attrib.c
f116aed1ede0d802e9f3c5989290002975c00330 24-May-2007 Brian <brian.paul@tungstengraphics.com> restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049
/external/mesa3d/src/mesa/main/attrib.c
e5ed09e60e32cf7d5afc778321e417ea97fe8494 24-May-2007 Brian <brian.paul@tungstengraphics.com> incr/decr 1D/2DArray texture refcounts like other targets
/external/mesa3d/src/mesa/main/attrib.c
a2305ebfa213adb16e72d1a819895a68991c9462 19-May-2007 Brian <brian@yutani.localnet.net> need to copy new 1D/2D array texture objects in _mesa_PushAttrib()
/external/mesa3d/src/mesa/main/attrib.c
bb372f1c9bc08e8b0dca983cb4ba36b2f2f039fb 17-May-2007 Ian Romanick <idr@us.ibm.com> Initial implementation of MESA_texture_array

Shadow sampling from texture arrays is still not implemented. Everything
else should be there, though.
/external/mesa3d/src/mesa/main/attrib.c
41fc55dd81ebf1def2d4a8df8fee849d6e97eaab 17-Apr-2007 Brian <brian@yutani.localnet.net> don't set GL_TEXTURE_MAX_LEVEL for GL_TEXTURE_RECTANGLE_ARB as that generates an error
/external/mesa3d/src/mesa/main/attrib.c
7573b58db659b32f3589fc955959710d44353239 16-Mar-2007 Brian <brian@yutani.localnet.net> Colortable re-org.

The pixel transfer path has three color table lookups.
Use an array [3] to store that info, rather than separate variables.
/external/mesa3d/src/mesa/main/attrib.c
7da7404fdf1be778534d2d155072114e3f92226a 05-Jan-2007 Brian <brian@yutani.localnet.net> Fix glPush/PopClientAttrib() for VBO state (bug 9445).
/external/mesa3d/src/mesa/main/attrib.c
7cc5522f86026a5058e4594a51685e96de2ca91a 20-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> fix glPopAttrib/color material bug #9091
/external/mesa3d/src/mesa/main/attrib.c
5ac93f86210eb5c2a8dee74ec19b0ecd54376863 01-Nov-2006 Keith Whitwell <keith@tungstengraphics.com> Merge texmem-0-3-branch.
/external/mesa3d/src/mesa/main/attrib.c
5c488dcab2cef6c851e9d54f03168e4dee805102 04-Aug-2006 Brian Paul <brian.paul@tungstengraphics.com> fix bug when pushing ReadBuffer state for GL_PIXEL_MODE_BIT
/external/mesa3d/src/mesa/main/attrib.c
0e0e3b05ab09045c275cc7d43bb753ba99a3c557 12-Jun-2006 Brian Paul <brian.paul@tungstengraphics.com> include arrayobj.h
/external/mesa3d/src/mesa/main/attrib.c
ee34e6ef716bb630440299ac1efbc2055ef09ffd 12-Jun-2006 Ian Romanick <idr@us.ibm.com> Add support for GL_APPLE_vertex_array_object. Several test programs
and demos are also added.

Adding basic support to drivers should be as easy as just enabling the
extension, though thorough test would also be required.
/external/mesa3d/src/mesa/main/attrib.c
2f92adb9e03c84dc6a6e0f90ba1a5c1ada4d6964 22-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> Fix yet another issue with popping GL_DRAW_BUFFER state with respect to
single vs. multiple outputs and what kind of FBO is currently bound.
/external/mesa3d/src/mesa/main/attrib.c
730b26556bf0f82385059dfcb7488f4b9b349118 14-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> When popping GL_DRAW_BUFFER state, need to re-do error checking since
validity depends on whether a window-system FBO or user-created FBO is
currently bound. glPopAttrib() may generate GL_INVALID_OPERATION because
of this.
/external/mesa3d/src/mesa/main/attrib.c
e1e03b32ab651e992f7b979eba046fdc84fedf2e 03-Mar-2006 Roland Scheidegger <rscheidegger@gmx.ch> Use standard ARB names instead of vendor-specific NV names for the ARB/NV_vertex_program enums in common state handling code, and update comments accordingly. Change some slightly confusing code which gave the impression GL_VERTEX_PROGRAM_ARB and GL_VERTEX_PROGRAM_NV enums were different.
/external/mesa3d/src/mesa/main/attrib.c
1add059bd114f90e32c4b574be411d314eca6d90 14-Dec-2005 Brian Paul <brian.paul@tungstengraphics.com> Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can be
done with fragment programs nowadays.
/external/mesa3d/src/mesa/main/attrib.c
662fbf8a629d93ae210837fefc0765381bf0b708 12-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Added _mesa_light() helper function so we can avoid transforming then
un-transforming light positions and spot directions when popping light
state off the attribute stack.
/external/mesa3d/src/mesa/main/attrib.c
418a7dbd75bf02731bce9d373d7816bab8f3730e 10-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some comments
/external/mesa3d/src/mesa/main/attrib.c
6297799fee30bb3a7e875c22d5f827e902f5ebbc 10-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> fix popping of GL_SPOT_DIRECTION (bug 5005)
/external/mesa3d/src/mesa/main/attrib.c
a8446f72f45008974e356d103c2961d334a825c3 09-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> fix popping of GL_EYE_PLANE state (bug 4996)
/external/mesa3d/src/mesa/main/attrib.c
878c371e6cf6eb28afacc482d8aeaa0119f00d5b 13-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Replace ctx->Driver.StencilOp/Func/Mask() functions with
ctx->Driver.Stencil*Separate() functions.
/external/mesa3d/src/mesa/main/attrib.c
42c34efd23d7ad05df9f3c71f7d52dd259e179d8 13-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> OpenGL 2.0's two-sided stencil feature wasn't implemented correctly.
See comment near top of stencil.c for info about OpenGL 2.0 vs.
GL_EXT_stencil_two_side.
/external/mesa3d/src/mesa/main/attrib.c
2c8524b4fb4aa8e56a6b2646b0a8e21732e7aed4 31-Aug-2005 Brian Paul <brian.paul@tungstengraphics.com> remove dead code, update comments
/external/mesa3d/src/mesa/main/attrib.c
6e4f594a02fc384b17d5732be652d7d28618aec2 25-Aug-2005 Brian Paul <brian.paul@tungstengraphics.com> removed GL_HP_occlusion_test extension
/external/mesa3d/src/mesa/main/attrib.c
049e320f46f3a3daaa36ef67cc680dc504c124d5 30-Jun-2005 Brian Paul <brian.paul@tungstengraphics.com> Add a set of predicate functions for testing matrices instead of directly
testing the flags field.
Move definition of all the MAT_FLAGs into the m_matrix.c file since they're
now private.
/external/mesa3d/src/mesa/main/attrib.c
d322810e13f8fed7d7830e5ba9ca02bd9fd72340 27-May-2005 Brian Paul <brian.paul@tungstengraphics.com> properly pop the GL_TEXTURE_GEN_ enable state
/external/mesa3d/src/mesa/main/attrib.c
e4b2356c07d31fbeeabb13b2fb47db703b473080 04-May-2005 Brian Paul <brian.paul@tungstengraphics.com> Major check-in of changes for GL_EXT_framebuffer_object extension.
Main driver impacts:
- new code for creating the Mesa GLframebuffer
- new span/pixel read/write code
Some drivers not yet updated/tested.
/external/mesa3d/src/mesa/main/attrib.c
f76be3d6f2b054e5316aeb7b265ed28bda28c8ae 22-Nov-2004 Daniel Borca <dborca@users.sourceforge.net> handle ENABLE_BIT for EXT_stencil_two_side
/external/mesa3d/src/mesa/main/attrib.c
fd9b30750a0690a1fd13fcddb9141cdcaa61b117 15-Nov-2004 Daniel Borca <dborca@users.sourceforge.net> use parentheses to avoid warning
/external/mesa3d/src/mesa/main/attrib.c
79a98dea915463803ee13768ee0cacf9b547d963 12-Nov-2004 Daniel Borca <dborca@users.sourceforge.net> pop(stencil) for EXT_stencil_two_side
/external/mesa3d/src/mesa/main/attrib.c
53f82c5aadbb15585754bfacf3237093eccdb2ce 02-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> added support for GL_ARB_draw_buffers
/external/mesa3d/src/mesa/main/attrib.c
c3912b66abb23ce2db00723a4cb79ac84ae4a086 13-Sep-2004 Brian Paul <brian.paul@tungstengraphics.com> Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*().
Define 2.0 point-sprite related tokens in glheader.h (temporary).
/external/mesa3d/src/mesa/main/attrib.c
a9ea1628da5f17274cd7ee023f438046dc992073 13-Sep-2004 Daniel Borca <dborca@users.sourceforge.net> changes towards GL_ARB_point_sprite (two-zero)
/external/mesa3d/src/mesa/main/attrib.c
7a6b71ef2944bae1718e8167b2faaceb8422071c 13-Mar-2004 Brian Paul <brian.paul@tungstengraphics.com> Implementation of GL_EXT_pixel_buffer_object extension.
Note: extension may not be finalized yet - subject to change!
Note: implementation not fully suitable for h/w implementation yet.
/external/mesa3d/src/mesa/main/attrib.c
2020278d06f927eed0bcba919f70846df090fc45 11-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> Do more bookkeeping of vertex buffer object reference counts.
Incr/decr counts when doing glPush/PopClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT).
/external/mesa3d/src/mesa/main/attrib.c
07d6a983595b7ee52c8448fc579d952ce36472b8 06-Feb-2004 Ian Romanick <idr@us.ibm.com> Refactor "class" texture environments to be implemented in terms of
ARB_texture_env_combine state.
/external/mesa3d/src/mesa/main/attrib.c
c93105eb9e2499efb237fd89dba0cebd48f18375 27-Jan-2004 Ian Romanick <idr@us.ibm.com> Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.
The internal driver interface was also changed to use
BlendEquationSeparate instead of BlendEquation.
/external/mesa3d/src/mesa/main/attrib.c
c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8c 22-Oct-2003 Kendall Bennett <KendallB@scitechsoft.com> Added GLAPIENTRY decorations for all first level OpenGL API function entry
points so that the calling conventions will work correctly with the assembler
stubs with the Open Watcom compiler.
/external/mesa3d/src/mesa/main/attrib.c
63736723678ef30e7f90835cfbd48c520e39bf11 23-Aug-2003 Ian Romanick <idr@us.ibm.com> Trivial changes to add support for GL_ARB_point_sprite, which is a
subset of GL_NV_point_sprite (which was already supported).
/external/mesa3d/src/mesa/main/attrib.c
ff56908e09c0351179478deb19677cf56eec1f64 05-Aug-2003 Keith Whitwell <keith@tungstengraphics.com> Store material attributes in an Attrib[] style array. This is a
first step to reviving/rescuing the 'vtx' rework from the old mesa
tree.
/external/mesa3d/src/mesa/main/attrib.c
6dc85575000127630489b407c50a4b3ea87c9acb 17-Jul-2003 Keith Whitwell <keith@tungstengraphics.com> Merge Jose's documentation and core Mesa changes from embedded branch
/external/mesa3d/src/mesa/main/attrib.c
9ac51f57efe07ed43a1e4224a7f5daddec401b36 05-Jun-2003 Ian Romanick <idr@us.ibm.com> Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
/external/mesa3d/src/mesa/main/attrib.c
66dce0875ee6ed61fcfca56f23b367e75f1c9584 05-Feb-2003 Brian Paul <brian.paul@tungstengraphics.com> fix bug in popping texture color table state
/external/mesa3d/src/mesa/main/attrib.c
45b47d079f6a749c15498a6cef78d891f8acb665 26-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> Make GL_SGI_texture_color_table work per-texture unit.
Clean-up and optimize _swrast_texture_table_lookup().
/external/mesa3d/src/mesa/main/attrib.c
a7c52c61e5bb5dc1f1781453b757bdb9904f6a1e 22-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> push/pop color table state (Eric Plante)
/external/mesa3d/src/mesa/main/attrib.c
3c63452e64df7e10aa073c6c3b9492b1d7dabbb8 25-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> Header file clean-up:
1. Remove all.h and PC_HEADER junk.
2. Rolled mem.c and mem.h into imports.c and imports.h
3. Include imports.h instead of mem.h
Restore _mesa_create/initialize_context() to be like they were in 4.0.4
New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
/external/mesa3d/src/mesa/main/attrib.c
798d83cf67098a7df293c711e0d2c8c296fc4c8f 18-Oct-2002 Karl Schultz <kschultz@freedesktop.org> Add casts to quiet compiler warnings.
/external/mesa3d/src/mesa/main/attrib.c
2871f57bcfc0a630b00743d8e5262d3685a189f7 11-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> check EXT_point_parameters before calling PointParameterfvEXT()
/external/mesa3d/src/mesa/main/attrib.c
fc80ad6e62fb2b53d53756593099330477a44c52 04-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> Changed a number of context fields from GLchan to GLfloat (such as ClearColor).
Also changed parameter types for some driver functions (like ctx->Driver.Clear-
Color). Updated all the device drivers.
Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.
/external/mesa3d/src/mesa/main/attrib.c
5f60a0b50ada1865d4fc6a724366e8ea0cc9a72f 06-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> GL_EXT_stencil_two_side extension, not 100% complete yet.
/external/mesa3d/src/mesa/main/attrib.c
ba88dd0d92e818df20752ca5a4b1cd5fb0c49f76 03-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> s/5/NUM_TEXTURE_TARGETS/
/external/mesa3d/src/mesa/main/attrib.c
85d816028a2472e0378afda65e7ab6f7ff4d76b4 18-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Port glXCopyContext bug from 4.0 branch.
/external/mesa3d/src/mesa/main/attrib.c
8afe7de8deaf3c9613fd68b344de8c52b02b1879 15-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_NV_texture_rectangle extension.
Replace struct gl_texure_object's Dimension w/ Target field.
Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled
field is obsolete, but still present for now. This effectively
removes the 8-texture units limit, 32 units now possible, but unlikely!
New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field.
Updated device drivers to use ctx->Texture._EnabledUnits.
/external/mesa3d/src/mesa/main/attrib.c
4753d60dd070bb08d0116076bcc08025c86ce857 15-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Added ctx parameter to _mesa_debug()
Added _mesa_printf()
Updated SetDrawBuffer() function in all drivers (ala 4.0.3)
Import 4.0.3/DRI changes.
/external/mesa3d/src/mesa/main/attrib.c
9a33a11d714c90162d32781ebbd2c1dfab52cfd1 13-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> New _mesa_debug() function to replace fprintf() calls.
Some source files updated to call _mesa_debug(), but not finished.
Added __GLimports as a parameter to _mesa_create/init_context() and
updated drivers accordingly.
Fleshed-out more of the __GLimports and __GLexports functionality.
Removed run-time config file support (config.c)
/external/mesa3d/src/mesa/main/attrib.c
112f7cdeabebb487418ca10e5911920adfb7832b 07-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> fixed point sprite bug
/external/mesa3d/src/mesa/main/attrib.c
6c408b46678637959dba04663fbc34eb9c4bc397 27-May-2002 Brian Paul <brian.paul@tungstengraphics.com> replaced experimental MESA_sprite_point with NV_point_sprite
/external/mesa3d/src/mesa/main/attrib.c
86a7cc6f2c6ec49b5f09f03a872a49bce5afbe85 01-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> minor optimization in GL_TRANSFORM_BIT popping
/external/mesa3d/src/mesa/main/attrib.c
103bc0f75c00dfcf671dc50d8d9666f88a42a59d 29-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.
/external/mesa3d/src/mesa/main/attrib.c
934bee04f2e89ecca9861672e48fa0f958c78867 28-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> popping of user-defined clip planes was broken
/external/mesa3d/src/mesa/main/attrib.c
0cb28418d06c30e431bdff515c1d36a812d5950d 13-Feb-2002 Keith Whitwell <keith@tungstengraphics.com> More suport for t&l drivers
Fix GLuint compare bugs
Fix RESET_STIPPLE calls
/external/mesa3d/src/mesa/main/attrib.c
bc42c19f22c3b719712529d86faea818f34150a2 05-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> infrastructure for vertex program attribute evaluators
/external/mesa3d/src/mesa/main/attrib.c
86b842790b720cd6b1499ce8edca8a4e9c8dc029 14-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> vertex program check-in
/external/mesa3d/src/mesa/main/attrib.c
57c946096eecbc07b385e4473e04e5a0cafdc12d 18-Sep-2001 Karl Schultz <kschultz@freedesktop.org> compiler warnings
/external/mesa3d/src/mesa/main/attrib.c
7c276329e815c84ea2403bb08c44ff60179c0cd6 14-Sep-2001 Brian Paul <brian.paul@tungstengraphics.com> more warning fixes (Karl Schultz)
/external/mesa3d/src/mesa/main/attrib.c
58cfa0fd903979bd0c5127262683cdd8aa48e133 08-Aug-2001 Brian Paul <brian.paul@tungstengraphics.com> fixed a glPush/PopAttrib bug related to texture binding (reported by Wes Bethel)
/external/mesa3d/src/mesa/main/attrib.c
ebc9f221b2f02a0256cd7c5426155933e50ab3b7 07-Aug-2001 Brian Paul <brian.paul@tungstengraphics.com> fixed NewState update bugs in _mesa_PopClientAttrib()
/external/mesa3d/src/mesa/main/attrib.c
8c2f6c5059a60d845716277973c826f4069926e6 26-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> added GL_IBM_rasterpos_clip extension
/external/mesa3d/src/mesa/main/attrib.c
1b258989462e907e45abbdf8743b0a75f22c02b3 18-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> Consolidated source files. Since the re-org a number of source files
only had one or two functions left in them.
/external/mesa3d/src/mesa/main/attrib.c
736fcbec4732830e7976fb5eb309b13e03be132c 29-May-2001 Brian Paul <brian.paul@tungstengraphics.com> infrastructure for GL_ARB_multisample
/external/mesa3d/src/mesa/main/attrib.c
9e351d52ae52927fbe505e8808e70de3e646be79 03-May-2001 Brian Paul <brian.paul@tungstengraphics.com> minor clean-ups and warning fixes
/external/mesa3d/src/mesa/main/attrib.c
bcfe3936a8722f43639ad853649c7f0ea8591cf3 17-Apr-2001 Brian Paul <brian.paul@tungstengraphics.com> Fixed a number of minor GL_ARB_texture_env_combine/dot3 issues.
/external/mesa3d/src/mesa/main/attrib.c
93de8d3d8617e991c091f29236dc7316203a5b8d 12-Apr-2001 Brian Paul <brian.paul@tungstengraphics.com> Reimplemented glPopAttrib code for GL_TEXTURE_BIT. It now calls the
various texture API functions to restore state. Before, the device
drivers weren't getting notified of important texture state changes.
/external/mesa3d/src/mesa/main/attrib.c
2c3d34c905fa6b831a066afae83b938de05eb241 18-Mar-2001 Gareth Hughes <gareth@valinux.com> - Port 3.4 texture utils, texture format work to 3.5 (including new
FetchTexel routines).
- Initial hooks for GL_EXT_texture_filter_anisotropic.
/external/mesa3d/src/mesa/main/attrib.c
22144ab7552f0799bcfca506bf4ffa7f70a06649 12-Mar-2001 Gareth Hughes <gareth@valinux.com> Consistent copyright info (version number, date) across all files.
/external/mesa3d/src/mesa/main/attrib.c
08836341788a9f9d638d9dc8328510ccd18ddeb5 03-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> lots of gl_*() to _mesa_*() namespace clean-up
/external/mesa3d/src/mesa/main/attrib.c
c499ce31baf820e84d133c2189f88e15a1a36672 20-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture.
Added some const keywords in the s/w texturing code.
/external/mesa3d/src/mesa/main/attrib.c
ba70e59e829b9ef0db0ce6fbf8227d3911f0e43c 29-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> GL_SHADE_MODEL wasn't popped correctly
/external/mesa3d/src/mesa/main/attrib.c
f3da389ae01db060dff84593dacceac9ba682b03 24-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> redo _mesa_PopAttrib() to call Mesa state functions so derived state is updated
/external/mesa3d/src/mesa/main/attrib.c
74b493a5e61237de081a438e774e5d8139d4c6b7 24-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> Lots of GLchan datatype changes.
Added GLvector4us datatype in math/m_vector.[ch]
Added _math_trans_4us() in math/m_translate.[ch]
Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS.
Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions.
Changed args to Driver.ClearColor(), updated drivers.
Reordered files in Makefile.X11
/external/mesa3d/src/mesa/main/attrib.c
b6bcae5698df88f7730d40004ce7ce0462e97a20 24-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.
Replace "RGBAMode" with "rgbMode", etc.
Other minor clean-ups.
/external/mesa3d/src/mesa/main/attrib.c
cab974cf6c2dbfbf5dd5d291e1aae0f8eeb34290 26-Dec-2000 Keith Whitwell <keith@tungstengraphics.com> Major rework of tnl module
New array_cache module
Support 8 texture units in core mesa (now support 8 everywhere)
Rework core mesa statechange operations to avoid flushing on many
noop statechanges.
/external/mesa3d/src/mesa/main/attrib.c
083e466f88e1203f08b7699fa34b05d0e45b3172 14-Dec-2000 Brian Paul <brian.paul@tungstengraphics.com> Renamed texture object _P to _MaxLevel and _M to _MaxLambda.
Now add BaseLevel in _MaxLevel computation.
/external/mesa3d/src/mesa/main/attrib.c
72ef753d5c8eedc3375af77da083cf93447a73a3 27-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> Set ENABLE_LIGHT according to ctx->Light.Enabled whether or not
individual light sources are enabled.
/external/mesa3d/src/mesa/main/attrib.c
5e3bc0c2a2bcdf59949410f94c9b705fc1281ce8 22-Nov-2000 Jouk Jansen <joukj@hrem.stm.tudelft.nl> Committing in .

Modified Files:
Mesa/macos/gli_api/gliapi1.h Mesa/macos/gli_api/gliapi2.h
Mesa/macos/gli_api/gliapiext.h Mesa/macos/src-gli/fxgli.c
Mesa/macos/src-gli/fxgli.h Mesa/macos/src-gli/fxgli2.c
Mesa/macos/src-gli/fxgli_tridebug.c Mesa/src/accum.c
Mesa/src/accum.h Mesa/src/all.h Mesa/src/alpha.c
Mesa/src/alpha.h Mesa/src/attrib.c Mesa/src/attrib.h
Mesa/src/bitmap.c Mesa/src/bitmap.h Mesa/src/blend.c
Mesa/src/blend.h Mesa/src/buffers.c Mesa/src/buffers.h
Mesa/src/clip.c Mesa/src/clip.h Mesa/src/colortab.h
Mesa/src/config.c Mesa/src/context.c Mesa/src/context.h
Mesa/src/convolve.c Mesa/src/convolve.h Mesa/src/copypix.c
Mesa/src/copypix.h Mesa/src/debug.c Mesa/src/depth.c
Mesa/src/depth.h Mesa/src/dlist.c Mesa/src/dlist.h
Mesa/src/drawpix.c Mesa/src/drawpix.h Mesa/src/enable.c
Mesa/src/enable.h Mesa/src/eval.c Mesa/src/eval.h
Mesa/src/extensions.c Mesa/src/extensions.h
Mesa/src/feedback.c Mesa/src/feedback.h Mesa/src/fog.c
Mesa/src/fog.h Mesa/src/get.c Mesa/src/get.h Mesa/src/glapi.c
Mesa/src/glthread.h Mesa/src/highpc.c Mesa/src/hint.h
Mesa/src/histogram.h Mesa/src/image.c Mesa/src/image.h
Mesa/src/imports.c Mesa/src/light.c Mesa/src/light.h
Mesa/src/lines.c Mesa/src/lines.h Mesa/src/logic.c
Mesa/src/logic.h Mesa/src/masking.c Mesa/src/masking.h
Mesa/src/matrix.c Mesa/src/matrix.h Mesa/src/pixel.c
Mesa/src/pixel.h Mesa/src/points.c Mesa/src/points.h
Mesa/src/polygon.c Mesa/src/polygon.h Mesa/src/rastpos.c
Mesa/src/readpix.c Mesa/src/scissor.c Mesa/src/scissor.h
Mesa/src/state.c Mesa/src/state.h Mesa/src/stencil.c
Mesa/src/stencil.h Mesa/src/teximage.c Mesa/src/teximage.h
Mesa/src/texobj.c Mesa/src/texobj.h Mesa/src/texstate.c
Mesa/src/texstate.h Mesa/src/texture.c Mesa/src/texture.h
Mesa/src/texutil.c Mesa/src/texutil.h Mesa/src/varray.c
Mesa/src/varray.h Mesa/src/X/fakeglx.c Mesa/src/X/xm_api.c
Mesa/src/X/xm_dd.c Mesa/src/X/xm_line.c Mesa/src/X/xm_span.c
Mesa/src/X/xm_tri.c Mesa/src/swrast/s_aaline.c
Mesa/src/swrast/s_aaline.h Mesa/src/swrast/s_aatriangle.h
Mesa/src/swrast/s_accum.h Mesa/src/swrast/s_alpha.h
Mesa/src/swrast/s_alphabuf.h Mesa/src/swrast/s_blend.h
Mesa/src/swrast/s_context.c Mesa/src/swrast/s_context.h
Mesa/src/swrast/s_depth.h Mesa/src/swrast/s_drawpix.h
Mesa/src/swrast/s_feedback.h Mesa/src/swrast/s_fog.h
Mesa/src/swrast/s_histogram.h Mesa/src/swrast/s_lines.h
Mesa/src/swrast/s_logic.h Mesa/src/swrast/s_masking.h
Mesa/src/swrast/s_pb.h Mesa/src/swrast/s_pixeltex.h
Mesa/src/swrast/s_points.h Mesa/src/swrast/s_quads.c
Mesa/src/swrast/s_quads.h Mesa/src/swrast/s_scissor.h
Mesa/src/swrast/s_span.h Mesa/src/swrast/s_stencil.h
Mesa/src/swrast/s_texture.h Mesa/src/swrast/s_triangle.h
Mesa/src/swrast/s_zoom.h Mesa/src/swrast/swrast.h
Mesa/src/swrast_setup/ss_context.h
Mesa/src/swrast_setup/ss_triangle.c
Mesa/src/swrast_setup/ss_triangle.h
Mesa/src/swrast_setup/ss_vb.h Mesa/src/tnl/t_clip.c
Mesa/src/tnl/t_clip.h Mesa/src/tnl/t_context.c
Mesa/src/tnl/t_context.h Mesa/src/tnl/t_cva.c
Mesa/src/tnl/t_cva.h Mesa/src/tnl/t_debug.c
Mesa/src/tnl/t_debug.h Mesa/src/tnl/t_dlist.h
Mesa/src/tnl/t_eval.c Mesa/src/tnl/t_eval.h
Mesa/src/tnl/t_fog.c Mesa/src/tnl/t_fog.h
Mesa/src/tnl/t_light.c Mesa/src/tnl/t_light.h
Mesa/src/tnl/t_pipeline.c Mesa/src/tnl/t_pipeline.h
Mesa/src/tnl/t_shade.c Mesa/src/tnl/t_shade.h
Mesa/src/tnl/t_stages.c Mesa/src/tnl/t_stages.h
Mesa/src/tnl/t_texture.c Mesa/src/tnl/t_texture.h
Mesa/src/tnl/t_trans_elt.c Mesa/src/tnl/t_trans_elt.h
Mesa/src/tnl/t_varray.c Mesa/src/tnl/t_varray.h
Mesa/src/tnl/t_vb.c Mesa/src/tnl/t_vb.h
Mesa/src/tnl/t_vbcull.c Mesa/src/tnl/t_vbcull.h
Mesa/src/tnl/t_vbfill.c Mesa/src/tnl/t_vbfill.h
Mesa/src/tnl/t_vbindirect.c Mesa/src/tnl/t_vbindirect.h
Mesa/src/tnl/t_vbrender.c Mesa/src/tnl/t_vbrender.h
Mesa/src/tnl/t_vbxform.c Mesa/src/tnl/t_vbxform.h
Mesa/src/tnl/tnl.h
Added Files:
Mesa/src/mtypes.h
Removed Files:
Mesa/src/types.h

Changed Mesa/src/types to Mesa/src/mtypes.h to avoid conflicts while
compiling on a VMS system.

----------------------------------------------------------------------
/external/mesa3d/src/mesa/main/attrib.c
a852378a6289d154364dde440f89a39bbfc33e2d 20-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.
Completely removed the dirty texture object list. Set texObj->Complete
to GL_FALSE to indicate dirty.
Made point/line/triangle/quad SWvertex parameters const.
Minor code clean-ups.
/external/mesa3d/src/mesa/main/attrib.c
23caf20169ac38436ee9c13914f1d6aa7cf6bb5e 16-Nov-2000 Keith Whitwell <keith@tungstengraphics.com> Move the transform and lighting code to two new directories
math: Provides basic matrix and vector functionality that
might be useful to multiple software t&l
implementations, and is used by core mesa to
manage the Model, Project, etc matrices.

tnl: The real transform & lighting code from core mesa,
including everything from glVertex3f through vertex
buffer handling, transformation, clipping, lighting
and handoff to a driver for rasterization.

The interfaces of these can be further tightened up, but the basic
splitting up of state and code move is done.
/external/mesa3d/src/mesa/main/attrib.c
14940c4ffe066a8b85bc14274c19ad3d8e334d61 05-Nov-2000 Keith Whitwell <keith@tungstengraphics.com> - Changes for new software rasterizer modules
- Remove support for choosing software fallbacks from core code
- Remove partial fallback code from vbrender.c -- drivers are now
expected to be able to find a triangle/quad function for every state,
even if they have to use _swsetup_Triangle or _swsetup_Quad.
- Marked derived variables in the GLcontext struct with a leading
underscore '_'.
/external/mesa3d/src/mesa/main/attrib.c
9499e017b7e05411a32b3e4fa94885eaec0d7277 30-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead.
More minor GLchan changes.
Silence some compiler warnings in cva.[ch]
/external/mesa3d/src/mesa/main/attrib.c
a96308c37db0bc0086a017d318bc3504aa5f0b1a 30-Oct-2000 Keith Whitwell <keith@tungstengraphics.com> Replace the flags Mesa was using for ctx->NewState with a new set
based on the GL attribute groups.

Introduced constants describing the circumstances under which some
key derived values can change:
_SWRAST_NEW_RASTERMASK -- ctx->RasterMask
_SWRAST_NEW_TRIANGLE -- The software rasterizer's triangle
function
_DD_NEW_FEEDBACK -- the 'DD_FEEDBACK' bit in ctx->TriangleCaps

These are helpful in deciding whether you need to recalculate state if your
recalculation involves reference to a derived value.
/external/mesa3d/src/mesa/main/attrib.c
699bc7b73d2fede77d3290f66c1ec355afd0373e 29-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> More GLchan color channel changes.
Some header file re-org:
Move matrix, vertex buffer structs to types.h to fix #include mess.
Remove typedef, extern declarations from config.h
/external/mesa3d/src/mesa/main/attrib.c
ba643a2094a1e844b6ce60f468057057557859ce 28-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> Basic work to support deep color channels:
Replace GLubyte with GLchan
Replace 255 with CHAN_MAX
/external/mesa3d/src/mesa/main/attrib.c
eb6c6439ae23e47b79b72f3737b6d0d14e1f9f26 29-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> removed ctx->Texture.Enabled, use ctx->Texture.ReallyEnabled instead
/external/mesa3d/src/mesa/main/attrib.c
b1394fa92aaaf859ce9efc8b5fc194397921320c 26-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> First batch of OpenGL SI related changes:
Renamed struct gl_context to struct __GLcontextRec.
Include glcore.h, setup GL imports/exports.
Replaced gl_ prefix with _mesa_ prefix in context.[ch] functions.
GLcontext's Visual field is no longer a pointer.
/external/mesa3d/src/mesa/main/attrib.c
fa4525e289b475b928a7b2c4055af9dd7fe46600 21-Aug-2000 Brian Paul <brian.paul@tungstengraphics.com> implemented new ImageTransferState bitmask
/external/mesa3d/src/mesa/main/attrib.c
d283df605eb7bdc4c519fff2701de350b94c6f4f 19-Jul-2000 Brian Paul <brian.paul@tungstengraphics.com> restore driver depth test enable/disable state in PopAttrib()
/external/mesa3d/src/mesa/main/attrib.c
6479a175e4e633fa15075030b729553a5481c4cb 06-Jul-2000 Brian Paul <brian.paul@tungstengraphics.com> added texture cube map state save/restore
/external/mesa3d/src/mesa/main/attrib.c
6698b2294f9a151b777dd4e0d1f1c3e86204617a 07-May-2000 Brian Paul <brian.paul@tungstengraphics.com> Err, initial code for GL_EXT_convolution, not histogram
/external/mesa3d/src/mesa/main/attrib.c
82b02f0ef24bf139778c8eec8d62dfa3366dff35 07-May-2000 Brian Paul <brian.paul@tungstengraphics.com> initial code for GL_EXT_histogram extension
/external/mesa3d/src/mesa/main/attrib.c
2b2e925ea4a5652b0ab73b1efbce345a42663842 07-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> added GL_SGIX/SGIS_pixel_texture extension
/external/mesa3d/src/mesa/main/attrib.c
959f802dabd4f4347dc0ea925ae687abb6938588 19-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed compiler warnings on BeOS R4
/external/mesa3d/src/mesa/main/attrib.c
516b8363bbe8e625e8e773630772da950eff7d2a 10-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> glPopAttrib() now calls Driver's ClearColor, ClearIndex and ColorMask functions
/external/mesa3d/src/mesa/main/attrib.c
1b6592aae72e7974a16437c64f90152e83917450 03-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> added LineWidth device driver function
/external/mesa3d/src/mesa/main/attrib.c
e5ed37fa4ed1cf2323b50d96eafb1dc00c1d6d42 27-Feb-2000 Keith Whitwell <keith@tungstengraphics.com> add callbacks for stipple
/external/mesa3d/src/mesa/main/attrib.c
e828bc8f61736f6ba2eff7b2d3dd24056c8b86e0 25-Feb-2000 Keith Whitwell <keith@tungstengraphics.com> Fog coordinate stage which drivers may use to replace standard fogging
mechanism.

LogicOp state change callback
/external/mesa3d/src/mesa/main/attrib.c
42fcf03e3a39eb68889f25c279203183e2d820e9 02-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> replaced gl_ prefix with _mesa_ prefix
/external/mesa3d/src/mesa/main/attrib.c
ea39f042c378c234b573ceead4c5194020d949c4 02-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> updated includes for source file reorg
/external/mesa3d/src/mesa/main/attrib.c
04c43deb54247377859ac338075c61300a84f714 23-Nov-1999 Keith Whitwell <keith@tungstengraphics.com> another typo
/external/mesa3d/src/mesa/main/attrib.c
f2db7ed71e8811679e8bded5dc995092341b92cc 22-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> fixed shade model bug (A.Borrmann)
/external/mesa3d/src/mesa/main/attrib.c
fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5 11-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> first big check-in of new Mesa 3.3 code
/external/mesa3d/src/mesa/main/attrib.c
99f16d01dd508ccac9d37488bf83a7aed5c05832 08-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> changes to silence MSVC warnings
/external/mesa3d/src/mesa/main/attrib.c
327c69127cf6203681d418a76186f70cc71b9212 08-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> clean-up of header includes (Daryll)
/external/mesa3d/src/mesa/main/attrib.c
bd5cdaf4442872d3cd2ff94eeafadd481d27fcfb 13-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> removed GL_ prefix from memory macros
/external/mesa3d/src/mesa/main/attrib.c
0b6c775f1c4d69813ca8135cafbdd5c5608572e6 11-Oct-1999 Jouk Jansen <joukj@hrem.stm.tudelft.nl> #include <stdlib.h>
/external/mesa3d/src/mesa/main/attrib.c
826e66a21f01c779771da429be1ea67c468b27e1 10-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> now using GL_MALLOC, GL_FREE
/external/mesa3d/src/mesa/main/attrib.c
485f04074151686fa24d40e3eeb83029d3d8c425 08-Oct-1999 Keith Whitwell <keith@tungstengraphics.com> Fixed includes & added a few hooks for the DRI.
/external/mesa3d/src/mesa/main/attrib.c
5a437d588975ec0e241a2bf7cc4ce3785cb476bd 20-Sep-1999 Keith Whitwell <keith@tungstengraphics.com> Cleaning up
/external/mesa3d/src/mesa/main/attrib.c
1bf9dfaf5dea61e3d33a69b0a549be54ef6d74df 18-Sep-1999 Keith Whitwell <keith@tungstengraphics.com> Large patch:
- FX bug fixes.
- Polygon mode and edgeflag work properly.
- Clipping works with edgeflag.
- Driver.ReducedPrimitiveChange() callback so drivers
that implement lines & points as triangles can turn culling off
before rendering groups of these primitives.
- Cleaned up feedback & select primitives.
/external/mesa3d/src/mesa/main/attrib.c
e3f37862d25b20d952bb5740f1abfd6b6569cdaf 16-Sep-1999 Keith Whitwell <keith@tungstengraphics.com> Do pop for GL_VIEWPORT_BIT via. the api
/external/mesa3d/src/mesa/main/attrib.c
afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1c 19-Aug-1999 jtg <jtg> Initial revision
/external/mesa3d/src/mesa/main/attrib.c