History log of /external/mesa3d/src/mesa/main/state.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8491e03b2befd7e9d16c5d17f95a83d91c5b16c9 02-Oct-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Flag _NEW_VARYING_VP_INPUTS when TexEnv programs are active.

The idea here is to not flag _NEW_VARYING_VP_INPUTS when shaders (either
GLSL or ARB vp/fp) are in use. If either TNL or TexEnv programs are
active, at least one stage is using fixed function.

On Pineview, fixes 20 Piglit, 60 oglconforms, and 7 ES 1.1 conformance
tests, as well as missing textures in Xonotic. These were all
regressions since commit fb4a34e60eb4c1bdc7b0fdcd98d1bf3038c354e8.

NOTE: This is a candidate for the 9.0 branch.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49127
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54807
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 7fa0f10cd85ccb5afbc3a961164011de70970ff3)
/external/mesa3d/src/mesa/main/state.c
e4f8d33aea7e0112dfbf3a38fdc36d11b2e7be10 18-Jul-2012 Brian Paul <brianp@vmware.com> mesa: use gl_program cast wrappers

In a few cases, remove unneeded casts.
And fix a few other const-correctness issues.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/state.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/state.c
bf3304a84b60a25bbc9de14d11af6e423939d7c3 19-Apr-2012 Marek Olšák <maraeo@gmail.com> Revert "mesa: only update _MaxElement when we actually need it"

This reverts commit 0de5a21470b3bff9b7c8714e5d960d5ed9d01b9c.

I was wrong, we use it in the vbo module too.
This fixes a performance regression in Nexuiz.
/external/mesa3d/src/mesa/main/state.c
fb4a34e60eb4c1bdc7b0fdcd98d1bf3038c354e8 16-Apr-2012 Marek Olšák <maraeo@gmail.com> mesa: set _NEW_VARYING_VP_INPUTS flag only if fixed-func VP is enabled & valid

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/state.c
576c8c592a4be7047a00b0c8fe3851b09f10d8d4 16-Apr-2012 Marek Olšák <maraeo@gmail.com> mesa: add _NEW_VARYING_VP_INPUTS for gl_context::varying_vp_inputs

This is a frequently-updated state and _NEW_ARRAY already causes revalidation
of the vbo module. It's kinda counter-productive to recompute arrays
in the vbo module if _NEW_ARRAY is set and then set _NEW_ARRAY again.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/state.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/state.c
0de5a21470b3bff9b7c8714e5d960d5ed9d01b9c 16-Apr-2012 Marek Olšák <maraeo@gmail.com> mesa: only update _MaxElement when we actually need it

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/state.c
741bfef26c1f0d4f7c3d3a32479752cb6ee55ab6 12-Mar-2012 Brian Paul <brianp@vmware.com> mesa: remove unused DD_TRI_CULL_FRONT_BACK

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/state.c
d710bbcd7458f6d48cf86586865f91e47c30feb2 12-Mar-2012 Brian Paul <brianp@vmware.com> mesa: remove unused DD_FLATSHADE

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/state.c
d269b1f3107ed569663b96bfd6832c177df0050e 12-Mar-2012 Brian Paul <brianp@vmware.com> mesa: remove unused DD_TRI_TWOSTENCIL

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/state.c
5edd7b8c46bbbaa59a421aa2c082374fc7dc101f 12-Mar-2012 Brian Paul <brianp@vmware.com> mesa: define _MESA_NEW_SEPARATE_SPECULAR

This will replace the soon-to-be-removed _DD_NEW_SEPARATE_SPECULAR flag.
Note: there's a similar composite _MESA_NEW_NEED_EYE_COORDS flag set already.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/state.c
34db7a8c1e775aaefad7952133e087f1c1a569f6 20-Jan-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Make sure _TexEnvProgram points at the current ff fragment program

At least one place, the _mesa_need_secondary_color function in
state.h, uses this to make decisions. The next patch in this series
will add another dependency. Ideally, this field would go away and be
replace by a flag or something.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/state.c
0e019cbd1ca4ad8a11c9310d701ca4aab11b5951 20-Jan-2012 Brian Paul <brianp@vmware.com> mesa: include arrayobj.h to silence implicit function declaration warning

Caused by commit 7a1e941ebee43cb97a2c77fd2269999b202308a2.
/external/mesa3d/src/mesa/main/state.c
7a1e941ebee43cb97a2c77fd2269999b202308a2 29-Dec-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Fix and speedup gl_array_object::_MaxElement computation.

Use a bitmask approach to compute gl_array_object::_MaxElement.
To make this work correctly depending on the shader type actually used,
make use of the newly introduced typed bitmask getters.
With this change I gain about 5% draw time on some osgviewer examples.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/state.c
459a44460e4d31d69d7ff04c1000917ca7870ff3 12-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove const qualifier from fProg to silence warning

The args to _mesa_reference_shader_program() can't be const.
/external/mesa3d/src/mesa/main/state.c
b527dd65c830a2b008816cf390d5be906e29bb23 15-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Track fixed-function fragment shader as a shader

Previously the fixed-function fragment shader was tracked as a
gl_program. This means that it shows up in the driver as a Mesa IR
program instead of as a GLSL IR program. If a driver doesn't generate
Mesa IR from the GLSL IR, that program is empty. If the program is
empty there is either no rendering or a GPU hang.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/state.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/state.c
dca6a28a14f22d77273d79d44f57b0d853c0242d 31-Oct-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Make gl_program::InputsRead 64 bits.

Make gl_program::InputsRead a 64 bits bitfield.
Adapt the intel and radeon driver to handle a 64 bits
InputsRead value.

Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/state.c
e68994494b159d4f44e34b6b6c1d489a184a2dfe 26-Nov-2011 Brian Paul <brianp@vmware.com> mesa: fix frag shader generation for alpha test with no color buffers

If alpha test is enabled and there's no color buffers we still need the
fragment shader to emit a color.

v2: add _NEW_COLOR flag in _mesa_update_state_locked()

Fixes piglit fbo-alphatest-nocolor-ff failures with Gallium drivers.

Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Eric Anholt <eric@anholt.net> (i965)
/external/mesa3d/src/mesa/main/state.c
c0cd9471173cd2287d74f5a536577348c789da5d 19-Oct-2011 Eric Anholt <eric@anholt.net> mesa: Fix detection of whether an ARB_vp is enabled for two sided lighting.

When there is no ARB_vertex_program program enabled, the Current
pointer points at a default program, so we were always using
VERTEX_PROGRAM_TWO_SIDE, even for fixed function lighting.

Fixes piglit two-sided-lighting*

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/state.c
7ec2b0d0d6b6a0f760e55ffdee0bdb385a3e900a 01-Nov-2010 Eric Anholt <eric@anholt.net> mesa: Convert fixed function fragment program generator to GLSL IR.

This is a step towards providing a direct route for drivers accepting
GLSL IR for codegen. Perhaps more importantly, it runs the fixed
function fragment program through the GLSL IR optimization. Having
seen how easy it is to make ugly fixed function texenv code that can
do unnecessary work, this may improve real applicatinos.
/external/mesa3d/src/mesa/main/state.c
de772c402215b956ab3aa0875330fc1bf7cdf95b 21-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Use gl_shader_program::_LinkedShaders instead of FragmentProgram

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/state.c
39348bf79fb247eec895c93e52f23afe138be46a 20-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Use gl_shader_program::_LinkedShaders instead of GeometryProgram

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/state.c
010cc547ca8c1fb2107106b0ad0de560780ce9aa 20-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Use gl_shader_program::_LinkedShaders instead of VertexProgram

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/state.c
b68e3422ed9a0f16c7015940ffd5ac0361f0ca42 09-Sep-2011 Eric Anholt <eric@anholt.net> mesa: Add a context flag indicating whether two-sided lighting should happen.

The 965 driver was ignoring the VERTEX_PROGRAM_TWO_SIDE flag and only
looking at fixed-function state.
/external/mesa3d/src/mesa/main/state.c
2836aab2031d5b6926923fbc70f867ec638301bd 09-Sep-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Use ColorLogicOpEnabled instead of _LogicOpEnabled

Since GL_EXT_blend_logic_op is removed, _LogicOpEnabled and
ColorLogicOpEnabled always have the same value.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/state.c
fb92fc25b00beda4df48865670c8769c7a669aac 27-Aug-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> mesa: update multisample state on _NEW_BUFFERS

A change in sampleBuffers affects the final enable value.
/external/mesa3d/src/mesa/main/state.c
9786688672db9e8916b6b64ec78417197db77e84 22-Jun-2011 Brian Paul <brianp@vmware.com> mesa: comments and 80-column wrapping
/external/mesa3d/src/mesa/main/state.c
3c95ff209f72bacd1b5807c97e1dee079e9206b3 22-Jun-2011 Brian Paul <brianp@vmware.com> mesa: update comments in update_program_enables()
/external/mesa3d/src/mesa/main/state.c
79dddedfd197d089ccb1c6d8b5b7d38583493ac5 22-Jun-2011 Brian Paul <brianp@vmware.com> mesa: update/fix comments in update_program()
/external/mesa3d/src/mesa/main/state.c
7b8830d81d816c22d5930bec1f0f178cf0d138c6 06-Apr-2011 Brian Paul <brianp@vmware.com> mesa: consolidate code in _mesa_update_array_max_element()
/external/mesa3d/src/mesa/main/state.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/state.c
7ecb61c30c4984a8513b306b640f9d274d8ecf61 23-Mar-2011 Brian Paul <brianp@vmware.com> mesa: remove _MESA_NEW_TRANSFER_STATE
/external/mesa3d/src/mesa/main/state.c
098f9c5325de16bfb5bf8b0e93e0ec1871db4a76 13-Mar-2011 Eric Anholt <eric@anholt.net> Revert "mesa: Convert fixed function fragment program generator to GLSL IR."

This reverts commit 7cb87dffce2c7a37f960f3a865cf92fd193dd8c5.
There were regressions (Bug #35244) and more review has been requested.
/external/mesa3d/src/mesa/main/state.c
07c420a3c6799a744088f1bbe1c1a5ff157a1771 13-Mar-2011 Eric Anholt <eric@anholt.net> Revert "mesa: Track a computed _CurrentFragmentProgram for current gl_shader_program"

This reverts commit b4452c3baad6e0379eeb7f22f2e51d13999e1323.
/external/mesa3d/src/mesa/main/state.c
b4452c3baad6e0379eeb7f22f2e51d13999e1323 12-Jan-2011 Eric Anholt <eric@anholt.net> mesa: Track a computed _CurrentFragmentProgram for current gl_shader_program

This is like how we track FragmentProgram._Current for the computed
ARB fragment program for fixed function texenv, but this gives direct
access to the gl_shader_program for drivers to codegen from, skipping
ARB_fp.
/external/mesa3d/src/mesa/main/state.c
7cb87dffce2c7a37f960f3a865cf92fd193dd8c5 01-Nov-2010 Eric Anholt <eric@anholt.net> mesa: Convert fixed function fragment program generator to GLSL IR.

This is a step towards providing a direct route for drivers accepting
GLSL IR for codegen. Perhaps more importantly, it runs the fixed
function fragment program through the GLSL IR optimization. Having
seen how easy it is to make ugly fixed function texenv code that can
do unnecessary work, this may improve real applicatinos.
/external/mesa3d/src/mesa/main/state.c
decc6e2a32ef49e673c081f30e19b8970155d887 11-Mar-2011 Brian Paul <brianp@vmware.com> mesa: replace NEED_SECONDARY_COLOR(), RGBA_LOGICOP_ENABLED() with inlines

and rename them.
/external/mesa3d/src/mesa/main/state.c
cfaf217135d8a8e903b3fbf380f18170df018f0c 12-Feb-2011 Marek Olšák <maraeo@gmail.com> vbo: bind arrays only when necessary

We don't need to call bind_arrays in the vbo module if the states
which the function depends on are not dirty.
/external/mesa3d/src/mesa/main/state.c
aad65fa112754074d24d0b5a8397db2663dc9454 08-Nov-2010 Roland Scheidegger <sroland@vmware.com> mesa: remove unneeded DD_POINT_SIZE and DD_LINE_WIDTH tricaps

DD_POINT_SIZE was broken for quite some time, and the only driver (r200) relying
on this no longer needs it.
Both DD_POINT_SIZE and DD_LINE_WIDTH have no users left outside of debugging
output, hence instead of fixing DD_POINT_SIZE setting just drop both of them -
there was a plan to remove tricaps flags entirely at some point.
/external/mesa3d/src/mesa/main/state.c
84eba3ef71dfa822e5ff0463032cdd2e3515b888 13-Oct-2010 Ian Romanick <ian.d.romanick@intel.com> Track separate programs for each stage

The assumption is that all stages are the same program or that
varyings are passed between stages using built-in varyings.
/external/mesa3d/src/mesa/main/state.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/state.c
b6b9b17d27c570cc99ae339e595cf2f63ca5e8d7 02-Jul-2010 Brian Paul <brianp@vmware.com> mesa: make the number of draw buffers part of the texenv program key state

All the state that effects the program should be in the key.
This didn't help with bug 28169 but is a good fix anyway.

NOTE: this is a low-priority candidate for the 7.8 branch. In practice,
this issue might never be hit.
/external/mesa3d/src/mesa/main/state.c
da7bd6a90e1fee5c16327338fd251c0f6be34e36 28-Jun-2010 Zack Rusin <zackr@vmware.com> mesa: initial support for ARB_geometry_shader4

laying down the foundation for everything and implementing most of the
stuff.
linking, gl_VerticesIn and multidimensional inputs are left.
/external/mesa3d/src/mesa/main/state.c
ec2b92f98c2e7f161521b447cc1d9a36bce3707c 11-Jun-2010 Brian Paul <brianp@vmware.com> mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/main/state.c
f820b263db0d3bc46b4ea7b41bbe026cbf990430 04-Apr-2010 Henri Verbeet <hverbeet@gmail.com> mesa: update_arrays() depends on program state.

It uses ctx->VertexProgram._Current.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/state.c
298be2b028263b2c343a707662c6fbfa18293cb2 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace the _mesa_*printf() wrappers with the plain libc versions
/external/mesa3d/src/mesa/main/state.c
af1e9403e732651fe2cedde230ac7010f2f1a649 26-Jan-2010 Brian Paul <brianp@vmware.com> mesa: remove redundant _MaxElement computation

Eric added some new code to check if offset < obj_size before computing
_MaxElement but my original code was still present afterward and it
clobbered the _MaxElement value.

Not sure if this came from a bad merge or what.
/external/mesa3d/src/mesa/main/state.c
66035503532a17110e36d1d1053e98a1595d03d9 19-Jan-2010 Vinson Lee <vlee@vmware.com> mesa: Remove unnecessary header from state.c.
/external/mesa3d/src/mesa/main/state.c
dbb8fb8de9a9deca0ae22015e4680f4e631d6d32 07-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Make FEATURE_pixel_transfer follow feature conventions.

As shown in mfeatures.h, this allows users of pixel.h to work without
knowing if the feature is available.
/external/mesa3d/src/mesa/main/state.c
28cfd37bb3c5dfa70715d91bd523e93dfedd3981 07-Aug-2009 Brian Paul <brianp@vmware.com> mesa: use a more logical flag in _mesa_set_vp_override()
/external/mesa3d/src/mesa/main/state.c
03187571b63d97e3d1406d329c5e760e16ef3181 03-Aug-2009 Eric Anholt <eric@anholt.net> texenv: Add missing dependency on VP changes.

Funny thing is I annotated this dependency in
e5f63c403b767f9974e8eb5d412c012b8a69287f, but didn't actually use it.
/external/mesa3d/src/mesa/main/state.c
9cea84b6b5f96bf3bb42546e49b76024d7126e30 17-Jul-2009 Eric Anholt <eric@anholt.net> texenv: Calculate whether we need to do secondary color on our own.

The _TriangleCaps bit is deprecated, not updated when we require, and
is set based on state that hasn't been updated at that point in
_mesa_update_state_locked().

Fixes incorrect clear color in glsl/twoside.c with meta_clear_tris.
/external/mesa3d/src/mesa/main/state.c
e5f63c403b767f9974e8eb5d412c012b8a69287f 02-Jun-2009 Eric Anholt <eric@anholt.net> Fix state flag dependencies for fixed function fragment program updates.

I started looking into why _NEW_ARRAY punishes us, and while annotating
dependencies noticed that a bunch of dependencies were missing.
/external/mesa3d/src/mesa/main/state.c
058e96916b1ee661dfc16052b79b3aa9fcb47690 25-Feb-2009 Eric Anholt <eric@anholt.net> Cap array elements at 0 when passed an invalid pointer for an array object.

Otherwise, a pointer greater than the size would underflow and give a large
maximum element.

Reviewed-by: Brian Paul <brianp@vmware.com> (previous version)
/external/mesa3d/src/mesa/main/state.c
68d412f31cbf028b1faa1c7fd95b849a95bb762c 22-May-2009 Brian Paul <brianp@vmware.com> mesa: add missing update_min() call in update_arrays()
/external/mesa3d/src/mesa/main/state.c
fac334e6d33b0c9ffa2c5147079d728b647d0d2a 22-May-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'
1045481dd96dec6e37f4b623b1dbae8af381de75 22-May-2009 Brian Paul <brianp@vmware.com> mesa: fix loop over generic attribs in update_arrays()
/external/mesa3d/src/mesa/main/state.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/state.c
b9d0f947f2bcc47047b162e3d7c8f91b6153e02c 06-May-2009 Brian Paul <brianp@vmware.com> mesa: Compute gl_client_array->_MaxElement during array validation

Used to be done in the glVertex/Normal/Color/etc/Pointer() calls but
if the VBO was reallocated the size could change.
New _NEW_BUFFER_OBJECT state flag.
/external/mesa3d/src/mesa/main/state.c
a6c8e900af981e011e51268a2724e5ff4a3ff1eb 06-May-2009 Brian Paul <brianp@vmware.com> mesa: use local var to make code a bit more concise
/external/mesa3d/src/mesa/main/state.c
64e331eb529e66ef678804594c8a3266c97e645f 21-Apr-2009 Brian Paul <brianp@vmware.com> mesa: new _NEW_PROGRAM_CONSTANTS flag

This state flag will be used to indicate that vertex/fragment program
constants have changed. _NEW_PROGRAM will be used to indicate changes
to the vertex/fragment shader itself, or misc related state.

_NEW_PROGRAM_CONSTANTS is also set whenever a program parameter that's
tracking GL state has changed. For example, if the projection matrix is
in the parameter list, calling glFrustum() will cause _NEW_PROGRAM_CONSTANTS
to be set. This will let to remove the need for dynamic state atoms in
some drivers.

For now, we still set _NEW_PROGRAM in all the places we used to. We'll no
longer set _NEW_PROGRAM in glUniform() after drivers/etc have been updated.
/external/mesa3d/src/mesa/main/state.c
c710430f3ac05c0c6a528bb7b4f82383a26103d1 11-Apr-2009 Eric Anholt <eric@anholt.net> mesa: Update texenv program when _NEW_ARRAYS is updated as well.

This fixes a regression in fbotest1 on 915, where a transition from
color+vertex array enabled to texcoord0+vertex array enabled wouldn't trigger
program update on the second _mesa_update_state of DrawArrays, and we'd sample
a constant texcoord of 0,0,0,1 instead of the array.

The double state update in DrawArrays from
1680ef869625dc1fe9cf481b180382a34e0738e7 still needs fixing.
/external/mesa3d/src/mesa/main/state.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/state.c
de1caa550700ae38ff791c30f6d482f3efddebd0 03-Mar-2009 Brian Paul <brianp@vmware.com> mesa: fix sw fallback state validation bug

When a hw driver fell back to swrast, swrast wasn't always getting informed
of program changes. When fixed function is translated into shaders, flags
like _NEW_LIGHT, _NEW_TEXTURE, etc. should really signal _NEW_PROGRAM.
In this case, swrast wasn't seeing _NEW_PROGRAM when new fragment shaders
were generated.
/external/mesa3d/src/mesa/main/state.c
f352a80aec10c3faf2d84e0b35d59b4edc0395ef 02-Mar-2009 Brian Paul <brianp@vmware.com> mesa: add ctx->Stencil._Enabled field

Only true if stenciling is enabled, and there's a stencil buffer.
/external/mesa3d/src/mesa/main/state.c
5340b6dff73a0a23531ce2a5f28fba8303adab6e 11-Feb-2009 Brian Paul <brianp@vmware.com> Merge commit 'origin/gallium-master-merge'

This is the big merge of the gallium-0.2 branch into master.
gallium-master-merge was just the staging area for it.
Both gallium-0.2 and gallium-master-merge are considered closed now.

Conflicts:

progs/demos/Makefile
src/mesa/main/state.c
src/mesa/main/texenvprogram.c
537d3ed6f3112fdf16fd853ada0e0bcc8bd83227 11-Feb-2009 Brian Paul <brianp@vmware.com> mesa: another fix for program/texture state validation

This fixes a regression introduced in 46ae1abbac6837d051c10b2e8b57eab3d4958ff4

Break program validation into two steps, do part before texture state
validation and do the rest after:
1. Determine Vertex/Fragment _Enabled state.
2. Update texture state.
3. Determine pointers to current Vertex/Fragment programs (which may involve
generating new "fixed-function" programs).

See comments in the code for more details of the dependencies.
/external/mesa3d/src/mesa/main/state.c
1ed5fe5cbfb64c57997ec46684748f8ae516d19c 10-Feb-2009 Brian Paul <brianp@vmware.com> mesa: s/_IMAGE_NEW_TRANSFER_STATE/_MESA_NEW_TRANSFER_STATE/ to be more consistant with other flags
/external/mesa3d/src/mesa/main/state.c
46ae1abbac6837d051c10b2e8b57eab3d4958ff4 10-Feb-2009 Brian Paul <brianp@vmware.com> mesa: fix/change state validation order for program/texture state

Program state needs to be updated before texture state since the later depends
on the former.

Fixes piglit texgen failure. The second time through the modes (press 't'
three times) we disable the fragment program and return to conventional texture
mode. State validation failed here because update_texture() saw stale fragment
program state.
/external/mesa3d/src/mesa/main/state.c
510916f50961a3a9286807e7f75ba716f3e7f967 07-Jan-2009 Eric Anholt <eric@anholt.net> mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.

There was a note in state.c about _Active deserving to die, and there were
potential issues with it due to i965 forgetting to set _UseTexEnvProgram.
Removing both simplifies things.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/state.c
8fb727548a652c47d8cf9593e2ae412ef2040119 07-Jan-2009 Eric Anholt <eric@anholt.net> mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.

There was a note in state.c about _Active deserving to die, and there were
potential issues with it due to i965 forgetting to set _UseTexEnvProgram.
Removing both simplifies things.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/state.c
60410fc8587ce2bf09a5dc5d744268aa83701522 18-Dec-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: remove unneeded _mesa_reference_fragprog() call

The subsequent if/else cases always call _mesa_reference_fragprog() anyway.
/external/mesa3d/src/mesa/main/state.c
35aebf46679a6450b912b592b83badcfb523b79c 18-Dec-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: remove unneeded _mesa_reference_fragprog() call

The subsequent if/else cases always call _mesa_reference_fragprog() anyway.
/external/mesa3d/src/mesa/main/state.c
e4c9aeed8b59e15bce0906521cdd090f033586a9 13-Nov-2008 Alan Hourihane <alanh@tungstengraphics.com> mesa: fix generation of fixed function state when no vp exists
/external/mesa3d/src/mesa/main/state.c
16340f8d4dfbde9cea01637ea225053194b8c640 13-Nov-2008 Alan Hourihane <alanh@tungstengraphics.com> mesa: fix generation of fixed function state when no vp exists
/external/mesa3d/src/mesa/main/state.c
cf85e413ad7672c1cef73215222ca1caa8e48b30 15-Oct-2008 Keith Whitwell <keith@tungstengraphics.com> Merge commit 'origin/gallium-0.1' into gallium-0.2

Conflicts:

src/mesa/main/context.c
6d4d51d647c27288aa625560bc080231099c0b01 10-Oct-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: new _mesa_set_vp_override() function for driver-override of vertex program

Patch provide by Keith.
Used in state tracker by DrawPixels to indicate that the state tracker (driver)
is using its own vertex program. This prevents the texenvprogram code from
replacing conventional shader inputs with state vars.
Fixes glDraw/CopyPixels regressions.
/external/mesa3d/src/mesa/main/state.c
3a3801c1431203fc4dca24d56577995ae2e78956 10-Oct-2008 Keith Whitwell <keith@tungstengraphics.com> Merge commit 'origin/master' into gallium-0.2

Conflicts:

src/mesa/glapi/descrip.mms
src/mesa/shader/grammar/descrip.mms
d7f1cb5b5a134b63227d5746a2dd1f05597c5c2f 10-Oct-2008 Keith Whitwell <keith@tungstengraphics.com> Merge commit 'origin/gallium-0.1' into gallium-0.2

Conflicts:

src/gallium/auxiliary/gallivm/instructionssoa.cpp
src/gallium/auxiliary/gallivm/soabuiltins.c
src/gallium/auxiliary/rtasm/rtasm_x86sse.c
src/gallium/auxiliary/rtasm/rtasm_x86sse.h
src/mesa/main/texenvprogram.c
src/mesa/shader/arbprogparse.c
src/mesa/shader/prog_statevars.c
src/mesa/state_tracker/st_draw.c
src/mesa/vbo/vbo_exec_draw.c
239617fbe22d4dd7b2794510a6665f09602b5adf 07-Oct-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: replace GLuint with GLbitfield to be clearer about usage

Also, fix up some comments to be doxygen style.
/external/mesa3d/src/mesa/main/state.c
1680ef869625dc1fe9cf481b180382a34e0738e7 03-Oct-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: avoid generating constant vertex attributes in fixedfunc programs

Keep track of enabled/active vertex attributes.
Keep track of potential vertex program outputs.

When generating fragment program, replace references to fragment attributes
which are effectively non-varying and non-computed passthrough attributes with
references to the new CURRENT_ATTRIB tracked state value.

Only downside is slight ugliness in VBO code where we need to validate state
twice in succession.
/external/mesa3d/src/mesa/main/state.c
fa1b533012030cd67148b5bf1e018fd5e30c96f8 03-Oct-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: add new internal state for tracking current vertex attribs
/external/mesa3d/src/mesa/main/state.c
a4a5a37f2760eca97b85f699c932c746da4d8e6c 26-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: remove invalid assertions that programs have parameters

Fixes failure with demos/fplight.c
/external/mesa3d/src/mesa/main/state.c
dace236c5fffa29d59e4d12fa865889bbecbdd24 22-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Merge branch 'master' into gallium-0.2

Conflicts:

src/mesa/glapi/glapi.h
src/mesa/main/api_exec.c
src/mesa/main/attrib.c
src/mesa/main/clear.c
src/mesa/main/context.c
src/mesa/main/mfeatures.h
src/mesa/main/mipmap.c
src/mesa/main/mipmap.h
src/mesa/main/readpix.c
src/mesa/main/sources
src/mesa/main/state.c
src/mesa/main/texformat.c
src/mesa/main/texparam.c
src/mesa/main/texstate.c
src/mesa/vbo/vbo_context.c
src/mesa/x86/common_x86_asm.S
34a61c66fd1b625a5606b795d192a49632ff1787 22-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: refactor: move #define FEATURE flags into new mfeatures.h file

Also, check the FEATURE flags in many places.
(cherry picked from commit 40d1a40f294f1ed2dacfad6f5498322fc08cc2d1)

Conflicts:

src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/texobj.c
src/mesa/main/texstate.c
src/mesa/main/texstore.c
/external/mesa3d/src/mesa/main/state.c
c9e5671691289006e9b1152d6ce20200a83010c2 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move _mesa_init_exec_table() into new api_exec.c file
(cherry picked from commit b36e6f0baf64491772b8e1a1cddf68a7dcf8ee22)
/external/mesa3d/src/mesa/main/state.c
28876dd511ec2c9d5f5500499201df2588e8c7f1 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move glReadPixels code into new readpix.c file
/external/mesa3d/src/mesa/main/state.c
411d6672a6f3b228faebcf13da90388ea7671ae2 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move glPixelStore function into new pixelstore.c file
/external/mesa3d/src/mesa/main/state.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/state.c
32ef6e75839d6be283e034436e5dd34eabb67958 20-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: move fixed function vertex program builder from tnl to core mesa

Also unify caching of fragment and vertex programs in shader/prog_cache.c`

Brought across from gallium-0.2
/external/mesa3d/src/mesa/main/state.c
89ab66448e1bcd78caab6678261c2885dcff741c 18-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Merge commit 'origin/master' into gallium-0.2

Conflicts:

progs/trivial/Makefile
src/mesa/glapi/glthread.c
9d48a7832b78658d2422ae5a185276c41750010d 16-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix MSAA enable state in update_multisample()
/external/mesa3d/src/mesa/main/state.c
b1f5fbe1cb937bc639cc335acfcfb8c09dfeb3ec 16-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix MSAA enable state in update_multisample()
/external/mesa3d/src/mesa/main/state.c
af74abab6b9a1e32a1cc5cac7e547b953dcee0ab 12-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: get fixed-function program generation working again
/external/mesa3d/src/mesa/main/state.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
489fc4d10a57538de59a89e19ce752e4b7253d22 02-Jul-2008 Roland Scheidegger <sroland@tungstengraphics.com> mesa: fix issues around multisample enable

multisample enable is enabled by default, however gl mandates multisample
rendering rules only apply if there's also a multisampled buffer.
/external/mesa3d/src/mesa/main/state.c
5ef4e4ffb8053db87f52df3c9b2ddb71d9c7d6e5 02-Jul-2008 Roland Scheidegger <sroland@tungstengraphics.com> mesa: fix issues around multisample enable

multisample enable is enabled by default, however gl mandates multisample
rendering rules only apply if there's also a multisampled buffer.
/external/mesa3d/src/mesa/main/state.c
d378f7b3dfda3b549e4b02380e492671cc34bb59 25-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: point size arrays
/external/mesa3d/src/mesa/main/state.c
40d1a40f294f1ed2dacfad6f5498322fc08cc2d1 11-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move #define FEATURE flags into new mfeatures.h file

Also, check the FEATURE flags in many places.
/external/mesa3d/src/mesa/main/state.c
b36e6f0baf64491772b8e1a1cddf68a7dcf8ee22 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move _mesa_init_exec_table() into new api_exec.c file
/external/mesa3d/src/mesa/main/state.c
d960a0621d65ae9977efe9bbb51dce9e1571b114 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move glReadPixels code into new readpix.c file
/external/mesa3d/src/mesa/main/state.c
f26baad2e1e8cb3c24fa64cc31869ec7b27d71ff 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move glPixelStore function into new pixelstore.c file
/external/mesa3d/src/mesa/main/state.c
16e8ee33bd3db1b14a97b3ddd2a7a8833851f8fb 05-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: remove EXT/NV suffixes from _mesa_PointParameter functions
/external/mesa3d/src/mesa/main/state.c
a2b1c46535d02bb4cc154f26481eda264a65abe8 24-May-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: evaluate _NeedEyeCoords prior to generating internal vertex shader
/external/mesa3d/src/mesa/main/state.c
f9e1ef2a5b7951d36db56913b1366cf65b9d0976 18-May-2008 Brian Paul <brian.paul@tungstengraphics.com> alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)

these should be the same functions (as per spec).

cherry-picked from master (86a4810b09097714942bf2b889e6c62357bba931)
/external/mesa3d/src/mesa/main/state.c
df43fb661b2030d9b833a42dd47b8d7bf58d73aa 07-May-2008 Brian <brian.paul@tungstengraphics.com> implement full reference counting for vertex/fragment programs

Use _mesa_reference_vert/fragprog() wherever we assign program pointers.
Fixes a memory corruption bug found with glean/api2 test.
/external/mesa3d/src/mesa/main/state.c
103ae5d16fd9fef566096570f731bb634a8025d4 07-May-2008 Brian <brian.paul@tungstengraphics.com> gallium: implement full reference counting for vertex/fragment programs

Use _mesa_reference_vert/fragprog() wherever we assign program pointers.
Fixes a memory corruption bug found with glean/api2 test.
Another memory bug involving shaders yet to be fixed...
/external/mesa3d/src/mesa/main/state.c
9edac96d69b6f9942c170c573c9aba4c35550639 30-Oct-2007 Brian <brian.paul@tungstengraphics.com> Alias glStencilOpSeparateATI with glStencilOpSeparate.
/external/mesa3d/src/mesa/main/state.c
102f2ef4fc2d45c51926add6bdf51ef6fcb43b35 30-Oct-2007 Brian <brian.paul@tungstengraphics.com> Finish up ATI_separate_stencil

Add entrypoints to glapi XML file and regenerate files.
Implement glStencilOpSeparateATI().
Consolidate some code in stencil.c
/external/mesa3d/src/mesa/main/state.c
28dfb0613b51c51d5f09010ea38d050a9ec817d7 01-Apr-2008 Roland Scheidegger <sroland@tungstengraphics.com> fix mistakenly set ATIFragmentShader._Enabled bit (bug 15269)
/external/mesa3d/src/mesa/main/state.c
86a4810b09097714942bf2b889e6c62357bba931 09-Nov-2007 Roland Scheidegger <sroland@tungstengraphics.com> alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)

these should be the same functions (as per spec).
/external/mesa3d/src/mesa/main/state.c
68ab379be09de775244bb787f0d30e562fc21038 31-Oct-2007 Brian <brian.paul@tungstengraphics.com> more flags for MaintainTnlProgram case, update #includes
/external/mesa3d/src/mesa/main/state.c
ba0fcc47d61be6caa2f4a5f4eb0c36eba9e2cb59 30-Oct-2007 Brian <brian.paul@tungstengraphics.com> Set _NEW_BUFFERS in glRead/DrawBuffer().

Previously, we set _NEW_PIXEL and _NEW_COLOR in these functions, respectively.
That correponds to the GL attribute groups, but doesn't make much sense
otherwise. This could improve validation efficiency in a few places too.
It looks like all the drivers are already checking for _NEW_BUFFERS in the
right places (since that's the bit for FBO state) so we can trim out
_NEW_PIXEL and _NEW_COLOR at any time.
/external/mesa3d/src/mesa/main/state.c
a7f64635a640f49011cf78af766f90ae6588989a 30-Oct-2007 Brian <brian.paul@tungstengraphics.com> Alias glStencilOpSeparateATI with glStencilOpSeparate.
/external/mesa3d/src/mesa/main/state.c
f70ca96ba9eaeb380861fb657fca99f129b7f232 30-Oct-2007 Brian <brian.paul@tungstengraphics.com> Finish up ATI_separate_stencil

Add entrypoints to glapi XML file and regenerate files.
Implement glStencilOpSeparateATI().
Consolidate some code in stencil.c
/external/mesa3d/src/mesa/main/state.c
1553eba50c7a2577bce069a3400a29e4d49c0f31 29-Oct-2007 Brian <brian.paul@tungstengraphics.com> Rewrite update_program() to use _mesa_get_fixed_func_fragment/vertex_program().
/external/mesa3d/src/mesa/main/state.c
ed6d5ff6f8fdd34aaaa126119dbd8e1e321859d8 27-Sep-2007 Brian <brian.paul@tungstengraphics.com> Restore old _TriangleCaps code to fix Blender problem (bug 12164)
/external/mesa3d/src/mesa/main/state.c
af2aa8e9cf88a9ee3ec338eddc9a47bf2f142cb7 21-Jul-2007 Brian <brian.paul@tungstengraphics.com> Remove ctx->Point._Size and ctx->Line._Width.

The clamping for these values depends on whether we're drawing AA or non-AA
points, lines. Defer clamping until drawing time. Drivers could compute and
keep clamped AA and clamped non-AA values if desired.
/external/mesa3d/src/mesa/main/state.c
c223c6b663cd5db39ba19c2be74b88cc3b8f53f3 04-Jul-2007 Brian <brian.paul@tungstengraphics.com> Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags.
/external/mesa3d/src/mesa/main/state.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/state.c
b7f5b8af65603002f73b5f83b34d090536df6e00 26-Apr-2007 Brian <brian@yutani.localnet.net> Unconditionally update _TriangleCaps bits. Fixes software fallback bugs, such as #10687.
/external/mesa3d/src/mesa/main/state.c
74afcabd8599565c1b6d06ea5f355662a81c3778 21-Apr-2007 Brian <brian@yutani.localnet.net> Rename occlude.[ch] to queryobj.[ch]
/external/mesa3d/src/mesa/main/state.c
3e45db67294faaf0a06c42bdd6dbdb96f87c8801 27-Mar-2007 Brian <brian@nostromo.localnet.net> Restore the UseTexEnvProgram logic.

Was removed during glsl-compiler work. Still need to go back and revisit this
because of the interaction with fragment shaders...
/external/mesa3d/src/mesa/main/state.c
29c471aafc6a3fef23d553e31a555d1782854a77 22-Feb-2007 Brian <brian@yutani.localnet.net> Merge branch 'origin' into glsl-compiler-1

Conflicts:

src/mesa/main/state.c
src/mesa/shader/program.c
src/mesa/shader/program.h
src/mesa/shader/programopt.c
src/mesa/shader/slang/slang_execute.c
src/mesa/sources
src/mesa/swrast/s_arbshader.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_zoom.c
src/mesa/tnl/t_context.c
src/mesa/tnl/t_save_api.c
src/mesa/tnl/t_vb_arbprogram.c
src/mesa/tnl/t_vp_build.c
src/mesa/tnl/t_vtx_eval.c
3bacb68c70e4a0813bf944061a97e727cbd89c43 11-Feb-2007 Rune Peterson <rune@megahurts.dk> ctx->Point._Size fix
/external/mesa3d/src/mesa/main/state.c
6a3fdc3a1ea6c306d9543791bf172dd1052d7382 16-Jan-2007 Keith Whitwell <keith@tungstengraphics.com> Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa into vbo-0.2

Conflicts:

src/mesa/array_cache/sources
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_fallback.c
src/mesa/drivers/dri/i965/brw_vs_emit.c
src/mesa/drivers/dri/i965/brw_vs_tnl.c
src/mesa/drivers/dri/mach64/mach64_context.c
src/mesa/main/extensions.c
src/mesa/main/getstring.c
src/mesa/tnl/sources
src/mesa/tnl/t_save_api.c
src/mesa/tnl/t_save_playback.c
src/mesa/tnl/t_vtx_api.c
src/mesa/tnl/t_vtx_exec.c
src/mesa/vbo/vbo_attrib.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_api.c
src/mesa/vbo/vbo_save_draw.c
65a18442e5d846940714bb662f5b1bb47ab60c29 20-Dec-2006 Brian <brian@yutani.localnet.net> Clean-up and re-org of the main GLSL object types.

Use the gl_shader struct as it should be.
Renamed gl_linked_program to gl_shader_program.
Store both shaders and programs in the same hash table and use the Type field
to distinguish them.
/external/mesa3d/src/mesa/main/state.c
0bf5dbe002a64e198f55724cc1542602c012490f 20-Dec-2006 Brian <brian@yutani.localnet.net> Overhaul of GLSL API functions, dispatching, etc.
/external/mesa3d/src/mesa/main/state.c
a90046f1097ad95de2aa95ca65741dff5cddced9 15-Dec-2006 Brian <brian@yutani.localnet.net> Lots of assorted changes for new GLSL compiler backend.

New datatypes, constants, variables.
/external/mesa3d/src/mesa/main/state.c
8dcfcad7a2598ba835930aac8f3fd6576e464c1c 13-Dec-2006 Brian <brian@yutani.localnet.net> Move all the code for computing ctx->_TriangleCaps into state.c.
ctx->_TriangleCaps should probably go away altogether someday...
/external/mesa3d/src/mesa/main/state.c
c64a06291817d8667eddc538abdbf5de2f011961 03-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> plug in 2.0, 2.1 functions
/external/mesa3d/src/mesa/main/state.c
abc73d9cba655479af493fabd13a488e5f7951eb 02-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> new RGBA_LOGICOP_ENABLED() macro
/external/mesa3d/src/mesa/main/state.c
f49c0d0dfbae5624c4db57b24fff23bd7dbaae01 02-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with the
OpenGL 2.0 function of the same name.
/external/mesa3d/src/mesa/main/state.c
6d104cb932080c5c0d951fbc0ec6d30fb7ebef45 02-Nov-2006 Alan Hourihane <alanh@tungstengraphics.com> merge current trunk into vbo branch
/external/mesa3d/src/mesa/main/state.c
5ac93f86210eb5c2a8dee74ec19b0ecd54376863 01-Nov-2006 Keith Whitwell <keith@tungstengraphics.com> Merge texmem-0-3-branch.
/external/mesa3d/src/mesa/main/state.c
fd2756006a0baf63f60548d8f509de5b9a143608 30-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> Move edgeflag into the VERT_ATTRIB_SEVEN slot. This means that our
NV_vertex_program implementation has slightly incorrect aliasing
behaviour. I think this is reasonable given the simplification and
the fact that the mainstream ARB_vp continues to have the correct
behaviour.
/external/mesa3d/src/mesa/main/state.c
f3f51bc844c8749250724d164722402cb9a07dc7 12-Oct-2006 Ian Romanick <idr@us.ibm.com> Fix bug #4681.

glDeleteTextures and glDeleteTexturesEXT were erroneously listed as
aliases of each other. For anything /except/ GLX protocol they are
aliases. This set of changes allows functions that are functionally
identical but have different GLX protocol to be listed as aliases.

When building with GLX_INDIRECT_RENDERING set, different static
functions are used. These functions determine whether the current
context is direct rendering or not. If the context is direct
rendering, the aliased function (e.g., glDeleteTextures in the case of
glDeleteTexturesEXT) is called. If the context is not direct
rendering, the correct GLX protocol is sent.

For a deeper explanation of what is changed, please see:
http://dri.freedesktop.org/wiki/PartiallyAliasedFunctions
/external/mesa3d/src/mesa/main/state.c
a5f2206077402f0a8700ec1348e09731e53c5bc2 24-Aug-2006 Ian Romanick <idr@us.ibm.com> GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.

The functions for GL_EXT_paletted_texture that do not share GLX
protocol with GL_ARB_imaging are supposed to alias the similar
functions from GL_SGI_color_table. They didn't. This patch corrects
this problem and enables GLX protocol for both extensions.

Since this removes 3 entries from the dispatch table, this change
creates a lot of changes in the generated files.
/external/mesa3d/src/mesa/main/state.c
9dc90cd5f35e1b286cc70f95f0dfe20ea356eeca 17-Aug-2006 Brian Paul <brian.paul@tungstengraphics.com> added FEATURE_EXT_timer_query and tests
/external/mesa3d/src/mesa/main/state.c
8c41c757fe8efa04df0dd5cdfb33a75b84891c19 15-Aug-2006 Ian Romanick <idr@us.ibm.com> Add support for GL_EXT_gpu_program_parameters. Any driver that enables
either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this
extension as well.
/external/mesa3d/src/mesa/main/state.c
122629f27925a9dc50029bebc5079f87f416a7e1 20-Jul-2006 Brian Paul <brian.paul@tungstengraphics.com> Some structure renaming. Prefix vertex/fragment-related structs with
"gl_" to match other structs.
/external/mesa3d/src/mesa/main/state.c
813e56db511e783fcf1ad7bcfd40645451802bd7 18-Jul-2006 Brian Paul <brian.paul@tungstengraphics.com> Compute ctx->Color._LogicOpEnabled in one place instead of four places!
/external/mesa3d/src/mesa/main/state.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/state.c
04fa003a501298500607c4e83e58cb0291ddc6e4 24-May-2006 Brian Paul <brian.paul@tungstengraphics.com> The ctx->_TexEnvProgram that's allocated in update_state() doesn't seem to
be needed (it's set in texenvprogram.c) and is a memory leak according to
valgrind.
Disable with #if 0 / #endif
/external/mesa3d/src/mesa/main/state.c
94b30dc390f1fdd526c080080830016fad3e2ee2 25-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> Put color index attribute into the 6th attribute slot.
Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values
instead of specific vertex attributes.
Remove the EdgeFlagv function from the GLvertexformat struct.
/external/mesa3d/src/mesa/main/state.c
bb38cadb1c5f2dc13096a091bdaf61dc3e3cfa4d 11-Apr-2006 Michal Krol <mjkrol@gmail.org> More GLSL code:
- use macros to access and modify render inputs bit-field;
- un-alias generic vertex attributes for ARB vertex calls;
- use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS
(ARB code) in place of VERT_ATTRIB_MAX;
- define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex
attributes for ARB_vertex_shader;
- fix generic attribute index range check in arbprogparse.c;
- interface GLSL varyings between vertex and fragment shader;
- use 64-bit optimised bitset (bitset.h) for render inputs;
/external/mesa3d/src/mesa/main/state.c
519a2e7cb7b8f026bd5fe711cdf12a20df1c46ae 29-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> Move the computation of the viewport matrix into a new update_viewport_matrix()
function since the matrix depends on the viewport params and the framebuffer's
depth buffer resolution.
Fixes some renderbuffer / depth range issues.
This simplifies the _mesa_set_viewport() and _mesa_DepthRange() functions too.
/external/mesa3d/src/mesa/main/state.c
6d4284e2bff012e3ceeb41157b07d1d887d7cfb1 01-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> Added glBlitFramebufferEXT function.
/external/mesa3d/src/mesa/main/state.c
d469e5e5a03334f76cee4418dad97060661b1dc4 09-Jan-2006 Brian Paul <brian.paul@tungstengraphics.com> s/GLuint/GLbitfield/
/external/mesa3d/src/mesa/main/state.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/state.c
40332059e4f7b289e5524d10c5565232d27bffbe 12-Dec-2005 Keith Whitwell <keith@tungstengraphics.com> Split _MaintainTexEnvProgram into two flags _Maintain and _Use. This
restores the ability to run the software driver with program TNL but
tradtional swrast.
/external/mesa3d/src/mesa/main/state.c
0fa8c59e646b214ea61c077f723e8ffe1cc06733 07-Dec-2005 Brian Paul <brian.paul@tungstengraphics.com> Updates for GL_EXT_timer_query:
New GLint64EXT and GLuint64EXT types (use C99's long long types).
New glGetQueryObject[u]i64vEXT() functions.
/external/mesa3d/src/mesa/main/state.c
63d683091fe3a9600b65ae7ef3b554168b805406 19-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> No longer derive 'ati_fragment_shader' from 'program' class. Only the
program->Id and program->RefCount fields were used and ATI fragment shaders
didn't have too much in common with ARB/NV vertex/fragment programs anyway.
/external/mesa3d/src/mesa/main/state.c
de99760bf3511d05185799c4fb4347f9e5f420f4 12-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Move stuff common to vertex/fragment_program into the base class, including:
Instructions, InputsRead, OutputsWritten, and Parameters.
Also, added debug functions: _mesa_print_instruction(),
_mesa_print_program_parameters() and revamp _mesa_print_program().
/external/mesa3d/src/mesa/main/state.c
73347516be1a515380af1a71cbeaec51001a46dc 05-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> remove unneeded #includes
/external/mesa3d/src/mesa/main/state.c
52f686c48080cec9a26aa23d16bc14bd3d302d70 21-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> fix GLX server resize/crash when resizing windows
/external/mesa3d/src/mesa/main/state.c
dfe7aedf845ce9117065c6cee2146df7eee1c0fa 07-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> Fix a number of point size attenuation problems.
Move size clamping into the rasterization function.
/external/mesa3d/src/mesa/main/state.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/state.c
9bdfee3a470a535ebe31074651fbacf680bcea6a 18-Jul-2005 Ian Romanick <idr@us.ibm.com> Wrap every place that accesses a dispatch table with a macro. A new script-
generated file, called src/mesa/glapi/dispatch.h, is added. This file
contains three macros for each API function. It contains a GET, a SET, and
a CALL. Each of the macros take a pointer to the context and a pointer to
the dispatch table.

In several threads on mesa3d-dev we discussed replacing _glapi_add_entrypoint
with a new function called _glapi_add_dispatch. For this discussion, the
important difference between the two is that the caller of _glapi_add_dispatch
does *not* know what the dispatch offset will be at compile time. Because of
this callers need to track the dispatch offset returned by
_glapi_add_dispatch.

http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2

The downside is that driver code then has to access the dispatch table two
different ways. It accesses it using structure tags (e.g., exec->Begin) for
functions with fixed offsets and via a remap table (e.g., exec[
remap->NewExtensionFunction ]) for functions without fixed offsets. Yuck!

Using the macros allows both types of functions to be accessed
identically. If a driver needs to set a pointer for Begin, it does
'SET_Begin(ctx, exec, my_begin_function)'. If it needs to set a pointer
for NewExtensionFunction, it does 'SET_NewExtensionFunction(ctx, exec,
my_NewExtensionFunction_function)'. Furthermore, if at some point in
the future a static offset is assigned for NewExtensionFunction, only
the macros need to change (instead of every single place that accesses a
table for that function).

This code differs slightly from the originally posted patches in that the
CALL, GET, and SET marcos no longer take a context pointer as a parameter.
Brian Paul had suggested that the remap table could be stored as a global
since it would be set at CreateScreen time and would be constant for all
contexts. This change reflects that feedback.

http://marc.theaimsgroup.com/?t=112087194700001&r=1&w=2
/external/mesa3d/src/mesa/main/state.c
276330b2412910777f7016f427909085f02acbb8 09-May-2005 Keith Whitwell <keith@tungstengraphics.com> Use driver functions to create TexEnvProgram, TnlProgram
/external/mesa3d/src/mesa/main/state.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/state.c
47b29f511a8e917c65536fde90397d54d2ad23d3 04-May-2005 Keith Whitwell <keith@tungstengraphics.com> Add a facility to route all rasterization through a fragment program
which is automatically generated to match the current texture environment
state. Introduces a new value ctx->FragmentProgram._Active which is
true when either _Enabled is true or there is such a fragment program
ready to run.

To test out on a driver running the software rasterizer, set
MESA_TEX_PROG=t in the environment. It goes without saying that performance
is lower for the software rasterizer in this mode.
/external/mesa3d/src/mesa/main/state.c
ed5f790919da3ca982a0c3d2f0c705093ed6163f 14-Apr-2005 Michal Krol <mjkrol@gmail.org> cosmetic changes
/external/mesa3d/src/mesa/main/state.c
67742383e87734130e35d08d7c63c75b9adcf655 26-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> Rename _mesa_update_buffers() to _mesa_update_draw_buffer_bounds() and do
additional checks.
Replace _mesa_init_buffers() with _mesa_init_scissor() and _mesa_init_multisample().
/external/mesa3d/src/mesa/main/state.c
386e997f450649f105f0986c3b55faae42e4349c 08-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> plug in GL_EXT_framebuffer_object functions
/external/mesa3d/src/mesa/main/state.c
a9e34c68ac0538699a144f67d3ce83ccb8f49be9 12-Jan-2005 Brian Paul <brian.paul@tungstengraphics.com> Some initial work for OpenGL 2.0: glStencilFunc/Op/MaskSeparate() functions.
/external/mesa3d/src/mesa/main/state.c
7f752fed993e5e9423abac200dd59141edbada56 19-Dec-2004 Dave Airlie <airliedfreedesktop.org> Implement software ATI_fragment_shader

no error detection, slow, may not be 100% correct but a good start
/external/mesa3d/src/mesa/main/state.c
b5b8d22c4ee921dff99b898a5907023b20670a27 27-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> Change the dispatch offsets for the VertexAttrib*NV functions so they don't
alias with the corresponding ARB functions.
GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias
with conventional vertex attributes, as GL_NV_vertex_program does.
So, the ARB and NV version of VertexAttrib need to be distinct.
/external/mesa3d/src/mesa/main/state.c
21f6978c532eae50d9daefd481b5ab936225fd27 27-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> clean up code related to dispatch table initialization
/external/mesa3d/src/mesa/main/state.c
7ee79c80ea19a7df6069265fc3656f0b29e78d7a 27-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> use _glapi_proc
/external/mesa3d/src/mesa/main/state.c
80d468c1c976d9e3c00edcf82e56f42e168c8b9a 27-Oct-2004 Michal Krol <mjkrol@gmail.org> fill api entries for ARB_shader_objects and ARB_vertex_shader
/external/mesa3d/src/mesa/main/state.c
53f82c5aadbb15585754bfacf3237093eccdb2ce 02-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> added support for GL_ARB_draw_buffers
/external/mesa3d/src/mesa/main/state.c
8a970af976ef1b0c37a7a6d5967b5ad698688c77 10-Sep-2004 Brian Paul <brian.paul@tungstengraphics.com> updated error msg
/external/mesa3d/src/mesa/main/state.c
a6c423d95663cfd8601cf84e10e8e1b12fa6ef15 25-Aug-2004 Brian Paul <brian.paul@tungstengraphics.com> Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696)
/external/mesa3d/src/mesa/main/state.c
352d4dbfb24c65f327759c00c7db7d30a9482e35 10-May-2004 Keith Whitwell <keith@tungstengraphics.com> Add EXT_vertex_cull support to mesa
/external/mesa3d/src/mesa/main/state.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/state.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/state.c
3abf746a7eae52220485cd031aecec2ca9e6103e 23-Jan-2004 Keith Whitwell <keith@tungstengraphics.com> Don't set extra bits in FLUSH_VERTICES, fix several state bugs.
/external/mesa3d/src/mesa/main/state.c
a999e809af97e32cc1198ca816dcacc735a0a4af 21-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> remove _mesa_check_driver_hooks() - it's really not too useful anymore
/external/mesa3d/src/mesa/main/state.c
ae0eaf93e092ac8e8b1c98f3e986de96940663fa 24-Nov-2003 Keith Whitwell <keith@tungstengraphics.com> Merge vtx-0-2-branch
/external/mesa3d/src/mesa/main/state.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/state.c
04a81da03bef5020d863e46aa597eddf7aaac016 31-Aug-2003 Brian Paul <brian.paul@tungstengraphics.com> Moved some shared vertex/fragment program code into new program.c file.
Implemented new program_parameter_list type and functions for dealing with
named program parameters, constants and GL state references.
New state_index enum for describing GL state referenced within ARB vertex/
fragment programs. Plus, functions for fetching named GL state.
/external/mesa3d/src/mesa/main/state.c
3baefe663bb15b4fd60921155de38c12ec2758c4 23-Aug-2003 Ian Romanick <idr@us.ibm.com> Added support for GL_IBM_multimode_draw_arrays.

Added non-static entrypoints and the name string for
GL_SUN_multi_draw_arrays (identical to GL_EXT_multi_draw_arrays).

Made add_newer_entrypoints (in src/mesa/main/context.c) table driven.
This reduced the size of context.o by about 3KB.
/external/mesa3d/src/mesa/main/state.c
9c7b81697b2a381d7083e8e4c52f919f36ea9fa1 23-Jul-2003 Brian Paul <brian.paul@tungstengraphics.com> fix a few more glitches from last big check-in
/external/mesa3d/src/mesa/main/state.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/state.c
b17a722ca3989e8563ee04cb2939f4835f8a171e 13-Jun-2003 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_ARB_occlusion_query (not 100% finalized).
/external/mesa3d/src/mesa/main/state.c
e8e93e9cc641e31c9c0e6a2bb1ac3e44d0bdec5a 28-May-2003 Brian Paul <brian.paul@tungstengraphics.com> glBindProgramARB dispatches to glBindProgramNV (remove _mesa_BindProgramARB).
Removed VertexAttrib*ARB() stubs.
/external/mesa3d/src/mesa/main/state.c
92f9785c727ea10ff5f8dc9770f0e8f388fcea70 02-May-2003 Brian Paul <brian.paul@tungstengraphics.com> Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places.
Misc vertex array / vertex program changes.
/external/mesa3d/src/mesa/main/state.c
e5b244ff7f984805c1bcc020342f1300f2639c71 21-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_EXT_depth_bounds_test.
/external/mesa3d/src/mesa/main/state.c
b0b9b798ac0620aeba15143f84c1d1ef2ddd44db 21-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> alias ARB/NV program functions where possible
/external/mesa3d/src/mesa/main/state.c
5960105ca35d5f51ef3881d201faf2cda99ead0c 17-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> Added arbprogram.c to Makefiles.
Added display list support for GL_NV_fragment_program.
Assorted clean-ups.
/external/mesa3d/src/mesa/main/state.c
36a0a3252e1e20df69b53f70ba93bc74c4a4bf0e 08-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> Added ctx->Texture._EnabledCoordUnits bitfield.
Fixed some vertex array / vertex program glitches with glDrawElements.
Fixed some fragment program runtime bugs.
Non-trivial Cg programs are running now.
/external/mesa3d/src/mesa/main/state.c
6061df09a45c42745253965df012ddf76910ea33 29-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> Basic infrastructure for GL_ARB_vertex_buffer_object.
/external/mesa3d/src/mesa/main/state.c
52334967edb3bf79c3eecbd599dcef667ba63239 29-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> proper dispatch for NV_fragment_program functions
/external/mesa3d/src/mesa/main/state.c
350353adcd75f94fda63c787c86961716114e0bf 15-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> Fix up some fragment program texture enable issues.
Implemented TXD instruction.
/external/mesa3d/src/mesa/main/state.c
27558a160a9fe91745728d7626995cd88f8fe339 01-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]
Moved type conversion and interpolation macros into macros.h
Updated all the files that used to include mmath.h
/external/mesa3d/src/mesa/main/state.c
610d59981a9f43fefe29b34ef19c184d28e2bef5 14-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> First batch of code for GL_NV_fragment_program.
Re-org of some GL_NV_vertex_program code.
Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
/external/mesa3d/src/mesa/main/state.c
f48216ad0f75dc2eecc34ab6978986f564c90334 06-Nov-2002 Brian Paul <brian.paul@tungstengraphics.com> a few dispatch pointers weren't set (glGenTexturesEXT for example)
/external/mesa3d/src/mesa/main/state.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/state.c
8dfc5b9863f08a713177fd92847573e17febbac9 16-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> surround vertex program code with #if FEATURE_NV_vertex_program/#endif
/external/mesa3d/src/mesa/main/state.c
59c5cf35c92e969f66eefd27809e72089b731701 09-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> finally get rid of ctx->Texture._ReallyEnabled field
/external/mesa3d/src/mesa/main/state.c
641b2307ec77e70a5b1db75934438d2fbb75613c 02-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> removed ctx->Polygon._OffsetAny - not really needed
/external/mesa3d/src/mesa/main/state.c
89fb06fcc11cbe3f23521312155d6c55d869f526 27-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> new texture compression infrastructure
/external/mesa3d/src/mesa/main/state.c
6a1e1623fd3dca1d7fc145979d9bc05146c31596 06-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> hook-up dispatch for glActiveStencilFaceEXT()
/external/mesa3d/src/mesa/main/state.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/state.c
3b4fbbc129c711a5aec8d653d5c6eb2e195f947c 09-Jul-2002 Brian Paul <brian.paul@tungstengraphics.com> Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()
indicates the read AND draw color buffer for all software rasterization.
Lots of related clean-ups. See RELNOTES-4.1 for details.
/external/mesa3d/src/mesa/main/state.c
2525bc7d305f6dcab3beb75535da25a488c969b0 30-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_EXT_multi_draw_arrays: glMultiDrawArraysEXT() and glMultiDrawElementsEXT().
/external/mesa3d/src/mesa/main/state.c
0c3f820bf069785723510f4ad2bf4b69ba7f72e0 25-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> remove an unneeded statement in update_polygon(), added a comment
/external/mesa3d/src/mesa/main/state.c
1043a6498a7f94922be5f4b5deac89fd05cfa670 16-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> fix a comment
/external/mesa3d/src/mesa/main/state.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/state.c
f21a4872e8218c0454107686a531eb0ff19c36bb 06-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> replaced hard-coded 4 with NUM_TEXTURE_TARGETS
/external/mesa3d/src/mesa/main/state.c
60f1a3c288dd663ff420fada558763d7524e499b 29-May-2002 Brian Paul <brian.paul@tungstengraphics.com> Added GL_NV_point_sprite functions: glPointParameteri[v]NV().
Removed dead ARB_window_pos functions (we alias the MESA_window_pos funcs).
/external/mesa3d/src/mesa/main/state.c
23d8ef3937b3b66684f7feb62446abca8e91d307 27-May-2002 Brian Paul <brian.paul@tungstengraphics.com> dispatch offsets for ARB_window_pos
/external/mesa3d/src/mesa/main/state.c
306d3fcdbad523428501833405e47e9897896def 09-Apr-2002 Keith Whitwell <keith@tungstengraphics.com> bring in changes from dri tcl branch
/external/mesa3d/src/mesa/main/state.c
1537b63fce36f87b3606d0e7cdca2d10bbdffd56 02-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> GL_ARB_point_parameters support
/external/mesa3d/src/mesa/main/state.c
103bc0f75c00dfcf671dc50d8d9666f88a42a59d 29-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.
/external/mesa3d/src/mesa/main/state.c
f7c830e35ca243c391bde1bfd0ae059c292ac649 16-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> rename ResizeBuffersMESA to ResizeBuffers
/external/mesa3d/src/mesa/main/state.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/state.c
c6755aa6d55493a000644ba74233387d408d070f 12-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> set _NeedEyeCoords to zero if vertex program is enabled
/external/mesa3d/src/mesa/main/state.c
30f51ae067379c2b3573c06b707d25a9704df7be 18-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> Replace old matrix stacks with new code based on struct matrix_stack.
Moved vertex program hash table into shared context state.
Implemented reference counting for vertex programs.
Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
/external/mesa3d/src/mesa/main/state.c
b638c34381004aa2a778227bad51d259d05a9b53 14-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> minor dispatach table changes
/external/mesa3d/src/mesa/main/state.c
86b842790b720cd6b1499ce8edca8a4e9c8dc029 14-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> vertex program check-in
/external/mesa3d/src/mesa/main/state.c
471a774f433c23b263828aa591415741e78a35da 05-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> dispatch changes to minimize hassle with XFree86 libGL
/external/mesa3d/src/mesa/main/state.c
5b7dab2e4c7df1fde0a7fcf28b8b54745b9fcd2e 19-Nov-2001 Brian Paul <brian.paul@tungstengraphics.com> added test implementation of GL_ARB_window_pos
/external/mesa3d/src/mesa/main/state.c
b5fd886ee12ef52126969f712dee0bd4b2eea706 18-Nov-2001 Brian Paul <brian.paul@tungstengraphics.com> API dispath updates
/external/mesa3d/src/mesa/main/state.c
7b9fe820a3fba3849864682fbb1cb512362934ab 19-Sep-2001 Karl Schultz <kschultz@freedesktop.org> more compiler warning fixes
/external/mesa3d/src/mesa/main/state.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/state.c
e4276667dafc8de0c6e64af8300fc7598437de6e 15-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> Enable GL_ARB_texture_compression for XMesa/GLX driver. Texture
compression isn't really implmented. Just updated glTexImageXD()
to accept compressed internal format tokens.
/external/mesa3d/src/mesa/main/state.c
736fcbec4732830e7976fb5eb309b13e03be132c 29-May-2001 Brian Paul <brian.paul@tungstengraphics.com> infrastructure for GL_ARB_multisample
/external/mesa3d/src/mesa/main/state.c
8b6a91a93f1b3f79796f398884aaca77a8a09198 10-May-2001 Keith Whitwell <keith@tungstengraphics.com> Set 'prefer_float_colors' true, now that tnl uses them natively.
Apply Jeff Epler's optimization to ci spans as well, remove old code.
/external/mesa3d/src/mesa/main/state.c
ed39a43b8cb2e1cf69b097fc89365cde470ebf51 29-Mar-2001 Keith Whitwell <keith@tungstengraphics.com> Remove ENABLE_* flags, ctx->_Enabled.
Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
/external/mesa3d/src/mesa/main/state.c
3d5815f4636be0aa9f1788ca80908d5809d26481 29-Mar-2001 Keith Whitwell <keith@tungstengraphics.com> Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT.
Added some switchable debug to s_context.c
/external/mesa3d/src/mesa/main/state.c
709892459922a32096fe9dd8261d0d92337bb02f 19-Mar-2001 Keith Whitwell <keith@tungstengraphics.com> Split driver struct into swrast/tnl/core components.
/external/mesa3d/src/mesa/main/state.c
22144ab7552f0799bcfca506bf4ffa7f70a06649 12-Mar-2001 Gareth Hughes <gareth@valinux.com> Consistent copyright info (version number, date) across all files.
/external/mesa3d/src/mesa/main/state.c
08836341788a9f9d638d9dc8328510ccd18ddeb5 03-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> lots of gl_*() to _mesa_*() namespace clean-up
/external/mesa3d/src/mesa/main/state.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/state.c
2448fc7deeaa870d879de17158f243f239c05b15 16-Feb-2001 Keith Whitwell <keith@tungstengraphics.com> Fixed conform problems with recent material tracking change.
Remove redundant 'update_materials' stage.
Fix conform segfault with seperate specular colors in mustpass.c. These
tests still fail, however.
/external/mesa3d/src/mesa/main/state.c
479fa1db1dc7cb8e48219ac28edfb2f2a9c971b2 12-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> added debug assertions to be sure drivers initialize all required function pointers
/external/mesa3d/src/mesa/main/state.c
8e39ad2cd67d49be40ff0822f3269affdf83d601 06-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> Overhaul of texture image handling.
1. gl_texture_image struct's Data pointer points to images in driver's format.
2. Added FetchTexel() function pointer to struct gl_texture_image.
3. Changed Driver Tex[Sub]Image functions, return void now.
4. Texture storage/fetch code in new texstore.c file.
5. Removed texture.[ch] - functions moved to state.c

Note: FX driver updates not finished yet.
/external/mesa3d/src/mesa/main/state.c
ab36c9aa1c4af92dd9f4ec48028f1eb2e98d1ccc 24-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> removed the unused/broken GL_PGI_misc_hints extension
/external/mesa3d/src/mesa/main/state.c
bfa023921c9d1aa872237e0ac6085160f7c2cbc5 08-Jan-2001 Keith Whitwell <keith@tungstengraphics.com> Still need 'DD_TRI_CULL_FRONT_BACK'
/external/mesa3d/src/mesa/main/state.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/state.c
f1d6b384415a083c358d3824e77f3d434f08bfcc 16-Dec-2000 Brian Paul <brian.paul@tungstengraphics.com> Polygon._OffsetAny wasn't being computed
/external/mesa3d/src/mesa/main/state.c
06d05afdd687fcd1d59d46c6a86c2e5707e1859b 08-Dec-2000 Brian Paul <brian.paul@tungstengraphics.com> Initial work on GL_MESA_sprite_point extension.
Still need to resolve clipping issues, finalize the spec.
/external/mesa3d/src/mesa/main/state.c
45015e4d79d63183f6d9c4e4fad655921e07b0ab 28-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> Pass scale and bias values to _mesa_scale_and_bias_rgba().
Implemented post-convolution scale and bias operation.
/external/mesa3d/src/mesa/main/state.c
a864432fb4333dfbbe669554de7485d8426e1c38 27-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> Added MaxClipPlanes and MaxLights to gl_constants struct so T&L
drivers can report non-default numbers of lights and clip planes.
/external/mesa3d/src/mesa/main/state.c
ad2ac216fa0cbebc36530bf9e5256e902710b892 24-Nov-2000 Keith Whitwell <keith@tungstengraphics.com> Support for swappable t&l modules, including an example one in the FX
driver (enable with FX_ALLOW_VTXFMT=t).
/external/mesa3d/src/mesa/main/state.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/state.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/state.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/state.c
0a82c75eab24bb51448630894abc19a4c8bdfd87 15-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> added includes to silence warnings
/external/mesa3d/src/mesa/main/state.c
1e1aac034c986a08248861363c0baa27dc2ae2d5 13-Nov-2000 Keith Whitwell <keith@tungstengraphics.com> Cleanup of derived state calculation prior to seperating software T&L
into a new directory. Specifically the handling of changes to lighting
lighting space (light in model vs. light in eye) have been revamped.

Moved several derived values used only by swrast into that directory.

Removed direct calls to swrast_flush() from vbrender.c -- pushed into
ctx->Driver.RenderFinish.

Optimized flat-shading case in swrast_setup.
/external/mesa3d/src/mesa/main/state.c
b5012e1ee1b0172dda3921bcf12e3605b1be589b 10-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> replaced _NEW_IMAGING with _NEW_PIXEL
/external/mesa3d/src/mesa/main/state.c
8a9507442a9811e2c4a4bac6a993e8a900c50d4d 10-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> renamed imaging files to histogram since that's what's inside
/external/mesa3d/src/mesa/main/state.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/state.c
724abeb058ca9372c5a9b9e38ee43dde1accaa41 31-Oct-2000 Keith Whitwell <keith@tungstengraphics.com> Moved the software rasterizer to a new directory.
/external/mesa3d/src/mesa/main/state.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/state.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/state.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/state.c
a14cbff8e5b30539d8fdc3497a0e128992efa6c9 27-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> Enabled GL_EXT_secondary_color. Fixed a bunch of typos in the dlist.c
and state.c file for plugging those functions into the dispatch table.
Don't use Mesa 3.5 for DRI until SGI approves the new dispatch offsets.
Commented-out references to ctx->FogMode and VB->Specular in FX driver.
Minor clean-up in extensions.c
Removed unused prototype in fog.h
/external/mesa3d/src/mesa/main/state.c
fe5d67d95f3a5fc84c5421d409a6464642aaf2cb 27-Oct-2000 Keith Whitwell <keith@tungstengraphics.com> Implement EXT_fog_coord and EXT_secondary_color.

EXT_secondary_color is disabled until we get some dispatch offsets from SGI.
/external/mesa3d/src/mesa/main/state.c
eb326f5f01ed2d904e23ada533b92d5570beafee 21-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed a texture enable bug
/external/mesa3d/src/mesa/main/state.c
d475730357ff1595470fbe9856b2c88ad0a771ca 20-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> Changes for multitexture > 3, code clean-ups.
Added GLboolean ctx->Texture.MultiTextureEnabled to determine when
multitexture is enabled. Eventually ctx->Texture.ReallyEnabled may
become a boolean.
/external/mesa3d/src/mesa/main/state.c
ce938b307e5dcd06a03baf60903c2ecd682cd8d5 18-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> More fixes for MAX_TEXTURE_UNITS > 2. Seems to work now.
Misc code clean-ups, minor bug fixes.
MAX_TEXTURE_UNITS now defaults to 3.
/external/mesa3d/src/mesa/main/state.c
16eb23a0cb0edfede3968c0e938f533b9abe885c 02-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> more work to support N texture units
/external/mesa3d/src/mesa/main/state.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/state.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/state.c
399ae35ac64bd02a294d5db894b70def4eed0aa8 09-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> removed unused NEW_DRVSTATE flags
/external/mesa3d/src/mesa/main/state.c
7f7b205259b228f81442f89e8318829737b08db6 08-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> removed ctx->Driver.Dither function
/external/mesa3d/src/mesa/main/state.c
48c6a6ecd2b94d73317f1579193d98101566217a 08-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> changed gl_frame_buffer Xmax and Ymax to be exclusive boundary values
/external/mesa3d/src/mesa/main/state.c
c4c639c9a46967678725370cb9824031a068633c 07-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> Removed ctx->Driver.LogicOp().
ctx->Driver.Index/ColorMask() now return void.
Removed SWmasking and SWLogicOpEnabled variables.
LogicOps and color/index masking are no longer special-case device
driver functions. The Xlib driver was the only driver that used
them. Things are more uniform now.
/external/mesa3d/src/mesa/main/state.c
cf8eebee075e3f69c3daa4ea88994e07527055e4 23-Aug-2000 Brian Paul <brian.paul@tungstengraphics.com> added convolve.h header
/external/mesa3d/src/mesa/main/state.c
fa4525e289b475b928a7b2c4055af9dd7fe46600 21-Aug-2000 Brian Paul <brian.paul@tungstengraphics.com> implemented new ImageTransferState bitmask
/external/mesa3d/src/mesa/main/state.c
20df8f5f92d3c7f83fc2138ed67fe65b58648f23 30-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> NeedEyeCoords if non-uniform scale transform
/external/mesa3d/src/mesa/main/state.c
86a2de4f1f620a50a1a74c07f3003be640e63b56 27-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> removed bad DrawDestMask assignments
/external/mesa3d/src/mesa/main/state.c
fd3df4b0f78d7e72aeac6c99c3691d45378cff25 27-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> disabled some ctx->NeedEyeCoords shortcuts
/external/mesa3d/src/mesa/main/state.c
daf3778e86dce7c52fbf4db48f62e3e80ed73815 24-Jun-2000 Keith Whitwell <keith@tungstengraphics.com> Performance fix for unfilled triangles on mga and i810 hardware.
/external/mesa3d/src/mesa/main/state.c
39103d2e20d998fe05e23a0d9332155fb865afe3 23-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed ColorMask test in update_rasterflags()
/external/mesa3d/src/mesa/main/state.c
1f0e213bf88500e9c2f7ca92e57392efae5e4459 12-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> added EXT version of vertex array functions
/external/mesa3d/src/mesa/main/state.c
413d6a21f849a689b5c83ea04395856b44fc65a8 26-May-2000 Brian Paul <brian.paul@tungstengraphics.com> more work on GL_ARB_texture_cube_map
/external/mesa3d/src/mesa/main/state.c
5fb84d263b8068467a2429942ecf113a0a4c8a60 24-May-2000 Brian Paul <brian.paul@tungstengraphics.com> changed allocation/initialization of API dispatch tables
/external/mesa3d/src/mesa/main/state.c
1207bf057aeea3376e5e0f03f789a5d67ed4d29d 23-May-2000 Brian Paul <brian.paul@tungstengraphics.com> initial work for GL_ARB_texture_compression
/external/mesa3d/src/mesa/main/state.c
da99cded2609312feeb656979b0c26328ed7294a 11-May-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed PB bugs, removed MutablePixels, MonoPixels from GLcontext
/external/mesa3d/src/mesa/main/state.c
d78acfa3655733ac862fc688b1082efc8083e275 04-May-2000 Brian Paul <brian.paul@tungstengraphics.com> removed software alpha flag from GLvisual struct
/external/mesa3d/src/mesa/main/state.c
1a1cf7ed75d799bbda34399ddab7949b8c06686e 04-May-2000 Brian Paul <brian.paul@tungstengraphics.com> implemented GL_EXT_histogram extension
/external/mesa3d/src/mesa/main/state.c
ada5f1cd066efd1cd559775635e97576f5e7fb40 09-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> removed a printf
/external/mesa3d/src/mesa/main/state.c
250069dbb443f26f4dcc409c9c873019a5f50f9d 08-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> added GL_SGI_color_matrix extension
/external/mesa3d/src/mesa/main/state.c
2b2e925ea4a5652b0ab73b1efbce345a42663842 07-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> added GL_SGIX/SGIS_pixel_texture extension
/external/mesa3d/src/mesa/main/state.c
199d039bc365ce6b3f42037497b1e7ebe232bc69 01-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> changes for GL_HP_occlusion_test
/external/mesa3d/src/mesa/main/state.c
1b2ff69f468d609a88b1cd31041df2b81931816b 12-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> initial implementation of GL_HP_occlusion_test extension
/external/mesa3d/src/mesa/main/state.c
ead285a9266bb5f80e68de122490a6afb88df6f3 24-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> bunch of dispatch and extension-related changes
/external/mesa3d/src/mesa/main/state.c
af763d5e4379f6dc3b48fdf76332ffa31a44a5bc 11-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> added code for all GL_MESA_window_pos functions
/external/mesa3d/src/mesa/main/state.c
a02fb6afc865a30077ae4d802a7020371c141e73 02-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> added comments
/external/mesa3d/src/mesa/main/state.c
d0a3ea051a3825441cdc97a82fa9a9c6e7e83087 02-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> functions from context.c
/external/mesa3d/src/mesa/main/state.c