History log of /external/mesa3d/src/mesa/main/api_validate.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6a9b8f897a8b59fae03c73e05203bc708fb17793 25-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es: Validate primitive modes in Mesa code rather than the ES wrapper

v2: Add proper core-profile filtering.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/api_validate.c
72e076cb17e47c608fa6534641653cdc6133fb27 25-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Refactor _mesa_valid_prim_mode to use a switch-statement

This makes the next change a bit easier.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/api_validate.c
a33f360e8f8138c5b37b5e33324283e764d0750c 25-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Refactor element type checking into its own function

This consolidates the tests and makes the emitted error message
consistent.

v2: Rename _mesa_valid_element_type to valid_elements_type. Log the
enum string instead of the hex value in error messages. Based on review
comments from Brian Paul and Ken Graunke.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/api_validate.c
09714c09a40501d82823e42f7461d7b8d7bf11c0 19-Jul-2012 Jordan Justen <jordan.l.justen@intel.com> mesa: add support for using API_OPENGL_CORE

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/api_validate.c
db7404defd47aa22082b52a6a31a08fb39fab626 18-Dec-2011 Marek Olšák <maraeo@gmail.com> mesa: implement new DrawTransformFeedback functions

Acked-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/api_validate.c
9f0f2f9512c3c9dcf875efa490b587f010b260c1 02-Jul-2012 Marek Olšák <maraeo@gmail.com> mesa: use FLUSH_CURRENT and not FLUSH_VERTICES in _mesa_validate_*

ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH_WITH_RETVAL calls FLUSH_VERTICES, which
is not what we want.

This fixes a breakage in classic drivers, introduced in:

62b971673950148eb949ba23d7fdc47debea16f0
vbo: first ASSERT_OUTSIDE_BEGIN_END then FLUSH, not the other way around

It should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=51629
https://bugs.freedesktop.org/show_bug.cgi?id=51642

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/api_validate.c
fcebb157f0eb6c2f374dee609a01b0b14856e7fc 27-Jun-2012 Marek Olšák <maraeo@gmail.com> vbo: optimize validation for glMultiDrawElements

Some parameters need to be checked only once.
check_valid_to_render needs to be called only once.

The validate function is based on the one for DrawElements.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/api_validate.c
62b971673950148eb949ba23d7fdc47debea16f0 27-Jun-2012 Marek Olšák <maraeo@gmail.com> vbo: first ASSERT_OUTSIDE_BEGIN_END then FLUSH, not the other way around

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/api_validate.c
56118ef9292caa947216d6b0a75c6ae588419556 14-Mar-2012 Eric Anholt <eric@anholt.net> mesa: Validate the drawing primitive against the transform feedback mode.

Fixes piglit GL_EXT_transform_feedback/negative-prims.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/api_validate.c
7ca4f07b5b77ccac0a9b60dc5ac9082906b5947e 14-Mar-2012 Eric Anholt <eric@anholt.net> mesa: Fold error generation into _mesa_valid_prim_mode().

We want to start emitting an INVALID_OPERATION from here for transform
feedback. Note that this forced dlist.c to almost not use this
function, since it wants different behavior during dlist compile.
Just pull the non-TF, non-GS test out for compile, because:

1) TF doesn't matter in that case because there's no drawing.
2) I don't think we're going to see GSes and display lists in the same
context, if we don't do GL_ARB_compatibility.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/api_validate.c
767ba60831657a684e3852c398a0d13d1201158f 28-Feb-2012 Eric Anholt <eric@anholt.net> mesa: Add missing error check for first < 0 in glDrawArraysInstanced().

Fixes piglit GL_ARB_draw_instanced/negative-arrays-first-negative.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/api_validate.c
3c69a18b6a9f292542672c58bb324a69b750a208 28-Feb-2012 Eric Anholt <eric@anholt.net> mesa: Fix display list handling for GL_ARB_draw_instanced.

When you called them in a display list compile before, you would just
end up calling through NULL.

Fixes piglit GL_ARB_draw_instanced/dlist.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/api_validate.c
1f4a853b1e4691400ab832c589b044b659c20c06 06-Feb-2012 Roland Scheidegger <sroland@vmware.com> mesa: check_index_bounds off-by-one fix

in check_index_bounds the comparison needs to be "greater equal" since
contrary to the name _MaxElement is the count of the array (this matches
similar code in vbo_exec_DrawRangeElementsBaseVertex).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/api_validate.c
42d4972bf0b147b0241c2be7e6579fd64cf2c216 31-Dec-2011 Yuanhan Liu <yuanhan.liu@linux.intel.com> vbo: introduce vbo_get_minmax_indices function

Introduce vbo_get_minmax_indices() function to handle the min/max index
computation for nr_prims(>= 1). The old code just compute the first
prim's min/max index; this would results an error rendering if user
called functions like glMultiDrawElements(). This patch servers as
fixing this issue.

As when nr_prims = 1, we can pass 1 to paramter nr_prims, thus I made
vbo_get_minmax_index() static.

v2: per Roland's suggestion, put the indices address compuation into
vbo_get_minmax_index() instead.

Also do comination if possible to reduce map/unmap count

v3: per Brian's suggestion, use a pointer for start_prim to avoid
structure copy per loop.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/api_validate.c
14bb957b996dcc5392b8fa589bd3ffa5c55cb6b4 09-Dec-2011 Marek Olšák <maraeo@gmail.com> mesa: implement DrawTransformFeedback from ARB_transform_feedback2

It's like DrawArrays, but the count is taken from a transform feedback
object.

This removes DrawTransformFeedback from dd_function_table and adds the same
function to GLvertexformat (with the function parameters matching GL).

The vbo_draw_func callback has a new parameter
"struct gl_transform_feedback_object *tfb_vertcount".

The rest of the code just validates states and forwards the transform
feedback object into vbo_draw_func.
/external/mesa3d/src/mesa/main/api_validate.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/api_validate.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/api_validate.c
0e6646db3248057b7750031d825535cd7a0e5aec 21-Sep-2011 Brian Paul <brianp@vmware.com> mesa: check glBegin()/glDrawArrays()/etc mode with _mesa_valid_prim_mode()

We now raise an GL_INVALID_ENUM in glBegin() if mode is illegal, as was
done in Yuanhan Liu's original patch.

Take geometry shaders support into account too.

Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
/external/mesa3d/src/mesa/main/api_validate.c
28249bd260f4c52badf3eb61ade2744604b21bca 22-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Eliminate dd_function_table::MapBuffer

Replace all calls to dd_function_table::MapBuffer with appropriate
calls to dd_function_table::MapBufferRange, then remove all the cruft.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/api_validate.c
12d924c5ae14a1c6a05a3dcae29b77e7668e227d 22-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove target parameter from dd_function_table::MapBuffer

No driver used that parameter, and most drivers ended up with a bunch
of unused-parameter warnings because it was there.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/api_validate.c
56f0c00f125ee75caeadc1c9e8cab8a488635e5e 22-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove target parameter from dd_function_table::UnmapBuffer

No driver used that parameter, and most drivers ended up with a bunch
of unused-parameter warnings because it was there.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/api_validate.c
09201cc7a0c4c50871bb8aa5d00ac70aa4e9e670 31-May-2011 Pierre-Eric Pelloux-Prayer <pelloux@gmail.com> mesa: add implementation of glDrawElementsInstancedBaseVertex

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/api_validate.c
43bdabd47d98975b56a759954fb5f37d2942c101 19-May-2011 Brian Paul <brianp@vmware.com> mesa: fix vertex array enable checking in check_valid_to_render()

In particular, this fixes the case where a vertex shader only uses
generic vertex attributes (non-0th). Before, we were no-op'ing the
glDrawArrays/Elements().

This fixes the new piglit pos-array test.

NOTE: This is a candidate for the 7.10 branch.
/external/mesa3d/src/mesa/main/api_validate.c
72f2551017e03f888d63fa9040120740c6d40620 17-Jan-2011 Brian Paul <brianp@vmware.com> mesa: s/primcount/numInstances/

primcount is also a parameter to glMultiDrawElements(). Use numInstances
to avoid confusion between these things.
/external/mesa3d/src/mesa/main/api_validate.c
6bf0ac0916bf09e049b378d94478035072efed53 07-Nov-2010 Vinson Lee <vlee@vmware.com> mesa: Include mfeatures.h in api_validate.c for FEATURE_* symbols.
/external/mesa3d/src/mesa/main/api_validate.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/api_validate.c
df0831f3750918ce3cd9cc1f5610bafc8b87c8e4 11-Jul-2010 Zack Rusin <zackr@vmware.com> mesa: GL_TRIANGLE_STRIP_ADJACENCY_ARB is the last valid primitive
/external/mesa3d/src/mesa/main/api_validate.c
f67b020a942911f80b7b774c6d64701d1981c608 24-May-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Handle FEATURE_es2_glsl differences at runtime too

Now that we can support different APIs at runtime, we need to check the
context for the API we're currently providing as well.

https://bugs.freedesktop.org/show_bug.cgi?id=28194
/external/mesa3d/src/mesa/main/api_validate.c
cf3193ad1cd75b847c5d626def701a4bb012d080 05-Apr-2010 Brian Paul <brianp@vmware.com> mesa: new validation functions for GL_ARB_draw_instanced
/external/mesa3d/src/mesa/main/api_validate.c
e9968ebfa40b4740601c1596950ebd3f168664b0 05-Mar-2010 Brian Paul <brianp@vmware.com> mesa: minor reformatting, new comments
/external/mesa3d/src/mesa/main/api_validate.c
391b396f3fb300a912e6d9bfbf26f49cc30e52df 05-Mar-2010 Michel Dänzer <daenzer@vmware.com> Fix comparison of unsigned value against < 0.
/external/mesa3d/src/mesa/main/api_validate.c
34b2cec95c9e7781f4d32deed9980f05ee553d1d 04-Mar-2010 Vinson Lee <vlee@vmware.com> Revert "mesa: Fix unsigned comparison."

This reverts commit f9504e75f02586a8561733e0e2711c65efa2979d.

This patch is incorrect.
/external/mesa3d/src/mesa/main/api_validate.c
f9504e75f02586a8561733e0e2711c65efa2979d 04-Mar-2010 Vinson Lee <vlee@vmware.com> mesa: Fix unsigned comparison.
/external/mesa3d/src/mesa/main/api_validate.c
980fa564e4c01c7b95099a13fb2d8926c510da01 31-Jan-2010 Vinson Lee <vlee@vmware.com> mesa: Remove unnecessary headers.
/external/mesa3d/src/mesa/main/api_validate.c
a38859569dca1d8b139c4c451499bf6e328379e9 29-Jan-2010 Brian Paul <brianp@vmware.com> mesa: do state validation in _mesa_valid_to_render()

...rather than checking/validating before all the calls to
_mesa_valid_to_render() and valid_to_render().

The next patch will actually fix some bugs...

(cherry picked from commit 23eda89ec89e2bd5bc26077bd56e8d6b5d4040d4)
/external/mesa3d/src/mesa/main/api_validate.c
e5d29ebb5e5dd923c9c60972170d072120007aab 21-Sep-2009 Brian Paul <brianp@vmware.com> mesa: make max_buffer_index() a non-static function
/external/mesa3d/src/mesa/main/api_validate.c
92d7ed8a20d4a018ce5324e6537ae7b478b9e5bf 27-Aug-2009 Eric Anholt <eric@anholt.net> mesa: Add support for ARB_draw_elements_base_vertex.
/external/mesa3d/src/mesa/main/api_validate.c
b6e5600bd460245afef605dbfbcf6650ff677dcb 14-Aug-2009 Brian Paul <brianp@vmware.com> mesa: call _mesa_valid_to_render()
/external/mesa3d/src/mesa/main/api_validate.c
a48b0a5ce7fc17eab4daa375fb95768fa2f50825 14-Aug-2009 Brian Paul <brianp@vmware.com> mesa: minor error string changes
/external/mesa3d/src/mesa/main/api_validate.c
434ec3ada841915a00ffc23f699401eb3e7b37ee 12-Aug-2009 Brian Paul <brianp@vmware.com> mesa: use _mesa_is_bufferobj()
/external/mesa3d/src/mesa/main/api_validate.c
8d482227915552c414e13743652e6794c4313ae2 17-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

src/mesa/main/api_validate.c
37f2117cd132527ebf89f9294b2f35db87326460 15-Jun-2009 José Fonseca <jfonseca@vmware.com> mesa: Use integer type with appropriate sign.
/external/mesa3d/src/mesa/main/api_validate.c
a185bcbdec856cc98c26098e4e447a683eed14d1 14-May-2009 Brian Paul <brianp@vmware.com> mesa: move gl_array_attrib::_MaxElement to gl_array_object::_MaxElement

This value is per array object.
/external/mesa3d/src/mesa/main/api_validate.c
87fbc9a14ed2bdd24d84c38431abbf7b0c275998 08-May-2009 Brian Paul <brianp@vmware.com> mesa: issue warning for out of bounds array indexes
/external/mesa3d/src/mesa/main/api_validate.c
58544a28ad561d7d9e16deb048443c2d2b5c12d8 06-May-2009 Brian Paul <brianp@vmware.com> mesa: remove unnecessary buffer size check
/external/mesa3d/src/mesa/main/api_validate.c
bb1fb2a5444c6b7d83ccb47949f60ed9fb4f0f93 06-May-2009 Brian Paul <brianp@vmware.com> mesa: code consolidation in glDraw[Range]Elements() validation
/external/mesa3d/src/mesa/main/api_validate.c
88af3f8783452dcf50a9e2e82076f52b2044f643 06-May-2009 Brian Paul <brianp@vmware.com> mesa: new comments, minor reformatting
/external/mesa3d/src/mesa/main/api_validate.c
a13df193c23f9202ade6f16643e3ef529cff772b 06-May-2009 Brian Paul <brianp@vmware.com> mesa: use elementBuf local var instead of ctx->Array.ElementArrayBufferObj

Makes no real difference, but more consistant.
/external/mesa3d/src/mesa/main/api_validate.c
97dd2ddbd97ba95e8bc8ab572ec05e8081556e1e 02-Mar-2009 Brian Paul <brianp@vmware.com> mesa: don't draw arrays if vertex position array is not enabled

For regular GL, we must have vertex positions in order to draw. But ES2
doesn't have that requirement (positions can be computed from any array
of data).

See bug 19911.
/external/mesa3d/src/mesa/main/api_validate.c
263b96e160606975285154c4b8b610fcb8f4c930 15-Jan-2009 Alan Hourihane <alanh@vmware.com> mesa: check frambuffer complete status before rendering
/external/mesa3d/src/mesa/main/api_validate.c
0397b2bb41b0f337af2949a15bcd7d0e7e8a7dc1 11-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Merge branch 'gallium-0.1' into gallium-0.2

A first attempt at moving gallium onto a branch directly off master...

It will be interesting to see how much work this takes to get running.

Have resolved the conflicts semi-arbitarily, not compiled or tested.

Conflicts:

.gitignore
Makefile
configs/config.mgw
configs/darwin
configs/darwin-x86ppc
configs/default
configs/freebsd-dri
configs/linux-dri
configs/linux-dri-xcb
configs/linux-fbdev
configs/linux-static
configs/linux-x86-64-static
configs/linux-x86-static
doxygen/Makefile
include/GL/gl.h
progs/demos/Makefile
progs/demos/descrip.mms
progs/demos/texenv.c
progs/egl/.gitignore
progs/egl/Makefile
progs/glsl/.gitignore
progs/glsl/Makefile
progs/glsl/convolutions.c
progs/samples/Makefile.mgw
progs/tests/.gitignore
progs/trivial/.gitignore
progs/trivial/point-param.c
progs/trivial/tri.c
progs/xdemos/.gitignore
progs/xdemos/glthreads.c
src/egl/drivers/demo/Makefile
src/egl/drivers/dri/Makefile
src/egl/main/Makefile
src/glu/Makefile
src/glu/sgi/Makefile
src/glu/sgi/Makefile.mgw
src/glut/glx/Makefile.mgw
src/glut/os2/WarpWin.cpp
src/glut/os2/glut_cindex.cpp
src/glut/os2/glut_gamemode.cpp
src/glut/os2/glut_win.cpp
src/glut/os2/glut_winmisc.cpp
src/glut/os2/os2_glx.cpp
src/glut/os2/os2_menu.cpp
src/glut/os2/os2_winproc.cpp
src/glw/Makefile
src/glx/x11/dri_glx.c
src/glx/x11/glxext.c
src/mesa/Makefile
src/mesa/Makefile.mgw
src/mesa/descrip.mms
src/mesa/drivers/beos/Makefile
src/mesa/drivers/common/descrip.mms
src/mesa/drivers/common/driverfuncs.c
src/mesa/drivers/directfb/Makefile
src/mesa/drivers/dri/Makefile.template
src/mesa/drivers/dri/common/dri_bufmgr.c
src/mesa/drivers/dri/common/dri_bufmgr.h
src/mesa/drivers/dri/common/dri_util.c
src/mesa/drivers/dri/common/extension_helper.h
src/mesa/drivers/dri/common/mmio.h
src/mesa/drivers/dri/common/utils.c
src/mesa/drivers/dri/common/utils.h
src/mesa/drivers/dri/glcore/Makefile
src/mesa/drivers/dri/i810/i810screen.c
src/mesa/drivers/dri/i915/intel_ioctl.c
src/mesa/drivers/dri/i915/intel_ioctl.h
src/mesa/drivers/dri/i915/intel_screen.c
src/mesa/drivers/dri/i915/server/i830_common.h
src/mesa/drivers/dri/i915/server/i830_dri.h
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/server/i830_common.h
src/mesa/drivers/dri/i965/server/i830_dri.h
src/mesa/drivers/dri/mach64/mach64_screen.c
src/mesa/drivers/dri/nouveau/nouveau_context.h
src/mesa/drivers/dri/nouveau/nouveau_fifo.c
src/mesa/drivers/dri/nouveau/nouveau_fifo.h
src/mesa/drivers/dri/nouveau/nouveau_screen.c
src/mesa/drivers/dri/nouveau/nouveau_screen.h
src/mesa/drivers/dri/r128/r128_tex.h
src/mesa/drivers/dri/savage/savageioctl.h
src/mesa/drivers/fbdev/Makefile
src/mesa/drivers/osmesa/Makefile
src/mesa/drivers/osmesa/descrip.mms
src/mesa/drivers/x11/Makefile
src/mesa/drivers/x11/descrip.mms
src/mesa/drivers/x11/xm_dd.c
src/mesa/glapi/glapi.c
src/mesa/glapi/glthread.c
src/mesa/main/api_validate.c
src/mesa/main/attrib.c
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/main/buffers.c
src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/descrip.mms
src/mesa/main/drawpix.c
src/mesa/main/enums.c
src/mesa/main/fbobject.c
src/mesa/main/glheader.h
src/mesa/main/imports.c
src/mesa/main/mipmap.c
src/mesa/main/mm.c
src/mesa/main/mm.h
src/mesa/main/mtypes.h
src/mesa/main/points.c
src/mesa/main/sources
src/mesa/main/state.c
src/mesa/main/texcompress_fxt1.c
src/mesa/main/texenvprogram.c
src/mesa/main/texobj.c
src/mesa/main/texstate.c
src/mesa/main/texstore.c
src/mesa/math/descrip.mms
src/mesa/shader/arbprogram.c
src/mesa/shader/descrip.mms
src/mesa/shader/prog_execute.c
src/mesa/shader/prog_statevars.c
src/mesa/shader/prog_statevars.h
src/mesa/shader/prog_uniform.c
src/mesa/shader/program.c
src/mesa/shader/program.h
src/mesa/shader/shader_api.c
src/mesa/shader/slang/descrip.mms
src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
src/mesa/sources
src/mesa/swrast/descrip.mms
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_fragprog.c
src/mesa/swrast/s_readpix.c
src/mesa/swrast/s_span.c
src/mesa/swrast_setup/descrip.mms
src/mesa/tnl/descrip.mms
src/mesa/tnl/t_context.h
src/mesa/tnl/t_vp_build.c
src/mesa/tnl/tnl.h
src/mesa/vbo/descrip.mms
src/mesa/vbo/vbo_context.c
src/mesa/vbo/vbo_exec_array.c
src/mesa/x86-64/xform4.S
src/mesa/x86/rtasm/x86sse.c
src/mesa/x86/rtasm/x86sse.h
windows/VC6/progs/glut/glut.dsp
windows/VC7/mesa/gdi/gdi.vcproj
windows/VC7/mesa/glu/glu.vcproj
windows/VC7/mesa/mesa.sln
windows/VC7/mesa/mesa/mesa.vcproj
windows/VC7/mesa/osmesa/osmesa.vcproj
windows/VC7/progs/glut/glut.vcproj
windows/VC8/mesa/gdi/gdi.vcproj
windows/VC8/mesa/glu/glu.vcproj
windows/VC8/mesa/mesa.sln
windows/VC8/mesa/mesa/mesa.vcproj
windows/VC8/progs/glut/glut.vcproj
1ca23061478868d61b9b2e6a30367e8e1de4a456 03-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix vertex array validation test for attribute 0 (vert pos)

We don't actually need vertex array[0] enabled when using a vertex
program/shader.

cherry-picked from master
/external/mesa3d/src/mesa/main/api_validate.c
b3e1f9bd521ab25fc1cb313902cd77c6c274a918 03-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix vertex array validation test for attribute 0 (vert pos)

We don't actually need vertex array[0] enabled when using a vertex
program/shader.
/external/mesa3d/src/mesa/main/api_validate.c
53174afeeb68a79e471185cb463c13ff90af698f 31-May-2008 José Fonseca <jrfonseca@tungstengraphics.com> mesa: Apply MSVC portability fixes from Alan Hourihane.
/external/mesa3d/src/mesa/main/api_validate.c
5cb203433ab5c4e54a7386a816263a237c716aa2 31-Oct-2007 Brian <brian.paul@tungstengraphics.com> check for count==0 in _mesa_validate_DrawArrays()
/external/mesa3d/src/mesa/main/api_validate.c
ef5935bc94a1439eb8f1731732a3eabd0e360407 23-Sep-2007 Brian <brian.paul@tungstengraphics.com> fix DrawRangeElements error msg
/external/mesa3d/src/mesa/main/api_validate.c
730df7662f57a46dee892733afc9a55f37d2ab03 20-Aug-2007 Brian <brian.paul@tungstengraphics.com> don't map element buffer in _mesa_validate_DrawElements() unless necessary
/external/mesa3d/src/mesa/main/api_validate.c
d8c6719f95b1543296ac954f95d13b048ae48634 20-Aug-2007 Brian <brian.paul@tungstengraphics.com> refactor bounds checking code
/external/mesa3d/src/mesa/main/api_validate.c
a3c3bc9ece7e7c55c8832dbc8c50ab1c34f5bfe9 20-Aug-2007 Brian <brian.paul@tungstengraphics.com> don't map buffer in _mesa_validate_DrawElements() unless needed
/external/mesa3d/src/mesa/main/api_validate.c
2394d20dafdfa308d494fc739c63c6a4e91c8185 30-Jul-2007 Xiang, Haihao <haihao.xiang@intel.com> Fix an error in _mesa_validate_DrawElements

The field 'Data' in an obj is NULL in some dri drivers(such
as i965). Use mapped pointer instead.
/external/mesa3d/src/mesa/main/api_validate.c
37ece4df7c654b30b6720044b35a83694d7e5bb3 08-Jul-2007 Brian <brian.paul@tungstengraphics.com> Check if 'indices' parameter is NULL (bug 11314)
/external/mesa3d/src/mesa/main/api_validate.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/api_validate.c
6d460af6af77a0d5a5b568bcd6094b98e249ba93 23-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragment
program is enabled AND the currently bound program is valid.
Check _Enable instead of Enable to prevent things from blowing up
when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually
defining a program.
/external/mesa3d/src/mesa/main/api_validate.c
ffa7eff9ff459060364f0ed93865351f7fc15035 24-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> glDrawArrays loop was wrong
/external/mesa3d/src/mesa/main/api_validate.c
03e29a5f77c13b7b888bd8443cb2752850e47d6a 04-Dec-2003 Brian Paul <brian.paul@tungstengraphics.com> Fix some problems with glDrawElements and vertex buffer objects.
/external/mesa3d/src/mesa/main/api_validate.c
2c9f50dd4acc65ddfeb8e3fde98137711167e579 25-Nov-2003 Brian Paul <brian.paul@tungstengraphics.com> casts for g++
/external/mesa3d/src/mesa/main/api_validate.c
a2b9bad251b058f6255fa037b842c5465c0609a2 10-Nov-2003 Brian Paul <brian.paul@tungstengraphics.com> Redo array element checking for vertex array buffers.
Now, compute ctx->Array._MaxElement as the min of enabled array's max element.
Test against ctx->Array._MaxElement in glDrawArrays/Elements.
Note: testing in glArrayElement not done yet.
Only do element checking if ctx->Const.CheckArrayBounds is set.
/external/mesa3d/src/mesa/main/api_validate.c
c5b1e81de48de5d8830bf5d92ff767ad1985e46e 23-Oct-2003 Brian Paul <brian.paul@tungstengraphics.com> Initial work for bounds checking of vertex arrays and vertex buffer objects.
Only glDrawArrays() done so far.
Simplified glVertex/Color/etcPointer functions.
Misc casts added here and there.
/external/mesa3d/src/mesa/main/api_validate.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/api_validate.c
464bc3b6747108dd32e4a9fcfe6549a9d4a52a95 21-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> remove unneeded unsigned int / zero comparisons
/external/mesa3d/src/mesa/main/api_validate.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/api_validate.c
61bac6014aa15e0bec134e290aebac18f9815299 21-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> check for vertex program mode
/external/mesa3d/src/mesa/main/api_validate.c
22144ab7552f0799bcfca506bf4ffa7f70a06649 12-Mar-2001 Gareth Hughes <gareth@valinux.com> Consistent copyright info (version number, date) across all files.
/external/mesa3d/src/mesa/main/api_validate.c
08836341788a9f9d638d9dc8328510ccd18ddeb5 03-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> lots of gl_*() to _mesa_*() namespace clean-up
/external/mesa3d/src/mesa/main/api_validate.c
58e991705392a2e17a1c8b034f4083a0adaf1943 05-Jan-2001 Keith Whitwell <keith@tungstengraphics.com> Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertex
is always the last vertex parameter.
Modify clipping to preserve pv colors.
Modify swrast and X11 driver to expect the pv in the last vertex
(was looking in the first vertex previously).
Remove all handling of flatshading from swrast_setup.

Allow drivers to override the unclipped render tabs in tnl_render_stage
directly. (Like in 3.4). Removed fxsimplerender stage.

Modified t_vb_rendertmp.h to remove the need for 'parity' arguments
in RENDER_TRI macros.
/external/mesa3d/src/mesa/main/api_validate.c
8446d1bab15ef82b35b8980a0a56072ace6feb04 02-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> include state.h
/external/mesa3d/src/mesa/main/api_validate.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/api_validate.c