History log of /external/mesa3d/src/mesa/main/context.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8ff8c91893cee8b1893de91e145c8496a12ab9ca 26-Oct-2012 Marek Olšák <maraeo@gmail.com> mesa: bump MAX_VARYING to 32

We're starting to get apps utilizing more than 16 varyings and
most current hardware supports 32 anyway.

Tested with r600g.
swrast, softpipe and llvmpipe still advertise 16 varyings.

This fixes a WebGL crash after launching this demo:
https://developer.mozilla.org/en-US/demos/detail/falling-cubes

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

NOTE: This is a candidate for the stable branches.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit b3921e1f53833420e0a0fd581f741744e7957a05)

Conflicts:
src/mesa/main/context.c
/external/mesa3d/src/mesa/main/context.c
8dc79ae7d73cf6711c2182ff9a5d37ef6c989d23 10-Sep-2012 Imre Deak <imre.deak@intel.com> mesa: glGet: fix parameter lookup for apps using multiple APIs

The glGet hash was initialized only once for a single GL API, even if
the application later created a context for a different API. This
resulted in glGet failing for otherwise valid parameters in a context
if that parameter was invalid in another context created earlier.

Fix this by using a separate hash table for each API.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
/external/mesa3d/src/mesa/main/context.c
c01f89606214e1b630c9a58c5dafc1aca2b97f40 05-Sep-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Pass GL context to _mesa_create_save_table

This isn't used by this patch, but it will be necessary for several
follow-on patches. Separating this out will make it easier to reorder
patches later.

NOTE: This is a candidate for the 9.0 branch

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit 3ef9e43865f38e9c8c5681768645513ce26e0488)
/external/mesa3d/src/mesa/main/context.c
8e7b6a69e9cb00345e0c08966036b305cbda46c9 17-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Don't allow display lists or evaluators in core context

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/context.c
a010215463c63680c69e90202fe3fcd2e5b25fa6 29-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Kill ES2 wrapper functions

v2: Fix completely broken condition around ClearColorIiEXT and
ClearColorIuiEXT.

v3: Add special VertexAttrib handling for ES2.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/context.c
1eb3c06ae82cc962c5d867238acd089f833c2337 27-Jul-2012 Eric Anholt <eric@anholt.net> mesa: Default to GL 3.1's limits on uniform blocks.

The ARB spec lets you get away with the default block counting against the
blocks for combined size limits. The core spec says you need to be able to
support the maximum size of default block *and* the maximum size of each
uniform block. I see no reason that any driver would have a problem with
that.

Fixes gl 3.1/minmax (with an associated fix to the test)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/context.c
3d0b54c7c6021becb3cae9245fc8f88a0f0f2be9 25-Jul-2012 Jordan Justen <jordan.l.justen@intel.com> mesa: don't enable legacy GL functions when using API_OPENGL_CORE

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/context.c
09714c09a40501d82823e42f7461d7b8d7bf11c0 19-Jul-2012 Jordan Justen <jordan.l.justen@intel.com> mesa: add support for using API_OPENGL_CORE

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/context.c
284ad9c3b29a6d6f0bade050ea9e949d67967983 18-Jul-2012 Paul Berry <stereotype441@gmail.com> mesa: Make more consistent use of _mesa_is_{user,winsys}_fbo()

A lot of code was still differentiating between between winsys and
user fbos by testing the fbo's name against zero. This converts
everything in core mesa, the state tracker, and src/mesa/program over
to use _mesa_is_user_fbo() and _mesa_is_winsys_fbo().

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/context.c
01168df4d999f84105928d69fdd3eeed6baeeab4 17-Jul-2012 Jordan Justen <jordan.l.justen@intel.com> mesa context: generate an error for uninstalled context functions

For 'non-legacy' contexts we will want to generate an error
if an uninstalled function is called.

The effect of this change will be that we can avoid installing
legacy functions, and they will then generate an error as
needed for deprecated functions in GL >= 3.1.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/context.c
948b1c541f32b12e8264b1eeb79ccbb696661f54 20-Jul-2012 Matt Turner <mattst88@gmail.com> Remove _mesa_sqrt* in favor of plain sqrt

Temporarily disabled since 2003 (see 386578c5b).

This saves us from calling sqrt() 128 times to generate the sqrttab in
one_time_init().

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/context.c
375e73d85948b43aa509e25f0a210ebd10238b6f 18-Dec-2011 Marek Olšák <maraeo@gmail.com> mesa: implement glGet queries and error handling for ARB_transform_feedback3

Acked-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/context.c
15ac66e331abdab12e882d80a6b4f647bc905298 18-Dec-2011 Marek Olšák <maraeo@gmail.com> mesa: rename MaxTransformFeedbackSeparateAttribs to MaxTransformFeedbackBuffers

This is a cleanup for ARB_transform_feedback3, where
GL_MAX_TRANSFORM_FEEDBACK_BUFFERS is introduced for interleaved attribs and
has the same meaning as GL_MAX_.._SEPARATE_ATTRIBS for separate attribs.

Also, the maximum number of TFB buffers is reduced from 32 to 4, which makes
this patch useful even without the extension.
I don't know of any hardware which can do more than 4.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/context.c
5426b1ade9c97497bdf5ecd7c44701a6d5ef04dc 14-Jun-2012 Eric Anholt <eric@anholt.net> mesa: Add state and getters for the GL_ARB_uniform_buffer_object maximums.

Fixes piglit GL_ARB_uniform_buffer_object/minmax.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/context.c
175ad8050e3337f7065306017ea4eb8eae599f6d 18-May-2012 Eric Anholt <eric@anholt.net> mesa: Keep a computed value for dual source blend func with each buffer.

The i965 driver needed this as well for hardware setup, so instead of
duplicating the logic, just save it off.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/context.c
fc22fde9d8ba633f9f13ea0c46baa1c826d1377f 08-May-2012 Jordan Justen <jordan.l.justen@intel.com> mesa: add PrimitiveRestartInSoftware to gl_context.Const

If set, then the VBO module will handle all primitive
restart scenarios before calling the driver draw_prims.

Software primitive restart support is disabled by default.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/context.c
443195bdf897aa2146363134bc9ece167d121c97 09-May-2012 Brian Paul <brianp@vmware.com> mesa: do FLUSH_VERTICES() in _mesa_flush/finish()

This was being done in the _mesa_Flush/Finish() calls but if there
was an internal call to _mesa_flush/finish() the FLUSH_VERTICES()
wouldn't happen. Looks like only the intel and radeon drivers made
such calls in MakeCurrent().
/external/mesa3d/src/mesa/main/context.c
c5e473fbe25b20cb27aac44ff6e269701abd33a8 16-Apr-2012 Marek Olšák <maraeo@gmail.com> mesa: add gl_context::NewDriverState and use it for vertex arrays

The vbo module recomputes its states if _NEW_ARRAY is set, so it shouldn't use
the same flag to notify the driver. Since we've run out of bits in NewState
and NewState is for core Mesa anyway, we need to find another way.

This patch is the first to start decoupling the state flags meant only
for core Mesa and those only for drivers.

The idea is to have two flag sets:
- gl_context::NewState - used by core Mesa only
- gl_context::NewDriverState - used by drivers only (the flags are defined
by the driver and opaque to core Mesa)

It makes perfect sense to use NewState|=_NEW_ARRAY to notify the vbo module
that the user changed vertex arrays, and the vbo module in turn sets
a driver-specific flag to notify the driver that it should update its vertex
array bindings.

The driver decides which bits of NewDriverState should be set and stores them
in gl_context::DriverFlags. Then, Core Mesa can do this:
ctx->NewDriverState |= ctx->DriverFlags.NewArray;

This patch implements this behavior and adapts st/mesa.
DriverFlags.NewArray is set to ST_NEW_VERTEX_ARRAYS.

Core Mesa only sets NewDriverState. It's the driver's responsibility to read
it whenever it wants and reset it to 0.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/context.c
0e5327ecf49744f620b0a73b8780ad5dbb74eeb6 19-Apr-2012 Brian Paul <brianp@vmware.com> mesa: move unrefs of array objects earlier in _mesa_free_context_data()

If a non-default array object was bound at context destruction time
we'd try to unreference the array object after it was already deleted
in _mesa_free_varray_data(). Now do the unref first.

Fixes a regression from commit 86f53e6d6bd07e2bc3ffcadeb9a4418fbae06e0b.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/context.c
86f53e6d6bd07e2bc3ffcadeb9a4418fbae06e0b 02-Nov-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Use array object constructor.

This change uses the array object factory for gl_array_objects. This
prevents crashes when deriving from gl_array_object.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/context.c
f8cf79936b42405a8366613b80e3bde21aadaa02 24-Mar-2012 Dave Airlie <airlied@redhat.com> mesa: add support for ARB_blend_func_extended (v4)

Add implementations of the two API functions,
Add a new strings to uint mapping for index bindings
Add the blending mode validation for SRC1 + SRC_ALPHA_SATURATE
Add get for MAX_DUAL_SOURCE_DRAW_BUFFERS

v2:
Add check in valid_to_render to address case in spec ERRORS.

v3:
Add index to ir.h so this patch compiles on its own
fixup comment

v4: fixup Brian's comments

The GLSL patch will setup the indices.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/context.c
ae4a8a59b7045dafb99e903d11ebbd9c4ee161d6 04-May-2011 nobled <nobled@dreamwidth.org> mesa: implement the last of GL_ARB_debug_output

Store client-defined message IDs in a hash table,
and sort them by severity into three linked lists
so they can be selected by severity level later.
/external/mesa3d/src/mesa/main/context.c
ed087ee49808a692ce8a0389fcf6c9da27f99d8e 01-May-2011 nobled <nobled@dreamwidth.org> mesa: add infrastructure for GL_ARB_debug_output

Marek v2: don't add the extension to extensions.c yet
/external/mesa3d/src/mesa/main/context.c
7ad880f49ffc5662c1d9cd86e6a5c30dbe71784b 20-Feb-2012 Brian Paul <brianp@vmware.com> mesa: remove STENCIL_BITS use
/external/mesa3d/src/mesa/main/context.c
630ab0d27ba693602205479ea481c5b2a9e26346 20-Feb-2012 Brian Paul <brianp@vmware.com> mesa: remove last of MAX_WIDTH, MAX_HEIGHT

Define new MAX_VIEWPORT_WIDTH/HEIGHT and MAX_RENDERBUFFER_SIZE values
instead.
/external/mesa3d/src/mesa/main/context.c
08687c7912f3d1b8f5420ba3c0a4fc474fa80d37 20-Feb-2012 Brian Paul <brianp@vmware.com> mesa: move/fix MAX_WIDTH/HEIGHT-related assertions

Max texture and viewport size is only limited by MAX_WIDTH/HEIGHT for swrast.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/context.c
361cd53a77dd48fbf2a0321446c0b7c07365bff9 01-Feb-2012 Brian Paul <brianp@vmware.com> mesa: use new _mesa_reference_shared_state() function

This cleans up the reference counting of shared context state.
The next patch will use this to fix an actual bug.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/context.c
1ef3a94536ab4d70f08e5e19d7ebae0bca126e61 27-Dec-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Remove remaining FEATURE_ARB_vertex_buffer_object guards.

Since commit 82b9661894315362f857192439bdcbc9db090387 and
34eae1c72a9b3a8eb0634cda52fca0208cd2f40d vbo support
is mandatory for all drivers. So, remove the remaining
FEATURE_ARB_vertex_buffer_object guards.

Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/context.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/context.c
a0a5bd4bb30a73c10b02c3c3b914940a03f9b790 23-Nov-2011 Yuanhan Liu <yuanhan.liu@linux.intel.com> mesa: move ElementArrayBufferObj to gl_array_object

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

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

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

NOTE: this is a candidate for the 7.11 branch.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/context.c
118fd08b586970175af9ae269c81c0f501acba25 05-Oct-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Simplify uniform debug logging logic

This simplificiation was enabled by the earlier refactors that
eliminated the references to the assembly shaders stored in the
gl_shader_program structure.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/context.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/context.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/context.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/context.c
a1eff5570f5e3f893fe4d453aef5ce143712ab09 27-Sep-2011 Chad Versace <chad@chad-versace.us> mesa: Allow overriding GLSL version with environment variable

Override the context's GLSL version if the environment variable
MESA_GLSL_VERSION_OVERRIDE is set. Valid values for
MESA_GLSL_VERSION_OVERRIDE are integers, such as "130".

MESA_GLSL_VERSION_OVERRIDE has the same behavior as INTEL_GLSL_VERSION,
except that it applies to all drivers, not just Intel's. Since the former
supercedes the latter, this patch disables the latter.

Reviewed-by: Dave Airlie <airlied@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/main/context.c
2dfa33a5e9325bfe9adb3a15aba466e3f15eb2c5 08-Sep-2011 Paul Berry <stereotype441@gmail.com> Hardcode the default value of ctx->Const.MaxClipPlanes to 6.

Previously this value was set to MAX_CLIP_PLANES, which is defined to
be 6. But MAX_CLIP_PLANES needs to be increased to 8 to support
GLSL-1.30-compliant drivers. This patch hard-codes the default value
of ctx->Const.MaxClipPlanes to 6, so that when MAX_CLIP_PLANES is
increased, it won't affect drivers that do not support 8 clip planes.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/context.c
0bb29949ba8a9e5a15dc0640dbb0a4e7990a1d57 27-Jul-2011 Eric Anholt <eric@anholt.net> mesa: Rename FreeTexImageData to FreeTextureImageBuffer.

This was produced by sed, except for one hunk in driverfuncs.c where
trailing whitespace was dropped.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/context.c
37e6ab7b2de90ee90c06ceb08974423248fa6ee5 16-Jun-2011 Brian Paul <brianp@vmware.com> mesa: refactor, create _mesa_update_draw_buffers() helper

Move this code out of _mesa_make_current() and put it into a
helper function.
/external/mesa3d/src/mesa/main/context.c
296052681601f98e16c701299d2b2a6d9bd5eeab 16-Jun-2011 Brian Paul <brianp@vmware.com> mesa: updated comments in _make_current()
/external/mesa3d/src/mesa/main/context.c
6b329b9274b18c50f4177eef7ee087d50ebc1525 26-Apr-2011 Brian Paul <brianp@vmware.com> Squashed commit of the following:

commit 864fe253b04105b7469e5f7b064dc37637b944f8
Author: Brian Paul <brianp@vmware.com>
Date: Thu Apr 21 20:13:07 2011 -0600

mesa: s/exec/disp/ in _mesa_init_histogram_dispatch()

This function isn't normally compiled (FEATURE_histogram).

commit f4bf45e2b94b582cacd19cdca873c5be627e4250
Author: nobled <nobled@dreamwidth.org>
Date: Thu Apr 21 07:53:58 2011 -0600

mesa: hook up GL_ARB_robustness dispatch functions

...and advertise the extension.

Signed-off-by: Brian Paul <brianp@vmware.com>

commit 2b89e38e5f572dc40cebc06381ae7c5d04386998
Author: nobled <nobled@dreamwidth.org>
Date: Thu Apr 21 07:53:58 2011 -0600

mesa: regenerated API files for GL_ARB_robustness

Signed-off-by: Brian Paul <brianp@vmware.com>

commit 5d5ebfb7135cec9d833adef86cbf4d0f3d9beca8
Author: nobled <nobled@dreamwidth.org>
Date: Thu Apr 21 07:53:57 2011 -0600

glapi: add ARB_robustness xml

Signed-off-by: Brian Paul <brianp@vmware.com>

commit 0159d1d6d99f4bbc18381dc2081c20d3aff17ac9
Author: nobled <nobled@dreamwidth.org>
Date: Thu Apr 21 07:53:57 2011 -0600

mesa: implement GL_ARB_robustness functions

Signed-off-by: Brian Paul <brianp@vmware.com>

commit 938fd71f4c4742f274922d53492a7290ab8d9c9b
Author: nobled <nobled@dreamwidth.org>
Date: Thu Apr 21 07:53:57 2011 -0600

mesa: add context fields for GL_ARB_robustness

Signed-off-by: Brian Paul <brianp@vmware.com>

commit 72075137bc79e65be03dac7e97b6dba93c3a86a4
Author: nobled <nobled@dreamwidth.org>
Date: Thu Apr 21 07:53:57 2011 -0600

mesa: standardize more bounds-checking error messages

Signed-off-by: Brian Paul <brianp@vmware.com>

commit 32a3fc23746db49da903fbc08afa0135af3007d2
Author: nobled <nobled@dreamwidth.org>
Date: Thu Apr 21 07:53:57 2011 -0600

mesa: standardize some bounds-checking error messages

Signed-off-by: Brian Paul <brianp@vmware.com>

commit cecbf1f4d164207de373dec0cadee2e84e1f9656
Author: nobled <nobled@dreamwidth.org>
Date: Thu Apr 21 07:53:57 2011 -0600

mesa: add more bounds-checking support for client memory buffers

Signed-off-by: Brian Paul <brianp@vmware.com>

commit edc895b52383d5bd274422db56adead1d81daf5f
Author: nobled <nobled@dreamwidth.org>
Date: Thu Apr 21 07:53:57 2011 -0600

mesa: add bounds-checking support for client memory buffers

Signed-off-by: Brian Paul <brianp@vmware.com>

commit 3a96ef28a538f158a219b406cd090dee70470c85
Author: nobled <nobled@dreamwidth.org>
Date: Thu Apr 21 07:53:57 2011 -0600

mesa: use is_bufferobj() helper function

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/context.c
032a7ef0a1cb753defc11e97b11ea2e602bae5f2 13-Apr-2011 Brian Paul <brianp@vmware.com> mesa: 80-column wrapping and whitespace fixes
/external/mesa3d/src/mesa/main/context.c
874a2c0b7da62f4dd08dedcec221f55b22e40e95 06-Apr-2011 Brian Paul <brianp@vmware.com> mesa: core support for GL_ARB_texture_buffer_object

No GLSL or driver support yet.
/external/mesa3d/src/mesa/main/context.c
e0e94026a0648d6b33d6b7cf2b9b01429cf945e4 11-Mar-2011 Brian Paul <brianp@vmware.com> mesa: move location of some geometry program limits

The gl_program_constants struct is for limits that are applicable to
any/all shader stages. Move the geometry shader-only fields into the
gl_constants struct.
Remove redundant MaxGeometryUniformComponents field too.
/external/mesa3d/src/mesa/main/context.c
8ad821df0a2d49964141f2ea4ef8179f4edc052f 02-Mar-2011 Brian Paul <brianp@vmware.com> mesa: added gl_program_constants::MaxAddressOffset

See https://bugs.freedesktop.org/show_bug.cgi?id=29418
/external/mesa3d/src/mesa/main/context.c
6f2f449414e51e3b98f85e3fc916a7f3d42a99d4 09-Feb-2011 Brian Paul <brianp@vmware.com> mesa: remove _mesa_create_context_for_api()

Just add the gl_api parameter to _mesa_create_context().
/external/mesa3d/src/mesa/main/context.c
5e4ca1ccc9029fd75bb7676dc128e33d12da9665 09-Feb-2011 Brian Paul <brianp@vmware.com> mesa: remove _mesa_initialize_context_for_api()

Just add the gl_api parameter to _mesa_initialize_context().
/external/mesa3d/src/mesa/main/context.c
04dca296e0a5e5ffbb8acb699e013a23ebd7b645 20-Jan-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Set correct values for range/precision of shader integer types
/external/mesa3d/src/mesa/main/context.c
3ee60a3558a3546b3c3a0a9732d384afcf02994a 19-Jan-2011 Brian Paul <brianp@vmware.com> mesa: implement glGetShaderPrecisionFormat()

Drivers should override the default range/precision info as needed.
No drivers do this yet.
/external/mesa3d/src/mesa/main/context.c
d92e56460e0b6b6057097fc12c7f947528e58c13 11-Jan-2011 Brian Paul <brianp@vmware.com> mesa: do a debug check of _mesa_format_to_type_and_comps()

Make sure that all formats are handled in this function. It's
easy to miss this function when adding new pixel formats.

See also http://bugs.freedesktop.org/show_bug.cgi?id=31544
/external/mesa3d/src/mesa/main/context.c
001d944fd50e0579739b8865e6e09be5d267c05a 24-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Make _mesa_choose_tex_format() choose formats out of a supported table.

Right now this is just tweaking the current code to look at the table.
Choosing actually supported formats will come later.
/external/mesa3d/src/mesa/main/context.c
4b08f35487fa439fd9ca4d653d3a146c3dc09c1c 02-Dec-2010 Brian Paul <brianp@vmware.com> mesa: raise max texture sizes to 16K

This allows 16K x 16K 2D textures, for example, but we don't want to
allow that for 3D textures. The new gl_constants::MaxTextureMBytes
field is used to prevent allocating too large of texture image.
This allows a 16K x 32 x 32 3D texture, for example, but prevents 16K^3.
Drivers can override this limit. The default is currently 1GB.

Apps should use the proxy texture mechanism to determine the actual
max texture size.
/external/mesa3d/src/mesa/main/context.c
c628fd743ee3c3305e9beac7f0e6efacf6982115 23-Nov-2010 Brian Paul <brianp@vmware.com> mesa: replace #defines with new gl_shader_type enum
/external/mesa3d/src/mesa/main/context.c
93102b4cd8e620337acf4bd42ba51f954664087e 23-Nov-2010 Xiang, Haihao <haihao.xiang@intel.com> mesa: fix regression from b4bb6680200b5a898583392f4c831c02f41e63f7

Pending commands to the previous context aren't flushed since commit b4bb668

Reported-by: Oleksiy Krivoshey <oleksiyk@gmail.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
/external/mesa3d/src/mesa/main/context.c
03ff02d08b92ca3b7da0c22aef3042677c7fb2da 13-Nov-2010 Eric Anholt <eric@anholt.net> mesa: Don't spam the console in a debug build unless some spam is requested.

It's annoying to use test suites under a Mesa debug build because
pretty output is cluttered with stderr's continuous reports that
you're still using the debug driver.
/external/mesa3d/src/mesa/main/context.c
1d39df42c429a99b3c3b77b6da3517d8567eafb7 16-Nov-2010 Brian Paul <brianp@vmware.com> mesa: minor clean-ups in context code
/external/mesa3d/src/mesa/main/context.c
4a9ce9b299832b4f367cc6da06f36ee20c7d0d5f 02-Nov-2010 Brian Paul <brianp@vmware.com> mesa: remove always-false conditional in check_compatible()

The two gl_config pointers can never be equal.
/external/mesa3d/src/mesa/main/context.c
16ee7a55ae269612263468195f2af998cb9ef695 26-Oct-2010 Chia-I Wu <olv@lunarg.com> mesa: Allow contexts of different APIs to coexist.

This effectively redoes 1741ddb747ca0be284315adb4b6fe67ddf292d03 in a
way that allows contexts of different APIs to coexist.

First, the changes to the remap table are reverted. The remap table
(driDispatchRemapTable) is always initialized in the same way regardless
of the context API.

es_generator.py is updated to use a local remap table, whose sole
purpose is to help initialize its dispatch table. The local remap table
and the global one are always different, as they use different
glapidispatch.h. But the dispatch tables initialized by both remap
tables are always compatible with glapi (libGL.so).

Finally, the semantics of one_time_init are changed to per-api one-time
initialization.
/external/mesa3d/src/mesa/main/context.c
9de5c6a1cb1428154c371f4331b55b5161957b50 28-Oct-2010 Chia-I Wu <olv@lunarg.com> Merge branch 'glapi-reorg'

Conflicts:
src/mapi/glapi/glapi_sparc.S
src/mapi/glapi/glapi_x86.S
src/mapi/glapi/glapidispatch.h
src/mapi/glapi/glapioffsets.h
src/mapi/glapi/glprocs.h
3b82ceec677e875d2f2f9edbcfceafd4d9a85cb7 29-Oct-2010 Brian Paul <brianp@vmware.com> mesa: state/queries for GL_MIN/MAX_PROGRAM_TEXEL_OFFSET_EXT
/external/mesa3d/src/mesa/main/context.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/context.c
b762db62c2972506fa78a5ed72f796113fc9b0d1 25-Oct-2010 Chia-I Wu <olv@lunarg.com> mesa: Remove unnecessary glapitable.h includes.

With 07b85457d95bcc70588584e9380c51cd63aa3a2b, glapitable.h is included
by core mesa only to know the size of _glapi_table. It is not necessary
as the same info is given by _gloffset_COUNT.

This change makes _glapi_table opaque to core mesa. All operations on
it are supposed to go through one of the SET/GET/CALL macros.
/external/mesa3d/src/mesa/main/context.c
705978e2831eb8b8bb23bd11ee08ce51d9b2915c 27-Oct-2010 Brian Paul <brianp@vmware.com> mesa: do integer FB / shader validation check in _mesa_valid_to_render()
/external/mesa3d/src/mesa/main/context.c
b970da4d24ce67d5dd0f099bd49bb90e6d82e61e 20-Oct-2010 Kenneth Graunke <kenneth@whitecape.org> mesa: Remove FEATURE_ARB_shading_language_120 macro.

Everything should be able to support 1.20 at this point.
/external/mesa3d/src/mesa/main/context.c
3322fbaf3b5e305ce00c1d08c26965bb98e0cef0 14-Oct-2010 Ian Romanick <ian.d.romanick@intel.com> glsl: Slightly change the semantic of _LinkedShaders

Previously _LinkedShaders was a compact array of the linked shaders
for each shader stage. Now it is arranged such that each slot,
indexed by the MESA_SHADER_* defines, refers to a specific shader
stage. As a result, some slots will be NULL. This makes things a
little more complex in the linker, but it simplifies things in other
places.

As a side effect _NumLinkedShaders is removed.

NOTE: This may be a candidate for the 7.9 branch. If there are other
patches that get backported to 7.9 that use _LinkedShader, this patch
should be cherry picked also.
/external/mesa3d/src/mesa/main/context.c
81ccb3e2ce708619f4c23537a237d61bdffdd35f 13-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop the "neutral" tnl module

Just always check for FLUSH_UPDATE_CURRENT and call Driver.BeginVertices
when necessary. By using the unlikely() macros, this ends up as
a 10% performance improvement (for isosurf, anyway) over the old,
complicated function pointer swapping.
/external/mesa3d/src/mesa/main/context.c
babe20b9d188ed94a5ecab30d829dd3f4ad728b5 13-Oct-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Silence unused variable warning
/external/mesa3d/src/mesa/main/context.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/context.c
31aca27c08d6a385c595d34fe4ee06390bf5b0e8 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLframebuffer typedef and just use struct gl_framebuffer
/external/mesa3d/src/mesa/main/context.c
d3491e775fb07f891463b2185d74bbad62f3ed24 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Rename GLvisual and __GLcontextModes to struct gl_config
/external/mesa3d/src/mesa/main/context.c
705e142dda047f24b563fc2bea0f922173e91d1b 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> gl: Remove unused GLcontextModes fields
/external/mesa3d/src/mesa/main/context.c
e3c1c5377c7fcd17085bfb22fbc1cf30646751ba 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Get rid of GL/internal/glcore.h

__GLcontextModes is always only used as an implementation internal struct
at this point and we shouldn't install glcore.h anymore. Anything that
needs __GLcontextModes should just include the struct in its headers files
directly.
/external/mesa3d/src/mesa/main/context.c
b2b9b22c1013ebf02aa6f0d9c1c7b5267523d973 12-Oct-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Validate assembly shaders when GLSL shaders are used

If an GLSL shader is used that does not provide all stages and
assembly shaders are provided for the missing stages, validate the
assembly shaders.

Fixes bugzilla #30787 and piglit tests glsl-invalid-asm0[12].

NOTE: this is a candidate for the 7.9 branch.
/external/mesa3d/src/mesa/main/context.c
c510f8eeb425db281154cbfb915977226fa2e3ab 25-Sep-2010 Vinson Lee <vlee@vmware.com> mesa: Remove unnecessary headers.
/external/mesa3d/src/mesa/main/context.c
a62efdf82c20747feb11dfd7756f0579aa914b57 10-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Remove EXT_convolution.

More optional code.
/external/mesa3d/src/mesa/main/context.c
73578ba9c4938db3a23198c3a2ddf843cfc4f700 10-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Remove SGI_color_matrix.

Another optional ARB_imaging subset extension.
/external/mesa3d/src/mesa/main/context.c
6c227e57e69158e4da40c69322db0eac4c31086c 10-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Remove SGI_color_table.

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

This has always been optional, and not useful.
/external/mesa3d/src/mesa/main/context.c
e7087175f8a04f777403366fb34b58edd00f4d60 22-Sep-2010 Brian Paul <brianp@vmware.com> mesa: don't advertise bogus GL_ARB_shading_language_120 extension

Instead of using the invalid GL_ARB_shading_language_120 extension to
determine the GLSL version, use a new ctx->Const.GLSLVersion field.
Updated the intel and r600 drivers, but untested.

See fd.o bug 29910

NOTE: This is a candidate for the 7.9 branch (but let's wait and see if
there's any regressions).
/external/mesa3d/src/mesa/main/context.c
10ff2646a443ca3c54d66443b346eb7063973b5e 13-Sep-2010 Chia-I Wu <olv@lunarg.com> mesa: Less FEATURE_ARB_sync tests.

Add dummy static inline definitions to syncobj.h when FEATURE_ARB_sync
is 0, and remove most FEATURE_ARB_sync tests.
/external/mesa3d/src/mesa/main/context.c
042a333028eba49f21b45cafaf9dd15d34c68033 10-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> Revert "glapi: Implement optional dispatch logging"

This reverts commit b9abc6139a310677a37754ea7172d976dbf56979 and the
follow on fixes (7aae704 and 6fe1b47). It's changing the glapi/driver
ABI and causes a number of problems for debug/non-debug builds.
/external/mesa3d/src/mesa/main/context.c
6fe1b479ca92b8abc7461d4be1c019bbefe0ef51 10-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Only reference logging symbols in debug builds
/external/mesa3d/src/mesa/main/context.c
144356f9925fa9d892faa64fa7264ef9f1d7e2b4 09-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Don't reuse DummyFramebuffer as the incomplete framebuffer

Binding framebuffer 0 on a context that doesn't have a winsys drawable
will try to bind the incomplete framebuffer. That fails when that's
also the dummy framebuffer.
/external/mesa3d/src/mesa/main/context.c
b9abc6139a310677a37754ea7172d976dbf56979 09-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> glapi: Implement optional dispatch logging

There's a useful feature buried in glapi to log all API calls to stderr.
Unfortunately it requires editing the code and then it's enabled
unconditionally for that build. This patch builds in API logging for
debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch.
/external/mesa3d/src/mesa/main/context.c
86af037e6a1643284f87c5e01c3fcb09dd07bf35 01-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Fix many printf-like warnings.

Most of these are just typecasting to long to match the arg type. I
don't really care too much about getting a GLsizei or whatever
appropriate type in. However, there were a number of real bugs, like
missing arguments or passing floats to integer format specifiers. My
favorite: printflike("%s, argument") is missing an argument.
/external/mesa3d/src/mesa/main/context.c
579fce252413f39830ee379076fddf0580ea9b16 27-Aug-2010 Brian Paul <brianp@vmware.com> mesa: use atexit() handler to release GLSL compiler memory

This releases a bunch of memory that was showing up as leaks with
valgrind.

If atexit() isn't widely supported we may need to add some #ifdef
tests around the call.
/external/mesa3d/src/mesa/main/context.c
48dca27e33b333ee7ed16287a348db16eef02ac1 20-Aug-2010 Vinson Lee <vlee@vmware.com> mesa: Silence uninitialized variable warnings in dummy_enum_func.
/external/mesa3d/src/mesa/main/context.c
bbfdcc16df62a398f44b1e9fa2a42083bff472bc 10-Aug-2010 Brian Paul <brianp@vmware.com> mesa: use switch stmt in init_program_limits()
/external/mesa3d/src/mesa/main/context.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/context.c
a879d14ecf818d767f5da9dd7fd3b0cd8816cf29 24-Jun-2010 Brian Paul <brianp@vmware.com> mesa: initialize extension string when context is first bound

...instead of waiting until glGetString(GL_EXTENSIONS) is called.
This fixes a problem where the MESA_EXTENSION_OVERRIDE env var is
ignored if the app never calls glGetString(GL_EXTENSIONS).

NOTE: this is a candidate patch for the 7.8 branch.
/external/mesa3d/src/mesa/main/context.c
ec2b92f98c2e7f161521b447cc1d9a36bce3707c 11-Jun-2010 Brian Paul <brianp@vmware.com> mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/main/context.c
a37b2219d6e3f299379c6434d65f300660d12c3e 11-Jun-2010 Brian Paul <brianp@vmware.com> mesa: refactor shader api / object code

Remove the unneeded ctx->Driver hooks for shader-related functions.
Move state and API-related things into main/.
/external/mesa3d/src/mesa/main/context.c
199b0894b501607bf8d599ef5efc08cd6c08c79d 11-May-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Optimize get.c by using a table-driven approach
/external/mesa3d/src/mesa/main/context.c
e83ca4052b3247c35f358cfe67d74a58c9fb37b1 04-May-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Only initialize TNL for OpenGL
/external/mesa3d/src/mesa/main/context.c
208fdac73a9b7f8f511f0ec8eeb5c09d4577b3a4 04-May-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Only initialize save dispatch table for OpenGL
/external/mesa3d/src/mesa/main/context.c
e2ea69afef2eeeb31b73772c3bf8ef696dadbc17 04-May-2010 Brian Paul <brianp@vmware.com> mesa: increase MAX_DRAW_BUFFERS to 8

Required for GL 3.x
/external/mesa3d/src/mesa/main/context.c
ea0c7e71638a4a72a4eae962e6cc471bd33a5605 23-Apr-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Move api_exec_es*.c into mesa/main

This requires renaming a few functions to have unique names so that
they can all live within the same driver.
/external/mesa3d/src/mesa/main/context.c
fa416106307dc193e2133aa6a29b9bcfc91f8b39 22-Apr-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Move struct _glapi_table allocation out of context.c

We now allocate the table from api_exec.c and dlist.c where we fill out
the table. This way, context.c doesn't need to know the actual contents
of struct _glapi_table.
/external/mesa3d/src/mesa/main/context.c
218ceb3e1874a5a28f36a8df3ca0e881cdf213d5 22-Apr-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Move API specific context intialization into context.c
/external/mesa3d/src/mesa/main/context.c
2ab18d63cb71d988265eeab431e4363081978144 22-Apr-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Track the OpenGL API we're implementing in the context

This introduces a new way to create or initialize a context:

_mesa_create_context_for_api and
_mesa_initialize_context_for_api

which in addition to the current arguments take an api enum to indicate
which OpenGL API the context should implement. At this point the
API field in GLcontext isn't used anywhere, but later commits will
key certain functionality off of it.

The _mesa_create_context and _mesa_initialize_context functions are
kept in place as wrappers around the *_for_api versions, passing in
API_OPENGL to get the same behavior as before.
/external/mesa3d/src/mesa/main/context.c
bd1d35fb5d3c889b11de5a1d493f711fc091fbed 21-Apr-2010 Brian Paul <brianp@vmware.com> mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK query
/external/mesa3d/src/mesa/main/context.c
a5d7ee929e47e85a97f0dedbe3e30f1c57e7f49b 31-Mar-2010 Brian Paul <brianp@vmware.com> mesa: plug in transform feedback functions, set limits
/external/mesa3d/src/mesa/main/context.c
066477ab226c6bf9598511ebe9134cb360fb54a2 30-Mar-2010 Chia-I Wu <olv@lunarg.com> mesa: Add missing features.

Add features tested in the code but missing from mfeatures.h.

This also fixes some tests of features. They should be tested with
"#if", not "#ifdef".
/external/mesa3d/src/mesa/main/context.c
22a96f305898b5d1aa26809c7156a01686eb9bf0 25-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove checks of Visual.rgbMode

This must always be true now, so there is no reason to check it. Ever.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/context.c
fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8 25-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove support for creating color-index visuals

Remove the rgbMode and indexBits parameters from _mesa_create_visual
and _mesa_initialize_visual. These values are now hardcoded to
GL_TRUE and 0.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/context.c
32f2fd1c5d6088692551c80352b7d6fa35b0cd09 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
/external/mesa3d/src/mesa/main/context.c
e197de56cdb86835f1437688a9161cd909792d80 19-Feb-2010 Brian Paul <brianp@vmware.com> mesa: replace old MEMCPY macro with memcpy
/external/mesa3d/src/mesa/main/context.c
362fa6763c3a6cd9cef6a1f84c5ac367295a7961 11-Feb-2010 Brian Paul <brianp@vmware.com> mesa: additional constant/limit assertions
/external/mesa3d/src/mesa/main/context.c
4bce2fb30e9cfb58831016e0bdda73abedd0a078 10-Feb-2010 Brian Paul <brianp@vmware.com> mesa: move all limit/constant assertions into check_context_limits()
/external/mesa3d/src/mesa/main/context.c
01d7e3d5a25a7cc49b38f5561d00c2ff22c43e93 09-Feb-2010 Michal Krol <michal@vmware.com> mesa: Enable true refcounting for NullBufferObj.

This object can be shared with another context, so we cannot just
delete it when the owning context is being destroyed.

Ensuring that buffer objects are properly refcounted guarantees
NullBufferObj is destroyed when all references to it are removed.
/external/mesa3d/src/mesa/main/context.c
1c39dbb90cefad8a5a97e75042466d66ea4270bc 01-Feb-2010 José Fonseca <jfonseca@vmware.com> mesa: Always do proper ref counting of shared state.
/external/mesa3d/src/mesa/main/context.c
b2a30497cc8b107ea74c3d8fbb646e59a4d55a05 03-Feb-2010 Brian Paul <brianp@vmware.com> mesa: increase number of texture units to MAX_COMBINED_TEXTURE_IMAGE_UNITS

We were misinterpretting GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS previously.

It's the number of texture units for which we need to keep state; not
just the total number of texture units addressable by the vertex shader
plus fragment shader.

Since sw Mesa independently supports 16 texture units in vertex shaders
and 16 texture units in fragment shaders, the max combined units is 32.

Note that the docs for glActiveTexture() indicate the max legal unit is
MAX(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, MAX_TEXTURE_COORDS) - 1.

A new piglit test (texunits.c) tests the various texture unit limits.

I'm pretty sure I've got this all right now, but additional reviews
are welcome...
/external/mesa3d/src/mesa/main/context.c
5cc20a06b05bd551b663c050fb4802e2658decd5 01-Feb-2010 Vinson Lee <vlee@vmware.com> mesa: Remove unnecessary headers.
/external/mesa3d/src/mesa/main/context.c
980fa564e4c01c7b95099a13fb2d8926c510da01 31-Jan-2010 Vinson Lee <vlee@vmware.com> mesa: Remove unnecessary headers.
/external/mesa3d/src/mesa/main/context.c
a38859569dca1d8b139c4c451499bf6e328379e9 29-Jan-2010 Brian Paul <brianp@vmware.com> mesa: do state validation in _mesa_valid_to_render()

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

The next patch will actually fix some bugs...

(cherry picked from commit 23eda89ec89e2bd5bc26077bd56e8d6b5d4040d4)
/external/mesa3d/src/mesa/main/context.c
e4f168a6f4911a096be97d2e83ef8ad9c5862ec0 22-Jan-2010 Brian Paul <brianp@vmware.com> glapi: clean-up and simplify glapi_nop.c code

Removed _glapi_noop_enable_warnings() and _glapi_set_warning_func().
Just check the DEBUG env vars and call fprintf(stderr) with a warning
message instead.
/external/mesa3d/src/mesa/main/context.c
3510a1b0c5398b4fce4157d5b578344d2a0bd7d3 06-Jan-2010 Brian Paul <brianp@vmware.com> mesa: call _mesa_compute_version() to set context's version info
/external/mesa3d/src/mesa/main/context.c
a087eb590d780cb82b49464e05ffc85123adce7e 11-Dec-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
src/gallium/state_trackers/xorg/xorg_xv.c
src/mesa/drivers/dri/intel/intel_span.c
cd6b8dd9e82fedc55d033131fbc0f8ee950567c8 09-Dec-2009 Eric Anholt <eric@anholt.net> mesa: Move OES_read_format support from drivers into the core.

The assertion is that the correct read type to be using is the native
type of the underlying read renderbuffer. For some fallback paths, this
may be worse than GL_RGBA/GL_UNSIGNED_BYTE for reads today, but it gets
all drivers the expected GL_BGRA/GL_UNSIGNED_BYTE for ARGB8888 or
GL_BGR//GL_UNSIGNED_SHORT_5_6_5_REV for rgb565 with no work.

This fixes the intel (and other) DRI drivers to report read formats that
should hit blit PBO readpixels paths.
/external/mesa3d/src/mesa/main/context.c
853d4807fe220b17cf5af5a76b24f2466238013b 01-Dec-2009 Michal Krol <michal@vmware.com> mesa: Update vertex texture code after gallium changes.
/external/mesa3d/src/mesa/main/context.c
5606dfb572bf4b89b4882265924705bacc8c182b 18-Nov-2009 Ian Romanick <ian.d.romanick@intel.com> Merge branch 'outputswritten64'

Add a GLbitfield64 type and several macros to operate on 64-bit
fields. The OutputsWritten field of gl_program is changed to use that
type. This results in a fair amount of fallout in drivers that use
programs.

No changes are strictly necessary at this point as all bits used are
below the 32-bit boundary. Fairly soon several bits will be added for
clip distances written by a vertex shader. This will cause several
bits used for varyings to be pushed above the 32-bit boundary. This
will affect any drivers that support GLSL.

At this point, only the i965 driver has been modified to support this
eventuality.

I did this as a "squash" merge. There were several places through the
outputswritten64 branch where things were broken. I foresee this
causing difficulties later for bisecting. The history is still
available in the branch.

Conflicts:
src/mesa/drivers/dri/i965/brw_wm.h
/external/mesa3d/src/mesa/main/context.c
59798cd8864b601e035cf2414517cd90d24ed786 29-Oct-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Make FEATURE_texture_s3tc follow feature conventions.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/mesa/main/context.c
20e20fc5afa7525e247fd607e04d9adfffe730b4 29-Oct-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Make FEATURE_texture_fxt1 follow feature conventions.

Also remove the unused initialization and GLchan fetch functions.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/mesa/main/context.c
6e99e6ddbf488f6955e34ef0bc438fdcb4d90f74 16-Oct-2009 Chia-I Wu <olvaffe@gmail.com> glapi: Always build libglapi.a.

This is made possible by making glapioffsets.h and glapidispatch.h
internal headers of glapi. They should only be included indirectly
through dispatch.h by mesa.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/mesa/main/context.c
17ef1f6074d6107c167f1956a5c60993904c0b72 08-Oct-2009 Chia-I Wu <olvaffe@gmail.com> mesa: Enable remap table in core.

This enables the remap table in core. driInitExtensions is adapted to
use the remap table. All uses of extension_helper.h are replaced by
remap_helper.h. The chicken-egg problem of the DRI drivers is also
solved.

It is now also possible to pass NULL extensions to driInitExtensions.
It will cause driInitExtensions to map all known functions. This
functionality is used by software drivers and EGL_i915.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/mesa/main/context.c
ab9d1011f5549502a4b960c2067cde69856a2719 23-Oct-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_6_branch'
4837e01bcd3d011a38d75cc9f1eff629c3de6fd6 23-Oct-2009 Brian Paul <brianp@vmware.com> mesa: code refactoring- new _mesa_finish(), _mesa_flush()
/external/mesa3d/src/mesa/main/context.c
2fd5cb713338e91999a036399a4bea4406687ca0 15-Oct-2009 Brian Paul <brianp@vmware.com> mesa: added VERBOSE_SWAPBUFFERS
/external/mesa3d/src/mesa/main/context.c
f49d53594c8ba501c39f9a43148ce02a0ec8bfc2 08-Oct-2009 Brian Paul <brianp@vmware.com> mesa: free display list state after freeing shared state

Fixes bug 24402.
/external/mesa3d/src/mesa/main/context.c
15f05e97aac46ffcf8a7765b0072535718833622 08-Oct-2009 Brian Paul <brianp@vmware.com> mesa: added _mesa_free_display_list_data()
/external/mesa3d/src/mesa/main/context.c
55770d09c18c4d33403abb97dfef4f897efbbe2a 05-Oct-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_6_branch'

Conflicts:

src/gallium/auxiliary/util/u_cpu_detect.c
63064cf7c3437e3ebb7ab36524f21472af7e47e9 01-Oct-2009 Brian Paul <brianp@vmware.com> mesa: add missing return when out of memory
/external/mesa3d/src/mesa/main/context.c
a73ba2d31b87e974f6846a8aaced704634f6f657 09-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Make FEATURE_dlist follow feature conventions.

As shown in mfeatures.h, this allows users of dlist.h to work without
knowing if the feature is available.
/external/mesa3d/src/mesa/main/context.c
aefa1f6ab1d9267b223b06ae205ab34c8e0d7c02 08-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Make FEATURE_evaluators follow feature conventions.

As shown in mfeatures.h, this allows users of eval.h to work without
knowing if the feature is available.
/external/mesa3d/src/mesa/main/context.c
42fac11d437d6bf2cb27f9487dedf7fb396616d4 08-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: New feature FEATURE_queryobj.

It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and
follows the feature conventions.
/external/mesa3d/src/mesa/main/context.c
301a510092859d2e214d64f4ac2ebe03d591c64b 08-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Make FEATURE_feedback follow feature conventions.

As shown in mfeatures.h, this allows users of feedback.h to work without
knowing if the feature is available.
/external/mesa3d/src/mesa/main/context.c
d25080074f2da1ebc47cdfb5c3491740a57ec03f 08-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: New feature FEATURE_rastpos.

It is separated from FEATURE_drawpix and made to follow the feature
conventions.
/external/mesa3d/src/mesa/main/context.c
cab7ea03688ec73dd71c0b969f2db30cabeb713c 07-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Make FEATURE_histogram follow feature conventions.

As shown in mfeatures.h, this allows users of histogram.h to work without
knowing if the feature is available.
/external/mesa3d/src/mesa/main/context.c
2b36db496d34c60a3f987fa88d52bf5684713240 07-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Make FEATURE_attrib_stack follow feature conventions.

As shown in mfeatures.h, this allows users of attrib.h to work without
knowing if the feature is available.
/external/mesa3d/src/mesa/main/context.c
a833ff0f53da6e365d917bb0081d909a809b6ec1 07-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Make FEATURE_accum follow feature conventions.

As shown in mfeatures.h, this allows users of accum.h to work without
knowing if the feature is available.
/external/mesa3d/src/mesa/main/context.c
cb4f24e51d0f4f4b867b2c01ed26d2a5ce73aeab 07-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Make FEATURE_colortable follow feature conventions.

As shown in mfeatures.h, this allows users of colortab.h to work
without knowing if the feature is available.
/external/mesa3d/src/mesa/main/context.c
da9d8f192431b0142e65bceb5ca8a2e52e21ac90 21-Sep-2009 Brian Paul <brianp@vmware.com> Revert "mesa: move _mesa_meta_init/free() calls to core Mesa"

This reverts commit 651cffd626a82d9bf539437ca4bdf8ea4b396fab.

The commit inadvertantly introduced a new gallium dependency on the meta code.
/external/mesa3d/src/mesa/main/context.c
651cffd626a82d9bf539437ca4bdf8ea4b396fab 19-Sep-2009 Brian Paul <brianp@vmware.com> mesa: move _mesa_meta_init/free() calls to core Mesa
/external/mesa3d/src/mesa/main/context.c
f37070bab6af350caec905ea7658e9241042b6cc 29-Aug-2009 Ian Romanick <ian.d.romanick@intel.com> ARB sync: Add support for GL_ARB_sync to swrast

This isn't quite right yet. The delete behavior and the context
clean-up needs some work.
/external/mesa3d/src/mesa/main/context.c
eabe12df44a41e97fb5736959e8864ddbd01be14 24-Aug-2009 Ian Romanick <ian.d.romanick@intel.com> ARB prog: Change handling of program parameter limits

Several changes are made to program parameter limits. Several of the
non-NATIVE limits are set higher. All of the NATIVE limits are set to
zero in the core Mesa code. Each driver must set the actual value in
its context creation routine. If the NATIVE value remains zero, this
indicates that hardware shaders may not be supported.

Each of the preceeding changes matches the bahavior of Apple's shader
assembler, so it seems safe.

Finally, we limit the value of MaxEnvParams to be no greater than
MaxNativeAttribs. At least one case has been found where an
application does the wrong thing if MaxNativeAttribs < MaxEnvParams.

See also bugzilla #23490.
/external/mesa3d/src/mesa/main/context.c
a088e5631d21fa41e8218feead2933ab3d2ddba0 26-Aug-2009 Brian Paul <brianp@vmware.com> mesa: validate shader before drawing (for debugging, disabled)
/external/mesa3d/src/mesa/main/context.c
71b1610941f9bfefa01d827fd19cc2368e6cdae3 14-Aug-2009 Brian Paul <brianp@vmware.com> mesa: append uniform values to the log file the first time we use a shader

This info is essential to using/debugging a shader outside of its normal
application.
/external/mesa3d/src/mesa/main/context.c
56c4226fcc54158eb7fe54eeb13539a979ec155c 14-Aug-2009 Brian Paul <brianp@vmware.com> mesa: new _mesa_valid_to_render() function

Tests if the current shader/program is valid and that the framebuffer is
complete. To be called by glBegin, glDrawArrays, etc.
/external/mesa3d/src/mesa/main/context.c
f57280cc7360d0eee40df6d34befbfad2288d297 27-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'arb_vertex_array_object'
12cf98f5fc5eaa4743134387ce3f8e584aa20bc4 20-Jun-2009 Brian Paul <brianp@vmware.com> mesa: move vertex array objects from shared state to per-context

The ARB version requires VAOs to be per-context while the Apple extension
was ambiguous.
/external/mesa3d/src/mesa/main/context.c
9038b6c8bbda49c544d777c7cf7b107887421c77 19-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'ext-provoking-vertex'

Conflicts:

docs/relnotes-7.6.html
progs/tests/Makefile
src/gallium/drivers/softpipe/sp_prim_vbuf.c
src/glx/x11/indirect.c
src/mesa/glapi/Makefile
src/mesa/glapi/dispatch.h
src/mesa/glapi/glapioffsets.h
src/mesa/glapi/glapitable.h
src/mesa/glapi/glapitemp.h
src/mesa/glapi/glprocs.h
src/mesa/main/dlist.c
src/mesa/main/enums.c
src/mesa/sparc/glapi_sparc.S
src/mesa/x86-64/glapi_x86-64.S
src/mesa/x86/glapi_x86.S
a04af335a42ce3b28e59ff9b85b2bd433a9d7b12 24-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

src/mesa/drivers/dri/i915/i915_tex_layout.c
src/mesa/drivers/dri/i965/brw_wm_glsl.c
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
src/mesa/drivers/dri/intel/intel_pixel_draw.c
src/mesa/main/enums.c
src/mesa/main/texstate.c
src/mesa/vbo/vbo_exec_array.c
3f856c6b6b7fa95ef97a8712876de88d7d57932e 17-Jun-2009 Brian Paul <brianp@vmware.com> mesa: rework viewport/scissor initialization code

The first time a context is bound to a drawable, the viewport and scissor
bounds are initialized to the buffer's size. This is actually a bit tricky.

A new _mesa_check_init_viewport() function is called in several places
to check if the viewport has been initialized. We also use a new
ctx->ViewportInitialized flag instead of the overloaded
ctx->FirstTimeCurrent flag.
/external/mesa3d/src/mesa/main/context.c
9d58724c51c387c360d2423e29b80ddc0bfa66b7 04-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

src/mesa/main/context.c
12e94d892e3322be5c8a1594702d69e7a02d5274 02-Jun-2009 Brian Paul <brianp@vmware.com> mesa: release VBO and PBO references upon context destruction
/external/mesa3d/src/mesa/main/context.c
9f6ec50f8c79283583eeebdebd16bf7dcd134816 01-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'
29c6c8eb18ace95b9af6dcf34e02c2b8db0ffda8 30-May-2009 José Fonseca <jfonseca@vmware.com> mesa: Add success/failures return value to _mesa_make_current.
/external/mesa3d/src/mesa/main/context.c
89966cdb1b5974059c32308d74b5bb09943a6fa1 28-May-2009 Brian Paul <brianp@vmware.com> mesa: data structure updates for GL_EXT_provoking_vertex
/external/mesa3d/src/mesa/main/context.c
ce7a049191c14be1d3dd456cdc72463b01ccf34c 22-May-2009 Brian Paul <brianp@vmware.com> mesa: use Elements() for loop limit
/external/mesa3d/src/mesa/main/context.c
3e74faa02948624cfbaf1f03854f27e0c9130759 13-May-2009 Brian Paul <brianp@vmware.com> mesa: delete array objects before buffer objects during context tear-down

The former may point to the later.
/external/mesa3d/src/mesa/main/context.c
17a354a119370df9196a010a31fc71cd8712ec46 08-May-2009 Brian Paul <brianp@vmware.com> mesa: assertions to check for too many vertex outputs or fragment inputs
/external/mesa3d/src/mesa/main/context.c
d88faf91e9fe222636b33540298ee64bc6f4416c 01-May-2009 José Fonseca <jfonseca@vmware.com> mesa: Make _mesa_share_state thread safe.
/external/mesa3d/src/mesa/main/context.c
b6e8256899a9a93c665c34e10efcc918f2fcc095 05-May-2009 Keith Whitwell <keithw@vmware.com> mesa: more complete fix for transform_invarient glitches

Add a new flag mvp_with_dp4 in the context, and use that to switch
both ffvertex.c and programopt.c vertex transformation code to
either DP4 or MUL/MAD implementations.
/external/mesa3d/src/mesa/main/context.c
b25168c34c60760a33ca9e8336ac76cf1219f143 01-May-2009 José Fonseca <jfonseca@vmware.com> mesa: Make _mesa_share_state thread safe.
/external/mesa3d/src/mesa/main/context.c
4f6b704f9796775d8d9937c3cf75a2901b99b896 07-May-2009 Brian Paul <brianp@vmware.com> mesa: move the NullBufferObj from GLcontext to gl_shared_state

Since shared array objects may point to the null/default buffer object,
the null/default buffer object should be part of the shared state.
/external/mesa3d/src/mesa/main/context.c
113403ef51e2ec764db061aabf569d6f1a1a3ef0 05-May-2009 Keith Whitwell <keithw@vmware.com> mesa: more complete fix for transform_invarient glitches

Add a new flag mvp_with_dp4 in the context, and use that to switch
both ffvertex.c and programopt.c vertex transformation code to
either DP4 or MUL/MAD implementations.
/external/mesa3d/src/mesa/main/context.c
c0bff53334194f9d1aada23510123f1591d5512e 28-Apr-2009 Keith Whitwell <keithw@vmware.com> mesa/main: protect driver.finish with FLUSH_CURRENT

Already doing this for driver.flush()
/external/mesa3d/src/mesa/main/context.c
1c9786894cc3ce66665ca507a6daf6a829e5af89 24-Apr-2009 Brian Paul <brianp@vmware.com> mesa: fix up error/warning/debug output newlines

As of commit 23ad86cfb91c294ce85a3116d4b825aaa3988a6e all messages go
through output_if_debug().

Add new parameter to output_if_debug() to indicate whether to emit a newline.

_mesa_warning() and _mesa_error() calls should not end their strings with \n.
_mesa_debug() calls should end their text with \n.
/external/mesa3d/src/mesa/main/context.c
009749b4a8c3ec54f47f3f85552e5ae275ab6ae6 21-Apr-2009 Keith Whitwell <keithw@vmware.com> mesa: protect driver.flush() with FLUSH_CURRENT

Need to do this to ensure vbo code unmaps its buffers before calling
the driver, which may be sitting on top of a memory manager which
objects to firing commands from a mapped buffer.
/external/mesa3d/src/mesa/main/context.c
36b0f26721652639351522915d9a57f9d4a8bcde 18-Apr-2009 Brian Paul <brianp@vmware.com> mesa: suppress extra newline
/external/mesa3d/src/mesa/main/context.c
1eee1bac1f6d911e6124daafc9b9291666d91cef 17-Mar-2009 Vinson Lee <vlee@vmware.com> mesa: update/fix doxygen comments
/external/mesa3d/src/mesa/main/context.c
114152e068ec919feb0a57a1259c2ada970b9f02 12-Mar-2009 Roland Scheidegger <sroland@vmware.com> mesa: add support for ATI_envmap_bumpmap

add new entrypoints, new texture format, etc
translate in texenvprogram.c for drivers using the mesa-generated tex env
fragment program
also handled in swrast, but not tested (cannot work due to negative texel
results not handled correctly)
/external/mesa3d/src/mesa/main/context.c
4045a2c7d302352646c1ff2a01cd531aa1b55d31 07-Mar-2009 Brian Paul <brianp@vmware.com> mesa: move shared context state functions to new shared.c file
/external/mesa3d/src/mesa/main/context.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/context.c
8bbb6b352ad7fabb2cc5ec4b82244d39495e80ac 06-Mar-2009 José Fonseca <jfonseca@vmware.com> mesa: Reads must also be done with lock held.

Otherwise two threads might think each made the refcount go zero.
/external/mesa3d/src/mesa/main/context.c
7979c6024ca81257164d3560a0366c1c52529b0e 05-Mar-2009 Brian Paul <brianp@vmware.com> mesa: call _mesa_get_cpu_features() during one-time-init
/external/mesa3d/src/mesa/main/context.c
4c4268dd31ce119d5d3db090adf0935bf3c27831 28-Feb-2009 Brian Paul <brianp@vmware.com> mesa: convert some #defines to enums

This makes debugging with gdb a bit easier.
Ex:
(gdb) p ctx->DrawBuffer.Attachment[BUFFER_STENCIL]

Note however that gdb only seems to recognize enum types that are actually
used to declare a variable somewhere. For example, gl_buffer_index isn't
used to declare any vars so it's invisible to gdb. Work around this by
adding a dummy function in context.c that declares some vars with these
new types.
/external/mesa3d/src/mesa/main/context.c
857ac1e817808f4b6bf985679162d0e3d709e5b5 26-Feb-2009 David S. Miller <davem@davemloft.net> mesa: Resurrect SPARC asm code.

This rewrites the sparc GLAPI code so that it's PIC friendly and works
with all of the TLS/PTHREADS/64-bit/32-bit combinations properly.

As a result we can turn SPARC asm back on. Currently it's only
enabled on Linux, as that's the only place where I can test this
stuff out.

For the moment the cliptest SPARC asm routines are disabled as they
are non-working. The problem is that they use register %g7 as a
temporary which is where the threading libraries store the thread
pointer on SPARC. I will fix that code up in a future change as it's
a pretty important routine to optimize.

Like x86 we do the runtime patch as a pthread once-invoked initializer
in init_glapi_relocs().

Unlike x86, however, our GLAPI stubs on SPARC are just two instruction
sequences that branch to a trampoline and put the GLAPI offset into a
register. The trampoline is what we run-time patch. The stubs thus
all look like:

glFoo:
ba __glapi_sparc_foo_stub
sethi GLAPI_OFFSET(glFOO) * PTR_SIZE, %g3

This actually makes generate_entrypoint() a lot simpler on SPARC. For
this case in generate_entrypoint() we generate stubs using a 'call'
instead of the 'ba' above to make sure it can reach.

In order to get a proper tail call going here, in the unpatched case,
we do several tricks. To get the current PC, for example, we save the
return address register into a temporary, do a call, save the return
address register written by the call to another temporary, then
restore the original return address register value. This is to
avoid having to allocate a stack frame.

This is necessary for PIC address formation.

This new GLAPI scheme lets us get rid of the ugly SPARC GLAPI hacks in
__glXInitialize() and one_time_init().

Signed-off-by: David S. Miller <davem@davemloft.net>
/external/mesa3d/src/mesa/main/context.c
f2c023291a1f2887294d2aac504f8b82857ad092 22-Feb-2009 Brian Paul <brianp@vmware.com> mesa: move a bunch of compiler-related stuff into new compiler.h header

This trims down and cleans up imports.h and glheader.h quite a bit.
/external/mesa3d/src/mesa/main/context.c
d059d030342fc232a5b54298c0591f5f814f4adb 21-Feb-2009 Brian Paul <brianp@vmware.com> mesa: use enums for TEXTURE_x_INDEX values

Plus, put them in the order of highest to lowest priority to simplify
the texture_override() loop.
/external/mesa3d/src/mesa/main/context.c
4d24b639d160fe485a3e8f7395e7654538be29e0 21-Feb-2009 Brian Paul <brianp@vmware.com> mesa: use an array for default texture objects

Replace Default1D/2D/3D/Cube/etc with DefaultTex[TEXTURE_x_INDEX].
The same should be done with the Current1D/2D/3D/etc pointers...
/external/mesa3d/src/mesa/main/context.c
6559107c7ae67ae6a94f53728cad85137aaf6312 13-Feb-2009 Brian Paul <brianp@vmware.com> mesa: add additional texture size/limit assertions
/external/mesa3d/src/mesa/main/context.c
e8cd8be03b9617d75df4e09dc568b6760db1edc4 12-Feb-2009 Brian Paul <brianp@vmware.com> mesa: restore FLUSH_VERTICES() in _mesa_notifySwapBuffers()
/external/mesa3d/src/mesa/main/context.c
2218592d47b963791105f5b8fa1a0b3f3a07f674 11-Feb-2009 Brian Paul <brianp@vmware.com> mesa: get rid of _math_init()

Only VBO uses the evaluator code so call _math_init_eval() there.

Only TNL uses the transform/translate code so call _math_init_transformation()
and _math_init_translate9) there.

This is a step toward resolving some symbol collisions between Mesa's and
gallium's x86 codegen.
Have VBO and TNL modules call _math_init_transformation()
/external/mesa3d/src/mesa/main/context.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
d52294439c80c99a4bfa2c7ecc65efa67f095a3f 09-Feb-2009 Brian Paul <brianp@vmware.com> mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()
/external/mesa3d/src/mesa/main/context.c
e97681c7f551a2a2a6bd5eff0f4192a870c816c0 09-Feb-2009 Brian Paul <brianp@vmware.com> mesa: merge gallium-0.2 into gallium-master-merge

Merge commit 'origin/gallium-0.2' into gallium-master-merge

Conflicts:

Makefile
docs/relnotes-7.4.html
docs/relnotes.html
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/main/imports.c
src/mesa/main/mtypes.h
src/mesa/main/texcompress.c
src/mesa/main/texenvprogram.c
src/mesa/main/version.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_draw.c
446abc2799a143c32c4c48472f3f964f9288a623 31-Jan-2009 Brian <brianp@vmware.com> mesa: display list clean-ups

Rename some structs and fields to be more consistant with the rest of mesa.
/external/mesa3d/src/mesa/main/context.c
8fb8855b4d495303aabd11a4475cba3723b14bb2 20-Jan-2009 Brian Paul <brianp@vmware.com> mesa: init MaxSamples = 0 (no multisampling)
/external/mesa3d/src/mesa/main/context.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/context.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/context.c
0815ebccfc0a12d8f3e831928f1c4210b7f75ad8 03-Jan-2009 Brian Paul <brianp@vmware.com> Merge commit 'origin/master' into gallium-0.2

Conflicts:

src/mesa/main/ffvertex_prog.c
src/mesa/main/texenvprogram.c
e9b34885b8ff2ccb67a801cd1ce07e0df1b0e397 31-Dec-2008 Brian Paul <brianp@vmware.com> mesa: increase max texture image units and GLSL samplers to 16

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

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

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

It should be possible to increase the max image units/samplers to 32 without
doing anything special. Beyond that we'll need longer bitfields in a few
places.
/external/mesa3d/src/mesa/main/context.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
568e96b4533c5135f4d7f568a81cdfc0a6dcd7eb 14-Oct-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: modify fixed function vertex programs not to reference constant attributes
/external/mesa3d/src/mesa/main/context.c
f51cca72d31aacbae815c70071d2d3a04d55025a 26-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix/simplify initialization of vertex/fragment program limits

Defaults for program length, num ALU instructions, num indirections, etc.
basically indicate no limit for software rendering. Driver should override
as needed.
/external/mesa3d/src/mesa/main/context.c
092748990f75a0348f24a40e92872f08a9958e66 26-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix/simplify initialization of vertex/fragment program limits

Defaults for program length, num ALU instructions, num indirections, etc.
basically indicate no limit for software rendering. Driver should override
as needed.
/external/mesa3d/src/mesa/main/context.c
6fd15dd80666ccb1e9b99cedd306e32cc7cee989 20-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: allow for extra per-context init
(cherry picked from commit 815cdcfbc0740c66b901361620c88d99541bdad2)
/external/mesa3d/src/mesa/main/context.c
868c09a267f3c25591075f5a9e5d54535958632f 08-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix some feature tests
(cherry picked from commit 74b14fe6ddbece8bc662aac4d3b2b18d8d853486)
/external/mesa3d/src/mesa/main/context.c
c115616bda80390e6d4b11e7ce6184ef1cc00838 20-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: init ctx->RenderMode
/external/mesa3d/src/mesa/main/context.c
85f553d3c11a1fdf26e8ceb4767742afce0b24ff 20-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix some FEATURE_x tests
/external/mesa3d/src/mesa/main/context.c
b51d73dd943de688be7e65057af150e8eb92ae21 20-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: test for FEATURE_ATI_fragment_shader
/external/mesa3d/src/mesa/main/context.c
715715e230bbe3e90fed566230b4a10ed0e89e90 18-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix ReadBuffer initialization
/external/mesa3d/src/mesa/main/context.c
cd4d4f590f3e032d329ebb33dea69d951bb96d11 18-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: FEATURE_dispatch to control dispatch table usage
/external/mesa3d/src/mesa/main/context.c
2dbc515a669be123a019aeb4aa5aae6b1679f6a9 14-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: move some glapi bits around

Move _glapi_proc typedef from glapitable.h to glapi.h
Also, don't include glapitable.h from glapi.h
Before we were including the huge glapitable.h file in every .c file.
/external/mesa3d/src/mesa/main/context.c
d22ef6bcbaf083b601fe6b37ef2e65e81116082b 13-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: remove some temp debug code
/external/mesa3d/src/mesa/main/context.c
4e3ae76feac17570b50ec6751e07ea112dde597f 13-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: check FEATURE_ARB_occlusion_query
/external/mesa3d/src/mesa/main/context.c
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/context.c
c132e2b1db855b3c33d8b879c4a986011d631d43 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move multisample-related functions into new multisample.c file
/external/mesa3d/src/mesa/main/context.c
55e341c4c2e5a6f3475a8a3e6389b904f99a6d1a 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move scissor functions into new scissor.c file
(cherry picked from commit 4be7296bfcba22a849f949d105ea385e6964cc25)
/external/mesa3d/src/mesa/main/context.c
533c1dbe7582bdd72f671eef02e085f0c43159e2 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: new _mesa_init_pixelstore() function
(cherry picked from commit 5f91007f996d0b7e3233f221a6b0056203e356d2)
/external/mesa3d/src/mesa/main/context.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/context.c
13e7e4b634a94efe14f4d79723844d5fdfe12ad4 19-Sep-2008 Alan Hourihane <alanh@tungstengraphics.com> mesa: add missing FEATURE_attrib_stack around
call to _mesa_free_attrib_data()
/external/mesa3d/src/mesa/main/context.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
815cdcfbc0740c66b901361620c88d99541bdad2 20-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: allow for extra per-context init
/external/mesa3d/src/mesa/main/context.c
74b14fe6ddbece8bc662aac4d3b2b18d8d853486 08-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix some feature tests
/external/mesa3d/src/mesa/main/context.c
eb80ed0d2eac693012e7e4c2ad772f7f57f74977 03-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> added null ptr check (fix bug 16959)
/external/mesa3d/src/mesa/main/context.c
61b3ce8f9787edd7d5678f87aa4c2a0a6f8c0e45 03-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> added null ptr check (fix bug 16959)
/external/mesa3d/src/mesa/main/context.c
2fa7b3f78639114aec42fcbbfc29d3645832708b 04-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: Implement mutex/locking around texture object reference counting.

Use new _mesa_reference_texobj() function for referencing/unreferencing
textures. Add new assertions/tests to try to detect invalid usage of
deleted textures.

cherry-picked from master (9e01b915f1243a3f551cb795b7124bd1e52ca15f)
/external/mesa3d/src/mesa/main/context.c
d015ffa6ea20f00f23513e63b5c27e5e6d0d3627 03-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix problem freeing framebuffer/renderbuffer objects

Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer obj
/external/mesa3d/src/mesa/main/context.c
3dc6591a7c85b6a05551ce91b69e57d23148bf57 03-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix problem freeing framebuffer/renderbuffer objects

Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer objects.
/external/mesa3d/src/mesa/main/context.c
36aae1868345567975ce4fa449b547ae3e01dbc3 20-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: init ctx->RenderMode
/external/mesa3d/src/mesa/main/context.c
95c9fc82f58a8f38d25b3e405891566c8f8a51f6 20-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix some FEATURE_x tests
/external/mesa3d/src/mesa/main/context.c
907c0978affb6bc7f8cb077f568829ecfaa89b04 20-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: test for FEATURE_ATI_fragment_shader
/external/mesa3d/src/mesa/main/context.c
19f872f2ecb45d5e95ccd2b434a88781c9b4f451 18-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix ReadBuffer initialization
/external/mesa3d/src/mesa/main/context.c
03d579aa19bcb1facec5ab67b6f7123e9ec9f26e 18-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: FEATURE_dispatch to control dispatch table usage
/external/mesa3d/src/mesa/main/context.c
8b11fa4d4496032246b33182b9285c1181d41f1f 14-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: move some glapi bits around

Move _glapi_proc typedef from glapitable.h to glapi.h
Also, don't include glapitable.h from glapi.h
Before we were including the huge glapitable.h file in every .c file.
/external/mesa3d/src/mesa/main/context.c
e9a6832737e17fd41d1f9e660239bd0bd2355b0b 13-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: remove some temp debug code
/external/mesa3d/src/mesa/main/context.c
2b4e2841a70ddba683158b4310b19c98037a2337 13-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: check FEATURE_ARB_occlusion_query
/external/mesa3d/src/mesa/main/context.c
e961a5da77cbcdb0e32400ec707c16fcfe9d7083 13-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: add some #if FEATURE_x tests
/external/mesa3d/src/mesa/main/context.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/context.c
bce428c4a65fdcb890ea18bf4a1dfb42ed109006 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move multisample-related functions into new multisample.c file
/external/mesa3d/src/mesa/main/context.c
4be7296bfcba22a849f949d105ea385e6964cc25 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move scissor functions into new scissor.c file
/external/mesa3d/src/mesa/main/context.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/context.c
5f91007f996d0b7e3233f221a6b0056203e356d2 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: new _mesa_init_pixelstore() function
/external/mesa3d/src/mesa/main/context.c
4f15e3eefbd31b4fdcf90c2798d0cb41c893b049 09-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: chmod a-x context.c
/external/mesa3d/src/mesa/main/context.c
53174afeeb68a79e471185cb463c13ff90af698f 31-May-2008 José Fonseca <jrfonseca@tungstengraphics.com> mesa: Apply MSVC portability fixes from Alan Hourihane.
/external/mesa3d/src/mesa/main/context.c
62f96ddbbc2549bd4d50016f571cd4d1f6f6a7d6 19-May-2008 Brian Paul <brian.paul@tungstengraphics.com> Fix program refcounting assertion failure during context tear-down

When purging the program hash table, the refcount _should_ be one since
the program is referenced by the hash table. Need to explicitly set to
zero before calling delete().

Also, purge high-level shader hash tables before low-level program hash tabl

cherry-picked from master
/external/mesa3d/src/mesa/main/context.c
fbfe2a58de8a9ca31164b4c6f26191b851fe939d 19-May-2008 Brian Paul <brian.paul@tungstengraphics.com> Fix program refcounting assertion failure during context tear-down

When purging the program hash table, the refcount _should_ be one since
the program is referenced by the hash table. Need to explicitly set to
zero before calling delete().

Also, purge high-level shader hash tables before low-level program hash tables.
/external/mesa3d/src/mesa/main/context.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/context.c
05370685fedab9608d6b5b5de7042dac4289e522 07-May-2008 Brian <brian.paul@tungstengraphics.com> mesa: free shader program data before deleting shader objects.

Picked from master.
Fixes mem corruption seen when glean/api2 test exits.
/external/mesa3d/src/mesa/main/context.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/context.c
e97bedb302701e2e50cef664690b83a1fe6c95ed 01-May-2008 Alan Hourihane <alanh@tungstengraphics.com> Fix build problem with MSVC
/external/mesa3d/src/mesa/main/context.c
f6f9f5e4814f95db1b71251d818da4fca2ec5e18 03-Apr-2007 George Sapountzis <gsap7@yahoo.gr> drop stray includes of glapi
/external/mesa3d/src/mesa/main/context.c
63d8a8417d68365cd10c11178516378411c09f87 31-Mar-2008 Xiang, Haihao <haihao.xiang@intel.com> mesa: Free all shader program data before deleting all
shader/shader program objects to avoid memory access error.
/external/mesa3d/src/mesa/main/context.c
aef47c4dc87075fd63002b50c4b32b1049e5e4d1 31-Mar-2008 Xiang, Haihao <haihao.xiang@intel.com> Revert "mesa: separate shader program object from shader object." (bug#15244)

This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb.
/external/mesa3d/src/mesa/main/context.c
731dec1bd52abbaf77f21fa37c9c192611dcd1a5 22-Mar-2008 Brian <brian.paul@tungstengraphics.com> delete default programs with ctx->Driver.DeleteProgram()
/external/mesa3d/src/mesa/main/context.c
f73cfd9e5cb0f47057f5b78b019787726798f238 22-Mar-2008 Brian <brian.paul@tungstengraphics.com> delete default programs with ctx->Driver.DeleteProgram()
/external/mesa3d/src/mesa/main/context.c
507da247679e061cef765b9d4cc37470c633cccc 10-Mar-2008 Markus Amsler <markus.amsler@oribi.org> init vertex weight attrib to (1,0,0,0)
/external/mesa3d/src/mesa/main/context.c
3ffd11f71d021f672b9bc15b3c39c155a0e2fecb 28-Feb-2008 Xiang, Haihao <haihao.xiang@intel.com> mesa: separate shader program object from shader object.

Currently a callback delete_shader_cb is used for deleting shader
and shader program objects. Mesa detaches all attached shaders in
_mesa_free_shader_program_data when deleting shader program objects. However
it is likely that these shaders have been freed in _mesa_free_shader,
which will result in unexpected behaviour. This fix uses a single callback for
shader program objects and deletes shader program objects before shader objects.
/external/mesa3d/src/mesa/main/context.c
2f7c80495250612c88adaa479f7335583dbc3ba2 30-Jan-2008 Brian <brian.paul@tungstengraphics.com> check if fb->Delete is null (bugs 13507,14293)
/external/mesa3d/src/mesa/main/context.c
552907d8a497d42f6693ca0f9324f003cfe3a66d 25-Dec-2007 Brian <brian.paul@tungstengraphics.com> free Default1D/2DArray objects
/external/mesa3d/src/mesa/main/context.c
a5c84de3a7c937bb8b1cca3e6f17329e7d35c20d 01-Jan-2008 Brian <brian.paul@tungstengraphics.com> remove unneeded conditional
/external/mesa3d/src/mesa/main/context.c
fcd7c37fd3d0f61cf6ac81170bc0b3fca64ad9bb 30-Nov-2007 Brian <brian.paul@tungstengraphics.com> fix broken two-sided stencil
/external/mesa3d/src/mesa/main/context.c
7cafaff0ebb7c3fb7461573442aa44b354682d81 01-Nov-2007 Brian <brian.paul@tungstengraphics.com> disable the driverContext assertions
/external/mesa3d/src/mesa/main/context.c
96b06ac557b721f0b1b9cc05b1d2b3a289701ae5 19-Oct-2007 Brian <brian.paul@tungstengraphics.com> call Driver.Flush() in _mesa_notifySwapBuffers()
/external/mesa3d/src/mesa/main/context.c
a614877592e8526d997242ce336fb455dd3f5bdb 11-Sep-2007 Brian <brian.paul@tungstengraphics.com> In _mesa_make_current(), don't unbind FBOs from the old context.

This fixes the X server crash reported by KeithP on Aug 29.
The old context's FBOs will be unreferenced during context destruction so
there's no memleak with this change.
/external/mesa3d/src/mesa/main/context.c
4b654d41da08b3b5475144c027e97a3ae7ab5696 23-Aug-2007 Brian <brian.paul@tungstengraphics.com> For _mesa_share_state(), update the context's references to the new share group's objects (Shane Blackett)
/external/mesa3d/src/mesa/main/context.c
95e84a09ce3f35f59465be28026e83c1bc40ae8a 18-Aug-2007 Brian <brian.paul@tungstengraphics.com> remove dead code left over after fixing GL_READ/DRAW_BUFFER state issues
/external/mesa3d/src/mesa/main/context.c
32d86eb28aedd01a03ceab746214a8db2a4cbbab 16-Aug-2007 Brian <brian.paul@tungstengraphics.com> Rework the GL_READ_BUFFER, GL_DRAW_BUFFER state repairs that Roland previously did.

Basically, in update_framebuffer() (which should be called after an FBO is bound
with MakeCurrent or BindFramebuffer) we check if the FBO is a window-system FBO.
If it is, update the FBO's GL_READ/DRAW_BUFFER state according to the context state.
Old code still in place but disabled with #if 0 / #endif.
/external/mesa3d/src/mesa/main/context.c
145d762044f795bf9d68f28079cc5e5d3056920e 16-Aug-2007 Brian <brian.paul@tungstengraphics.com> Bring over the texobj refcounting changes from mesa_7_0_branch
/external/mesa3d/src/mesa/main/context.c
dc73217294efcba83c46183ed2f208250217486f 14-Aug-2007 Brian <brian.paul@tungstengraphics.com> Fix a few more problems with freeing FBOs/textures during context destruction.

Free FBOs before textures since the later may be referenced by the former.
Need to bind the context we're destroying if there isn't a current context
so that ctx->DeleteTexture() etc can be used.
/external/mesa3d/src/mesa/main/context.c
393a6255381f019586bd9acc49fbf2fd431e534e 13-Aug-2007 Brian <brian.paul@tungstengraphics.com> free any render/framebuffers left in hash tables when freeing shared state
/external/mesa3d/src/mesa/main/context.c
9e01b915f1243a3f551cb795b7124bd1e52ca15f 13-Aug-2007 Brian <brian.paul@tungstengraphics.com> Implement mutex/locking around texture object reference counting.

Use new _mesa_reference_texobj() function for referencing/unreferencing
textures. Add new assertions/tests to try to detect invalid usage of
deleted textures.
/external/mesa3d/src/mesa/main/context.c
6f4725088842fbc0069aeb51f41907b87e0a8f08 13-Aug-2007 Brian <brian.paul@tungstengraphics.com> added some missing Default1D/2DArray texture code
/external/mesa3d/src/mesa/main/context.c
a1bc0d0f51c2aa248a349283c3b86ae2c72af4aa 18-Jul-2007 Roland Scheidegger <sroland@tungstengraphics.com> fix mesa's handling of fbo's / window fb (again)

Make sure the relevant fields in window fbs get updated at appropriate time
(those are NOT the same as fbos!!!), and fix up related code accordingly.
This is a bit ugly, but there's a reason the issues section in EXT_fbo is
a couple hundred pages long...
Hopefully correct now.
/external/mesa3d/src/mesa/main/context.c
6075df53b5435ddada989d776d989132def363a6 18-Jul-2007 Roland Scheidegger <sroland@tungstengraphics.com> more fixes for mesa's fbo handling (fixes tests/fbotest1/2)
/external/mesa3d/src/mesa/main/context.c
cbfe29cdee5d338a25f13abbbb191b80428d05c8 16-Jul-2007 Roland Scheidegger <sroland@tungstengraphics.com> fix bogus fb/drawable information

the framebuffer objects attached to drawables can have invalidate state
associated with them, since for the window framebuffer this is per-context
state and not per-fbo state. Since drivers rely on that information
(otherwise would need to check if currently the window-framebuffer is
bound in a lot of places) fix it up in _mesa_make_current (ugly).
(Brought over from i915tex_privbuffers, where it fixes xdemos/wincopy
when switching to front buffer rendering.)
/external/mesa3d/src/mesa/main/context.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/context.c
cf239ced0deb839b85eedd0dba322969e79f1704 11-Jun-2007 Brian <brian.paul@tungstengraphics.com> In generic_nop() call _mesa_warning() instead of _mesa_problem() since it's an app issue, not a mesa bug.
/external/mesa3d/src/mesa/main/context.c
ee170f29552b353bc14be4473f0e517149f47c1d 08-Jun-2007 Brian <brian.paul@tungstengraphics.com> disable depthBits test in check_compatible(), see bug 11161
/external/mesa3d/src/mesa/main/context.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/context.c
74afcabd8599565c1b6d06ea5f355662a81c3778 21-Apr-2007 Brian <brian@yutani.localnet.net> Rename occlude.[ch] to queryobj.[ch]
/external/mesa3d/src/mesa/main/context.c
f3e8c32376d8bdf1c48a0a2ad97eddcde7fc2f00 18-Apr-2007 Brian <brian@yutani.localnet.net> s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token)
/external/mesa3d/src/mesa/main/context.c
64e8088667d000a70beff93e8c300ac0bd261a60 16-Apr-2007 Brian <brian@yutani.localnet.net> Use generic program limits instead of NV-specific ones to init program constants.

Previously, this limited us to 12 temp regs for vertex programs. Many vertex
shaders could exceed that. This forces us to stop using t_vb_arbprogram.c
for now because of its particular register indexing scheme. Need to increase
bits allocated for register indexing, etc.
/external/mesa3d/src/mesa/main/context.c
4fc46a6c82419ec379896a9b9992c3cb6721904f 14-Apr-2007 Brian <brian@yutani.localnet.net> more _mesa_unreference_framebuffer() calls, remove dead code
/external/mesa3d/src/mesa/main/context.c
33c3739628616c0aaf10e51eae50611169ded0dd 05-Apr-2007 Brian <brian@yutani.localnet.net> Remove the never-used SI-style imports/exports code.
/external/mesa3d/src/mesa/main/context.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/context.c
935f93f966aa298c4d4115ac766cb2ff46ad6514 24-Mar-2007 Brian <brian@nostromo.localnet.net> Free shader-related context state: _mesa_free_shader_state()
/external/mesa3d/src/mesa/main/context.c
2cf5fd48d1586f961910a14324a457854cb66221 09-Mar-2007 Brian <brian@yutani.localnet.net> Merge branch 'origin' into glsl-compiler-1

Conflicts:

src/mesa/main/context.c
a510bc3ee1a696da120c09ee4ec33dc033f671ac 06-Mar-2007 Brian <brian@yutani.localnet.net> Fix/improve framebuffer object reference counting.

Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions
to be sure reference counting is done correctly. Additional assertions are
done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as
that's more accurate.
/external/mesa3d/src/mesa/main/context.c
e6a9381f78605072cab52447fce35eaa98c1e75c 26-Feb-2007 Brian <brian@yutani.localnet.net> Do proper framebuffer refcounting in _mesa_make_current().

Also, added DeletePending field to gl_framebuffer used when a window has been
deleted, but there still may be rendering contexts attached to the
gl_framebuffer object.
/external/mesa3d/src/mesa/main/context.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
b59657ad965f9471574e914b861bb1d2a17d772e 02-Feb-2007 Keith Whitwell <keith@tungstengraphics.com> Merge branch 'vbo-0.2'

Conflicts:

src/mesa/main/texcompress_s3tc.c
src/mesa/tnl/t_array_api.c
507167d7e2cf3bc64d1c112d927efeb1baa3b495 06-Dec-2006 George Sapountzis <gsap7@yahoo.gr> Override Const.CheckArrayBounds for Xserver in XMesaCreateContext().

This leaves one last XFree86Server ifdef in Mesa core.

---

Bug 9285: misc glcore, xmesa cleanups

ACKed by Ian Romanick.
/external/mesa3d/src/mesa/main/context.c
c9b33ecd7c07cace0a6553ccfdaf7b021959c934 06-Dec-2006 George Sapountzis <gsap7@yahoo.gr> Drop old (pre-AIGLX) GLcore interface.

The old GLcore interface was replaced in Xorg 7.1 with the addition of AIGLX,
it is only used by DDX's which are known not to work with the new DIX glx code.

---

Bug 9285: misc glcore, xmesa cleanups

ACKed by Ian Romanick.
/external/mesa3d/src/mesa/main/context.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
6ff9b48fe2bb2113689e45c89a7c643e44906d67 15-Jan-2007 Keith Whitwell <keith@tungstengraphics.com> Don't special-case FOG attribute initialization.

Initial fog value was being set to {0,0,0,0}. This results in vector
size 4, but isn't necessary. The regular {0,0,0,1} works fine.
/external/mesa3d/src/mesa/main/context.c
d881a9c1365a085ecb1f7e3ee406a2ce3fbf854f 20-Dec-2006 Brian <brian@yutani.localnet.net> Minor clean-ups, reformatting, comment changes.
/external/mesa3d/src/mesa/main/context.c
9e4bae9ccac5a76a2361c5c3cbe377a3c6b6a95b 20-Dec-2006 Brian <brian@yutani.localnet.net> Fix shader object reference counting and hash table deallocation.
/external/mesa3d/src/mesa/main/context.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/context.c
0bf5dbe002a64e198f55724cc1542602c012490f 20-Dec-2006 Brian <brian@yutani.localnet.net> Overhaul of GLSL API functions, dispatching, etc.
/external/mesa3d/src/mesa/main/context.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/context.c
3e6ef125f06cf036831063e46ee08bd17c4c4417 27-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144)
/external/mesa3d/src/mesa/main/context.c
4d4373bb0fa06093d82796950ede5a26fbfdd1d4 18-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> delete shader objects when destroying shared context state
/external/mesa3d/src/mesa/main/context.c
6d104cb932080c5c0d951fbc0ec6d30fb7ebef45 02-Nov-2006 Alan Hourihane <alanh@tungstengraphics.com> merge current trunk into vbo branch
/external/mesa3d/src/mesa/main/context.c
5ac93f86210eb5c2a8dee74ec19b0ecd54376863 01-Nov-2006 Keith Whitwell <keith@tungstengraphics.com> Merge texmem-0-3-branch.
/external/mesa3d/src/mesa/main/context.c
90fcf6ccc345c287309d7d17b2ff256cc22fb2b7 01-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> Added a few new ctx->Const. fields for shader-related limits.
/external/mesa3d/src/mesa/main/context.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/context.c
55e42e5b7298bbf4c75f2472fc077743dd4d9b85 17-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> check if ctx->Driver.GetBufferSize==NULL and no-op
/external/mesa3d/src/mesa/main/context.c
4d4add0972d1c4eca3b62edb581fe65697b061ff 15-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Added #if / #else / #endif around code related to framebuffer initialization
to describe what should be changed in the drivers.
/external/mesa3d/src/mesa/main/context.c
f9bfdb1ce47380a23218a8253ac1dde923ee13fc 22-Sep-2006 Keith Whitwell <keith@tungstengraphics.com> resize buffers in MakeCurrent
/external/mesa3d/src/mesa/main/context.c
365582dd6f632aafbc1c817aa57926d679bb2efc 01-Aug-2006 Michal Krol <mjkrol@gmail.org> Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.
/external/mesa3d/src/mesa/main/context.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/context.c
c04bb519e13dc6f983930736f9747a9d81b13e76 11-Jul-2006 Brian Paul <brian.paul@tungstengraphics.com> free array objects properly (bug 7493)
/external/mesa3d/src/mesa/main/context.c
c60bcc8966ce3454bb5eba6beb9c881b3d72ae6a 11-Jul-2006 Tilman Sauerbeck <tilman@freedesktop.org> free GL2Objects unconditionally
/external/mesa3d/src/mesa/main/context.c
c0eb777cd8e67e266a2fd1bccda7f77c0f1bd097 11-Jul-2006 Tilman Sauerbeck <tilman@freedesktop.org> free the ArrayObjects hash table
/external/mesa3d/src/mesa/main/context.c
17b5063c6f7973e83954fe00105b8f1f1ec34493 11-Jul-2006 Tilman Sauerbeck <tilman@freedesktop.org> only access ss->BufferObjects if it's declared
/external/mesa3d/src/mesa/main/context.c
c7e164f091d26f8286bbc9ba2a05a7098a58cede 30-Jun-2006 Brian Paul <brian.paul@tungstengraphics.com> In free_shared_state(), use new _mesa_HashDeleteAll() function to delete
textures, display lists, programs, VBOs, etc. Less code and more efficient.
/external/mesa3d/src/mesa/main/context.c
f7f5b2c41516b11204ff2f253a822b3ac35dcbe0 29-Jun-2006 Tilman Sauerbeck <tilman@freedesktop.org> destroy left-over VBOs on shutdown
/external/mesa3d/src/mesa/main/context.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/context.c
5e2e96b6f010853abcc5a38fd7283768438003b2 15-May-2006 Brian Paul <brian.paul@tungstengraphics.com> Added a check_context_limits() function that checks that the ctx->Const.*
fields are legal. May catch some driver development bugs.
Called the first time a context is bound.
/external/mesa3d/src/mesa/main/context.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/context.c
da238ee06a8d169eb590aa5e50998136f1b5aba5 13-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> Fix comment about MaxTextureUnits, needs to be min of coord and image units.
See bug 5994.
Also add a few assertions.
Use MaxTextureUnits in get.c code.
There's probably other places where we need to clean-up the usage of the
MaxTexture[Coord/Image]Units constants.
/external/mesa3d/src/mesa/main/context.c
db79d2abacfc946e80ae3ca6a27953925ccf50b9 29-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> minor clean-up
/external/mesa3d/src/mesa/main/context.c
f1038f81e40fe7cd7eddfd64d1c4f3dc0a1a074b 20-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> fix some buffer binding tests in _mesa_make_current()
/external/mesa3d/src/mesa/main/context.c
c6c0f947142c0cc82626c238804a68b4e8f53945 16-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> Moved _glapi_check_multithread() call into drivers, instead of in
_mesa_make_current().
This removes an ugly #if !defined(IN_DRI_DRIVER) from core Mesa.
/external/mesa3d/src/mesa/main/context.c
ca007cb4496ad511a974c52e4acd74f0eed40e9c 07-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> just a comment for check_compatible()
/external/mesa3d/src/mesa/main/context.c
d75963d2581f139de9a7fcbe95e3fb6a38231fe8 07-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> disable double-buffer test in check_compatible(), fixes pbuffer/visual problem
/external/mesa3d/src/mesa/main/context.c
a764b7eae0e93245b0fb644d32e72226d4cf42f2 26-Feb-2006 Brian Paul <brian.paul@tungstengraphics.com> display list clean-ups
/external/mesa3d/src/mesa/main/context.c
2aabdc743fd1822477a0d7440b8908c61963f719 24-Feb-2006 Brian Paul <brian.paul@tungstengraphics.com> fix broken _mesa_copy_context() for GL_LIGHTING_BIT
/external/mesa3d/src/mesa/main/context.c
1096eae18d1c871f33f46d0d34e5a894354c3c44 16-Jan-2006 Brian Paul <brian.paul@tungstengraphics.com> properly free ATI fragment shaders (Tilman Sauerbeck)
/external/mesa3d/src/mesa/main/context.c
1d43e729ec94217f3b742be481c753a8eaa65ea3 30-Dec-2005 Keith Whitwell <keith@tungstengraphics.com> properly notify driver on scissor change in MakeCurrent
/external/mesa3d/src/mesa/main/context.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/context.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/context.c
ba3da6154c324cc916845bc5de3de077d0b59ffc 12-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Added OSMesaColorClamp(), bug 4917
/external/mesa3d/src/mesa/main/context.c
05051037101dfa053798cf5ad91d1975fd1aa6a7 01-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Re-org and clean-up of vertx/fragment program limits (instructions,
temporaries, parameters, etc).
glGetProgramivARB() now returns all the right things.
Updated i915 and r300 code to initialize program native limits and
current program's native instruction/temporary/etc counts.
/external/mesa3d/src/mesa/main/context.c
978ef2bb6d9ca4996a24f95820a699e22c84f70b 21-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Remove ACCUM_BITS.
/external/mesa3d/src/mesa/main/context.c
b43671c8bf0ff640243c670ff98225d2a3c10632 14-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback.
/external/mesa3d/src/mesa/main/context.c
a702bbfff3a53db4e9183bdeda15333a52af1fc5 14-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> clean-up some _mesa_make_current() code
/external/mesa3d/src/mesa/main/context.c
363344f5b8e697ea9be9850cd63c986276f4d172 13-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> print version with debug info
/external/mesa3d/src/mesa/main/context.c
a96f889a57cd8f304dc60cd75f8660c440f36c0e 13-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Move the ctx->FirstTimeCurrent initialization
/external/mesa3d/src/mesa/main/context.c
4fb995084e1b4b629667f09331adf060aa0fac4c 02-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Prototype implementation of new GL_EXT_timer_query extension (not finalized yet).
Extends the query mechanism to query elapsed time while rendering.
/external/mesa3d/src/mesa/main/context.c
967b006f518849e57fef68ab71359485b1535b3a 11-Aug-2005 Ian Romanick <idr@us.ibm.com> Remove _glapi_check_multithread from the interface exported by the loader to
the driver. The loader now takes care of this for the driver.

Remove _glapi_DispatchTSD and give _glapi_Dispatch its semantic (i.e.,
having a NULL value means that the application is multithreaded and
_glapi_get_dispatch must be called).

Gut all of the dispatch override code. This removes _glapi_RealDispatch,
_glapi_tls_RealDispatch, _glapi_begin_dispatch_override,
_glapi_end_dispatch_override, and _glapi_get_override_dispatch.

Remove _glapi_get_proc_address, _glapi_get_proc_name, _glapi_get_version,
and _glapi_check_table from the loader / driver interface.

Reviewed by: Brian Paul
/external/mesa3d/src/mesa/main/context.c
bb5c84fcbc22b4fef28cf4589d6410eb3c35a496 01-Jul-2005 Brian Paul <brian.paul@tungstengraphics.com> Remove NEW_RENDERBUFFER stuff.
Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when
all the drivers are updated to no longer need the SetBuffer() function.
/external/mesa3d/src/mesa/main/context.c
c212abf99af494f024b0b981a83350f7ac9821ef 30-Jun-2005 Ian Romanick <idr@us.ibm.com> Replace add_newer_entrypoints (src/mesa/main/context.c) with
device-specific code. A new Python script
(src/mesa/glapi/extension_helper.py) generates a list of all
entry-points for all known extensions. Each driver the selects only
the extensions that it needs and enables the via either
driInitExtensions or driInitSingleExtension.

This code has been compile-tested on a drivers, but has only been
run-tested on mga and i915 (on i830 hardware).

These changes were discussed at length on the mesa3d-dev mailing list.

http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2
/external/mesa3d/src/mesa/main/context.c
5c72837af9d3e358459c7f2e3ef9263c160d2a70 12-May-2005 Keith Whitwell <keith@tungstengraphics.com> Rein in debug slightly
/external/mesa3d/src/mesa/main/context.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/context.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/context.c
635ee2df37898fe408be565d189c2fb4dc5f61b1 15-Apr-2005 Brian Paul <brian.paul@tungstengraphics.com> added _mesa_share_state()
/external/mesa3d/src/mesa/main/context.c
3e62d3a8d88b48d4ed19e00ea2bbc3d0a2b6acf7 22-Mar-2005 Keith Whitwell <keith@tungstengraphics.com> add FreeTexImageData hook to help single-copy texturing in drivers
/external/mesa3d/src/mesa/main/context.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/context.c
3deaa01c2bd576ae81fc6d3ea67c583cb3c22159 07-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> additional work on GL_EXT_framebuffer_object
/external/mesa3d/src/mesa/main/context.c
ddc82eefca591f0ee93d3a77e1268571629a6d5c 05-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> Some initial work on GL_EXT_framebuffer_object.
/external/mesa3d/src/mesa/main/context.c
9b3752c8ab721325d02759e1292f94ce566aa3ae 13-Jan-2005 Michal Krol <mjkrol@gmail.org> init ARB_shader_objects subsystem
/external/mesa3d/src/mesa/main/context.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/context.c
a760ccf6d8a1f94d505b4c211ff4c30bc1d325a8 03-Dec-2004 Brian Paul <brian.paul@tungstengraphics.com> silence a variety of warnings found with g++ 3.4.2
/external/mesa3d/src/mesa/main/context.c
65a66f5bc37383c00423c21baf8ba9d6771e0259 27-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().
Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA()
if necessary.
Cleaned up code related to GLframebuffer width/height initialization.
Set initial viewport/scissor params in _mesa_make_current2(), instead of
in the drivers' MakeCurrent functions.
/external/mesa3d/src/mesa/main/context.c
de43484c73a4e5b5b229afc3736fecbf794dc878 27-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> add a few functions in add_newer_entrypoints()
/external/mesa3d/src/mesa/main/context.c
21f6978c532eae50d9daefd481b5ab936225fd27 27-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> clean up code related to dispatch table initialization
/external/mesa3d/src/mesa/main/context.c
33899b7c351fda77bed6dee5e5d02e31c2f7e0e5 16-Oct-2004 Ian Romanick <idr@us.ibm.com> Add support for OES_read_format. As soon as glext.h is updated with the
enums for this extension, the changes to gl.h can be removed.
/external/mesa3d/src/mesa/main/context.c
53f82c5aadbb15585754bfacf3237093eccdb2ce 02-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> added support for GL_ARB_draw_buffers
/external/mesa3d/src/mesa/main/context.c
253204f9f0a1942a65e45d876f8d5f16d1a196a1 10-Sep-2004 Brian Paul <brian.paul@tungstengraphics.com> More updates for Doxygen.
/external/mesa3d/src/mesa/main/context.c
375457bcef0b43c4b7a022b4fe74207dd1faf6dc 10-Sep-2004 Jose Fonseca <j_r_fonseca@yahoo.co.uk> Update the doxygen configuration file.
Minor updates/fixes to the source documentation.
/external/mesa3d/src/mesa/main/context.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/context.c
21841f0ae5ca9b55ee23ecaa3513e91b6752aa16 14-Aug-2004 Brian Paul <brian.paul@tungstengraphics.com> fix some memory leaks (bug #1002030)
/external/mesa3d/src/mesa/main/context.c
e16f6e3f234391027b300ec2ca8b56fc13aac825 26-Jun-2004 Ian Romanick <idr@us.ibm.com> Re-enable SPARC assembly on sunos5-gcc platform.
/external/mesa3d/src/mesa/main/context.c
8b33258d07650a9c97e0ab0828fcee2c97feafdc 12-Jun-2004 Brian Paul <brian.paul@tungstengraphics.com> remove the 3dfx CatchSignals stuff (the var was alwasy set)
/external/mesa3d/src/mesa/main/context.c
8f04c12e0ad876baa7eb9ed379e2b00150b376e0 27-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> Removed the old teximage code.
Moved all code related to specific texture compression modes into
new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
/external/mesa3d/src/mesa/main/context.c
894844a8d956a0ee5f95836331dc318f49fdb845 21-Mar-2004 Brian Paul <brian.paul@tungstengraphics.com> Implemented support for software-based AUX color buffers.
Only available with Xlib driver for now.
Assorted clean-ups related to Draw/ReadBuffer().
Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
/external/mesa3d/src/mesa/main/context.c
4923e1926ad7b7eb7de017eda8e7db64d357e5c8 28-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> Remove clamp parameter from _mesa_unpack_color_span_float(). Pass the
IMAGE_CLAMP_BIT if needed.
Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation
of upcoming extensions (not fully used yet).
/external/mesa3d/src/mesa/main/context.c
88bf0387080da5120fbdd37bb88d90066cf2d5c9 13-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> init secondary color to (0,0,0,1). remove some redundant initializations.
/external/mesa3d/src/mesa/main/context.c
4d859f73fce9918381c65da55f046a7c605c9e65 23-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> added device driver hooks for BindProgram, NewProgram, DeleteProgram
/external/mesa3d/src/mesa/main/context.c
d3fd7ba8af15bead2f770d68a893449adeb11397 20-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> Before calling _mesa_create_context(), initialize a dd_function_table struct
by calling _mesa_init_driver_functions() and then plugging in the driver-
specific functions.
In particular, make sure ctx->Driver.NewTextureObject points to the
appropriate driver function so that _all_ texture objects are augmented
with the driver-specific data.
Put in a bunch of assertions in the texture-related driver functions that
texObj->DriverData is valid. Remove old dead code in near future.
/external/mesa3d/src/mesa/main/context.c
ae0eaf93e092ac8e8b1c98f3e986de96940663fa 24-Nov-2003 Keith Whitwell <keith@tungstengraphics.com> Merge vtx-0-2-branch
/external/mesa3d/src/mesa/main/context.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/context.c
c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8c 22-Oct-2003 Kendall Bennett <KendallB@scitechsoft.com> Added GLAPIENTRY decorations for all first level OpenGL API function entry
points so that the calling conventions will work correctly with the assembler
stubs with the Open Watcom compiler.
/external/mesa3d/src/mesa/main/context.c
3173277e20d7a2ed640298aa4f536f3903a0ef8b 18-Sep-2003 Brian Paul <brian.paul@tungstengraphics.com> remove MESA_TRACE stuff
/external/mesa3d/src/mesa/main/context.c
1a5709dc5bb5dcb0dbb1b0e6c7b058c7a3039f16 17-Sep-2003 Jose Fonseca <j_r_fonseca@yahoo.co.uk> Change the hyperlinks names in the main page to match the Doxygen generated ones.
/external/mesa3d/src/mesa/main/context.c
148a2847a105ce9d9189ad3081091de60f803a33 17-Sep-2003 Brian Paul <brian.paul@tungstengraphics.com> More work on ARB_vertex_buffer_object.
Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming
pointer arithmetic changes.
/external/mesa3d/src/mesa/main/context.c
0207b47aafebc06cf83fbdb8c9b01f63374fac66 09-Sep-2003 Ian Romanick <idr@us.ibm.com> Added most of the infrastructure required to support
ARB_vertex_buffer_object. THIS IS INCOMPLETE.
/external/mesa3d/src/mesa/main/context.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/context.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/context.c
f2dd273322cc9ec0cfe80a609f9a1e5db5931e2e 17-Aug-2003 Brian Paul <brian.paul@tungstengraphics.com> Re-org of register files for vertex/fragment programs. Will be easier to
hook in global state references, etc. for ARB programs.
/external/mesa3d/src/mesa/main/context.c
05944c031cd6bea985050f0e88a19f0794f57887 22-Jul-2003 Brian Paul <brian.paul@tungstengraphics.com> Restore more code lost during last big merge.
Rename colortable-related functions.
/external/mesa3d/src/mesa/main/context.c
08ff059f203f05a0cc417a46fe37f83929963db5 21-Jul-2003 Brian Paul <brian.paul@tungstengraphics.com> Initial implementation of GL_MESA_program_debug - a vertex/fragment program
debugging extension.
/external/mesa3d/src/mesa/main/context.c
f44898c0883c15f3565d0af55a66d82fe3da169f 18-Jul-2003 Brian Paul <brian.paul@tungstengraphics.com> Fix up FEATURE_* defines in config.h
_glapi_add_entrypoint() updates in context.c
/external/mesa3d/src/mesa/main/context.c
702ca20bf08be7a4007defc5d91094e8b7d2ef8e 18-Jul-2003 Brian Paul <brian.paul@tungstengraphics.com> Fix up some loose ends from the last big check-in.
/external/mesa3d/src/mesa/main/context.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/context.c
de4f460e20cf76ece883530ffe3f82a0afc817f3 03-Jul-2003 Brian Paul <brian.paul@tungstengraphics.com> Simplify extension string handling.
/external/mesa3d/src/mesa/main/context.c
b17a722ca3989e8563ee04cb2939f4835f8a171e 13-Jun-2003 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_ARB_occlusion_query (not 100% finalized).
/external/mesa3d/src/mesa/main/context.c
b1d53d909d1077f312d8f1750e025c7986a4cb2f 11-Jun-2003 Brian Paul <brian.paul@tungstengraphics.com> new buffer/context visual compatibility test (Phil Brown)
/external/mesa3d/src/mesa/main/context.c
f1163a37695ad07d9d4a5cdd1a9104932c157535 01-Jun-2003 Brian Paul <brian.paul@tungstengraphics.com> setup default programs for GL_ARB_vertex/fragment_program
/external/mesa3d/src/mesa/main/context.c
882caa18c6c551cbe60f205795b00a6a5361a986 30-May-2003 Ian Romanick <idr@us.ibm.com> Added support for NV_light_max_exponent.
/external/mesa3d/src/mesa/main/context.c
8750668ad71d45d97a0b07a2c23e68322aac4b10 27-May-2003 Brian Paul <brian.paul@tungstengraphics.com> check buffer->UseSoftware*Buffer in _mesa_free_framebuffer_data()
/external/mesa3d/src/mesa/main/context.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/context.c
b0b9b798ac0620aeba15143f84c1d1ef2ddd44db 21-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> alias ARB/NV program functions where possible
/external/mesa3d/src/mesa/main/context.c
edd677454dc38a590bd6fc1cd3e2759d2a4d55e3 18-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> minor re-org of program matrix, program local parameter limits
/external/mesa3d/src/mesa/main/context.c
451f31093e950e2c76e8d7dee3cb097049a906b5 17-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> checkpoint: more infrastructure for GL_ARB_vertex/fragment_program.
/external/mesa3d/src/mesa/main/context.c
d0492cf1377897c8113a109aa936ee7a7084b9c8 11-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> Some groundwork for GL_ARB_vertex/fragment_program.
/external/mesa3d/src/mesa/main/context.c
dd26d02889d038aa1cdb88a187f00568c82b3e32 02-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> clean-up current state initialization
/external/mesa3d/src/mesa/main/context.c
b852f048ee01b8ccbc8834139d46ab2bd9cb1f1b 01-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> minor initialization fixes
/external/mesa3d/src/mesa/main/context.c
a3f137094cd965d27e1b088499dd609b81a91906 01-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> New device driver hooks for texture object and texture image creation to
allow drivers to implement C++-like inheritance via containment.
Lots of assorted clean-ups related to texture objects.
/external/mesa3d/src/mesa/main/context.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/context.c
45b47d079f6a749c15498a6cef78d891f8acb665 26-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> Make GL_SGI_texture_color_table work per-texture unit.
Clean-up and optimize _swrast_texture_table_lookup().
/external/mesa3d/src/mesa/main/context.c
418ac00e7583bf3136816a43b3357e0d0b0c776d 21-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> GL_SGI_texture_color_table extension (Eric Plante)
/external/mesa3d/src/mesa/main/context.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/context.c
e15fd85727636627e0cc7d4fd2d5367e178e42cc 12-Dec-2002 Keith Whitwell <keith@tungstengraphics.com> Add mechanism to destroy mutexes. Important on OS's where mutex initialization
allocates memory (like FreeBSD).
/external/mesa3d/src/mesa/main/context.c
3a212032e76898df9cf32e179cade2fa5eb60732 19-Nov-2002 Brian Paul <brian.paul@tungstengraphics.com> put FEATURE_NV_vertex_program around vpstate.h include
/external/mesa3d/src/mesa/main/context.c
6ec6b845fdf3c44436028ad6fff9471d18928719 30-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> s/BZERO/_mesa_bzero/
/external/mesa3d/src/mesa/main/context.c
153f15497cad3fbcb7a61362deb50b40d45c91a0 29-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> init a few more fields in _mesa_initialize_visual()
/external/mesa3d/src/mesa/main/context.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/context.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/context.c
60b6e4fd7e85ca0ad1c4ab22433b745bf97e9280 14-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> context-related cleanups (ex: _mesa_notifySwapBuffers instead of _mesa_swapbuffers)
/external/mesa3d/src/mesa/main/context.c
8ad1076dc2afda8ed37e5a9f6a757583eba90375 11-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> Another round of glRead/DrawBuffer() clean-ups and simplifications.
Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer.
Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask.
swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now.
Added tokens and code for GL_AUX buffers, for completeness.
/external/mesa3d/src/mesa/main/context.c
71072be182f053873728ab7012bc0b92361297bb 10-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> disable _glapi_set_warning_func() call as it's not present in older libGLs
/external/mesa3d/src/mesa/main/context.c
c20579d65162d8e1b4d10aca27c277d9dee068c2 09-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> XFree86 fixes (clib macro wrappers)
/external/mesa3d/src/mesa/main/context.c
59c5cf35c92e969f66eefd27809e72089b731701 09-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> finally get rid of ctx->Texture._ReallyEnabled field
/external/mesa3d/src/mesa/main/context.c
f782b8189e718974a40d72ac4f6b8d213ca99e1e 04-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> multiple GL_POINTS can now be rendered together into one fragment span
/external/mesa3d/src/mesa/main/context.c
0adce5d0ed20910a41c2115e4dd0173fdcc53cdb 03-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> removed unused ctx->Polygon.OffsetMRD
/external/mesa3d/src/mesa/main/context.c
89fb06fcc11cbe3f23521312155d6c55d869f526 27-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> new texture compression infrastructure
/external/mesa3d/src/mesa/main/context.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/context.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/context.c
4e9676fb13f60ecdbc247b120031f18cd3febcb0 29-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
/external/mesa3d/src/mesa/main/context.c
581cc2025f6f64dbca4c78ed19510800cb05d576 23-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> fix problems in _mesa_debug/printf()
/external/mesa3d/src/mesa/main/context.c
02c03ef6b4762adf33b73528c9fd672ef4697763 18-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Moved GL_PROGRAM_ERROR_POSITION_NV state (it's not per-program).
Finished all glGet* queries for GL_NV_vertex_program.
Improved error reporting in glEnable/Disable/Get, etc.
/external/mesa3d/src/mesa/main/context.c
10d7f540ff48aba45225463b36a5c274e5c8e173 18-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> new fix for initial window size problem
/external/mesa3d/src/mesa/main/context.c
85d816028a2472e0378afda65e7ab6f7ff4d76b4 18-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Port glXCopyContext bug from 4.0 branch.
/external/mesa3d/src/mesa/main/context.c
8816c70a6116d790da856d8d18228d4013e7b8d6 16-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> added a comment
/external/mesa3d/src/mesa/main/context.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/context.c
4753d60dd070bb08d0116076bcc08025c86ce857 15-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Added ctx parameter to _mesa_debug()
Added _mesa_printf()
Updated SetDrawBuffer() function in all drivers (ala 4.0.3)
Import 4.0.3/DRI changes.
/external/mesa3d/src/mesa/main/context.c
d09a1d8b29ae5841ae39b5c24c3f4693dd750559 13-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> more removal of fprintf() calls
/external/mesa3d/src/mesa/main/context.c
2f35d5e9d53165f6baf2d4a7fece3bb39d945323 13-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> fixed a couple dumb mistakes
/external/mesa3d/src/mesa/main/context.c
9a33a11d714c90162d32781ebbd2c1dfab52cfd1 13-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> New _mesa_debug() function to replace fprintf() calls.
Some source files updated to call _mesa_debug(), but not finished.
Added __GLimports as a parameter to _mesa_create/init_context() and
updated drivers accordingly.
Fleshed-out more of the __GLimports and __GLexports functionality.
Removed run-time config file support (config.c)
/external/mesa3d/src/mesa/main/context.c
6c408b46678637959dba04663fbc34eb9c4bc397 27-May-2002 Brian Paul <brian.paul@tungstengraphics.com> replaced experimental MESA_sprite_point with NV_point_sprite
/external/mesa3d/src/mesa/main/context.c
002483e009e7c8610a5abfbf61a43694cb34e1d3 09-May-2002 Brian Paul <brian.paul@tungstengraphics.com> Minor change to current raster position and texcoords.
/external/mesa3d/src/mesa/main/context.c
db07de057f10ab7ab5be84352b674b200a0a9e22 19-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> added some casts
/external/mesa3d/src/mesa/main/context.c
306d3fcdbad523428501833405e47e9897896def 09-Apr-2002 Keith Whitwell <keith@tungstengraphics.com> bring in changes from dri tcl branch
/external/mesa3d/src/mesa/main/context.c
0a79baf1bff93718e50a3ba4bad6390ea1cfb01c 09-Apr-2002 Keith Whitwell <keith@tungstengraphics.com> remove dead vertex assembly
/external/mesa3d/src/mesa/main/context.c
103bc0f75c00dfcf671dc50d8d9666f88a42a59d 29-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.
/external/mesa3d/src/mesa/main/context.c
aeb4434563c4014a662ea334878b60d3031bb3c1 19-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and texture
memory. These can be overridden by applications which need to manage this
memory specially. Contributed by Gerk Huisma.
Also, new code for 8-bit -> 16-bit/channel texture image storage which
fills in the least-significant bits properly.
/external/mesa3d/src/mesa/main/context.c
18a285a5e244b7405b85feb7315a30d99920ec5d 16-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> Lots of changes related to framebuffer/window buffer resizing. Basically,
instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*.
The idea is that a window can be resized without it being bound to a rendering
context. This makes for a nice clean-up in the XFree86 server-side GLX code.
Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().
/external/mesa3d/src/mesa/main/context.c
9a888bdc2a40fd329cbc68de1c465228a5c3887c 13-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> added a comment
/external/mesa3d/src/mesa/main/context.c
c4afba36c3d4b45105bbba3252a3bd7f501bee22 06-Feb-2002 Brian Paul <brian.paul@tungstengraphics.com> fix evaluator data and matrix stack mem leaks (Robert Bergkvist)
/external/mesa3d/src/mesa/main/context.c
bc42c19f22c3b719712529d86faea818f34150a2 05-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> infrastructure for vertex program attribute evaluators
/external/mesa3d/src/mesa/main/context.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/context.c
645ced29552da1af5c759d0497d98c8f55b72935 17-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> disable prototype matrix stack code
/external/mesa3d/src/mesa/main/context.c
86b842790b720cd6b1499ce8edca8a4e9c8dc029 14-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> vertex program check-in
/external/mesa3d/src/mesa/main/context.c
87c964d3885d84959f86d5d7d9c4358240b6da3c 06-Nov-2001 Brian Paul <brian.paul@tungstengraphics.com> added missing GL_MAX_TEXTURE_LOD_BIAS_EXT query
/external/mesa3d/src/mesa/main/context.c
12e875ce4df9ddb15e76b3b52502730d3444b24a 18-Oct-2001 Jouk Jansen <joukj@hrem.stm.tudelft.nl> Committing in .

Modified Files:
Mesa/src/context.c

Initializing ctx->Driver.CurrentExecPrimitive to 0, just after the allocation
of the context. I hope this solved a very rare crash of the molecule mode
of xlockmore on my VMS-machine. (I have not seen any crash the last week.
Normally it crashed at least once in the 3 days)

----------------------------------------------------------------------
/external/mesa3d/src/mesa/main/context.c
fde5e2c5f182759aff78bdd12e6c928f3f13bbdc 15-Sep-2001 Brian Paul <brian.paul@tungstengraphics.com> more warning fixes (Karl Schultz)
/external/mesa3d/src/mesa/main/context.c
172281dad8d1f1d32f5f31583a5fa565aa1bf5da 26-Jul-2001 Brian Paul <brian.paul@tungstengraphics.com> fixes for proxy cube map texture images
/external/mesa3d/src/mesa/main/context.c
fd28445e102800b84e49e3f2299ef7dd8af8b89d 19-Jul-2001 Brian Paul <brian.paul@tungstengraphics.com> Added Win32 memory debugging and fixed a few memory leaks (Gerk Huisma)
/external/mesa3d/src/mesa/main/context.c
8c2f6c5059a60d845716277973c826f4069926e6 26-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> added GL_IBM_rasterpos_clip extension
/external/mesa3d/src/mesa/main/context.c
cd1cefae9146fc14b35ee93a04bdb1b1590fba7b 13-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> Allow different max texture sizes for 1/2D, 3D and cube maps.
/external/mesa3d/src/mesa/main/context.c
ae47121fa336f53c5ab51df3dc699db018feff18 13-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> removed old, redundant CurrentTransformUnit state var
/external/mesa3d/src/mesa/main/context.c
775355a88a0927e2e3a855036c26950397a61d7b 06-Jun-2001 davem69 <davem69> Sparc optimized GLAPI dispatch table.
/external/mesa3d/src/mesa/main/context.c
e4f84b4936b72f17ee54b0b1e17bd94831f772a8 05-Jun-2001 davem69 <davem69> Add USE_SPARC_ASM diagnostics to print_info.
/external/mesa3d/src/mesa/main/context.c
736fcbec4732830e7976fb5eb309b13e03be132c 29-May-2001 Brian Paul <brian.paul@tungstengraphics.com> infrastructure for GL_ARB_multisample
/external/mesa3d/src/mesa/main/context.c
3893e638e6521b9c070e01c0b31d22754ff97a88 21-May-2001 Brian Paul <brian.paul@tungstengraphics.com> initial support for GL_SGIS_generate_mipmap extension
/external/mesa3d/src/mesa/main/context.c
bc920f08f5c6f75c8945bc90a71db93bb16ac1f8 07-May-2001 Brian Paul <brian.paul@tungstengraphics.com> set MRD to 1.0, fixes new Glean polygon offset failure
/external/mesa3d/src/mesa/main/context.c
9e351d52ae52927fbe505e8808e70de3e646be79 03-May-2001 Brian Paul <brian.paul@tungstengraphics.com> minor clean-ups and warning fixes
/external/mesa3d/src/mesa/main/context.c
51c0c71811508b6658e0d5dcff8426b618322a73 28-Apr-2001 Keith Whitwell <keith@tungstengraphics.com> Support for floating point color representation in tnl module.
/external/mesa3d/src/mesa/main/context.c
75978bd85ea86b4e0a4153d623eaf1d40976f49b 27-Apr-2001 Brian Paul <brian.paul@tungstengraphics.com> added _mesa_free_framebuffer_data()
/external/mesa3d/src/mesa/main/context.c
5a2f32b102ab862fb10ba6b89e0b68a71552c674 25-Apr-2001 Brian Paul <brian.paul@tungstengraphics.com> fixed a potential tex obj reference count problem involving multi-texture
/external/mesa3d/src/mesa/main/context.c
bb0830da9e35666f26bb0e5e530d18d8b9ec8e71 04-Apr-2001 Brian Paul <brian.paul@tungstengraphics.com> Updated bug report info in _mesa_problem()
/external/mesa3d/src/mesa/main/context.c
3c257e187bded9417d00471286d86ea4e483a98a 28-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> New mechanism for thread-safe GL API dispatch. C-based dispatch is faster.
Folded glapinoop.c code into glapi.c.
Added code to glapitemp.h to fill in dispatch tables.
Updated Makefiles.
/external/mesa3d/src/mesa/main/context.c
425fea1c346438f1c60a768514e74f655f05417a 24-Mar-2001 Gareth Hughes <gareth@valinux.com> - Minor cleanups of ctx->Driver.Current*Primitive usage.
- Remove unused gl_reduce_prim array.
/external/mesa3d/src/mesa/main/context.c
2c3d34c905fa6b831a066afae83b938de05eb241 18-Mar-2001 Gareth Hughes <gareth@valinux.com> - Port 3.4 texture utils, texture format work to 3.5 (including new
FetchTexel routines).
- Initial hooks for GL_EXT_texture_filter_anisotropic.
/external/mesa3d/src/mesa/main/context.c
d4eb665c60eff14c31486986703255b836dd1574 12-Mar-2001 Gareth Hughes <gareth@valinux.com> Add missing header file.
/external/mesa3d/src/mesa/main/context.c
de6a2e0d194d1afa1a917cff7e80d77773b73c39 12-Mar-2001 Gareth Hughes <gareth@valinux.com> Clean up install, restore for exec vtxfmts.
/external/mesa3d/src/mesa/main/context.c
d8aa0269cdadba1608522287bcb3b446c5848c09 11-Mar-2001 Gareth Hughes <gareth@valinux.com> Support for swappable tnl modules.

Core Mesa provides a neutral tnl module that verifies the currently
module before installing the tnl function pointers in a lazy fashion.
It also records which tnl functions have been swapped out, and only
restores these when tnl modules themselves are swapped.

Fallback strategies:

Drivers set a bitmask of dangerous stage changes. When such a state
change occurs, the driver should restore the neutral tnl module via
_mesa_restore_exec_vtxfmt(). The neutral tnl module will call
_mesa_update_state(), followed by ctx->Driver.ValidateTnlModule() if the
validation bitmask matches the new state bitmask. The driver should
call _tnl_wakeup_exec() if it can no longer handle the current state,
which will revert to the default tnl module. In this case, previous
vertices should be replayed as required (depending on the current
primitive) after the new tnl module is installed.

If the driver uses chooser functions for any part of the tnl module,
these should generally be reinstalled as part of the fallback to the
neutral tnl module. For example, if the lighting state changes, a
driver might fall back to the neutral tnl module, verify that the
current lighting state can be handled, and use the chooser function to
pick the most efficient implementation of the current lighting state.

It is up to the drivers to detect and handle fallback cases caused by
tnl function calls themselves (such as glTexCoord4f* if the current tnl
module can't handle projected textures, for example).
/external/mesa3d/src/mesa/main/context.c
08836341788a9f9d638d9dc8328510ccd18ddeb5 03-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> lots of gl_*() to _mesa_*() namespace clean-up
/external/mesa3d/src/mesa/main/context.c
be3602da412ae56b5ee019fc47cc282eb3d66fad 28-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> GLvisual inside GLframebuffer is no longer a pointer, copy the struct instead.
Added context/drawbuffer visual config sanity checking in _mesa_make_current2().
Added some 'const' keywords.
/external/mesa3d/src/mesa/main/context.c
bed4c5bf58c91f37e2526bbb98fbda27c65455ff 27-Feb-2001 Keith Whitwell <keith@tungstengraphics.com> Initialize Line._Width
/external/mesa3d/src/mesa/main/context.c
6975540db26309cdfa8f27b3b6dadf3dbf4a1746 27-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> Disable most extensions by default. Drivers should enable them as needed.
Renamed gl_*() functions as _mesa_*().
/external/mesa3d/src/mesa/main/context.c
e75d2424e53d6023f4414e40694cd467e5392b96 17-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> Changed FetchTexel() function pointer arguments.
Implemented glGetTexImage(format=GL_COLOR_INDEX).
Changed _mesa_unpack_depth_span() args.
Minor changes/clean-ups in mtypes.h.
Histogram counter component sizes were wrong.
/external/mesa3d/src/mesa/main/context.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/context.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/context.c
74b493a5e61237de081a438e774e5d8139d4c6b7 24-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> Lots of GLchan datatype changes.
Added GLvector4us datatype in math/m_vector.[ch]
Added _math_trans_4us() in math/m_translate.[ch]
Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS.
Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions.
Changed args to Driver.ClearColor(), updated drivers.
Reordered files in Makefile.X11
/external/mesa3d/src/mesa/main/context.c
b6bcae5698df88f7730d40004ce7ce0462e97a20 24-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.
Replace "RGBAMode" with "rgbMode", etc.
Other minor clean-ups.
/external/mesa3d/src/mesa/main/context.c
b980b2eeb62dc48101a7481d02d196c80b9da397 08-Jan-2001 Keith Whitwell <keith@tungstengraphics.com> Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers
that used to require a 'ReducedPrimitiveChange' callback.

Various compilation fixes for XFree86.

Reverted to the older version of glcore.h used internally in XFree86, and
moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with
XFree86.
/external/mesa3d/src/mesa/main/context.c
f4b02d1a2675d4a0699b8995a422fbd413c32301 05-Jan-2001 Keith Whitwell <keith@tungstengraphics.com> various compilation/warning fixes
/external/mesa3d/src/mesa/main/context.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/context.c
9da422c639c9e2bb25a4d49aa6b2c2332217c224 16-Dec-2000 Brian Paul <brian.paul@tungstengraphics.com> set visual->MRD to 2.0
/external/mesa3d/src/mesa/main/context.c
67adba15a2a454cadb27a86b24e5e67ba65ae6b0 09-Dec-2000 Brian Paul <brian.paul@tungstengraphics.com> initialize convolution filters to zero
/external/mesa3d/src/mesa/main/context.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/context.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/context.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/context.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/context.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/context.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/context.c
24a32627d9a1b23323429b989bb5705a695fb4c1 15-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> Replaced ctx->Point.Size with ctx->Point._Size
Replaced ctx->Point.UserSize with ctx->Point.Size
/external/mesa3d/src/mesa/main/context.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/context.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/context.c
724abeb058ca9372c5a9b9e38ee43dde1accaa41 31-Oct-2000 Keith Whitwell <keith@tungstengraphics.com> Moved the software rasterizer to a new directory.
/external/mesa3d/src/mesa/main/context.c
365dc68c3978de3c28e61d4c7151aece219694d7 30-Oct-2000 Keith Whitwell <keith@tungstengraphics.com> Rearrange VERT_* flags to support 4 texture units.
/external/mesa3d/src/mesa/main/context.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/context.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/context.c
193005393d6b1422ad9084f8e71004f4f055b88f 29-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> renamed Current.ByteColor Current.Color
/external/mesa3d/src/mesa/main/context.c
ba643a2094a1e844b6ce60f468057057557859ce 28-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> Basic work to support deep color channels:
Replace GLubyte with GLchan
Replace 255 with CHAN_MAX
/external/mesa3d/src/mesa/main/context.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/context.c
fc2427e81b1c648550d0368652d6a475df785027 23-Oct-2000 Gareth Hughes <gareth@valinux.com> Major audit of all Mesa's x86 assembly code. This round is basically
general cleanups - more to come.

Added P6 architecture timing to debug_xform routines. Still need to add
test_all_vertex_functions test for the v16 asm. Dynamic reconfiguration
of counter overhead for more accurate benchmarking.
/external/mesa3d/src/mesa/main/context.c
d0d7d62120d7448924655c4683bab6bd5667256e 21-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> polygon offset changes; added Visual->MRD field
/external/mesa3d/src/mesa/main/context.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/context.c
35324a6c60cedf217934db1a7a0c11a7f553d2d4 10-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> if depthBits == 0, set DepthMask = 2^16 to fix per-fragment fog problems
/external/mesa3d/src/mesa/main/context.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/context.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/context.c
3b18a36f210da9d66acd1228d24948cd77c2e81e 26-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> Replaced preprocessor symbol GL_MESA_TRACE with MESA_TRACE.
Changed src/Makefile.X11 to compile Trace sources like other drivers.
/external/mesa3d/src/mesa/main/context.c
1c56fdc7072c040de68868748dc2d03c58f5ee22 17-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> new comments, misc clean-up
/external/mesa3d/src/mesa/main/context.c
1ff933b4522b7be7d08e015f9e792eea5b53cd5f 15-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> added GL_MESA_trace support
/external/mesa3d/src/mesa/main/context.c
23316033db12a4d0df10a7d9dbe51b409856a3ac 15-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> explicitly init some texture vars
/external/mesa3d/src/mesa/main/context.c
e4b684ce49188f906ff032e2df7675257143ec21 12-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> init mutex
/external/mesa3d/src/mesa/main/context.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/context.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/context.c
45f3634ce3e48ff891432c4f22b3e9e0d68d4c7a 05-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> added tracing facility from Loki
/external/mesa3d/src/mesa/main/context.c
8aee2a3326a5a634df865c50b9f2331744a4c6fc 29-Aug-2000 Brian Paul <brian.paul@tungstengraphics.com> don't free ctx inside _mesa_initialize_context() if error, caller does that.
/external/mesa3d/src/mesa/main/context.c
fa4525e289b475b928a7b2c4055af9dd7fe46600 21-Aug-2000 Brian Paul <brian.paul@tungstengraphics.com> implemented new ImageTransferState bitmask
/external/mesa3d/src/mesa/main/context.c
26f3b05fe56efc5a21996ee6b956efcc295be777 19-Jul-2000 Brian Paul <brian.paul@tungstengraphics.com> initialize GenBit[STRQ] in init_texture_unit()
/external/mesa3d/src/mesa/main/context.c
7eb0603574ebf36059a0813397398400221cc1e3 14-Jul-2000 Brian Paul <brian.paul@tungstengraphics.com> test for MESA_DEBUG = silent in gl_error(), misc clean-up
/external/mesa3d/src/mesa/main/context.c
6c50e16b3dfde581e23791f97697470e8f45d23d 01-Jul-2000 Brian Paul <brian.paul@tungstengraphics.com> initialize some color table scale/bias factors
/external/mesa3d/src/mesa/main/context.c
86586aa6f9331ededba194b7f37ebfce7908f9c8 29-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> added GL_TABLE_TOO_LARGE to gl_error()
/external/mesa3d/src/mesa/main/context.c
77d61af876de5ae5c309e82ece6070530cc49dfb 28-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> added code to initialize shininess tables
/external/mesa3d/src/mesa/main/context.c
904ecb2355978fb5bf709d287e82c9a8c6aeeca2 28-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> initialize TextureStack matrices
/external/mesa3d/src/mesa/main/context.c
2d8db39301349f67e17fc1b21e5d33d5f44cd521 28-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> added aligned memory allocations (Gareth Hughes)
/external/mesa3d/src/mesa/main/context.c
24507ff6ab91a85f98da60745bd6585499968b60 27-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> added GL_EXT_texture_env_combine (Holger Waechtler)
/external/mesa3d/src/mesa/main/context.c
a25f7e1d90afa2a824e653c54be8e8686579ec3b 27-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> init Point.UserSize
/external/mesa3d/src/mesa/main/context.c
413d6a21f849a689b5c83ea04395856b44fc65a8 26-May-2000 Brian Paul <brian.paul@tungstengraphics.com> more work on GL_ARB_texture_cube_map
/external/mesa3d/src/mesa/main/context.c
5fb84d263b8068467a2429942ecf113a0a4c8a60 24-May-2000 Brian Paul <brian.paul@tungstengraphics.com> changed allocation/initialization of API dispatch tables
/external/mesa3d/src/mesa/main/context.c
f59afc9aad4c1600e72262e90581c424b6b01e31 24-May-2000 Brian Paul <brian.paul@tungstengraphics.com> register recent GL extensions for libGL compatibility
/external/mesa3d/src/mesa/main/context.c
1207bf057aeea3376e5e0f03f789a5d67ed4d29d 23-May-2000 Brian Paul <brian.paul@tungstengraphics.com> initial work for GL_ARB_texture_compression
/external/mesa3d/src/mesa/main/context.c
86fc370d399167ec9bb978d053d4a72215c86c16 22-May-2000 Brian Paul <brian.paul@tungstengraphics.com> initial code for GL_ARB_texture_cube_map
/external/mesa3d/src/mesa/main/context.c
3a94f5c0ac15b233e2db429bec4de7d1e5f6e72a 18-May-2000 Brian Paul <brian.paul@tungstengraphics.com> added Kevin's 32bpp Z buffer fix
/external/mesa3d/src/mesa/main/context.c
6698b2294f9a151b777dd4e0d1f1c3e86204617a 07-May-2000 Brian Paul <brian.paul@tungstengraphics.com> Err, initial code for GL_EXT_convolution, not histogram
/external/mesa3d/src/mesa/main/context.c
82b02f0ef24bf139778c8eec8d62dfa3366dff35 07-May-2000 Brian Paul <brian.paul@tungstengraphics.com> initial code for GL_EXT_histogram extension
/external/mesa3d/src/mesa/main/context.c
e70c623cf07f93a3e825116068d3108067988189 04-May-2000 Brian Paul <brian.paul@tungstengraphics.com> removed software alpha flag from GLvisual struct
/external/mesa3d/src/mesa/main/context.c
178a1c5a25b84bab1d5aae9e14694b531feea3ca 22-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> added _mesa_initialize_buffer/visual()
/external/mesa3d/src/mesa/main/context.c
4bdcfe50f8886e43714f9b7edd25cbff19e6a97d 17-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> dynamically allocate color table data, uses less memory
/external/mesa3d/src/mesa/main/context.c
13811376c99addb0616c9397cc7d5715befcd8d4 12-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> more GL_SGI_color_table extension work
/external/mesa3d/src/mesa/main/context.c
4fe34b27f641459acae8150cde927eb4952277ad 11-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> initial work on GL_SGI_color_table extension
/external/mesa3d/src/mesa/main/context.c
8cce314c325525498c2fa093a9a69ee4ca9f6832 10-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed GL_PGI_misc_hints identifiers
/external/mesa3d/src/mesa/main/context.c
250069dbb443f26f4dcc409c9c873019a5f50f9d 08-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> added GL_SGI_color_matrix extension
/external/mesa3d/src/mesa/main/context.c
2b2e925ea4a5652b0ab73b1efbce345a42663842 07-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> added GL_SGIX/SGIS_pixel_texture extension
/external/mesa3d/src/mesa/main/context.c
0771d159d59a856135e375ba89f6af2a057d4f5b 07-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> initial histogram and min/max work
/external/mesa3d/src/mesa/main/context.c
7e67fb41fb54e050f6983b4de09ed3a317d6148f 04-Apr-2000 Brian Paul <brian.paul@tungstengraphics.com> more GL_HP_occlusion_test work
/external/mesa3d/src/mesa/main/context.c
b371e0da2b51da7d941de557b62434aaaca5be02 31-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> added _mesa_create/destroy_visual()
/external/mesa3d/src/mesa/main/context.c
021a525616bef2bafc8f60edc193b975ed2b0efa 27-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> put _mesa prefix on some functions
/external/mesa3d/src/mesa/main/context.c
780c4e057bbd940242874ac193dfec8738efb987 23-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> added code to die on FP exceptions if DEBEG env var set to FP
/external/mesa3d/src/mesa/main/context.c
e7eb459d27477ded5805bcb7ae841ac0bfd4b2bf 20-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> removed debug printf
/external/mesa3d/src/mesa/main/context.c
959f802dabd4f4347dc0ea925ae687abb6938588 19-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed compiler warnings on BeOS R4
/external/mesa3d/src/mesa/main/context.c
650cb74bcb913d2589355d56a14da1ab0307d1fc 17-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> removed old Depth buffer pointer var
/external/mesa3d/src/mesa/main/context.c
1b2ff69f468d609a88b1cd31041df2b81931816b 12-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> initial implementation of GL_HP_occlusion_test extension
/external/mesa3d/src/mesa/main/context.c
7fc29c5fa7b1fc2cc014c7128ac869d0d3c24c7f 06-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed off-by-one errors in matrix stack setup/cleanup
/external/mesa3d/src/mesa/main/context.c
ed30dfa1264ec8875a3162c3c8778bc703bf11d5 03-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> runtime selectable depth buffer depth
/external/mesa3d/src/mesa/main/context.c
3ab6bbe6135da26dfe9a9ba880386fdc98f6580a 12-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> now using dynamically allocated api dispatch tables
/external/mesa3d/src/mesa/main/context.c
539cce52483eb31db5439bdf150a2efd800633a2 03-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> added point/line size limits to gl_constants struct
/external/mesa3d/src/mesa/main/context.c
1816ec450040a070ec74fff57c3215efb6bc485d 03-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> added Const.SubPixelBits
/external/mesa3d/src/mesa/main/context.c
5829f0c960f9ccceecd2a4a1c1ce300a71ef4a0f 02-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> changed _gl prefix to _mesa_ on fog functions
/external/mesa3d/src/mesa/main/context.c
831f8ada7bcb995e0aaf78de73ffb791ee632900 02-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> don't include dispatch.h
/external/mesa3d/src/mesa/main/context.c
fa9df40e8a40824942ea8c6ec17c06c28bea1102 02-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> moved state functions to state.c
/external/mesa3d/src/mesa/main/context.c
9560f05deffaf0321bba1bd0fcc8eeef4199e6e0 01-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> added mutexes for thread safety
/external/mesa3d/src/mesa/main/context.c
f9b97d95f9bf9286107586d6afdadae74bb94d36 28-Jan-2000 Brian Paul <brian.paul@tungstengraphics.com> renamed _glapi_CurrentContext to _glapi_Context
/external/mesa3d/src/mesa/main/context.c
68ee4bc7caf5a48c8a5c51efc258e74eb9689905 28-Jan-2000 Brian Paul <brian.paul@tungstengraphics.com> enable/disable no-context warnings depending on MESA_DEBUG
/external/mesa3d/src/mesa/main/context.c
bb79790662f56eb71aafd3f020cd86ad810f56b2 24-Jan-2000 Brian Paul <brian.paul@tungstengraphics.com> prefixed hash functions with _mesa_
/external/mesa3d/src/mesa/main/context.c
5666c636936be761e7928566e82b5af2e95a11ce 18-Jan-2000 Brian Paul <brian.paul@tungstengraphics.com> renamed CURRENT_INPUT to _mesa_CurrentInput
/external/mesa3d/src/mesa/main/context.c
5428705eee20ab73c61f952f19e4c2b29c25610c 17-Jan-2000 Brian Paul <brian.paul@tungstengraphics.com> added X86-optimized message for MESA_INFO
/external/mesa3d/src/mesa/main/context.c
4d053ddae8cc48dd29a75e67290cd09ed995f5c3 14-Jan-2000 Brian Paul <brian.paul@tungstengraphics.com> added gl_initialize_context_data(), gl_free_context_data(). code clean-up
/external/mesa3d/src/mesa/main/context.c
09cb14872e97384838b2442a328e1018fd5b2922 17-Dec-1999 Brian Paul <brian.paul@tungstengraphics.com> print thread safety info if MESA_INFO set
/external/mesa3d/src/mesa/main/context.c
0003778847df6adb792f453df83808fefa560f18 17-Dec-1999 Brian Paul <brian.paul@tungstengraphics.com> further simplification of thread-related code, misc clean-up
/external/mesa3d/src/mesa/main/context.c
c633693a28caa6ba09bb04e283b485f54f4d498e 17-Dec-1999 Brian Paul <brian.paul@tungstengraphics.com> fixed thread problems
/external/mesa3d/src/mesa/main/context.c
5c3bee503999fbc0d7c65462ff62f9e38fe40e33 10-Dec-1999 Brian Paul <brian.paul@tungstengraphics.com> changes in hardware depth buffer support
/external/mesa3d/src/mesa/main/context.c
c63a8693bb2e26b703fcbb99df731f1fe7a81a26 04-Dec-1999 Brian Paul <brian.paul@tungstengraphics.com> minor stencil-related changes
/external/mesa3d/src/mesa/main/context.c
32c3255e0688d33d158b19375da085ca85075021 02-Dec-1999 Brian Paul <brian.paul@tungstengraphics.com> test for null newCtx before newCtx->FirstTimeCurrent
/external/mesa3d/src/mesa/main/context.c
b7a4304f70c498ff68fceaf584b579ea2df91acb 30-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> print debug info in gl_make_current() if MESA_INFO env var set
/external/mesa3d/src/mesa/main/context.c
3f02f90f943a996d88abc20f74503afbb56a4c98 24-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> added support for separate read/draw buffers per context
/external/mesa3d/src/mesa/main/context.c
f0dee6578ab658d89ec57cc476af7143fa13fde3 19-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> renamed struct gl_palette as struct gl_color_table
/external/mesa3d/src/mesa/main/context.c
0498682406d23226b5bc8973e02c7b3a9e0bdeaa 19-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> updates for Mesa 3.3
/external/mesa3d/src/mesa/main/context.c
ece75acd6b35db24c102f2b40ffc30234210f1fa 15-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> fixed several texture state bugs found with objbug.c program
/external/mesa3d/src/mesa/main/context.c
fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5 11-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> first big check-in of new Mesa 3.3 code
/external/mesa3d/src/mesa/main/context.c
327c69127cf6203681d418a76186f70cc71b9212 08-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> clean-up of header includes (Daryll)
/external/mesa3d/src/mesa/main/context.c
12cc2bfff76a386533e9675e8ad03a698a2e7bf3 30-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> pixel pack/unpack ImageHeight and SkipImages was not initialized
/external/mesa3d/src/mesa/main/context.c
d471473b5842154c0b44b7bec149401f6dab43cc 19-Oct-1999 Keith Whitwell <keith@tungstengraphics.com> Changes to reduce the memory footprint of display lists
/external/mesa3d/src/mesa/main/context.c
bd5cdaf4442872d3cd2ff94eeafadd481d27fcfb 13-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> removed GL_ prefix from memory macros
/external/mesa3d/src/mesa/main/context.c
567a1de66606ebbb3e54140925a84f5095101532 10-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> now using GL_MALLOC, GL_FREE
/external/mesa3d/src/mesa/main/context.c
375853e86734ea5735aa64af3a7aa0129bc551d5 10-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> fixed dumb typo
/external/mesa3d/src/mesa/main/context.c
d77fa3076182f60d9e7f835b164aa17f28cf512f 10-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> added memory macros
/external/mesa3d/src/mesa/main/context.c
6e6d4c66bd7fd64162ee453b143d7388bb051444 09-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> texture units now share default texture objects
/external/mesa3d/src/mesa/main/context.c
485f04074151686fa24d40e3eeb83029d3d8c425 08-Oct-1999 Keith Whitwell <keith@tungstengraphics.com> Fixed includes & added a few hooks for the DRI.
/external/mesa3d/src/mesa/main/context.c
5a437d588975ec0e241a2bf7cc4ce3785cb476bd 20-Sep-1999 Keith Whitwell <keith@tungstengraphics.com> Cleaning up
/external/mesa3d/src/mesa/main/context.c
1bf9dfaf5dea61e3d33a69b0a549be54ef6d74df 18-Sep-1999 Keith Whitwell <keith@tungstengraphics.com> Large patch:
- FX bug fixes.
- Polygon mode and edgeflag work properly.
- Clipping works with edgeflag.
- Driver.ReducedPrimitiveChange() callback so drivers
that implement lines & points as triangles can turn culling off
before rendering groups of these primitives.
- Cleaned up feedback & select primitives.
/external/mesa3d/src/mesa/main/context.c
585a68c82b9d87ea094143e91fab722070b3dc73 11-Sep-1999 Brian Paul <brian.paul@tungstengraphics.com> added GL_EXT_get_proc_address
/external/mesa3d/src/mesa/main/context.c
45224face0d942094cc4426d2c84d441661a4c62 08-Sep-1999 Brian Paul <brian.paul@tungstengraphics.com> removed TexCoordUnit from GLcontext, use Array.ActiveTexture instead
/external/mesa3d/src/mesa/main/context.c
324beb95f34b29b53c8863af5591fb90393a157e 04-Sep-1999 Keith Whitwell <keith@tungstengraphics.com> fix for mga depthbuffer resize
/external/mesa3d/src/mesa/main/context.c
b6e6937287eb92945e5e66db1c110861bf389085 02-Sep-1999 Keith Whitwell <keith@tungstengraphics.com> fixed GL_FRONT_AND_BACK cull bug
/external/mesa3d/src/mesa/main/context.c
3875679607fb3359a88ca6c21568d95eb509926b 29-Aug-1999 Keith Whitwell <keith@tungstengraphics.com> new files to support vertex-based geometry
/external/mesa3d/src/mesa/main/context.c
2be79c1aa2c168b7ecfb8289ce462ffb1de935eb 26-Aug-1999 Keith Whitwell <keith@tungstengraphics.com> various pipeline bugs
/external/mesa3d/src/mesa/main/context.c
afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1c 19-Aug-1999 jtg <jtg> Initial revision
/external/mesa3d/src/mesa/main/context.c