History log of /external/mesa3d/src/mesa/main/mtypes.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9d4ab9a663d4088ec553edaae0eeafb746d2490d 11-Feb-2013 Brian Paul <brianp@vmware.com> mesa: pass context parameter to gl_renderbuffer::Delete()

We sometimes need a rendering context when deleting renderbuffers.
Pass it explicitly instead of trying to grab a current context
(which might be NULL). The next patch will make use of this.

Note: this is a candidate for the stable branches.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
(cherry picked from commit c73245882c7ff1277b190b97f093f7b423a22f10)

Conflicts:

src/mesa/swrast/s_renderbuffer.c
/external/mesa3d/src/mesa/main/mtypes.h
efa6b5e42b427c1ec9f2d636d280c84e7da71346 11-Nov-2012 Marek Olšák <maraeo@gmail.com> mesa: add MaxNumLevels to gl_texture_image, remove MaxLog2

MaxLog2 led to bugs, because it didn't work well with 1D and 3D textures.

NOTE: This is a candidate for the stable branches.

v2: correct the comment at MaxNumlevels

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 8111342e814304730bed34446ea816cbc17a5775)

Conflicts:
src/mesa/main/teximage.h
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
35cf6aeb8c26821e704db737b61cf2623b3e8f6b 22-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Enable GL_{ARB,APPLE}_vertex_array_object in all drivers

This is a purely software extension. The drivers don't need to do any
work to support it.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
b765119c5d2cd41a7f47cce10fd1fdbcf162b03d 23-Aug-2012 Eric Anholt <eric@anholt.net> mesa: Add constants for the GL_QUERY_COUNTER_BITS per target.

Drivers need to be able to communicate their actual number of bits populated
in the field in order for applications to be able to properly handle rollover.

There's a small behavior change here: Instead of reporting the
GL_SAMPLES_PASSED bits for GL_ANY_SAMPLES_PASSED (which would also be valid),
just return 1, because more bits don't make any sense.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
707f0679157f83ac45127e41647b96ed924d45c9 11-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Kill GL_ARB_shadow_ambient with fire

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

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
9c1b41879aab2ff7386c547a2ccce7686c018cf5 26-Jul-2012 Eric Anholt <eric@anholt.net> mesa: Replace VersionMajor/VersionMinor with a Version field.

As we get into supporting GL 3.x core, we come across more and more features
of the API that depend on the version number as opposed to just the extension
list. This will let us more sanely do version checks than "(VersionMajor == 3
&& VersionMinor >= 2) || VersionMajor >= 4".

v2: Fix a bad <= 30 check.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
8129dabb5f5ff717bb1ca32710ca6204d5345461 12-Jun-2012 Pauli Nieminen <pauli.nieminen@linux.intel.com> mesa: Make ARB_sampler_objects mandatory

To allow meta acceleration operations to use sampler objects the
ARB_sampler_objects extension needs to be mandatory for all drivers.
Because the extension doesn't have any hardware dependencies it is
trivial to implement.

Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
c37efbfe4c415b6fd2d4f968220d7c9b62f11ecf 12-Jun-2012 Pauli Nieminen <pauli.nieminen@linux.intel.com> mesa: Move DepthMode to texture object

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

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

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

Same can be found from 3.3 compatibility specification.

Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
1c29b73f4d9f633e32c03bebc8d505b321d833d9 19-Jul-2012 Jordan Justen <jordan.l.justen@intel.com> mesa: add API_OPENGL_CORE api

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/mtypes.h
f609cf782ab5e90ddf045dc4b0da8cebf99be0d1 27-Apr-2012 Eric Anholt <eric@anholt.net> glsl: Merge the lists of uniform blocks into the linked shader program.

This attempts error-checking, but the layout isn't done yet.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
b3c093c79c2ec49c36af37aa290d5ae452149f6e 27-Apr-2012 Eric Anholt <eric@anholt.net> glsl: Translate the AST for uniform blocks into some IR structures.

We're going to need this structure to cross-validate the uniform
blocks between shader stages, since unused ir_variables might get
dropped. It's also the place we store the RowMajor qualifier, which
is not part of the GLSL type (since that would cause a bunch of type
equality checks to fail).

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
5e310e9f8300a357d6bdaf098c72098518b564f3 20-Jun-2012 Paul Berry <stereotype441@gmail.com> mesa: Add UsesDFdy to struct gl_fragment_program.

The i965 back-end needs to compile dFdy() differently for FBOs and
window system framebuffers, because Y coordinates are flipped between
the two (see commit 82d2596: i965: Compute dFdy() correctly for FBOs).
This boolean will allow it to avoid unnecessarily recompiling shaders
that don't use dFdy().

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
d24ece97e5ac755b9fd11d1d00d2eafc8524ca04 18-Dec-2011 Marek Olšák <maraeo@gmail.com> mesa: add ARB_transform_feedback_instanced extension enable flag

Acked-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
21cb5ed20d1d7984b7695395327ed0ba0b0d16e2 18-Dec-2011 Marek Olšák <maraeo@gmail.com> glsl: implement ARB_transform_feedback3 in the linker

Acked-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
b186a9df32bb90cfa50f28f3df56abaffac40d8b 29-Jun-2012 Brian Paul <brianp@vmware.com> mesa: remove some unused gl_dlist_state fields
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
86ccd9aaacc5358984faa11c3b94281f0b1a85f9 26-Jun-2012 Brian Paul <brianp@vmware.com> mesa: move TEXGEN defines closer to gl_texgen struct
/external/mesa3d/src/mesa/main/mtypes.h
4cb3579e52fed48d623698610e31d05ac8c8946f 26-Jun-2012 Brian Paul <brianp@vmware.com> mesa: rename ColorMaterialBitmask to _ColorMaterialBitmask

Since it's a derived field.
/external/mesa3d/src/mesa/main/mtypes.h
b114ff3783c1aff636c4293eccfc9e04b802d3bf 26-Jun-2012 Brian Paul <brianp@vmware.com> mesa: re-order, update comments on lighting-related structs
/external/mesa3d/src/mesa/main/mtypes.h
bebb0438113efdcc1c2aaed95c70ba87de1d3053 18-Jun-2012 Paul Berry <stereotype441@gmail.com> glsl: Add IsCentroid bitfield to gl_fragment_program.

This bitfield tells the back-ends which of a fragment shader's inputs
require centroid interpolation. It is only set for GLSL fragment
shaders, since assembly fragment shaders don't support centroid
interpolation.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
5527c2d22027e9e27e55372d8adf2ba4ff855b53 15-Jun-2012 Eric Anholt <eric@anholt.net> mesa: Add indexed binding points for uniform buffer objects.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
c5c696e7fbce2e0b598ed5d4b1d73f086a664a57 18-Jun-2012 Eric Anholt <eric@anholt.net> mesa: Add support for the GL_UNIFORM_BUFFER general binding point.

Fixes piglit ARB_uniform_buffer_object/buffer-targets.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
ae5d7d5e8970f90b9713897387d7d46a2b4485ab 18-Jun-2012 Fredrik Höglund <fredrik@kde.org> mesa: Add support for GL_ARB_base_instance

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
2d7b2d7a87f037fa435772b7ce7c7cc0f426d912 15-Jun-2012 Kristian Høgsberg <krh@bitplanet.net> gles2: Add GL_NV_read_buffer extension

This lets us select the front buffer for reading under GLES2.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
199771bc325900eb1d3acc7fa03808894a94fdb2 30-Apr-2012 Olivier Galibert <galibert@pobox.com> glsl: Scaffolding for ARB_shader_bit_encoding.

That adds support for activating the extension. It doesn't actually
*do* anything yet, of course.

Signed-off-by: Olivier Galibert <galibert@pobox.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
0161691f3518db310411c5f02c05aa639050f129 17-May-2012 Brian Paul <brianp@vmware.com> mesa: add GLSL_REPORT_ERRORS debug flag

If the MESA_GLSL env var contains "errors", GLSL compilation and
link errors will be reported to stderr.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
93bcf7825d023d3d7108bc47a7a0929338bba6b9 09-May-2012 Brian Paul <brianp@vmware.com> mesa: add DEBUG_INCOMPLETE_TEXTURE, DEBUG_INCOMPLETE_FBO flags

Instead of having to hack the code to enable these debugging options,
set them through the MESA_DEBUG env var.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
da35c2b38c1419690b6647fbc2f930cb04c6877f 09-May-2012 Brian Paul <brianp@vmware.com> mesa: define DEBUG_SILENT flag, use in output_if_debug()
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
50f7e75f9e945cfbb2ae868cc961a2205a0b6e73 23-Apr-2012 Marek Olšák <maraeo@gmail.com> mesa: move gl_client_array*[] from vbo_draw_func into gl_context

In the future we'd like to treat vertex arrays as a state and
not as a parameter to the draw function. This is the first step
towards that goal. Part of the goal is to avoid array re-validation
for every draw call.

This commit adds:
const struct gl_client_array **gl_context::Array::_DrawArrays.

The pointer is changed in:
* vbo_draw_method
* vbo_rebase_prims - unused by gallium
* vbo_split_prims - unused by gallium
* st_RasterPos

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
b0e048f0b955ef79e2de794172de053d27d7d8fa 18-Apr-2012 Brian Paul <brianp@vmware.com> mesa: move gl_array_attrib::NewState to gl_array_object::NewArrays

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

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

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

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

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

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

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
664355f05b39303fa0995b72160c82f5bf50e95e 27-Mar-2012 Eric Anholt <eric@anholt.net> mesa: Track a gl_format for the texture buffer format.

There was a function full of unused mappings from the GLenum to
datatype/comps, but that wasn't all the information a driver would
want, which includes the other fields that a gl_format has. Given
that all the texture buffer formats were represented in gl_format,
just use that as our description.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
73fd269d2f5aa2a0b9bc03ef904b81e263e3cc37 17-Mar-2012 Brian Paul <brianp@vmware.com> mesa: add integer texture completeness check

Per the spec, only nearest filtering is supported for integer textures.
Otherwise, the texture is incomplete.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
f4a93e0665881dd58a95abb6525676bd1cc2e6af 17-Mar-2012 Brian Paul <brianp@vmware.com> mesa: rework texture completeness testing

Instead of gl_texture_object::_Complete there are now two fields:
_BaseComplete and _MipmapComplete. The former indicates whether the base
texture level is valid. The later indicates whether the whole mipmap is
valid.

With sampler objects, a single texture can appear to be both complete and
incomplete at the same time. See the GL_ARB_sampler_objects spec for more
details. To implement this we now check if the texture is complete with
respect to a sampler state.

Another benefit of this is we no longer need to invalidate a texture's
completeness state when we change the minification/magnification filters
with glTexParameter().

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
92c42d8170711d76568cd8caeaeacb2442814f49 12-Mar-2012 Brian Paul <brianp@vmware.com> mesa: renumber remaining DD_ constants

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
741bfef26c1f0d4f7c3d3a32479752cb6ee55ab6 12-Mar-2012 Brian Paul <brianp@vmware.com> mesa: remove unused DD_TRI_CULL_FRONT_BACK

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

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

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
291e4104aeca61c51beda42cb53a4b99dfaf4bf9 12-Mar-2012 Brian Paul <brianp@vmware.com> mesa: remove _DD_NEW_x flags

They're no longer used anywhere.

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

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

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
41308d969921d28a3159099420c145d2dcf10fe6 04-May-2011 nobled <nobled@dreamwidth.org> mesa: add struct for managing client debug namespaces

The final piece of the puzzle for GL_ARB_debug_output.
/external/mesa3d/src/mesa/main/mtypes.h
4667cb2162d02f5b0fe620a5394aee92c725fb86 02-May-2011 nobled <nobled@dreamwidth.org> mesa: add yet more context fields for GL_ARB_debug_output
/external/mesa3d/src/mesa/main/mtypes.h
76414cded8dcfc274fe47f347c64986680e8b95a 02-May-2011 nobled <nobled@dreamwidth.org> mesa: add message-toggle booleans for GL_ARB_debug_output
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
ba1d921bdf7a15fcc4a4e3162ea6fe9810f233d6 29-Feb-2012 Mathias Fröhlich <Mathias.Froehlich@gmx.net> mesa: Push the shine table into the tnl module.

All users of the shine table outside of the tnl module
are gone. Move the implementation into the tnl module and
prefix the public functions with _tnl.

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
619baeae3ca5b9f993d1c6ddd9c4c0541e5a4f11 29-Feb-2012 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Remove gl_light_attrib::_Flags.

This variable is only used locally in _mesa_update_lighting.

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
6b48d7e83d4ed09ae8db0da2f8a100d68d6e5e66 29-Feb-2012 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Remove _CosCutoffNeg from light state.

It is only used as a temporary variable during computation of
_CosCutoff. So, don't store it.

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
84870e215667c999202be31057df6e31a0389bb7 28-Feb-2012 Brian Paul <brianp@vmware.com> mesa: reorder things in mtypes.h

Move structs, enums, etc so they're in more logical order. In particular,
the shader and transform feedback-related structs/enums were pretty
scattered around.
/external/mesa3d/src/mesa/main/mtypes.h
c04db7f7fad883891084d7f2e9a0040a17c48fe8 04-Jan-2012 Brian Paul <brianp@vmware.com> mesa: fix _mesa_get_fallback_texture() to handle all texture targets

Previously, this function only handled 2D textures.

The fallback texture is used when we try to sample from an incomplete
texture object. GLSL says sampling an incomplete texture should return
(0,0,0,1).

v2: use a 1-texel texture image, per José.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
5ee8969b11b8018ed3e1e785f34a6b8fe6abf0ff 10-Feb-2012 Brian Paul <brianp@vmware.com> mesa: remove unused gl_shared_state::DriverData field
/external/mesa3d/src/mesa/main/mtypes.h
3e59fb570ae82d988a90d341d1ffdd5c3ece1aa4 10-Feb-2012 Brian Paul <brianp@vmware.com> mesa: remove unused gl_pixelmap::Map8[] array

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
ae509f88a54b9cc32f16099109330f2792593c83 09-Feb-2012 Brian Paul <brianp@vmware.com> mesa: remove gl_light::_SpotExpTable field

Just use pow() instead. Spot lights aren't too common and fixed-function
lighting isn't as important as it used to me.

This saves 32KB per context. Each table was 4KB and there's 8 lights.
/external/mesa3d/src/mesa/main/mtypes.h
068b9dc26882b85ff0c7d0894b4c11791a5b641e 09-Feb-2012 Brian Paul <brianp@vmware.com> mesa: fix comment typo
/external/mesa3d/src/mesa/main/mtypes.h
e06b1c65bc576a9b239841cbe3a8a8c2d6a8d09f 31-Jan-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Set the gl_array_object::ARBsemantics flag at the right time

With 0963990 the flag was only set when Bind created the object. In
all cases where ::ARBsemantics could be true, this path never
happened. Instead, add a _Used flag to track whether a VAO has ever
been bound. On the first Bind, set the _Used flag, and set the
ARBsemantics flag to the correct value.

NOTE: This is a candidate for release branches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45423
/external/mesa3d/src/mesa/main/mtypes.h
b9e27cc1426e3242a003fa5ae91fab330694009a 18-Jan-2012 Eric Anholt <eric@anholt.net> mesa: Add a flag for forcing all GLSL extensions to "warn".

NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
69c8f468ba93dc2999d4fde8909f8051e910929a 24-Jan-2012 Marek Olšák <maraeo@gmail.com> mesa: remove ctx->Const.sRGBCapable

It always had the same value as ctx->Extensions.EXT_framebuffer_sRGB.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
1da7d6c919e9a6d756b208caa6685bfa1146b543 16-Jan-2012 Brian Paul <brianp@vmware.com> mesa: update comments for gl_renderbuffer
/external/mesa3d/src/mesa/main/mtypes.h
1888dd52a32e114e7b3796db5a6b44921a2e04d4 16-Jan-2012 Brian Paul <brianp@vmware.com> mesa/swrast/drivers: remove obsolete gl_renderbuffer fields

This removes the last of the legacy fields from gl_renderbuffer.
/external/mesa3d/src/mesa/main/mtypes.h
59a5b5a193d5d9c5776aa586b34657b6e315479d 16-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove gl_renderbuffer::Wrapped

There's no such thing as renderbuffer wrappers anymore.
/external/mesa3d/src/mesa/main/mtypes.h
7a36345f70a0b8ac2d480bb52eb2c74c2be5a978 16-Jan-2012 Brian Paul <brianp@vmware.com> mesa: rename gl_renderbuffer::Data to Buffer

To better indicate that this pointer to the malloc'd memory.
/external/mesa3d/src/mesa/main/mtypes.h
f9874feef4d8952df5054bd8e8f4e0deda4ef44f 16-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove gl_renderbuffer::DataType
/external/mesa3d/src/mesa/main/mtypes.h
1e1b5cb01a10e39d01923e3c7e989c44210950cd 16-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove gl_renderbuffer:RowStride field
/external/mesa3d/src/mesa/main/mtypes.h
82846fea4d042466ccfd5b3c86d98e856086cc05 16-Jan-2012 Brian Paul <brianp@vmware.com> mesa: finally, remove the GetRow/PutRow/etc functions
/external/mesa3d/src/mesa/main/mtypes.h
827c1d66f671e50d9d96277b1fd3a59309626f66 16-Jan-2012 Brian Paul <brianp@vmware.com> mesa: add new gl_renderbuffer fields

These are temporary, actually, but they'll make follow-on work easier to
implement in a step-by-step manner. Eventually the Map and RowStrideBytes
fields will go into a new swrast_renderbuffer type, but adding that type
now would involve touching a _lot_ of code that'll eventually be removed.

The fields marked as obsolete will go away completely at some point.
/external/mesa3d/src/mesa/main/mtypes.h
09639901530da7df7347428512c2bee86af1ef8e 23-Jan-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Rename gl_array_object::VBOonly to ::ARBsemantics

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

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

NOTE: This is a candidate for release branches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
d540af554adfe302387014c0f46d6ac3aaa75121 20-Jan-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> mesa: allocate transform_feedback_info::Outputs array dynamically

The nvc0 gallium driver is advertising 128 MAX_INTERLEAVED_COMPS
which made it always assert in the linker when TFB was used since
the Outputs array was smaller than that maximum.

v2: added assertions

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
2a207c4bf95312b68093280b97229cc4316f5724 29-Dec-2011 Mathias Froehlich <Mathias.Froehlich@web.de> mesa: Introduce enabled bitfield helper functions.

Depending on the installed shader type, different arrays are used
from gl_array_object. Provide helper functions that compute
the bitmask of these arrays that are finally enabled for a given
shader type. The will be used in a followup change.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
f60e892c5017f66282080983da87f638d13917c5 29-Dec-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Use BITFIELD64_RANGE for VERT_BIT_*_ALL.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
6c0df75803e1944f82a1468dcca47d23de82ea6b 15-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> linker: Calculate used samplers and shadow samplers in the linker

It used to be done in ir_to_mesa, and that was kind of a bad place.

I didn't change st_glsl_to_tgsi because there is some strange stuff
happening in the code that generates glDrawPixels shaders. It looked
like this would break horribly if I touched anything.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
6a992c3288b6f7a5d94172c9ad1908e71e58233e 15-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> linker: Calculate the sampler to texture target mapping during linking

Track the calculated data in gl_shader_program instead of the
individual assembly shaders.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
b527dd65c830a2b008816cf390d5be906e29bb23 15-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Track fixed-function fragment shader as a shader

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

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
642e5b413e0890b2070ba78fde42db381eaf02e5 04-Jan-2012 Paul Berry <stereotype441@gmail.com> mesa: Fix transform feedback of unsubscripted gl_ClipDistance array.

On drivers that set gl_shader_compiler_options::LowerClipDistance (for
example i965), we need to handle transform feedback of gl_ClipDistance
specially, to account for the fact that the hardware represents it as
an array of vec4's rather than an array of floats.

The previous way this was accounted for (translating the request for
gl_ClipDistance[n] to a request for a component of
gl_ClipDistanceMESA[n/4]) doesn't work when performing transform
feedback on the whole unsubscripted array, because we need to keep
track of the size of the gl_ClipDistance array prior to the lowering
pass. So I replaced it with a boolean is_clip_distance_mesa, which
switches on the special logic that is needed to handle the lowered
version of gl_ClipDistance.

Fixes Piglit tests "EXT_transform_feedback/builtin-varyings
gl_ClipDistance[{1,2,3,5,6,7}]-no-subscript".

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
c87247f6a8c5505fea3fa29dac372f9f5316a118 06-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove gl_framebuffer:_DepthBuffer, _StencilBuffer fields

These were used by swrast to make a combined depth+stencil buffer look
like separate depth and stencil buffers. But that's no longer needed
after rewriting the depth/stencil code in swrast.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
2169331d40e915d0d1065477a5c81d59f222a5c8 27-Dec-2011 Paul Berry <stereotype441@gmail.com> mesa: Add gl_transform_feedback_info::ComponentOffset.

When using transform feedback, there are three circumstances in which
it is useful for Mesa to instruct a driver to stream out just a
portion of a varying slot (rather than the whole vec4):

(a) When a varying is smaller than a vec4, Mesa needs to instruct the
driver to stream out just the first one, two, or three components of
the varying slot.

(b) In the future, when we implement varying packing, some varyings
will be offset within the vec4, so Mesa will have to instruct the
driver to stream out an arbitrary contiguous subset of the components
of the varying slot (e.g. .yzw or .yz).

(c) On drivers that set gl_shader_compiler_options::LowerClipDistance,
if the client requests that an element of gl_ClipDistance be streamed
out using transform feedback, Mesa will have to instruct the driver to
stream out a single component of one of the gl_ClipDistance varying
slots.

Previous to this patch, only (a) was possible, since
gl_transform_feedback_info specified only the number of components of
the varying slot to stream out. This patch adds
gl_transform_feedback_info::ComponentOffset, which indicates which
components should be streamed out.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
501e2e3b6d64de9937d397b49ad3930d4bac3083 03-Jan-2012 Eric Anholt <eric@anholt.net> mesa: Remove the dead Varyings list in the program.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
9d36c96d6ec9f2c05c8e0b9ef18c5462cddee8c1 03-Jan-2012 Eric Anholt <eric@anholt.net> mesa: Fix glGetTransformFeedbackVarying().

The current implementation was totally broken -- it was looking in an
unpopulated structure for varyings, and trying to do so using the
current list of varying names, not the list used at link time.

v2: Fix leaking of memory into the program per re-link.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
ebfad9f6a125738b9bfc5d5f7d09a8b57856674a 30-Dec-2011 Paul Berry <stereotype441@gmail.com> mesa: Check that all buffers are bound in BeginTransformFeedback.

From the EXT_transform_feedback spec:

The error INVALID_OPERATION is generated by
BeginTransformFeedbackEXT if any transform feedback buffer object
binding point used in transform feedback mode does not have a
buffer object bound.

This required adding a new NumBuffers field to the
gl_transform_feedback_info struct, to keep track of how many transform
feedback buffers are required by the current program.

Fixes Piglit tests:
- EXT_transform_feedback/api-errors interleaved_unbound
- EXT_transform_feedback/api-errors separate_unbound_0_1
- EXT_transform_feedback/api-errors separate_unbound_0_2
- EXT_transform_feedback/api-errors separate_unbound_1_2

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
50e0091a9d70f9e6383ad322d4df7576bd7c38f7 22-Dec-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Convert RENDERINPUTS* macros to GLbitfield64.

Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmare.com>
/external/mesa3d/src/mesa/main/mtypes.h
31bf243a92454758fb4b8efc6bd8ccac99b67b6e 26-Dec-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: remove leftovers from color indexed rendering.

Remove gl_light::_dli and gl_light::_sli.
Both are only used for a value previously used in
color indexed rendering. Also both variables are only used
and never written.

Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
7a7b521ff255f5511b6f42becf603c6893f8a51e 24-Dec-2011 Brian Paul <brianp@vmware.com> mesa: remove gl_renderbuffer::PutRowRGB()

No longer used anywhere.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
fc41473b9f7d1171a2921a825807889b8fcbcaaf 24-Dec-2011 Brian Paul <brianp@vmware.com> mesa: remove gl_renderbufer::PutMonoRow() and PutMonoValues()

The former was only used for clearing buffers. The later wasn't used
anywhere! Remove them and all implementations of those functions.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
d44878e754e65550c0725feb76fe0cbab0ae5d93 21-Dec-2011 Paul Berry <stereotype441@gmail.com> mesa: Add _NEW_RASTERIZER_DISCARD as synonym for _NEW_TRANSFORM.

This makes it easier to keep track of which dirty bits correspond to
which pieces of context, since it makes _NEW_RASTERIZER_DISCARD
correspond with ctx->RasterDiscard.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
aee96806f049c17384a8edc11acce76257d98a57 21-Dec-2011 Paul Berry <stereotype441@gmail.com> mesa: Move RasterDiscard to toplevel of gl_context.

Previously we were storing the RasterDiscard flag (for
GL_RASTERIZER_DISCARD) in gl_context::TransformFeedback. This was
confusing, because we use the _NEW_TRANSFORM flag (not
_NEW_TRANSFORM_FEEDBACK) to track state updates to it, and because
rasterizer discard has effects even when transform feedback is not in
use.

This patch makes RasterDiscard a toplevel element in gl_context rather
than a subfield of gl_context::TransformFeedback.

Note: We can't put RasterDiscard inside gl_context::Transform, since
all items inside gl_context::Transform need to be pieces of state that
are saved and restored using PushAttrib and PopAttrib.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
942d452047431f7463d3fad5e7cb92dfd81fd0ac 06-Dec-2011 Paul Berry <stereotype441@gmail.com> mesa: Record transform feedback strides/offsets in linker output.

This patch adds two new fields to the gl_transform_feedback_info
struct:

- BufferStride records the total number of components (per vertex)
that transform feedback is being instructed to store in each buffer.

- Outputs[i].DstOffset records the offset within the interleaved
structure of each transform feedback output.

These values are needed by the i965 gen6 and r600g back-ends, so it
seems better to have the linker provide them rather than force each
back-end to compute them independently.

Also, DstOffset helps pave the way for supporting
ARB_transform_feedback3, which allows the transform feedback output to
contain holes between attributes by specifying
gl_SkipComponents{1,2,3,4} as the varying name.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
14bb957b996dcc5392b8fa589bd3ffa5c55cb6b4 09-Dec-2011 Marek Olšák <maraeo@gmail.com> mesa: implement DrawTransformFeedback from ARB_transform_feedback2

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

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

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

The rest of the code just validates states and forwards the transform
feedback object into vbo_draw_func.
/external/mesa3d/src/mesa/main/mtypes.h
df809ae92343bb83c162ea4c807cefb67686717d 10-Dec-2011 Marek Olšák <maraeo@gmail.com> mesa: add const flags to skip MaxVarying and MaxUniform linker checks (v2)

This is only temporary until a better solution is available.

v2: print warnings and add gallium CAPs

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
cbd65fe14917def9c0f401c973394d6456cbe83b 10-Dec-2011 Brian Paul <brianp@vmware.com> mesa: update comments for _DepthBuffer, _StencilBuffer fields

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
a98ceee0ee3692783047c6f8f9f6bf6afbf4dd3b 22-Nov-2011 Paul Berry <stereotype441@gmail.com> mesa: Track changes to transform feedback state.

This patch adds a new bit to the ctx->NewState bitfield,
_NEW_TRANSFORM_FEEDBACK, to track state changes that affect
ctx->TransformFeedback. This bit can be used by driver back-ends to
avoid expensive recomputations when transform feedback state has not
been modified.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
d4a38e86d4b4d66cca20ee63222f940cb73fa709 28-Nov-2011 Chia-I Wu <olv@lunarg.com> mesa: add support for GL_OES_compressed_ETC1_RGB8_texture

Add support for GL_OES_compressed_ETC1_RGB8_texture to core mesa. There is no
driver support yet.

Unlike desktop GL compressed texture formats, GLES compressed texture formats
usually can only be used with glCompressedTexImage2D. All other gl*Tex*Image*
functions are updated to check for that.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
762c9766c93697af8d7fbaa729aed118789dbe8e 31-Oct-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Use VERT_ATTRIB_* indexed array in gl_array_object.

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

Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
f364ac1da10ff67eba5196c1074aff579864f741 31-Oct-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Make gl_array_object::_Enabled 64 bits.

Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
104b81def4c09f3012e44778d104f00ff87dd4f0 31-Oct-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Replace _NEW_ARRAY_* bits with VERT_BIT_*

Consolidate the two distinct set of flags to use VERT_BIT_*.

Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
b57101302d832f890b9a3b228513d930d91e1de0 31-Oct-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Introduce more symbolic VERT_{ATTRIB,BIT}* defines.

Introduce a set of defines for VERT_ATTRIB_* and VERT_BIT_*
that will be used in the followup patches.

Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
5c84e961e3984ff7116f14a630b2984c5b97413d 28-Nov-2011 Brian Paul <brianp@vmware.com> mesa: remove unused gl_texture_object::DriverData field
/external/mesa3d/src/mesa/main/mtypes.h
bbcb648bc2f45dd85e33c7301527c8f6d97cbce6 19-Nov-2011 Marek Olšák <maraeo@gmail.com> mesa: rename the AMD_conservative_depth extension flag to ARB

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
ec174a424489664626796126f937fbce3e7d8cd8 18-Nov-2011 Marek Olšák <maraeo@gmail.com> mesa: set the gl_FragDepth layout in the GLSL linker

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
6d68855df133bdd4891e8aa428787b520739e0fe 11-Nov-2011 Brian Paul <brianp@vmware.com> mesa: replace GLstencil with GLubyte
/external/mesa3d/src/mesa/main/mtypes.h
6ac895a664b25eb6252f33d5cfb0e9dd33190490 08-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> linker: Count the number of uniform components used by a shader during linking

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
812aa8839388042609f65ed00ae4fbfdb60a11d6 08-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> linker: Count the number of samplers used by a shader during linking

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
919c53e87a1f6f5322bc1f1486bb3e6b954b00d5 08-Nov-2011 Eric Anholt <eric@anholt.net> mesa: Make gl_VertexID be a system value like gl_InstanceID.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
871ddb919b424293894a23a8f83200fed572d6a9 05-Nov-2011 Paul Berry <stereotype441@gmail.com> glsl: Assign transform feedback varying slots in linker.

This patch modifies the GLSL linker to assign additional slots for
varying variables used by transform feedback, and record the varying
slots used by transform feedback for use by the driver back-end.

This required modifying assign_varying_locations() so that it assigns
a varying location if either (a) the varying is used by the next stage
of the GL pipeline, or (b) the varying is required by transform
feedback. In order to avoid duplicating the code to assign a single
varying location, I moved it into its own function,
assign_varying_location().

In addition, to support transform feedback in the case where there is
no fragment shader, it is now possible to call
assign_varying_locations() with a consumer of NULL.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
Tested-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
63e7a4c6e5bf51d8090046ebc5adcb4207448565 09-Nov-2011 José Fonseca <jfonseca@vmware.com> mesa,glsl,mapi: Put extern "C" { ... } where appropriate.

Probably a several places missing, but enough to cover all headers
(in)directly included by uniform_query.cpp, and fix the MSVC build.
/external/mesa3d/src/mesa/main/mtypes.h
b12b5d9ab5c0153c93ca5ad9cd93cb36e41be4eb 05-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> linker: Use app-specified fragment data location during linking

Fixes piglit's bindfragdata-link-error.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
be4524aeed7fb67bdc45861d299d4c5ca99c4d6c 19-Oct-2011 Ian Romanick <ian.d.romanick@intel.com> Delete code made dead by previous uniform related patches

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
9a21d4670ce88cd2476930f3c5f7945cc57579e8 18-Oct-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Add structures for "new style" uniform tracking in shader programs

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
0c87f16817ff0bf1f05e0d634944fd47b097faee 23-Oct-2011 Chia-I Wu <olv@lunarg.com> mesa: add support for GL_OES_EGL_image_external

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

Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
db73264e1471a594d49ca0bc397cbb6746ee1dce 23-Oct-2011 Chia-I Wu <olv@lunarg.com> mesa: add GL_OES_EGL_image_external to the extension list

Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
740467dd62962b4effdaf51e38edc032e2a39487 20-Sep-2011 Nicholas Miell <nmiell@gmail.com> mesa: Add the basics for the NV_fog_distance extension

No driver implements it yet.
/external/mesa3d/src/mesa/main/mtypes.h
b296315881e4da60798e546f24c727a49deb9a89 31-Oct-2011 Brian Paul <brianp@vmware.com> mesa: add new fields for GL_ARB_texture_storage
/external/mesa3d/src/mesa/main/mtypes.h
c488150dea083a9677429b4185c6b20d7facd52b 21-Oct-2011 Paul Berry <stereotype441@gmail.com> glsl: Distinguish between no interpolation qualifier and 'smooth'

Previously, we treated the 'smooth' qualifier as equivalent to no
qualifier at all. However, this is incorrect for the built-in color
variables (gl_FrontColor, gl_BackColor, gl_FrontSecondaryColor, and
gl_BackSecondaryColor). For those variables, if there is no qualifier
at all, interpolation should be flat if the shade model is GL_FLAT,
and smooth if the shade model is GL_SMOOTH.

To make this possible, I added a new value to the
glsl_interp_qualifier enum, INTERP_QUALIFIER_NONE.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
cf45949d6a896651a5f3864d3b195e26d59eee74 26-Oct-2011 Paul Berry <stereotype441@gmail.com> mesa: Expose GLSL interpolation qualifiers in gl_fragment_program.

This patch makes GLSL interpolation qualifiers visible to drivers via
the array InterpQualifier[] in gl_fragment_program, so that they can
easily be used by driver back-ends to select the correct interpolation
mode.

Previous to this patch, the GLSL compiler was using the enum
ir_variable_interpolation to represent interpolation types. Rather
than make a duplicate enum in core mesa to represent the same thing, I
moved the enum into mtypes.h and renamed it to be more consistent with
the other enums defined there.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
9c4b02528752eb6392009e41025202fc9f9ca5b3 17-Oct-2011 Eric Anholt <eric@anholt.net> mesa: Fold gallium's texture border stripping into a core Mesa option.

We wanted to reuse this in the Intel driver.

v2: Move the flag to ctx->Const

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
9ed88983b03114d66d527354248e26f77d8868b9 22-Oct-2011 Mathias Fröhlich <Mathias.Froehlich@gmx.net> mesa: Avoid ABA problem on buffer object bind.

Make sure we do not run into the classic ABA problem on buffer object bind,
reusing this name and may be never rebind since we get an new name
that was just deleted and never rebound in between.
The explicit rebinding to the debault object in the current context
prevents the above in the current context, but another context
sharing the same objects might suffer from this problem.

Minor var renaming and comments edited by Brian.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
6e0f9001fe3fb191c2928bd09aa9e9d05ddf4ea9 23-Oct-2011 Brian Paul <brianp@vmware.com> mesa: move gl_texture_image::Data, RowStride, ImageOffsets to swrast

Only swrast and the drivers that fall back to swrast need these fields now.
This removes the last of the fields related to software rendering from
gl_texture_image.
/external/mesa3d/src/mesa/main/mtypes.h
57f7978b1de40be6eb138d391c8d9f95b68cbf62 22-Jul-2011 Eric Anholt <eric@anholt.net> mesa: Add a flag for shader programs to allow SSO linkage in GLES2.

On converting fixed function programs to generate GLSL, the linker
became cranky that we were trying to make something that wasn't a
linked vertex+fragment program. Given that the Mesa GLES2 drivers
also support desktop GL with EXT_sso, just telling the linker to shut
up seems like the easiest solution.
/external/mesa3d/src/mesa/main/mtypes.h
bc4ef33108331db69ddfdbdd71546f4cb49ed809 14-Oct-2011 Brian Paul <brianp@vmware.com> mesa: remove unused gl_sampler_object::_CompleteTexture field
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
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/mtypes.h
8c3b5cf943808faa7c57c19a2b4c7b6fffe653d6 07-Oct-2011 Brian Paul <brianp@vmware.com> mesa: update gl_texture_image comments
/external/mesa3d/src/mesa/main/mtypes.h
0214712c3074dfef5569d032a00276182c4185bf 06-Oct-2011 Brian Paul <brianp@vmware.com> mesa: remove some unneeded forward struct declarations
/external/mesa3d/src/mesa/main/mtypes.h
2c5bb57b509d03f5ae380524c61e1c0702d9e1b2 06-Oct-2011 Brian Paul <brianp@vmware.com> mesa: remove unused gl_texture_image::DriverData field

Was only used by some older/removed DRI drivers.
/external/mesa3d/src/mesa/main/mtypes.h
d912669034eb7bf5c162358a7a574ec7a4c963c7 26-Sep-2011 Paul Berry <stereotype441@gmail.com> i965 Gen6: Implement gl_ClipVertex.

This patch implements proper support for gl_ClipVertex by causing the
new VS backend to populate the clip distance VUE slots using
VERT_RESULT_CLIP_VERTEX when appropriate, and by using the
untransformed clip planes in ctx->Transform.EyeUserPlane rather than
the transformed clip planes in ctx->Transform._ClipUserPlane when a
GLSL-based vertex shader is in use.

When not using a GLSL-based vertex shader, we use
ctx->Transform._ClipUserPlane (which is what we used prior to this
patch). This ensures that clipping is still performed correctly for
fixed function and ARB vertex programs. A new function,
brw_select_clip_planes() is used to determine whether to use
_ClipUserPlane or EyeUserPlane, so that the logic for making this
decision is shared between the new and old vertex shaders.

Fixes the following Piglit tests on i965 Gen6:
- vs-clip-vertex-const-accept
- vs-clip-vertex-const-reject
- vs-clip-vertex-different-from-position
- vs-clip-vertex-equal-to-position
- vs-clip-vertex-homogeneity
- vs-clip-based-on-position
- vs-clip-based-on-position-homogeneity
- clip-plane-transformation clipvert_pos
- clip-plane-transformation pos_clipvert
- clip-plane-transformation pos

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/main/mtypes.h
7d68c639ddb0f9df45cf698b8e8227bf1860b5fe 26-Sep-2011 Paul Berry <stereotype441@gmail.com> mesa: Add a gl_vert_result for gl_ClipVertex.

Before this patch, clip planes didn't work properly in Mesa when using
vertex shaders, because Mesa assigned both gl_ClipVertex and
gl_Position to the same gl_vert_result (VERT_RESULT_HPOS). As a
result, backends couldn't distinguish between the two variables, so
any shader that wrote different values to them would fail to work
properly.

This patch paves the way for proper support of gl_ClipVertex by
creating a new enumerated value in gl_vert_result for it
(VERT_RESULT_CLIP_VERTEX). After this patch, a back-end may add
support for gl_ClipVertex using the following algorithm:

- If using a user-supplied GLSL vertex shader:
- If the bit corresponding to VERT_RESULT_CLIP_VERTEX is set in
gl_program::OutputsWritten:
- Clip using the vertex shader output VERT_RESULT_CLIP_VERTEX and
the clip planes defined in gl_context::Transform.EyeUserPlane.
- Else:
- Clip using the vertex shader output VERT_RESULT_HPOS and the
clip planes defined in gl_context::Transform.EyeUserPlane.
- Else (either using fixed function or an ARB vertex program):
- Clip using the vertex shader output VERT_RESULT_HPOS and the clip
planes defined in gl_context::Transform._ClipUserPlane (*)

where (*) represents the normal Mesa behavior before this patch.

An example of implementing the above algorithm can be found in the
patch that follows this one, which implements gl_ClipVertex in i965
Gen6.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
35613afee3e038b70ada210b2dfbbc9abc883f4f 19-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove unused gl_program::Attributes

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
a339ee8d852c08ce7af51a518e0b18b9f0ab324c 19-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove unused gl_shader_program::Attributes

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
015d4f61ef9116c9e844299ab9f2b15c653c0450 18-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Add gl_shader_program::AttributeBindings

This currently mirrors the state tracking
gl_shader_program::Attributes, but I'm working towards eliminating
that.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
763b00f2c596e167299e81684763b52422956dfc 03-Oct-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove ARB_draw_buffers extension enable flag

All drivers in Mesa have supported this extension for eons. This
extension is an optional features in desktop OpenGL (via
GL_ARB_draw_buffers) and OpenGL ES 2.x (via GL_NV_draw_buffers).

The extension is not usable in OpenGL ES 1.x. There is no
glDrawBuffers* entry point in OpenGL ES 1.x contexts, and glGet*v
generate errors when MAX_DRAW_BUFFERS or DRAW_BUFFERi is queried.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
9520f483b8f1e45fa474674b415554988de5d8d3 01-Oct-2011 Brian Paul <brianp@vmware.com> mesa: s/INLINE/inline/

INLINE is still seen in some files (some generated files, etc) but this
is a good start.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
cd76f114e608ffb93a03ac3ffc3e11876d6a057e 16-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove unused field gl_program::Varying

Lots of things set and copy this field around, but nothing uses it.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
ed48df84246caa40398ccd6a822cbd9b650f8282 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove ARB_texture_mirrored_repeat extension enable flag

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

This extension was previously not supported on mach64, mga, and savage
(Savage3D and other pre-Savage4).

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/mtypes.h
b0824bd860f6d4b3ad28fc142c2eebd840ed6173 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_blend_subtract extension enable flag

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

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

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

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

This extension was previously not supported on mach64.

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/mtypes.h
f9a2352c9569ef562e9507bfe09358f236aaf4b7 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_texture_lod_bias extension enable flag

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

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

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

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

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

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

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

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

This extension was previously not supported on mach64, mga (G200),
savage (Savage3D and other pre-Savage4), sis, and tdfx (Voodoo
Banshee).

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/mtypes.h
677743f7d598a599281d420a60e45be9f6af584f 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove ARB_multitexture extension enable flag

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

This extension was previously not supported on i810, mga (G200), or
tdfx (Voodoo Banshee).

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/mtypes.h
e0553f6d4b9ec524bffd94dc6f72efe4ea50a347 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_abgr extension enable flag

All drivers remaining in Mesa support this extension. This extension
is required in desktop OpenGL. The existing support is already partially
broken in Mesa (e.g., using format=GL_ABGR for glTexImage2D in OpenGL ES 2.x).
This patch does not change the situation in any way.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
29386d1f2d60e905d63f4c5f045ff3794b2ff99c 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_bgra and EXT_texture_format_BGRA8888 extension enable flags

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

EXT_texture_format_BGRA8888 is mostly a subset of EXT_bgra. The only
difference seems to be that EXT_texture_format_BGRA8888 allows GL_BGRA
as an internal format to glTexImage2D and friends.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
425284e88244e63a627b3fc4ae4514f064c71a83 24-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove OES_read_format extension enable flag

This extension is always enabled, and drivers do not have
to option to disable it.

I kept this one separate from the others because I was a little
uncertain about the changes to get.c.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/mtypes.h
e5301b82ff66f3acd36d9e8467ee73a6a2573695 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove all mention of EXT_vertex_array_set

Mesa has never any portion of this extension, and neither has any
other vendor.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
34eae1c72a9b3a8eb0634cda52fca0208cd2f40d 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove many extension enable flags

The following extensions are always enabled, and drivers do not have
to option to disable them:

GL_ARB_multisample
GL_ARB_texture_compression
GL_ARB_vertex_buffer_object / GL_OES_mapbuffer
GL_EXT_copy_texture
GL_EXT_multi_draw_arrays / GL_SUN_multi_draw_arrays
GL_EXT_polygon_offset
GL_EXT_subtexture
GL_EXT_texture_edge_clamp / GL_SGIS_texture_edge_clamp
GL_EXT_vertex_array
GL_SGIS_generate_mipmap

This set was picked because the are all either required or optional
features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. The
existing support for some is already partially broken in Mesa (e.g.,
proxy texture targets in OpenGL ES). This patch does not change the
situation in any way.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
3d7c5a4f6f4155e249f6eac76d861eb1bc59eb69 19-Aug-2011 Paul Berry <stereotype441@gmail.com> mesa: set up gl_vert_result and gl_frag_attrib values for gl_ClipDistance.

This patch assigns enumerated values for gl_ClipDistance in the
gl_vert_result and gl_frag_attrib enums, so that driver back-ends can
assign gl_ClipDistance to the appropriate hardware registers. It also
adjusts the functions _mesa_vert_result_to_frag_attrib() and
_mesa_frag_attrib_to_vert_result() (which translate between the two
enums) to correctly translate the new enumerated values.

Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
1ad54ae0b1713e399c5db43d0eba87861075b4c7 17-Sep-2011 Paul Berry <stereotype441@gmail.com> mesa: Add a flag to indicate whether a program uses gl_ClipDistance.

GLSL 1.30 requires us to use gl_ClipDistance for clipping if the
vertex shader contains a static write to it, and otherwise use
user-defined clipping planes. Since the driver needs to behave
differently in these two cases, we need a flag to record whether the
shader has written to gl_ClipDistance.

The new flag is called UsesClipDistance. We initially store it in
gl_shader_program (since that is the data structure that is available
when we check to see whethe gl_ClipDistance was written to), and we
later copy it to a flag with the same name in gl_vertex_program, since
that is a more convenient place for the driver to access it (in i965,
at least).

Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
c06e32596735074536b0e613cbddb1c5fd7b367a 12-Aug-2011 Paul Berry <stereotype441@gmail.com> glsl: Implement a lowering pass for gl_ClipDistance.

In i965 GEN6+ (and I suspect most other hardware), gl_ClipDistance
needs to be laid out as a pair of vec4's (the first containing clip
distances 0-3, and the second containing clip distances 4-7).
However, it is declared in GLSL as an array of 8 floats.

This lowering pass acts at the GLSL level, modifying the declaration
of gl_ClipDistance so that it is an array of vec4's rather than an
array of floats, and renaming it to gl_ClipDistanceMESA. In addition,
it modifies all accesses to the array so that they access the
appropiate component of one of the vec4's.

Since some hardware may not internally represent gl_ClipDistance as a
pair of vec4's, this lowering pass is optional. To enable it, set the
LowerClipDistance flag in gl_shader_compiler_options to true.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
9e9a76eea17bc92c8ac74323c99e10b9480ee583 22-Sep-2011 Brian Paul <brianp@vmware.com> mesa: remove support for GL_APPLE_client_storage extension

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

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
980f6f1b37ca88529b3e000235156eab93254fac 22-Sep-2011 Brian Paul <brianp@vmware.com> mesa: move gl_texture_image::Width/Height/DepthScale fields to swrast

These fields were only used for swrast so move them into
swrast_texture_image.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
eaf376ba354db11f7729452060570b48a029c9a0 22-Sep-2011 Brian Paul <brianp@vmware.com> mesa: move gl_texture_image::_IsPowerOfTwo into swrast

It's only used by swrast.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
b68e3422ed9a0f16c7015940ffd5ac0361f0ca42 09-Sep-2011 Eric Anholt <eric@anholt.net> mesa: Add a context flag indicating whether two-sided lighting should happen.

The 965 driver was ignoring the VERTEX_PROGRAM_TWO_SIDE flag and only
looking at fixed-function state.
/external/mesa3d/src/mesa/main/mtypes.h
4d53fb525db56d0695eaa5b91bd8f0cefbc25866 18-Sep-2011 Brian Paul <brianp@vmware.com> mesa: move last bits of GLchan stuff into swrast

This removes the last remnants of the GLchan datatype and associated
macros out of core Mesa and into swrast.
/external/mesa3d/src/mesa/main/mtypes.h
2836aab2031d5b6926923fbc70f867ec638301bd 09-Sep-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Use ColorLogicOpEnabled instead of _LogicOpEnabled

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

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
113e8167de4500ea8b12176a938cbc4753f3a923 09-Sep-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove support for GL_EXT_blend_logic_op

Support is removed for four reasons:

1. The implementation was broken with respect to separate blend
equations. The GL_EXT_blend_equation_separate spec says:

"If EXT_blend_logic_op and EXT_blend_equation_separate are both
supported, the logic op blend equation should be supported separately
for RGB and alpha as with the other blend equation modes."

But Mesa's implementation of GL_LOGIC_OP specifically forbids this.

2. No hardware supported by Mesa can support separate blend equations
involving GL_LOGIC_OP.

3. No applications could be found that use this extension.

4. No other Linux OpenGL drivers support this extension.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Cc: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
a1661dc8957a35899d653e9fffd97f166c56be56 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: move gl_texture_image::FetchTexel fields to swrast

This also involves passing swrast_texture_image instead of gl_texture_image
into all the fetch functions.
/external/mesa3d/src/mesa/main/mtypes.h
4d21ecde7702852f30a4f3b90af0e9811b230c63 14-Sep-2011 Brian Paul <brianp@vmware.com> mesa: white space, comment fixes in mtypes.h

"vale" was a typo. Fix that and do some other minor clean-ups.
/external/mesa3d/src/mesa/main/mtypes.h
093dc9e548537e6c77e33064a584f849ad90dfa5 12-Sep-2011 Dave Airlie <airlied@redhat.com> mesa: introduce a clear color union to be used for int/unsigned buffers

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

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

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
1a65d098cea54352335460fedf97f705d20f2ab7 06-Sep-2011 Brian Paul <brianp@vmware.com> mesa: whitespace fixes, just to be consistent
/external/mesa3d/src/mesa/main/mtypes.h
51e7b058750cc480c296d45f773d7a5a662457f5 06-Sep-2011 Brian Paul <brianp@vmware.com> mesa: put _mesa_ prefix on vert_result_to_frag_attrib()
/external/mesa3d/src/mesa/main/mtypes.h
a794ad3709a6eb26bc96934203c20a8b3b8d8672 06-Sep-2011 Brian Paul <brianp@vmware.com> mesa: fix vert_result_to_frag_attrib() parameter type
/external/mesa3d/src/mesa/main/mtypes.h
37afceeee99264f93c0d3a588427a24218e2ec9d 06-Sep-2011 Brian Paul <brianp@vmware.com> mesa: s/inline/INLINE/ to fix MSVC build
/external/mesa3d/src/mesa/main/mtypes.h
960f37a57a7fcbac213c0b4fb0daf2285a64bf97 29-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove unused struct gl_color_table

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
eba527bf9ffc2fd67c44fb77104107556f509b49 29-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove API facing bits of EXT_paletted_texture and EXT_shared_texture_palette

This was also discussed at XDS 2010. However, actually making the
change was delayed because several drivers still exposed these
extensions to significant benefit (e.g., tdfx). Now that those
drivers have been removed, this code can be removed as well.

v2: A lot of bits that were missed in the previous patch have been removed.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
6489a1d5bab75589569658d374257bf23cb67a23 30-Aug-2011 Paul Berry <stereotype441@gmail.com> Refactor code that converts between gl_vert_result and gl_frag_attrib.

Previously, this conversion was duplicated in several places in the
i965 driver. This patch moves it to a common location in mtypes.h,
near the declaration of gl_vert_result and gl_frag_attrib.

I've also added comments to remind us that we may need to revisit the
conversion code when adding elements to gl_vert_result and
gl_frag_attrib.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
4e64cfbb4ec92877803e70257af8b97c484c00c0 05-Sep-2011 Bryan Cain <bryancain3@gmail.com> mesa: add a UniformBooleanTrue option

Drivers supporting native integers set UniformBooleanTrue to the integer value
that should be used for true when uploading uniform booleans. This is ~0 for
Gallium and 1 for i965.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
488fe51cf823ccd137c667f1e92dd86f8323b723 01-Sep-2011 Bryan Cain <bryancain3@gmail.com> mesa: Replace the EmitNoIfs compiler flag with a MaxIfDepth flag.

This is a better, more fine-grained way of lowering if statements. Fixes the
game And Yet It Moves on nv50.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
a231d245514b43cf547ccb996b68efc0186e6821 15-Jul-2011 Brian Paul <brianp@vmware.com> mesa: add gl_texture_image::Face, Level fields

Several drivers have these fields in their subclasses of gl_texture_image.
They'll be useful for core Mesa too...

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
01d81dedc795005ed235856ce762bb1981655716 15-Aug-2011 Kenneth Graunke <kenneth@whitecape.org> mesa, glsl_to_tgsi: Add new gl_context::NativeIntegers flag.

Previously, native integer support was based on whether the driver
advertised GLSL 1.30 or not. However, drivers that natively support
integers may wish to do so for older GLSL versions as well. Adding this
new opt-in flag allows them to do so.

Currently disabled by default on all drivers, which was the existing
behavior (no drivers currently implement GLSL 1.30).

Fixes piglit tests on i965 with INTEL_GLSL_VERSION=130 set:
- spec/glsl-1.10/fs-uniform-int-110.shader_test
- spec/glsl-1.30/fs-uniform-int-130.shader_test
(it was doubly converting the data)

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
69dc529da241747888efefdf0d3e58479dd6248c 28-Jul-2011 Eric Anholt <eric@anholt.net> mesa: Remove dead "MemPool" field of gl_shader_state.
/external/mesa3d/src/mesa/main/mtypes.h
86adc2b29effb573c18eb0de7016cef605ab1edc 04-Jul-2011 Henri Verbeet <hverbeet@gmail.com> mesa: Allow sampling from units >= MAX_TEXTURE_UNITS in shaders.

The total number of units used by a shader is limited to MAX_TEXTURE_UNITS,
but the actual indices are only limited by MAX_COMBINED_TEXTURE_IMAGE_UNITS,
since they're shared between vertex and fragment shaders.

NOTE: This is a candidate for the 7.11 branch.

Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
f3f080e526017f9643fd25543b4e0039f1905f4b 22-Jun-2011 Brian Paul <brianp@vmware.com> mesa: update comment for gl_texture_unit
/external/mesa3d/src/mesa/main/mtypes.h
1d4eb8d5d82fca2bc6689cff90a8b971feac8054 19-Oct-2010 Kenneth Graunke <kenneth@whitecape.org> mesa: Add ARB_shader_texture_lod to the extension list; off by default.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
a19c42ffc606b594558a0c4f981662442ad6bb83 03-May-2011 Marek Olšák <maraeo@gmail.com> mesa: implement AMD_seamless_cubemap_per_texture
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
e4da46e007de5c83202976a12efb0e894494a354 21-Apr-2011 Eric Anholt <eric@anholt.net> mesa: Add some comments about FRAG_RESULT_COLOR vs FRAG_RESULT_DATAn.

This came from reading what swrast does, and 965 now behaves the same
and gallium appears to as well.
/external/mesa3d/src/mesa/main/mtypes.h
4d203a01e20dedcfaab09c18922e8ed9dcb39729 16-Apr-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Kill gl_fragment_program::FogOption with fire

All drivers expect this to always be GL_NONE. Don't let there be any
opportunity for a bad value to leak out and infect some unsuspecting
driver. If any driver for hardware that had fixed-function
per-fragment fog (i915 and perhaps some r300-ish) was ever going to
add support, it would have done it by now.

Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Acked-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
155200c15431f8364114d9a37ec527af81c773a5 15-Apr-2011 Eric Anholt <eric@anholt.net> mesa: Add a gl_renderbuffer.RowStride field like textures have.

This will allow some drivers to reuse the core renderbuffer.c get/put
row functions in place of using the spantmp.h macros. Note that
unlike textures, we use a signed integer here to allow for handling
FBO orientation.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
348ea34d0310cc862ad3c078d8703c6c1f0b602f 15-Apr-2011 Eric Anholt <eric@anholt.net> mesa: Repack single-byte fields in gl_renderbuffer.

Cuts 8 out of 120 bytes in the struct.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
91226ce6487e9ea9c21f5a269f63cf98affa8ef4 15-Apr-2011 Eric Anholt <eric@anholt.net> mesa: Remove renderbuffer deletion debug field.

It has presumably served its purpose by now, and other object deletion
doesn't do this.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
ecfaab88b2577bd0395bc05d75a036126806a9c4 10-Apr-2011 Brian Paul <brianp@vmware.com> mesa: move sampler state into new gl_sampler_object type

gl_texture_object contains an instance of this type for the regular
texture object sampling state. glGenSamplers() generates new instances
of gl_sampler_object which can override that state with glBindSampler().
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
0be369975fdfa79bcb702d0c13aa0a221055f61b 18-Mar-2011 Marek Olšák <maraeo@gmail.com> mesa: initial EXT_texture_snorm support

The component ordering of some formats has been been reversed to match
Gallium types.
/external/mesa3d/src/mesa/main/mtypes.h
e5c6a92a12b5cd7db205d72039f58d302b0be9d5 15-Feb-2011 Marek Olšák <maraeo@gmail.com> mesa: implement clamping controls (ARB_color_buffer_float)

Squashed commit of the following:

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

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

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

mesa: document known possible deviations from ARB_color_buffer_float

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

mesa: expose GL_ARB_color_buffer_float

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

mesa, mesa/st: handle read color clamping properly

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

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

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

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

mesa: respect color clamping in texenv programs (v2)

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

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

mesa: restore color clamps on glPopAttrib

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

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

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

mesa: introduce derived _ClampXxxColor state resolving FIXED_ONLY

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

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

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

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

mesa: add unclamped color parameters
/external/mesa3d/src/mesa/main/mtypes.h
12b9e079665915e610c1dbb5f830057bb319efbb 23-Mar-2011 Brian Paul <brianp@vmware.com> mesa: remove unused _MESA_NEW_NEED_NORMALS
/external/mesa3d/src/mesa/main/mtypes.h
7ecb61c30c4984a8513b306b640f9d274d8ecf61 23-Mar-2011 Brian Paul <brianp@vmware.com> mesa: remove _MESA_NEW_TRANSFER_STATE
/external/mesa3d/src/mesa/main/mtypes.h
5fc5820cbc0faf57a48154466b4792294841a690 16-Mar-2011 José Fonseca <jfonseca@vmware.com> mesa: Use typecast in BITFIELD64_BIT macro.

Unsigned long is 32bit on several platforms (e.g., Windows), yielding
1UL << 32 to be zero.

Note that BITFIELD64_BIT result is often assigned to variables of type
GLbitfield, instead of GLbitfield64. That's probably wrong and should be
addressed in a later change.
/external/mesa3d/src/mesa/main/mtypes.h
d029ba9ec0750f9ba3a6291745c986105b4ffbdb 15-Mar-2011 Brian Paul <brianp@vmware.com> mesa: use 1UL for 64-bit unsigned constant for C++

This fixes C++ warnings where BITFIELD64_BIT() is used.
/external/mesa3d/src/mesa/main/mtypes.h
867f9b07d42c2b49ddb9e5bb17f0ac5c4a80d8ac 08-Mar-2011 Marek Olšák <maraeo@gmail.com> mesa: add NV_texture_barrier
/external/mesa3d/src/mesa/main/mtypes.h
07c420a3c6799a744088f1bbe1c1a5ff157a1771 13-Mar-2011 Eric Anholt <eric@anholt.net> Revert "mesa: Track a computed _CurrentFragmentProgram for current gl_shader_program"

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

This is like how we track FragmentProgram._Current for the computed
ARB fragment program for fixed function texenv, but this gives direct
access to the gl_shader_program for drivers to codegen from, skipping
ARB_fp.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
69f16accd0aa3b8d414092a5e52ccc99649da01a 07-Mar-2011 Marek Olšák <maraeo@gmail.com> mesa: add ATI_texture_compression_3dc

LUMINANCE_ALPHA_LATC2 = LUMINANCE_ALPHA_3DC, so this is easy.

Note that there is no specification for 3DC, just a few white papers
from ATI.
/external/mesa3d/src/mesa/main/mtypes.h
7d16e2c0cd70dc5a23b746dbc8e44c58366b5353 07-Mar-2011 Marek Olšák <maraeo@gmail.com> mesa: add EXT_texture_compression_latc

The encoding/decoding algorithms are shared with RGTC.
Thanks to some magic with the base format, the RGTC texstore functions work
for LATC too.

swrast passes the related piglit tests besides two things:
- The alpha channel is wrong (it's always 1), however the incorrect alpha
channel makes some other tests fail too, so I guess it's unrelated to LATC.
- Signed LATC fetches aren't correct yet (signed values are clamped to [0,1]),
however RGTC has the same problem.

Further testing (with other of my patches) shows that hardware drivers
and softpipe work.

BTW, ETQW uses this extension.
/external/mesa3d/src/mesa/main/mtypes.h
df818d572e4ddb1ceccd22a538bf98ce01caffee 06-Mar-2011 Marek Olšák <maraeo@gmail.com> mesa: invalidate framebuffer if internal format of renderbuffer is changed

RenderTexture doesn't have to be called in invalidate_rb, I guess.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
9d20849516fe34bb0a430b007cef7878858cf0c7 01-Mar-2011 Brian Paul <brianp@vmware.com> mesa: remove GL_SGI_texture_color_table support

It was only implemented in the swrast driver and probably not used by
any applications. A modern app would use a dependent/chained texture
lookup in the fragment shader.
/external/mesa3d/src/mesa/main/mtypes.h
30ed4ced1161ef61efd10de81ff3324d0e7ff39e 17-Feb-2011 Brian Paul <brianp@vmware.com> mesa: remove the MESA_NO_DITHER env var

This was sometimes useful back when 16-bit framebuffers were prominent.
/external/mesa3d/src/mesa/main/mtypes.h
fc5ab1b19780ef97c5e7f6257a2d91121503bd53 16-Feb-2011 Brian Paul <brianp@vmware.com> mesa: use gl_format type instead of GLuint
/external/mesa3d/src/mesa/main/mtypes.h
cfaf217135d8a8e903b3fbf380f18170df018f0c 12-Feb-2011 Marek Olšák <maraeo@gmail.com> vbo: bind arrays only when necessary

We don't need to call bind_arrays in the vbo module if the states
which the function depends on are not dirty.
/external/mesa3d/src/mesa/main/mtypes.h
3ee97ead0b827e6c6a40ec1a326f9d01d5e5b413 11-Feb-2011 Brian Paul <brianp@vmware.com> mesa: remove some unused gl_shader fields
/external/mesa3d/src/mesa/main/mtypes.h
3b0c2eb07cdffe372f816cc30a3e6108a510e946 09-Feb-2011 Brian Paul <brianp@vmware.com> mesa: remove unused BITFIELD64 macros
/external/mesa3d/src/mesa/main/mtypes.h
88ffa9ce5b8e5fe2b93238f8b9a7a888be28324e 28-Jan-2011 Dave Airlie <airlied@gmail.com> mesa/965: add support for GL_EXT_framebuffer_sRGB (v2)

This adds i965 support for GL_EXT_framebuffer_sRGB, it introduces a new
constant to say that the driver can support sRGB enabled FBOs since enabling
the extension doesn't mean the driver can actually support sRGB.

Also adds the suggested state flush in the core code suggested by Brian.

fix the ARB_fbo color encoding.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
a1b83464ffb1125b77e6f5664e0071f95167055d 27-Jan-2011 Chad Versace <chad.versace@intel.com> mesa: Propagate gl_FragDepth layout from GLSL IR to Mesa IR
/external/mesa3d/src/mesa/main/mtypes.h
1aeecaa43346d5ab6feec5d7caf28bd5ce53a32b 27-Jan-2011 Chad Versace <chad.versace@intel.com> mesa: Add AMD_conservative_depth to extension list

The extension is off by default.

First in a patchset that implements support for AMD_conservative_depth in
the compiler.
/external/mesa3d/src/mesa/main/mtypes.h
fb7efb1b194831cc6cb0b69291949ac693f20f25 23-Jan-2011 Brian Paul <brianp@vmware.com> mesa: get rid of _NEW_ACCUM, clean-up _NEW_* #defines

The _NEW_ACCUM flag was only set when changing the accumulation
buffer clear color and never used anywhere. Reclaim that dirty bit.
Clean up the definitions of the other dirty bit flags.
/external/mesa3d/src/mesa/main/mtypes.h
a637280e42b9a2f4ccbb5e7b209c5645073f584e 17-Jan-2011 Dave Airlie <airlied@redhat.com> mesa: EXT_framebuffer_sRGB interface additions.

This adds the get/enable enums and internal gl_config storage
for this extension.

In theory this is all that is needed to enable this extension
from what I can see, since its not mandatory to implement the
features if you don't advertise the visuals or the fb configs.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
887d2b647bae7f6536bab08649bad9f799995d08 20-Jan-2011 Brian Paul <brianp@vmware.com> mesa: clean-up _mesa_lookup_prim_by_nr()

Remove the redundant public _mesa_prim_name[] array.
/external/mesa3d/src/mesa/main/mtypes.h
fe49dcb3b03454ec1451b610ea89f2374946e090 20-Jan-2011 Brian Paul <brianp@vmware.com> mesa: move extra prim mode #defines
/external/mesa3d/src/mesa/main/mtypes.h
cfae745a8bcbc108611178b69c645cfe29f28b37 20-Jan-2011 Brian Paul <brianp@vmware.com> mesa: minor formatting fixes
/external/mesa3d/src/mesa/main/mtypes.h
751fe9058bc15f4f8608f0fdc02209542991ff23 20-Jan-2011 Brian Paul <brianp@vmware.com> mesa: document sRGBDecode field
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
edc2dd8e4788e556d445c9f59974ed95b33c2bbc 12-Jan-2011 Dave Airlie <airlied@gmail.com> mesa/swrast: implement EXT_texture_sRGB_decode

This implements the extension by choosing a different set of texture
fetch functions when the texture parameter changes.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
74713e2d293f9e796a4053a5a99ee5cb7df5c740 11-Jan-2011 Brian Paul <brianp@vmware.com> mesa: begin implementation of GL_ARB_draw_buffers_blend
/external/mesa3d/src/mesa/main/mtypes.h
1d1eb9578716913f4133786b30c6e6edc69a8a0c 15-Jan-2011 Brian Paul <brianp@vmware.com> mesa: support for GL_ARB_instanced_arrays
/external/mesa3d/src/mesa/main/mtypes.h
652901e95b4ed406293d0e1fabee857c054119b1 15-Jan-2011 Brian Paul <brianp@vmware.com> Merge branch 'draw-instanced'

Conflicts:
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/drivers/llvmpipe/lp_state_fs.c
src/glsl/ir_set_program_inouts.cpp
src/mesa/tnl/t_vb_program.c
9c6954fc9d254e0d6dc9bc7aac5badee04fe0f9b 14-Jan-2011 Eric Anholt <eric@anholt.net> mesa: Add extension enable bit for GL_ARB_ES2_compatibility.
/external/mesa3d/src/mesa/main/mtypes.h
78838b2d1bd88f948030cd60479b832b661ccd3c 13-Jan-2011 Chad Versace <chad.versace@intel.com> mesa: Change OES_standard_derivatives to be stand-alone extension

Add a bit in struct gl_extensions for OES_standard_derivatives, and enable
the bit by default. Advertise the extension only if the bit is enabled.

Previously, OES_standard_derivatives was advertised in GLES2 contexts
if ARB_framebuffer_object was enabled.
/external/mesa3d/src/mesa/main/mtypes.h
9b260c377f5b437b7e03607fefa022459ef758ed 09-Jan-2011 Chad Versace <chad.versace@intel.com> mesa: Refactor handling of extension strings

Place GL, GLES1, and GLES2 extensions in a unified extension table. This
allows one to enable, disable, and query the status of GLES1 and GLES2
extensions by name.

When tested on Intel Ironlake, this patch did not alter the extension
string [as given by glGetString(GL_EXTENSIONS)] for any API.

Reviewed-by: Ian Romanick <idr@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
c6d74bcbfcb54e0c03f4c3d7e82bc1267f36ffe4 09-Dec-2010 Brian Paul <brianp@vmware.com> mesa: add PROGRAM_SYSTEM_VALUE and related tokens

System values are shader inputs which don't necessarily change from
vertex to vertex or fragment to fragment. gl_InstanceID and
gl_FrontFacing are examples.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
c4285be9a5bd1adaa89050989374b95a9a601cdc 25-Nov-2010 Ian Romanick <ian.d.romanick@intel.com> glsl: Lower ir_binop_pow to a sequence of EXP2 and LOG2
/external/mesa3d/src/mesa/main/mtypes.h
c628fd743ee3c3305e9beac7f0e6efacf6982115 23-Nov-2010 Brian Paul <brianp@vmware.com> mesa: replace #defines with new gl_shader_type enum
/external/mesa3d/src/mesa/main/mtypes.h
aad65fa112754074d24d0b5a8397db2663dc9454 08-Nov-2010 Roland Scheidegger <sroland@vmware.com> mesa: remove unneeded DD_POINT_SIZE and DD_LINE_WIDTH tricaps

DD_POINT_SIZE was broken for quite some time, and the only driver (r200) relying
on this no longer needs it.
Both DD_POINT_SIZE and DD_LINE_WIDTH have no users left outside of debugging
output, hence instead of fixing DD_POINT_SIZE setting just drop both of them -
there was a plan to remove tricaps flags entirely at some point.
/external/mesa3d/src/mesa/main/mtypes.h
0fefafb2e46fa7ead35ef05fda10368af0970c88 02-Nov-2010 Brian Paul <brianp@vmware.com> mesa: move the gl_config struct declaration

It was in the middle of the lighting-related structures before.
Also add some info about field sizes in this structure.
/external/mesa3d/src/mesa/main/mtypes.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/mtypes.h
d1184d26bb14304a6a61d7729c90a7c7f3627086 29-Oct-2010 Brian Paul <brianp@vmware.com> mesa: add gl_client_array::Integer field and related vertex array state code
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
75c6f472880706dcbb9d1e20727fa8f71db8b11c 12-Oct-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Track an ActiveProgram distinct from CurrentProgram

ActiveProgram is the GL_EXT_separate_shader_objects state variable
used for glUniform calls. glUseProgram also sets this.
/external/mesa3d/src/mesa/main/mtypes.h
b97794c041f848a5c9481cfeac6401f5dc9f0e48 12-Oct-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Add infrastructure to track GL_EXT_separate_shader_objects
/external/mesa3d/src/mesa/main/mtypes.h
f681ea4741c8136b2c169ff17c9d5b49b1d791ba 23-Oct-2010 Brian Paul <brianp@vmware.com> mesa: added new gl_framebuffer::_IntegerColor field
/external/mesa3d/src/mesa/main/mtypes.h
9ee07a0a27f515c11ae6d3061565863da757a8ed 23-Oct-2010 Brian Paul <brianp@vmware.com> mesa: added new gl_extensions::EXT_gpu_shader4 field
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/mtypes.h
31aca27c08d6a385c595d34fe4ee06390bf5b0e8 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLframebuffer typedef and just use struct gl_framebuffer
/external/mesa3d/src/mesa/main/mtypes.h
d3491e775fb07f891463b2185d74bbad62f3ed24 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Rename GLvisual and __GLcontextModes to struct gl_config
/external/mesa3d/src/mesa/main/mtypes.h
705e142dda047f24b563fc2bea0f922173e91d1b 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> gl: Remove unused GLcontextModes fields
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
d9671863eaae41ba28b6fe82e3e7d1dac12f514c 06-Oct-2010 Dave Airlie <airlied@redhat.com> glsl: add support for shader stencil export

This adds proper support for the GL_ARB_shader_stencil_export extension
to the GLSL compiler. Thanks to Ian for pointing out where I need to add things.
/external/mesa3d/src/mesa/main/mtypes.h
bec341d00c5fbc9c5f1c19c1b6729de636ffbfcb 06-Oct-2010 Dave Airlie <airlied@redhat.com> mesa: add support for FRAG_RESULT_STENCIL.

this is needed to add support for stencil shader export.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
1d595c7cd4aefc7baf1942626f53bec8f6699f7f 07-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> gles2: Add GL_EXT_texture_format_BGRA8888 support
/external/mesa3d/src/mesa/main/mtypes.h
e2a054b70cb5dace40fc1426cbf936366dc72fb9 02-Oct-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Add ARB_texture_compression_rgtc as an alias for EXT_texture_compression_rgtc

Change the name in the extension tracking structure to ARB (from EXT).
/external/mesa3d/src/mesa/main/mtypes.h
02984e3536bf9a4f149916b45d727659c8dc9a7c 18-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> Remove GL_EXT_cull_vertex

This is only used in the i915 driver where it provides little benefit
for very few applications that use it with fixed function TNL.
/external/mesa3d/src/mesa/main/mtypes.h
4b1f98241f9601c2b163bb41e45aa567f9cd61dd 18-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> Remove GL_MESA_packed_depth_stencil

This extension was never enabled in any driver.
/external/mesa3d/src/mesa/main/mtypes.h
a62efdf82c20747feb11dfd7756f0579aa914b57 10-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Remove EXT_convolution.

More optional code.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
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/mtypes.h
907a6734fcd427a6ac6fe5fcfbeac5d6054d82ae 10-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Remove the non-required ARB_imaging extension.

Many of the EXT_ extensions in the subset have significant code
overhead with no users. It is not a required part of GL -- though
text describing the extension is part of the core spec since 1.2, it
is always conditional on the ARB_imaging extension.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
a6ecd1c3724a78b76ab9e81ea39632f1279021f8 16-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> glsl2: Add flags to enable variable index lowering
/external/mesa3d/src/mesa/main/mtypes.h
83f5f50f2f69adae497c71ac48e4e0177979ebff 14-Sep-2010 Brian Paul <brianp@vmware.com> mesa: move, redefine MESA_GEOMETRY_PROGRAM
/external/mesa3d/src/mesa/main/mtypes.h
d8a36620089e72d431ae853ec168f193f3376782 10-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove unused Emit flags from gl_shader_compiler_options
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
2b70dbfe091af5ae7c788e16275e1af2cb1c284c 10-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> glsl2: Add EmitNoNoise flag, use it to remove noise opcodes
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
e591c4625cae63660c5000fbab366e40fe154ab0 05-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> glsl: add several EmitNo* options, and MaxUnrollIterations

This increases the chance that GLSL programs will actually work.

Note that continues and returns are not yet lowered, so linking
will just fail if not supported.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
6d3a2c97f4a78e85545286e0e126cd3a27bd1cbd 05-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> glsl: make compiler options per-target

This allows us to specify different options, especially useful for chips
without unified shaders.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
ede4205b245ee58bacf866d298273ebbe31feacf 06-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> mesa: add PIPE_SHADER_* like constants and conversions to/from enums (v2)

Changes in v2:
- No longer adds tessellation enums
/external/mesa3d/src/mesa/main/mtypes.h
8680c1324097ec3df51e8bf6f25a3347df6f798c 03-Sep-2010 Brian Paul <brianp@vmware.com> mesa: fix up a comment
/external/mesa3d/src/mesa/main/mtypes.h
f90b5936d07c4c8f280318ab5cf5894ecb67aef6 23-Aug-2010 Chia-I Wu <olv@lunarg.com> mesa: Add core.h.

core.h is the public header of core mesa. GLX, WGL, and GLSL are
supposed to include this header file. It should be noted that headers
included by core.h must not perform feature tests (#if FEATURE_xxx).
Otherwise, we cannot, for example, mix a FEATURE_ES2 libmesagallium.a
with a FEATURE_GL libglsl.a.
/external/mesa3d/src/mesa/main/mtypes.h
6c03c576cc49bbb008de66d374f4302ff0fe0390 17-Aug-2010 Ian Romanick <ian.d.romanick@intel.com> Merge branch 'glsl2'

Conflicts:
src/mesa/program/prog_optimize.c
443a7e4e9a360acbc3e662c098be436f180bf81d 14-Aug-2010 Ian Romanick <ian.d.romanick@intel.com> Merge branch 'master' into glsl2
f6ca938bcb7ebf82721590c8e4059ebf4d073a0b 10-Aug-2010 Brian Paul <brianp@vmware.com> mesa: remove obsolete comments
/external/mesa3d/src/mesa/main/mtypes.h
9846b0627149e221c9fbd7c3379e33fb68e68511 01-Aug-2010 Vinson Lee <vlee@vmware.com> mesa: Remove inclusion of compiler.h from mtypes.h.

mtypes.h does not use any symbols from compiler.h.

Also add the required headers for files that depended on symbols from
compiler.h but were indirectly including compiler.h through mtypes.h.
/external/mesa3d/src/mesa/main/mtypes.h
56643096f1eb01eefa1a532ac096b32d23b6b8ba 30-Jul-2010 Brian Paul <brianp@vmware.com> mesa: added gl_program::IndirectRegisterFiles field

Now drivers, etc. can know which register files are accessed with
indirect addressing. Before we just checked gl_program::NumAddressRegs
but didn't know if that was the constant buffer, temp regs, or what.

The only user of this new field so far will be the gallium state tracker.
/external/mesa3d/src/mesa/main/mtypes.h
afe125e0a18ac3886c45c7e6b02b122fb2d327b5 27-Jul-2010 Eric Anholt <eric@anholt.net> Merge remote branch 'origin/master' into glsl2

This pulls in multiple i965 driver fixes which will help ensure better
testing coverage during development, and also gets past the conflicts
of the src/mesa/shader -> src/mesa/program move.

Conflicts:
src/mesa/Makefile
src/mesa/main/shaderapi.c
src/mesa/main/shaderobj.h
d5be2acae379783c4aa31243e0a88a9e67e6ca7e 20-Jul-2010 Ian Romanick <ian.d.romanick@intel.com> linker: Link built-in functions instead of including them in every shader

This is an invasive set of changes. Each user shader tracks a set of other
shaders that contain built-in functions. During compilation, function
prototypes are imported from these shaders. During linking, the
shaders are linked with these built-in-function shaders just like with
any other shader.
/external/mesa3d/src/mesa/main/mtypes.h
25f51d3b9b8c36c41cd23d2797b6a06f6e27ff86 17-Jul-2010 Ian Romanick <ian.d.romanick@intel.com> linker: Track and validate GLSL versions used in shaders
/external/mesa3d/src/mesa/main/mtypes.h
95c08920ea3d040360e5cc51d8a852d21a0329ee 19-Jul-2010 Eric Anholt <eric@anholt.net> i915: Ask the compiler to flatten out all the if statements that it can.
/external/mesa3d/src/mesa/main/mtypes.h
7c42390453e611367cf1ba11446692ec04e0abfb 07-Jul-2010 Zack Rusin <zackr@vmware.com> gs: inject const int gl_VerticesIn at link time
/external/mesa3d/src/mesa/main/mtypes.h
6988f65e43297ae63bbce30bf882f870b370096c 08-Jul-2010 Brian Paul <brianp@vmware.com> mesa: initial support for new GL 3.0 texture formats
/external/mesa3d/src/mesa/main/mtypes.h
ae8164a67b05cdc6d9b520b9704330537f3a6024 02-Jul-2010 Brian Paul <brianp@vmware.com> mesa: add geometry shader fields to gl_shader_program

These 3 fields are per shader-program. Copy them into the geometry
program at link time for convenient access later.

Also, add some missing glGetProgramiv() queries.
/external/mesa3d/src/mesa/main/mtypes.h
e3c961de3696911d8ab1351e64bd6e904de103d0 02-Jul-2010 Brian Paul <brianp@vmware.com> main: change some GS field types, added comments
/external/mesa3d/src/mesa/main/mtypes.h
44732103b2b7a8765299e586fb3b9bf91e32f6d4 02-Jul-2010 Brian Paul <brianp@vmware.com> mesa: extension flags and version testing for GL 3.x features
/external/mesa3d/src/mesa/main/mtypes.h
ef5f1948316664055c1444d12076c7d86589a8b9 30-Jun-2010 Ian Romanick <ian.d.romanick@intel.com> linker: Don't dynamically allocate slots for linked shaders

The can be at most one shader per stage. There are currently only two
stages. There is zero reason to dynamically size this array.
/external/mesa3d/src/mesa/main/mtypes.h
849e18153cd91d812f694b806a84008498860bc3 30-Jun-2010 Eric Anholt <eric@anholt.net> glsl2: Use Mesa's gl_shader_program instead of our own struct glsl_program.

This avoids more allocation and shuffling of data around.
/external/mesa3d/src/mesa/main/mtypes.h
16b68b1952d0da14b9ce8306efa64988ce46b4b7 30-Jun-2010 Eric Anholt <eric@anholt.net> glsl2: Move our data from a glsl_shader* on the side to the main gl_shader *.

This saves recompiling at link time. gl_shader->ir is made a pointer
so that we don't have to bring exec_list into mtypes.h.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
fef6e36e0736a68e24d7844bae65a01de8359214 11-May-2010 Brian Paul <brianp@vmware.com> mesa: more transform feedback infrastructure

Includes GL_ARB_transform_feedback2 which encapsulates transform feedback
state in objects.
/external/mesa3d/src/mesa/main/mtypes.h
bef9460dcdbda9e3f4caa55871d21cd42a0984ed 05-May-2010 Brian Paul <brianp@vmware.com> mesa: remove trailing comma in enum list

Some compilers complain about this.
/external/mesa3d/src/mesa/main/mtypes.h
08fae07f5246052dccdd89689e27dc8820a24ff7 25-Apr-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Handle GL_TEXTURE_GEN_STR_OES in _mesa_Enable()
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
a40e6f220ac7e41126b9815db27d362bda719bf6 21-Apr-2010 Brian Paul <brianp@vmware.com> mesa: API and state for GL 3.1 primitive restart
/external/mesa3d/src/mesa/main/mtypes.h
bd1d35fb5d3c889b11de5a1d493f711fc091fbed 21-Apr-2010 Brian Paul <brianp@vmware.com> mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK query
/external/mesa3d/src/mesa/main/mtypes.h
2002e4d06e2627241cd4af88f65b54d2101ef151 06-Apr-2010 Chia-I Wu <olv@lunarg.com> mesa: Add OES_EGL_image to extension list.
/external/mesa3d/src/mesa/main/mtypes.h
3258dfbbbda69b46003362e94e75129c277c7a61 05-Apr-2010 Brian Paul <brianp@vmware.com> mesa: new extension flag for GL_EXT/ARB_draw_instanced
/external/mesa3d/src/mesa/main/mtypes.h
066f0097959fe705c57556b658a09af0ba6be8fb 31-Mar-2010 Brian Paul <brianp@vmware.com> mesa: initial data structures for transform feedback
/external/mesa3d/src/mesa/main/mtypes.h
00225af999acabcd5eced0b075b0a56018fd5eb8 20-Mar-2010 Brian Paul <brianp@vmware.com> mesa: added GL3 ContextFlags field and query code
/external/mesa3d/src/mesa/main/mtypes.h
99864d595f7d4c13e9548f83d5972db9af64e67b 13-Nov-2009 Chris Wilson <chris@chris-wilson.co.uk> APPLE_object_purgeable: core

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/main/mtypes.h
06ceba0a7cab39e770a68b3ae8b8b4f17c0347d2 25-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove unused RasterIndex field

With the preceeding changes, gl_current_attrib::RasterIndex is not
used. Remove it.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
1edd444c2e9afadb56df55682ae606b5cefd811c 26-Feb-2010 Brian Paul <brianp@vmware.com> mesa: added new extension flag for GL_EXT_texture_array
/external/mesa3d/src/mesa/main/mtypes.h
eeec2c3d951fed0d22e5dbf436d4a2d887e24221 08-Feb-2010 Michal Krol <michal@vmware.com> mesa: Protect buffer objects reference counting with a mutex.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
ea81daf9544205b892926bdbbcdfdfc63fd7d872 03-Feb-2010 Brian Paul <brianp@vmware.com> mesa: re-dimension RasterTexCoords and CoordReplace

These are limited to the number of texture coordinate units.
/external/mesa3d/src/mesa/main/mtypes.h
cfe884e2030466df673881da8e830c300dda40db 18-Jan-2010 Dave Airlie <airlied@linux.ie> mesa: add core support for ARB_half_float_vertex.

Adds the extension to the list + support to the APIs.

also add t_draw.c support to convert for sw rast.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
e59353f592ef587d34279f0735f06053e289a7b4 21-Jan-2010 Luca Barbieri <luca@luca-barbieri.com> mesa: support for GL_ARB_fragment_coord_conventions

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
562c127693200822f04a145db50add1be2425d7b 12-Jan-2010 Chia-I Wu <olvaffe@gmail.com> Merge branch 'master' into opengl-es-v2

Conflicts:
src/mesa/main/dd.h
e16fd07225b07e87b79015988b9806aefa032dd3 06-Jan-2010 Brian Paul <brianp@vmware.com> mesa: added version fields to GLcontext
/external/mesa3d/src/mesa/main/mtypes.h
f6c2d1f94ffa8f87b22ed1ff5c465d0e9aa1489e 05-Jan-2010 Brian Paul <brianp@vmware.com> mesa: make texture BorderColor a union of float/int/uint

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

With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions
can set the border color to int or uint values.
/external/mesa3d/src/mesa/main/mtypes.h
2be0d77a97cbe92f09dd97fb85a3d5372e52ad4c 30-Dec-2009 Brian Paul <brianp@vmware.com> mesa: add flag for GL_NV_conditional_render extension
/external/mesa3d/src/mesa/main/mtypes.h
0fbe828c1d2a7e7d9155a3ef64e91da4ec2b79ee 30-Dec-2009 Brian Paul <brianp@vmware.com> mesa: _mesa_Begin/EndConditionalRender() functions

For GL_NV_conditional_render and GL3.

The drawing functions don't check the query object yet.
No API dispatch yet.
/external/mesa3d/src/mesa/main/mtypes.h
802b80893943cf129039a37fb2afe26444b09332 30-Dec-2009 Brian Paul <brianp@vmware.com> mesa: implement GL3 GL_NUM_EXTENSIONS query
/external/mesa3d/src/mesa/main/mtypes.h
8f6f1124634cf659dde4c75549b84e35505d892d 30-Dec-2009 Brian Paul <brianp@vmware.com> mesa: added infrastructure for GL_EXT_draw_buffers2
/external/mesa3d/src/mesa/main/mtypes.h
fd5511d27fc44096117c47ab503fb5b47f993061 30-Dec-2009 Brian Paul <brianp@vmware.com> mesa: implement per-buffer color masking

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

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

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

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

This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x

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

Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in
drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0
unless GL_EXT_draw_buffers2 is enabled.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
853d4807fe220b17cf5af5a76b24f2466238013b 01-Dec-2009 Michal Krol <michal@vmware.com> mesa: Update vertex texture code after gallium changes.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
4d6ec214396461c0cf3ad8ede449b299ff06c1aa 12-Nov-2009 Ian Romanick <ian.d.romanick@intel.com> ARB_fbo: Enable GL_EXT_framebuffer_multisample

All of this functionality is already included in ARB_fbo. This just
enables the string.

I was a bit lazy in using FEATURE_ARB_framebuffer_object for this
feature as well. I don't think it makes much difference in the long run.
/external/mesa3d/src/mesa/main/mtypes.h
34064756a5e2c8952c9de26eaebafddabd562540 22-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/es: Add support for GL_OES_draw_texture.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
960d49b387ff4b64f802097c5013beee4de3649d 29-Oct-2009 Brian Paul <brianp@vmware.com> mesa: move some gl_texture_image and gl_renderbuffer fields around
/external/mesa3d/src/mesa/main/mtypes.h
1f196b786d6bd0c6a5dbdc638574ff716cc3d4de 29-Oct-2009 Brian Paul <brianp@vmware.com> Merge branch 'texformat-rework'

Conflicts:
src/mesa/drivers/dri/radeon/radeon_fbo.c
src/mesa/drivers/dri/s3v/s3v_tex.c
src/mesa/drivers/dri/s3v/s3v_xmesa.c
src/mesa/drivers/dri/trident/trident_context.c
src/mesa/main/debug.c
src/mesa/main/mipmap.c
src/mesa/main/texformat.c
src/mesa/main/texgetimage.c
a335d334d45701a42c283257fa44f2f7148e186d 16-Oct-2009 Brian Paul <brianp@vmware.com> mesa: fix/update some comments
/external/mesa3d/src/mesa/main/mtypes.h
f0503726bf8113919e4b00fbca504d7cbdcd0151 16-Oct-2009 Brian Paul <brianp@vmware.com> mesa: move a comma
/external/mesa3d/src/mesa/main/mtypes.h
2ee7fd8d584abf051c552f455aeb588e2936b0ea 15-Oct-2009 Brian Paul <brianp@vmware.com> mesa: added MESA_GLSL=useprog debug flag

This logs glUseProgram() calls to stderr.
/external/mesa3d/src/mesa/main/mtypes.h
2fd5cb713338e91999a036399a4bea4406687ca0 15-Oct-2009 Brian Paul <brianp@vmware.com> mesa: added VERBOSE_SWAPBUFFERS
/external/mesa3d/src/mesa/main/mtypes.h
ade1cc992410c8696fdfe0f84fb613fd0dc8099f 15-Oct-2009 Brian Paul <brianp@vmware.com> mesa: added MESA_VERBOSE option 'draw' to debug glDrawArrays/Elements, etc.
/external/mesa3d/src/mesa/main/mtypes.h
d9099f8602eb6d15e9fc2e0b0987e7a58fb98b68 14-Oct-2009 Brian Paul <brianp@vmware.com> mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it does
/external/mesa3d/src/mesa/main/mtypes.h
45e76d2665b38ba3787548310efc59e969124c01 09-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove a bunch of gl_renderbuffer fields

_ActualFormat is replaced by Format (MESA_FORMAT_x).
ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are
all replaced by MESA_FORMAT_x queries.
/external/mesa3d/src/mesa/main/mtypes.h
33e9ac20e3b399c6ec6ec2f586a9402b68590992 08-Oct-2009 Brian Paul <brianp@vmware.com> mesa: move gl_list_instruction and gl_list_extensions to dlist.c
/external/mesa3d/src/mesa/main/mtypes.h
32aa40eee46fd0b15f3873069f2440ea2dd75408 02-Oct-2009 Brian Paul <brianp@vmware.com> mesa: removed gl_texture_image::CompressedSize field

Just call ctx->Driver.CompressedTextureSize() when we need to get
the compressed image size.
/external/mesa3d/src/mesa/main/mtypes.h
b6bdafdf2cf1110b4a5ca7cf9e1c3dcb124b800f 02-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove gl_texture_image::IsCompressed field

Use _mesa_is_format_compressed() instead.
/external/mesa3d/src/mesa/main/mtypes.h
bdc761b0f9c8856193de6e8617c566851d010783 01-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove gl_texture_format
/external/mesa3d/src/mesa/main/mtypes.h
1f7c914ad0beea8a29c1a171c7cd1a12f2efe0fa 01-Oct-2009 Brian Paul <brianp@vmware.com> mesa: replace gl_texture_format with gl_format

Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum.
ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x.
gl_texture_format will go away next.
/external/mesa3d/src/mesa/main/mtypes.h
cb0de06301cd086a02ca709917819119dc1a8fd9 29-Sep-2009 Brian Paul <brianp@vmware.com> mesa: added nopfrag/nopvert options for MESA_GLSL

These options can be used to force vertex/fragment shaders to be no-op
shaders (actually, simple pass-through shaders). For debug/test purposes.
/external/mesa3d/src/mesa/main/mtypes.h
a608257a02d2ba4e8119be462bbd40ed238b184a 28-Sep-2009 Brian Paul <brianp@vmware.com> mesa: remove unused gl_texture_format fields
/external/mesa3d/src/mesa/main/mtypes.h
cccdc43fa9a8c49cdbdb545de8ff91c528b1ed47 28-Sep-2009 Brian Paul <brianp@vmware.com> mesa: move StoreTexImageFunc to texstore.h
/external/mesa3d/src/mesa/main/mtypes.h
05e73cc8e23e348ea8243dd2584a44ee5d3a4dd2 28-Sep-2009 Brian Paul <brianp@vmware.com> mesa: replace function pointer types with void *

These fields are no longer used and will be removed soon.
/external/mesa3d/src/mesa/main/mtypes.h
8130375e775bd5ba6a47412b0ea8ec9f23dc5972 26-Sep-2009 Ian Romanick <ian.d.romanick@intel.com> Merge branch 'asm-shader-rework-2'

Conflicts:
src/mesa/shader/program_parse.tab.c
e33ea11c143596d511331aceabbf60016869c304 24-Sep-2009 Brian Paul <brianp@vmware.com> mesa: remove: unused gl_vertex_program::TnlData field
/external/mesa3d/src/mesa/main/mtypes.h
29d27229a95837d085db785a2b4abb654457dafa 25-Sep-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_6_branch'

Conflicts:

src/mesa/vbo/vbo_exec_array.c
726a04a2cd1bf159a6c40584b4b2b9bc5948a82e 24-Sep-2009 Eric Anholt <eric@anholt.net> i965: Emit zero initialization for NV VP temporaries as required.

This is similar to what r300 does inside the driver, but I've added it as
a generic option since it seems most hardware will want it.

Fixes piglit nv-init-zero-reg.vpfp and nv-init-zero-addr.vpfp.
/external/mesa3d/src/mesa/main/mtypes.h
b8e1e8d2d8ae6ffbf8f271b46ee89788a926b3b0 11-Sep-2009 Ian Romanick <ian.d.romanick@intel.com> Merge branch 'master' into asm-shader-rework-2

Conflicts:
src/mesa/shader/lex.yy.c
src/mesa/shader/program_parse.tab.c
src/mesa/shader/program_parse.tab.h
92d7ed8a20d4a018ce5324e6537ae7b478b9e5bf 27-Aug-2009 Eric Anholt <eric@anholt.net> mesa: Add support for ARB_draw_elements_base_vertex.
/external/mesa3d/src/mesa/main/mtypes.h
b4922b533155cc139ebafb111502bb55d2ad2ccf 26-Aug-2009 Eric Anholt <eric@anholt.net> mesa: Add support for ARB_depth_clamp.

This currently doesn't include fixing up the cliptests in the assembly
paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
/external/mesa3d/src/mesa/main/mtypes.h
e059885ce357dee8b847f10e8e8c515a4a20042e 03-Sep-2009 Brian Paul <brianp@vmware.com> mesa: rename gl_sync_object::Status to StatusFlag

There's a symbol collision with X11/Xlib.h #define Status int
in the Mesa xlib code. This seems the simpliest way to work around this.
/external/mesa3d/src/mesa/main/mtypes.h
16b393d05990b6e917e144f9de87d0103b4c3e6d 31-Aug-2009 Ian Romanick <ian.d.romanick@intel.com> ARB sync: Fix delete behavior and context destruction behavior

I believe this resolves the outstanding issues WRT sync object
deletetion. I have also added a large comment at the top of syncobj.c
describing the expected memory management behavior. I'm still a
little uncertain about the locking on ctx->Shared.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
efff7aa980e78dc3ee1782308f0c9f3861c9992a 01-Sep-2009 Ian Romanick <ian.d.romanick@intel.com> NV fp: Add tracking for NV_fragment_program_option
/external/mesa3d/src/mesa/main/mtypes.h
2050baba9692600da7038dd18cbfee794caf4bf4 26-Aug-2009 Brian Paul <brianp@vmware.com> mesa: use gl_texture_index type for gl_program::SamplerTargets
/external/mesa3d/src/mesa/main/mtypes.h
9d5bb3c6f820a5a99e1f55b2fd14d250761fcddc 14-Aug-2009 Ian Romanick <ian.d.romanick@intel.com> Infrastructure for GL_ARB_seamless_cube_map
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
f3b215cba2bca92d6582cc0c34702b73289f909c 13-Aug-2009 Brian Paul <brianp@vmware.com> Merge branch 'new-frag-attribs'

This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment
program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these
attributes were packed with the FOG attribute. That made things
complicated elsewhere.
e9d9dab0cd8614898ecc2aceb49d8faf354cdbdf 10-Aug-2009 Brian Paul <brianp@vmware.com> mesa: added GLcontext::Meta field for meta rendering state
/external/mesa3d/src/mesa/main/mtypes.h
b501263bf5965aa89c408cb8f0db3688847a8384 04-Aug-2009 Brian Paul <brianp@vmware.com> mesa: added gl_shader::SourceChecksum field (for debug purposes)
/external/mesa3d/src/mesa/main/mtypes.h
9d0b8d72d8d704ff4d8e10448b60cbb42f07eecb 30-Jul-2009 Brian Paul <brianp@vmware.com> mesa: add new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs

Previously, the FOGC attribute contained the fragment fog coord, front/back-
face flag and the gl_PointCoord.xy values. Now each of those things are
separate fragment program attributes. This simplifies quite a few things in
Mesa and gallium.

Need to test i965 driver and fix up point coord handling in the gallium/draw
module...
/external/mesa3d/src/mesa/main/mtypes.h
b96ae1b2c463d6d99ee0418083ef68f4027b7cd7 18-Jul-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
progs/glsl/multitex.c
src/mesa/main/enums.c
src/mesa/main/state.c
src/mesa/main/texenvprogram.c
src/mesa/main/version.h
fdeb77899052302053459b8a840a747346e30468 15-Jul-2009 Keith Whitwell <keithw@vmware.com> mesa: recognize and eliminate repeated error messages
/external/mesa3d/src/mesa/main/mtypes.h
862488075c5537b0613753b0d14c267527fc6199 03-Jul-2009 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:
src/mesa/main/dlist.c
src/mesa/vbo/vbo_save_api.c
47173cf67f0ed55012b0820397f6d620d8ad4473 30-Jun-2009 Keith Whitwell <keithw@vmware.com> mesa/dlist: shortcircuit some redundant statechanges at compile time

Currently, state-changes in mesa display lists are more or less
a verbatim recording of the GL calls made during compilation.

This change introduces a minor optimization to recognize and eliminate
cases where the application emits redundant state changes, eg:

glShadeModel( GL_FLAT );
glBegin( prim )
...
glEnd()
glShadeModel( GL_FLAT );
glBegin( prim )
...
glEnd()

The big win is when we can eliminate all the statechanges between two
primitive blocks and combine them into a single VBO node.

This commit implements state-change elimination for Material and ShadeModel
only. This is enough to make a start on debugging, etc.
/external/mesa3d/src/mesa/main/mtypes.h
4031ea1520f582fa36a6b964de7d565fe33a538d 17-Jun-2009 Brian Paul <brianp@vmware.com> glsl: Added gl_shader_state::EmitContReturn field

This is the start of a glsl-continue-return feature branch to support
a GLSL code generator option for 'continue' and 'return' statements.
Some targets don't support CONT or RET statements so we'll need to
try to generate code that does not use them...
/external/mesa3d/src/mesa/main/mtypes.h
00e203fe17cbf2127abc422c785cf9fad3232adb 01-May-2009 Brian Paul <brianp@vmware.com> mesa: create/use a fallback texture when bound texture is incomplete

When a GLSL sampler reads from an incomplete texture it should
return (0,0,0,1). Instead of jumping through hoops in all the drivers
to make this happen, just create/install a fallback texture with those
texel values.

Fixes piglit/fp-incomplete-tex on i965 and more importantly, fixes some
GPU lockups when trying to sample from missing surfaces. If a binding
table entry is NULL, it seems that sampling sometimes works, but not
always (lockup).

Todo: create a fallback texture for each type of texture target?
(cherry picked from commit 3f25219c7bf0f090502489928f0f018e62c4f6cf)
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
f57280cc7360d0eee40df6d34befbfad2288d297 27-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'arb_vertex_array_object'
a18e209edb5348eb167e9d7184597031bbbbe622 27-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
src/gallium/drivers/softpipe/sp_screen.c
src/mesa/main/version.h
7ebadecd8758f2a4d965bc57068eccd05f9b1470 23-Jun-2009 Brian Paul <brianp@vmware.com> mesa: added extension flag for ARB_vertex_array_object
/external/mesa3d/src/mesa/main/mtypes.h
9342e6f5a94d3b884dcb98b4741295f1aa23e282 20-Jun-2009 Brian Paul <brianp@vmware.com> mesa: implement _mesa_GenVertexArrays() for GL_ARB_vertex_array_object

This also involves adding a gl_array_object::VBOonly field. For the
ARB extension, all arrays in the object must reside in a VBO. This flag
keeps track of that requirement.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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
e75b283b45add351dbe5a09289fe85546df8a79a 09-Jun-2009 Brian Paul <brianp@vmware.com> mesa: implement GL_ARB_map_buffer_range

Only enabled for software drivers at this point.

Note that the gl_buffer_object::Access enum field has been replaced by
a gl_buffer_object::AccessFlags bitfield. The new field is a mask of
the GL_MAP_x_BIT flags which is a superset of the old GL_READ_ONLY,
GL_WRITE_ONLY and GL_READ_WRITE modes. When we query GL_BUFFER_ACCESS_ARB
we translate the bitfield into the conventional enum values.
/external/mesa3d/src/mesa/main/mtypes.h
462a9525c78d5757afd2a8d4dc60afc68a69579b 08-Jun-2009 Brian Paul <brianp@vmware.com> mesa: reorder fields, update comments for gl_buffer_object
/external/mesa3d/src/mesa/main/mtypes.h
96a30b06dbc60ff63392cf8ae9dcb3d245b41c27 03-Jun-2009 Brian Paul <brianp@vmware.com> mesa: new state for GL_ARB_copy_buffer
/external/mesa3d/src/mesa/main/mtypes.h
89966cdb1b5974059c32308d74b5bb09943a6fa1 28-May-2009 Brian Paul <brianp@vmware.com> mesa: data structure updates for GL_EXT_provoking_vertex
/external/mesa3d/src/mesa/main/mtypes.h
2ead49f98bcc18ab0ebc7942de78e280ec56d77a 22-May-2009 Brian Paul <brianp@vmware.com> mesa: reduce gl_array_object::VertexAttrib[] array from 32 to 16 elements

This array was mistakenly dimensioned with VERT_ATTRIB_MAX (32) but it
should really be MAX_VERTEX_GENERIC_ATTRIBS (16).

The generic vertex attributes are in addition to the conventional arrays
(except in NV vertex program mode- they alias/overlay in that case) so
the total of all conventional attributes plus generic attributes should
total 32 (not 48).
/external/mesa3d/src/mesa/main/mtypes.h
8fa0cb2b422abaeee1b69f82ca7e9f02dc8393b9 21-May-2009 Brian Paul <brianp@vmware.com> mesa: added gl_array_object::Weight array field

We don't really implement vertex weights but in the VBO code this
fixes and odd case for the legacy_array[] setup. Before, the
vbo->draw_prims() call was always indicating that the vertex weight
array was present/enabled when it really wasn't.
/external/mesa3d/src/mesa/main/mtypes.h
15f21bf357980284d4aea6270f68bb9b83d26fbd 15-May-2009 Brian Paul <brianp@vmware.com> mesa: updated comment for _MaxElement field

It's the largest array index, plus one.
/external/mesa3d/src/mesa/main/mtypes.h
a185bcbdec856cc98c26098e4e447a683eed14d1 14-May-2009 Brian Paul <brianp@vmware.com> mesa: move gl_array_attrib::_MaxElement to gl_array_object::_MaxElement

This value is per array object.
/external/mesa3d/src/mesa/main/mtypes.h
5568f2f601fbd974af402da92548904f6fafc6dc 13-May-2009 Brian Paul <brianp@vmware.com> mesa: reference counting for gl_array_object

Every kind of object that can be shared by multiple contexts should be
refcounted.
(cherry picked from commit 1030bf0ded2a88a5e27f7a4d393c11cfde3d3c5a)
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
1030bf0ded2a88a5e27f7a4d393c11cfde3d3c5a 07-May-2009 Brian Paul <brianp@vmware.com> mesa: reference counting for gl_array_object

Every kind of object that can be shared by multiple contexts should be
refcounted.
/external/mesa3d/src/mesa/main/mtypes.h
9bb6684799f00fabc313ee50be671454e498d8a9 07-May-2009 Brian Paul <brianp@vmware.com> mesa: array object comments
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
6359ecebec860963886801656ab4e01c4e9ff988 06-May-2009 Brian Paul <brianp@vmware.com> mesa: remove unused gl_buffer_object::OnCard field
/external/mesa3d/src/mesa/main/mtypes.h
dcca97a3e3c1d8f5d27e1177257964eddb9effd3 06-May-2009 Brian Paul <brianp@vmware.com> mesa: added gl_buffer_object::Written flag (for debug purposes)

The flag is set when we data has been written into the buffer object.
/external/mesa3d/src/mesa/main/mtypes.h
b9d0f947f2bcc47047b162e3d7c8f91b6153e02c 06-May-2009 Brian Paul <brianp@vmware.com> mesa: Compute gl_client_array->_MaxElement during array validation

Used to be done in the glVertex/Normal/Color/etc/Pointer() calls but
if the VBO was reallocated the size could change.
New _NEW_BUFFER_OBJECT state flag.
/external/mesa3d/src/mesa/main/mtypes.h
0077c879b57f663c038becdde37b2f6671f59150 06-May-2009 Brian Paul <brianp@vmware.com> mesa: added _ElementSize field to gl_client_array

Will be handy for bounds checking later...
/external/mesa3d/src/mesa/main/mtypes.h
b102c1d8f9ea359879e6c1c4fd8c80c00d21cad5 06-May-2009 Brian Paul <brianp@vmware.com> mesa: fix/add comments
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
30b3d800917cc5b41ec508fd38a0ae1da8624a36 01-May-2009 Brian Paul <brianp@vmware.com> mesa: fix comment
/external/mesa3d/src/mesa/main/mtypes.h
3f25219c7bf0f090502489928f0f018e62c4f6cf 01-May-2009 Brian Paul <brianp@vmware.com> mesa: create/use a fallback texture when bound texture is incomplete

When a GLSL sampler reads from an incomplete texture it should
return (0,0,0,1). Instead of jumping through hoops in all the drivers
to make this happen, just create/install a fallback texture with those
texel values.

Fixes piglit/fp-incomplete-tex on i965 and more importantly, fixes some
GPU lockups when trying to sample from missing surfaces. If a binding
table entry is NULL, it seems that sampling sometimes works, but not
always (lockup).

Todo: create a fallback texture for each type of texture target?
/external/mesa3d/src/mesa/main/mtypes.h
64e331eb529e66ef678804594c8a3266c97e645f 21-Apr-2009 Brian Paul <brianp@vmware.com> mesa: new _NEW_PROGRAM_CONSTANTS flag

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

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

For now, we still set _NEW_PROGRAM in all the places we used to. We'll no
longer set _NEW_PROGRAM in glUniform() after drivers/etc have been updated.
/external/mesa3d/src/mesa/main/mtypes.h
7391ba1e9d81f15465059db25d1279eefdbeb1a9 03-Apr-2009 Brian Paul <brianp@vmware.com> mesa: rename some gl_light fields to be clearer

EyeDirection -> SpotDirection
_NormDirection -> _NormSpotDirection
/external/mesa3d/src/mesa/main/mtypes.h
7fbae9f41d79fc410f6c6638e26be0ff2be545bd 12-Mar-2009 Brian Paul <brianp@vmware.com> mesa: get rid of gl_texture_object::_BorderChan
/external/mesa3d/src/mesa/main/mtypes.h
bd9b2be8284fda3f8aac235908ded118b5648a38 09-Mar-2009 Brian Paul <brianp@vmware.com> mesa: texture combine clean-ups

Use MAX_COMBINER_TERMS instead of 4.
Rename some vars.
Update comments.
/external/mesa3d/src/mesa/main/mtypes.h
49fb750a6884c3f647f46270ffce8652f664f908 02-Apr-2009 Brian Paul <brianp@vmware.com> glsl: implement compiling/linking of separate compilation units

A shader program may consist of multiple shaders (source code units).
If we find there are unresolved functions after compiling the unit that
defines main(), we'll concatenate all the respective vertex or fragment
shaders then recompile.

This isn't foolproof but should work in most cases.
/external/mesa3d/src/mesa/main/mtypes.h
c6a6cc191813e8343a17b028146a34f193a6ce44 27-Mar-2009 Roland Scheidegger <sroland@vmware.com> mesa: add new signed rgba texture format

This is a (partial) backport of the signed texture format support in OGL 3.1.
Since it wasn't promoted from an existing extension roll our own.
/external/mesa3d/src/mesa/main/mtypes.h
65fc2ca82a38bc00ae4223124932af6771765041 19-Mar-2009 Brian Paul <brianp@vmware.com> glsl: change GLSL #pragma initialization

Initialize the shader's pragma settings before calling the compiler.
Added pragma "Ignore" fields to allow overriding the #pragma directives found
in shader source code.
/external/mesa3d/src/mesa/main/mtypes.h
29309b45b011b4c44721b8f7346272fb22a4d4c2 12-Mar-2009 Robert Ellison <papillo@vmware.com> i965: fix polygon stipple when rendering to FBO

The polygon stipple pattern, like the viewport and the
polygon face orientation, must be inverted on the i965
when rendering to a FBO (which itself has an inverted pixel
coordinate system compared to raw Mesa).

In addition, the polygon stipple offset, which orients
the stipple to the window system, disappears when rendering
to an FBO (because the window system offset doesn't apply,
and there's no associated FBO offset).

With these fixes, the conform triangle and polygon stipple
tests pass when rendering to texture.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
6dceeb2eb804d708639d68a13a924d65f366458a 11-Mar-2009 Robert Ellison <papillo@vmware.com> i965: fix polygon face orientation when rendering to FBO

In the i965, the FBO coordinate system is inverted from the standard
OpenGL/Mesa coordinate system; that means that the viewport and the
polygon face orientation have to be inverted if rendering to a FBO.

The viewport was already being handled correctly; but polygon face
was not. This caused a conform failure when rendering to texture with
two-sided lighting enabled.

This fixes the problem in the i965 driver, and adds to the comment about
the gl_framebuffer "Name" field so that this isn't a surprise to other
driver writers.
/external/mesa3d/src/mesa/main/mtypes.h
548be3846db59ad43934a159c051b359db6e56db 12-Mar-2009 Brian Paul <brianp@vmware.com> mesa: remove some last remnants of GL_MESA_program_debug
/external/mesa3d/src/mesa/main/mtypes.h
4dfa3757c58255c3ad8c3fe343541d2aa677f44c 12-Mar-2009 Brian Paul <brianp@vmware.com> mesa: minor comments
/external/mesa3d/src/mesa/main/mtypes.h
590f6fe05030cb274067a9e58af9d8306d97d0b9 12-Mar-2009 Brian Paul <brianp@vmware.com> mesa: remove gl_texture_object::_Function field and associated code

It was only used in one place in swrast.
/external/mesa3d/src/mesa/main/mtypes.h
9457d9ff4482f9b3796e2989e9ac3385d7d5404d 08-Mar-2009 Brian Paul <brianp@vmware.com> mesa: reorder register file enums
/external/mesa3d/src/mesa/main/mtypes.h
b4026d9be828bd0b6f60158456edf24994efb053 07-Mar-2009 Brian Paul <brianp@vmware.com> mesa: gl_register_file enum typedef
/external/mesa3d/src/mesa/main/mtypes.h
69e07bdeb42f2454f5052f86119adfb68f253098 07-Mar-2009 Brian Paul <brianp@vmware.com> mesa: remove GL_MESA_program_debug extension

This was never fully fleshed out and hasn't been used.
/external/mesa3d/src/mesa/main/mtypes.h
8ad65a23d14f82461c00b1d8dcc1393167f36ab0 04-Mar-2009 José Fonseca <jfonseca@vmware.com> mesa: Follow ARB_map_buffer_range more stricly.

Namelly, FlushMappedBufferRange takes a subrange relative to the original
range.
/external/mesa3d/src/mesa/main/mtypes.h
f352a80aec10c3faf2d84e0b35d59b4edc0395ef 02-Mar-2009 Brian Paul <brianp@vmware.com> mesa: add ctx->Stencil._Enabled field

Only true if stenciling is enabled, and there's a stencil buffer.
/external/mesa3d/src/mesa/main/mtypes.h
e30f7657639d53dc87fa35aa2ec02ed13c70f796 01-Mar-2009 Brian Paul <brianp@vmware.com> mesa: clarify comments for per-unit texture bitfields
/external/mesa3d/src/mesa/main/mtypes.h
555f0a88182e2b1af809b2d97abdac02814a2f28 28-Feb-2009 Brian Paul <brianp@vmware.com> mesa: remove unused AUX buffers

Remove all references to aux buffers 1..3. Keep AUX0 around for now just
in case, but it'll probably go too someday. I don't know of any OpenGL
drivers since the IRIX days that support aux color buffers.
/external/mesa3d/src/mesa/main/mtypes.h
8d475822e6e19fa79719c856a2db5b6a205db1b9 28-Feb-2009 Brian Paul <brianp@vmware.com> mesa: rename, reorder FRAG_RESULT_x tokens

s/FRAG_RESULT_DEPR/FRAG_RESULT_DEPTH/
s/FRAG_RESULT_COLR/FRAG_RESULT/COLOR/
Remove FRAG_RESULT_COLH (NV half-precision) output since we never used it.
Next, we might merge the COLOR and DATA outputs (COLOR0, COLOR1, etc).
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
b7ebc270a4b464eb2136e9c45fdfeed798c007c8 28-Feb-2009 Brian Paul <brianp@vmware.com> mesa: move #include "bitset.h" out of mtypes.h - not needed in core Mesa
/external/mesa3d/src/mesa/main/mtypes.h
389d50baff8234fdf4d7bcddeb09658d7d17012d 28-Feb-2009 Brian Paul <brianp@vmware.com> mesa: move GLfixed type and related macros to swrast module

Fixed point is only used in swrast and sw-based drivers.
/external/mesa3d/src/mesa/main/mtypes.h
7f25d9ebb4856273c46ea4bbba4152b85f610a91 28-Feb-2009 Brian Paul <brianp@vmware.com> mesa: move gl_attrib_node struct to attrib.c too
/external/mesa3d/src/mesa/main/mtypes.h
55399c29511a47bd52c39862a246f29e6f35c3cf 28-Feb-2009 Brian Paul <brianp@vmware.com> mesa: move gl_enable_attrib struct to attrib.c, the only place it's used
/external/mesa3d/src/mesa/main/mtypes.h
bedd20743b80b5a6d7d9954e4479a44a76c7ea02 28-Feb-2009 Brian Paul <brianp@vmware.com> mesa: lots of updated comments, formatting clean-ups
/external/mesa3d/src/mesa/main/mtypes.h
1d5a68970f1d8fcca29ce24e6667a143733197f0 23-Feb-2009 Brian Paul <brianp@vmware.com> mesa: #include, misc clean-ups
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
d909dbcc43c5c1d51a3946488e68a7cd1fbfe920 22-Feb-2009 Brian Paul <brianp@vmware.com> mesa: remove unused ENABLE_TEXGENx, ENABLE_TEXMATx flags
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
9818734e0148510967ca9ee0d1aa8b196b509f02 21-Feb-2009 Brian Paul <brianp@vmware.com> mesa: use an array for current texture objects

Use loops to consolidate lots of texture object code.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
9705cff2033f1771a39ac3bb78eb5fcea522218a 21-Feb-2009 Brian Paul <brianp@vmware.com> mesa: re-org texgen state

New gl_texgen struct allows quite a bit of code reduction.
/external/mesa3d/src/mesa/main/mtypes.h
a304cc6cca2ee21c3b25041abf882ef0616e5244 19-Feb-2009 Brian Paul <brianp@vmware.com> mesa: fix/update/restore comments related to two-sided stencil
/external/mesa3d/src/mesa/main/mtypes.h
5761c64823c10093c0f72bc8a62c99b86362e4e5 19-Feb-2009 Brian Paul <brianp@vmware.com> mesa: convert VERT_RESULT_* from #defines to enum, like the others
/external/mesa3d/src/mesa/main/mtypes.h
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
1ed5fe5cbfb64c57997ec46684748f8ae516d19c 10-Feb-2009 Brian Paul <brianp@vmware.com> mesa: s/_IMAGE_NEW_TRANSFER_STATE/_MESA_NEW_TRANSFER_STATE/ to be more consistant with other flags
/external/mesa3d/src/mesa/main/mtypes.h
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
e01a03d2220199a4541f2cb8b42035237a571aa4 06-Feb-2009 Brian Paul <brianp@vmware.com> glsl: new MESA_GLSL env var for GLSL debugging features

Replaces the VERBOSE_GLSL, VERBOSE_GLSL_DUMP flags which only worked in debug
builds. MESA_GLSL will work both in debug and non-debug builds.
Also add facility to dump glUniform() calls to stdout.
/external/mesa3d/src/mesa/main/mtypes.h
aafcc26642d5243944a1abb816c2657f644c0649 06-Feb-2009 Brian Paul <brianp@vmware.com> Revert "mesa: meaningless whitespace change to see if git's working (ignore)"

This reverts commit b2e779988eeb595187933fe2122d86f8ccfe059c.

I didn't mean to push this stuff yet. I'm having a bad git day...
/external/mesa3d/src/mesa/main/mtypes.h
b2e779988eeb595187933fe2122d86f8ccfe059c 06-Feb-2009 Brian Paul <brianp@vmware.com> mesa: meaningless whitespace change to see if git's working (ignore)
/external/mesa3d/src/mesa/main/mtypes.h
0001deef1108b77cf4879fff4647401fb68c421e 31-Jan-2009 Brian <brianp@vmware.com> mesa: more display list cleanups

Remove some unneeded fields. Rename some function parameters.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
7721bf267b64ef28376f07daae7713814e91af35 31-Jan-2009 Brian <brianp@vmware.com> mesa: minor comments, clean-ups
/external/mesa3d/src/mesa/main/mtypes.h
2897cee99fb877e1f3cd9a881a61418c9c31867f 29-Jan-2009 Brian Paul <brianp@vmware.com> mesa: fix a render to texture FBO validation bug

When glTexImage() is called we need to re-validate any FBOs that point to
the texture (i.e. render-to-texture) since changing the texture's size/format
will effect FBO completeness.

We don't keep a list of all FBOs rendering into each texture (which would be
a bit messy) so we check all FBOs in existance. To optimize this, the
gl_texture_object->_RenderToTexture flag is used to avoid checking textures
that have never been used as renderbuffers. So, we only walk over all FBOs
(there's usually only a few) when glTexImage() modifies a RTT texture.

Fixes a bug seen in shadowtex.c when toggling packed depth/stencil mode.
/external/mesa3d/src/mesa/main/mtypes.h
26da28c995557c8b913e5ccfe31b31dc32e6c735 29-Jan-2009 Brian Paul <brianp@vmware.com> mesa: remove GL_SGIX_shadow, GL_SGIX_shadow_ambient and GL_SGIX_depth_texture

Everyone should be using the newer/better ARB versions of these extensions.
/external/mesa3d/src/mesa/main/mtypes.h
4a89e51c5f88b57040b361b62e80a57c8248ba4b 28-Jan-2009 Brian Paul <brianp@vmware.com> mesa: set/get new state for GL_EXT_texture_swizzle
/external/mesa3d/src/mesa/main/mtypes.h
f5d3027c0a03e26fe90efc067766c996dea05948 24-Jan-2009 Brian Paul <brianp@vmware.com> mesa: initial changes for GL_NV_texture_env_combine4
/external/mesa3d/src/mesa/main/mtypes.h
b8fc605cdb741bd409dbca44150a7ba262b6f157 23-Jan-2009 Brian Paul <brianp@vmware.com> Merge branch 'vertex_array_bgra'
f7c1a2dacd1643a19fbf975c21ac3e64b708c8d7 23-Jan-2009 Brian Paul <brianp@vmware.com> mesa: initial bits for GL_EXT_vertex_array_bgra
/external/mesa3d/src/mesa/main/mtypes.h
dde7cb962860e72e1bf3175069767358cc5b3f3c 10-Jan-2009 Ian Romanick <idr@freedesktop.org> Track two sets of back-face stencil state

Track separate back-face stencil state for OpenGL 2.0 /
GL_ATI_separate_stencil and GL_EXT_stencil_two_side. This allows all
three to be enabled in a driver. One set of state is set via the 2.0
or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is
disabled. The other is set by StencilFunc and StencilOp when the
active stencil face is set to BACK. The GL_EXT_stencil_two_side spec has
more details.

http://opengl.org/registry/specs/EXT/stencil_two_side.txt
/external/mesa3d/src/mesa/main/mtypes.h
4fc16fb7e9b72c4535967804c031256637a97197 20-Jan-2009 Brian Paul <brianp@vmware.com> mesa: added NumSamples, MaxSamples for ARB_fbo
/external/mesa3d/src/mesa/main/mtypes.h
d9a2cf92468f318e4cd7f1cfdbb3faf53545ecad 22-Jan-2009 Brian Paul <brianp@vmware.com> mesa: add new ColorEncoding and ComponentType to gl_renderbuffer
/external/mesa3d/src/mesa/main/mtypes.h
7d98f5ab6e207586dcac4b165221ea9852fcf035 22-Jan-2009 Brian Paul <brianp@vmware.com> mesa: initial extension bits for GL_ARB_framebuffer_object
/external/mesa3d/src/mesa/main/mtypes.h
658b1bdb1cc5f9910be910dc156a2e81ed999756 15-Jan-2009 Alan Hourihane <alanh@vmware.com> Merge commit 'origin/master' into gallium-0.2

Conflicts:
docs/install.html
docs/relnotes-7.3.html
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_compile.c
src/mesa/shader/slang/slang_emit.c
src/mesa/shader/slang/slang_preprocess.c
src/mesa/shader/slang/slang_preprocess.h
fae9604727c048834a7d5a90f8a652c86cff057a 14-Jan-2009 Brian Paul <brianp@vmware.com> glsl: propagate pragma info down into compiler from preprocessor
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
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/mtypes.h
9585f8daef6681bf1ad62ff4ad9a4102cf5d1abd 17-Dec-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: updated comments
/external/mesa3d/src/mesa/main/mtypes.h
20555835b68c58b52d7954a0b237a9a331013e68 17-Dec-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: updated comments
/external/mesa3d/src/mesa/main/mtypes.h
df6155fcff66034457b3165f5df0a61ccfc41314 24-Nov-2008 Brian Paul <brian.paul@tungstengraphics.com> Merge commit 'origin/master' into gallium-0.2

Conflicts:

progs/glsl/Makefile
b730d0d3e9b202b17a0815cb820fc9905f35cb98 24-Nov-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: add gl_program::Input/OutputFlags[] array

These arrays will indicate per-input or per-output options for vertex/fragment
programs such as centroid-sampling and invariance.
/external/mesa3d/src/mesa/main/mtypes.h
81c862205e32b163a9f5ecf3f59e4cdcccee36c6 01-Nov-2008 Alan Hourihane <alanh@tungstengraphics.com> Merge commit 'origin/master' into gallium-0.2

Conflicts:

src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
131d42573ce1fc120c8ef75634979b6206e1eb0a 01-Nov-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: additional debug flags for glsl debug/disassembly
/external/mesa3d/src/mesa/main/mtypes.h
cf85e413ad7672c1cef73215222ca1caa8e48b30 15-Oct-2008 Keith Whitwell <keith@tungstengraphics.com> Merge commit 'origin/gallium-0.1' into gallium-0.2

Conflicts:

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

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

Conflicts:

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

Conflicts:

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

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

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

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

Only downside is slight ugliness in VBO code where we need to validate state
twice in succession.
/external/mesa3d/src/mesa/main/mtypes.h
fa1b533012030cd67148b5bf1e018fd5e30c96f8 03-Oct-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: add new internal state for tracking current vertex attribs
/external/mesa3d/src/mesa/main/mtypes.h
4741dbcbbc2514de370a760f4b78a17491014555 02-Oct-2008 Ian Romanick <ian.d.romanick@intel.com> Unify ARB_depth_texture and SGIX_depth_texture

The ARB extension is a superset of the older SGIX extension. Any
hardware that can support the SGIX version can also support the ARB
version. In Mesa, any driver that supports one also supports the
other. This unification just simplifies some bits of code.
/external/mesa3d/src/mesa/main/mtypes.h
ec76910187adc88fc54907ffa3506309ee2abcf3 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: new gl_fragment_program fields indicating use of fog, front-facing, point coord
(cherry picked from commit d7a7b0a10dd355fbeb7a404091a42d4ab558c820)
/external/mesa3d/src/mesa/main/mtypes.h
1b7e90984511cfa47597c255d73ca416ddd2db6f 13-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: texture crop rect state
(cherry picked from commit c01fbc7866d7cd5cf4263dffec6d9591470b4c23)
/external/mesa3d/src/mesa/main/mtypes.h
ce1685ce947545fac8c254cafdc0f133b6202ca9 14-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: comments about vectors vs components
/external/mesa3d/src/mesa/main/mtypes.h
1cf2c8a04313b80a01ef23b06993586ce62281a4 25-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: point size arrays
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
32ef6e75839d6be283e034436e5dd34eabb67958 20-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: move fixed function vertex program builder from tnl to core mesa

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

Brought across from gallium-0.2
/external/mesa3d/src/mesa/main/mtypes.h
7ce597508e7400e962c8fdb2d255f9887cb9c710 20-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: improved driver query interface

Brought over from gallium-0.2 branch.
/external/mesa3d/src/mesa/main/mtypes.h
a8d1521f30766b6a4707aa9966e1f2f9c0b3ac00 18-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Merge commit 'origin/gallium-0.1' into gallium-0.2

Conflicts:

src/mesa/shader/slang/slang_link.c
89ab66448e1bcd78caab6678261c2885dcff741c 18-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Merge commit 'origin/master' into gallium-0.2

Conflicts:

progs/trivial/Makefile
src/mesa/glapi/glthread.c
d7a7b0a10dd355fbeb7a404091a42d4ab558c820 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: new gl_fragment_program fields indicating use of fog, front-facing, point coord
/external/mesa3d/src/mesa/main/mtypes.h
27341a97a17b23fdf57d33f78b475a474db71e4a 17-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: rework GLSL vertex attribute binding

Calls to glBindAttribLocation() should not take effect until the next time
that glLinkProgram() is called.
gl_shader_program::Attributes now just contains user-defined bindings.
gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
/external/mesa3d/src/mesa/main/mtypes.h
e53296c928d80c6627a9551345c160533aa1a19e 16-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: rework GLSL vertex attribute binding

Calls to glBindAttribLocation() should not take effect until the next time
that glLinkProgram() is called.
gl_shader_program::Attributes now just contains user-defined bindings.
gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
/external/mesa3d/src/mesa/main/mtypes.h
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
c01fbc7866d7cd5cf4263dffec6d9591470b4c23 13-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: texture crop rect state
/external/mesa3d/src/mesa/main/mtypes.h
3d500f00d2a09becccd62abc0472090c4faa53d6 24-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: glsl: only try to link shaders defining main()
/external/mesa3d/src/mesa/main/mtypes.h
90a3af7d9d0849afcee0d35ed0621fe24e1008a9 24-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: glsl: only try to link shaders defining main()
/external/mesa3d/src/mesa/main/mtypes.h
51654783ef0aa48560f70cd3944128a94a87d86b 14-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: comments about vectors vs components
/external/mesa3d/src/mesa/main/mtypes.h
0bc2409e3808df54bf7d228475320e2ec4fe80a1 04-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.

Simplification in colortab.c too.

cherry-picked from master (fe469007037d9d5cdbe1677d8ff7368b276e9e7c)
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
489fc4d10a57538de59a89e19ce752e4b7253d22 02-Jul-2008 Roland Scheidegger <sroland@tungstengraphics.com> mesa: fix issues around multisample enable

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

multisample enable is enabled by default, however gl mandates multisample
rendering rules only apply if there's also a multisampled buffer.
/external/mesa3d/src/mesa/main/mtypes.h
429a08384c2ea66d446e46beb28e33ee3b764d52 27-Jun-2008 Roland Scheidegger <sroland@tungstengraphics.com> gallium: handle msaa
/external/mesa3d/src/mesa/main/mtypes.h
d378f7b3dfda3b549e4b02380e492671cc34bb59 25-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: point size arrays
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
ade508312c701ce89d3c2cd717994dbbabb4f207 15-May-2008 Brian Paul <brian.paul@tungstengraphics.com> Updated GLSL uniform/sampler handling from gallium-0.1 branch

Previously, the shader linker combined the uniforms used by the vertex and
fragment shaders into a combined set of uniforms. This made the implementation
of glUniform*() simple, but was rather inefficient otherwise. Now each shader
gets its own set of uniforms (no more modelview matrix showing up in the
fragment shader uniforms, for example).

cherry-picked by hand from gallium-0.1 branch
/external/mesa3d/src/mesa/main/mtypes.h
5b5c9315275752add1215dba0f86d5f5068d856b 08-May-2008 Brian Paul <brian.paul@tungstengraphics.com> fix refcounting bugs in tnl/tex program caches
/external/mesa3d/src/mesa/main/mtypes.h
a56a59ce74b7f18f25a13992d2a2c1ae7cf973ce 07-May-2008 Brian Paul <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...

Picked from gallium-0.1
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
bc029247d9d886f4546a4c3a36737d09c488b7f9 05-Apr-2008 Brian <brian.paul@tungstengraphics.com> mesa: no longer combine vertex/fragment shader parameters/uniforms

GLSL Vertex and fragment shaders now have independent parameter buffers.
A new gl_uniform_list is used to keep track of program uniforms and where
each uniform is located in each shader's parameter buffer.
This makes better use of the space in each buffer and simplifies shader linking.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
601a6b872c33bfe3cb4ea03a5a8ba5ebe92dedaf 07-Jan-2008 Brian <brian.paul@tungstengraphics.com> Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexes

Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask.
The number of active color buffers is specified by _NumColorDrawBuffers.
This builds on the previous DrawBuffer changes and will help with drivers
implementing GL_ARB_draw_buffers.
/external/mesa3d/src/mesa/main/mtypes.h
ff73c783cc47361ff0dd819c82d067b4b85870dd 06-Jan-2008 Brian <brian.paul@tungstengraphics.com> Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.

These fields are no longer indexed by shader output. Now, we just have
a simple array of renderbuffer pointers.

If the shader writes to gl_FragData[i], send those colors to the N
_ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or
the fixed-function color) to the N _ColorDrawBuffers.

A few more changes and simplifications can follow from this...
/external/mesa3d/src/mesa/main/mtypes.h
101abee6c4fc2c9284ff2ba6f9f9138327d6963d 19-Dec-2007 Eric Anholt <eric@anholt.net> [intel] Fix and reenable (software) SGIS_generate_mipmap

The core problem was that _mesa_generate_mipmap was not respecting RowStride
of the source image. Additionally, the intel private data associated with the
images (level and face) was not being initialized for the
_mesa_generate_mipmap-generated images.
/external/mesa3d/src/mesa/main/mtypes.h
fcd7c37fd3d0f61cf6ac81170bc0b3fca64ad9bb 30-Nov-2007 Brian <brian.paul@tungstengraphics.com> fix broken two-sided stencil
/external/mesa3d/src/mesa/main/mtypes.h
f4a5ea2ccb472958a4635c606e9510011bceaa3d 31-Oct-2007 Brian <brian.paul@tungstengraphics.com> Update texenvprogram.c code to use prog_cache.c routines.
/external/mesa3d/src/mesa/main/mtypes.h
b26aae67f5fe4194b48a5d3ddf704797b804b58c 31-Oct-2007 Brian <brian.paul@tungstengraphics.com> alloc caches for fixed-func vertex/fragment progs
/external/mesa3d/src/mesa/main/mtypes.h
f18d4e058ed979c6e42e868c7febde4fa62c5810 29-Oct-2007 Brian <brian.paul@tungstengraphics.com> Remove ctx field from texenvprog_cache
/external/mesa3d/src/mesa/main/mtypes.h
8fed2466e4056668a76a87cf935b5fbff8ae15ca 27-Oct-2007 Brian <brian.paul@tungstengraphics.com> Re-implement GLSL texture sampler variables.

GLSL sampler variables indicate which texture unit to use for TEX instructions.
Previously, this was baked into the fragment/vertex program and couldn't be
readily changed once set.
Now, SamplerUnits[] array indicates which texture unit is to be used for
each sampler variable. These values are set with glUniform1i().
This is extra state that must be passed to the fragment/vertex program
executor at runtime.
/external/mesa3d/src/mesa/main/mtypes.h
ed6d5ff6f8fdd34aaaa126119dbd8e1e321859d8 27-Sep-2007 Brian <brian.paul@tungstengraphics.com> Restore old _TriangleCaps code to fix Blender problem (bug 12164)
/external/mesa3d/src/mesa/main/mtypes.h
09fbb3837b6aa5dfc6c94f41ab5443820177c569 12-Sep-2007 Brian <brian.paul@tungstengraphics.com> Implement query object interface.

This replaces the temporary occlusion counter functions we had before.
Added new ctx->Driver.WaitQuery() function which should block until the result is ready.
Sketch out some code for vertex transformation feedback counters.
/external/mesa3d/src/mesa/main/mtypes.h
dbef6158c6c19a28dc96a96357c9ed9bd9422b88 23-Aug-2007 Brian <brian.paul@tungstengraphics.com> remove unneeded CallStack array
/external/mesa3d/src/mesa/main/mtypes.h
09867b53a9add9c1a392ad46f850d40d50bbc536 16-Aug-2007 Brian <brian.paul@tungstengraphics.com> replace Proxy1D/2D/etc fields with ProxyTex[] array
/external/mesa3d/src/mesa/main/mtypes.h
fe469007037d9d5cdbe1677d8ff7368b276e9e7c 16-Aug-2007 Brian <brian.paul@tungstengraphics.com> Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.

Simplification in colortab.c too.
/external/mesa3d/src/mesa/main/mtypes.h
b3e3e72e25247a48c4f154e2971eff48ecb9d9ef 16-Aug-2007 Brian <brian.paul@tungstengraphics.com> remove old Saved1D/2D/etc fields
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
f5713c7d2e7ba8e1170fd9b1dd95379662ab6117 09-Aug-2007 Brian <brian@i915.localnet.net> Checkpoint intel_renderbuffer removal.

Remove surface ptr from gl_renderbuffer.
Use st_renderbuffer in most places.
More clean-up.
/external/mesa3d/src/mesa/main/mtypes.h
4576d754c98e3fb5d413e294d48fb70a893defcf 31-Jul-2007 Brian <brian@i915.localnet.net> Lots of improvements to the surface-related code.

Z testing now works with i915 driver.
Add gl_renderbuffer::surface pointer (and reverse pointer).
Remove intel_surface and xmesa_surface types - no longer used.
/external/mesa3d/src/mesa/main/mtypes.h
e0a26b046764ae80748b347395ab1b27de83651e 27-Jul-2007 michal <michal@michal-laptop.(none)> Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
03ec41ddc51e539c989a546f33d22daa2af69095 25-Jul-2007 Brian <brian.paul@tungstengraphics.com> remove unused MAX_3D_TEXTURE_SIZE, reformattting
/external/mesa3d/src/mesa/main/mtypes.h
af2aa8e9cf88a9ee3ec338eddc9a47bf2f142cb7 21-Jul-2007 Brian <brian.paul@tungstengraphics.com> Remove ctx->Point._Size and ctx->Line._Width.

The clamping for these values depends on whether we're drawing AA or non-AA
points, lines. Defer clamping until drawing time. Drivers could compute and
keep clamped AA and clamped non-AA values if desired.
/external/mesa3d/src/mesa/main/mtypes.h
3b8bc1f46758d4da9155419fcf558a493e729501 06-Jul-2007 michal <michal@michal-laptop.(none)> Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
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/mtypes.h
227315278dea9095cee6e508d03b28720b2e7880 12-Jun-2007 Brian <brian.paul@tungstengraphics.com> Replace texobj->Complete with texobj->_Complete since it's a derived field.
/external/mesa3d/src/mesa/main/mtypes.h
a28977a4c726ac5023fcefb58695498c0c5ae507 12-Jun-2007 Brian <brian.paul@tungstengraphics.com> typo: s/derrived/derived/
/external/mesa3d/src/mesa/main/mtypes.h
7b559a91028d297b34df9ec939bd4d00fad6027c 07-Jun-2007 Ian Romanick <idr@us.ibm.com> Add support for GL_ARB_fragment_program_shadow.
/external/mesa3d/src/mesa/main/mtypes.h
84d1b24647c0719551e8bcd5fa4601fbd3b1d555 07-Jun-2007 Ian Romanick <idr@us.ibm.com> Fix ARB_fp spec conformance bug WRT shadow sampling.

The ARB_fp (and other assembly-level fragment program specs) say that the
depth comparison function is always GL_NONE in fragment program mode.
/external/mesa3d/src/mesa/main/mtypes.h
b939adfa155f2b3ca5c5226e86da85629654d79b 24-May-2007 Keith Whitwell <keith@tungstengraphics.com> Use the x11 driver as a test harness for the softpipe/state_tracker code.

This has some limitations as we currently require a mapped framebuffer,
so it only really works with double-buffered ximage rgba8888 windows.
/external/mesa3d/src/mesa/main/mtypes.h
98d2a4a2445bae3597e29472ebcf6deeef35a313 24-May-2007 Brian <brian.paul@tungstengraphics.com> doxygen-ize some comments
/external/mesa3d/src/mesa/main/mtypes.h
c62da91f44c230b6476b5d7409d2c11e88f1620b 22-May-2007 Brian <brian.paul@tungstengraphics.com> remove the unused texobj Mutex field
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
4e0a64675cbd815f6063977f3effbf21acced3fe 21-Apr-2007 Brian <brian@yutani.localnet.net> added MemPool field
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
487f7a73cbb8534ab163ef8a3549caa71684b607 05-Apr-2007 George Sapountzis <gsap7@yahoo.gr> Remove SI imports/exports remnants.
/external/mesa3d/src/mesa/main/mtypes.h
0cae814f362bd7e648535c8ceae12ad286d20d73 05-Apr-2007 Brian <brian@yutani.localnet.net> temporary add some extra renderbuffer debug code
/external/mesa3d/src/mesa/main/mtypes.h
33c3739628616c0aaf10e51eae50611169ded0dd 05-Apr-2007 Brian <brian@yutani.localnet.net> Remove the never-used SI-style imports/exports code.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
63556fa9949f543a8134b6b5ff3d216acb71dd9f 23-Mar-2007 Brian <brian@yutani.localnet.net> Add the ability to generate programs that doesn't use condition codes.

ctx->Shader.EmitCondCodes determines if we use condition codes.
If not, IF statement uses first operand's X component as the condition.
Added OPCODE_BRK0, OPCODE_BRK1, OPCODE_CONT0, OPCODE_CONT1 to handle
the common cases of conditional break/continue.
/external/mesa3d/src/mesa/main/mtypes.h
23d31efc167f09d47635352f697ffcb087d3ebbd 21-Mar-2007 Brian <brian@yutani.localnet.net> merge from master
704cd61120443501530279937a144a5dd4b6399e 21-Mar-2007 Xiang, Haihao <haihao.xiang@intel.com> mesa: revert f9f79c8d770e696249bd98c68b563f887562c974
to fix #10232

Table6.1(in gl2.1) has been applied for glGetTexImage
before calling into _mesa_pack_rgba_span_float.
/external/mesa3d/src/mesa/main/mtypes.h
7573b58db659b32f3589fc955959710d44353239 16-Mar-2007 Brian <brian@yutani.localnet.net> Colortable re-org.

The pixel transfer path has three color table lookups.
Use an array [3] to store that info, rather than separate variables.
/external/mesa3d/src/mesa/main/mtypes.h
d7049431a09a71a51768fc8cea292653557fc261 16-Mar-2007 Brian <brian@yutani.localnet.net> added a renderbuffer comment
/external/mesa3d/src/mesa/main/mtypes.h
b6adf336f41d2f0ed0ea33eaf53faee9635a2405 14-Mar-2007 Brian <brian@yutani.localnet.net> Re-org of gl_pixel_attrib struct.

Reorder fields according to the order in which the pixel transfer operations
take place. Improve comments.
Move the pixel maps out of gl_pixel_attrib since they're not supposed to be
pushed/popped by glPush/PopAttrib.
New gl_pixelmap and gl_pixelmaps structs to contain the pixelmaps.
/external/mesa3d/src/mesa/main/mtypes.h
1c09bcfdda4083636a3ac27d804a34ef87875ce7 12-Mar-2007 Brian <brian@nostromo.localnet.net> Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1.

GL_MAX_DRAW_BUFFERS is currently 4.
Added gl_FragData[] output for fragment programs.
In _swrast_write_rgba_span() loop over the color outputs/renderbuffers.
/external/mesa3d/src/mesa/main/mtypes.h
2cf5fd48d1586f961910a14324a457854cb66221 09-Mar-2007 Brian <brian@yutani.localnet.net> Merge branch 'origin' into glsl-compiler-1

Conflicts:

src/mesa/main/context.c
f9f79c8d770e696249bd98c68b563f887562c974 09-Mar-2007 Brian <brian@yutani.localnet.net> New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to fix glGetTexImage(GL_LUMINANCE) bug #10232.
/external/mesa3d/src/mesa/main/mtypes.h
0e1bd2302537a9684158cb353b876af4ce6346e7 27-Feb-2007 Brian <brian@yutani.localnet.net> s/matrix_stack/gl_matrix_stack/ and s/mesa_list_state/gl_dlist_state/
/external/mesa3d/src/mesa/main/mtypes.h
2cf8d24131edec78778d7b6ce49ead9157c2b266 27-Feb-2007 Brian <brian@yutani.localnet.net> remove unused DriverMgrCtx
/external/mesa3d/src/mesa/main/mtypes.h
fa4d0364246d24b3f86bc9a8486a9ad7db60f1b3 27-Feb-2007 Brian <brian@yutani.localnet.net> Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state.

These control code generation options. May be overridden by drivers, debuggers, etc.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
5e80c62f3178a65bebca942aa0b1e5d16c34b2a9 24-Feb-2007 Brian <brian@yutani.localnet.net> Remove unneeded _Fragment/VertexShaderPresent fields, update comments.
/external/mesa3d/src/mesa/main/mtypes.h
b7aeac0de1c9c533f78c5d6acf358bdc206161ab 22-Feb-2007 Brian <brian@yutani.localnet.net> added MAX_PROGRAM_ENV_PARAMS
/external/mesa3d/src/mesa/main/mtypes.h
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
68fc4ff1d7f749670684119647e0ef945d23dfa9 03-Feb-2007 Brian <brian@yutani.localnet.net> Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS.

This fixes a segfault in the texgen code that can occur after we've
disabled a vertex program.
/external/mesa3d/src/mesa/main/mtypes.h
49a17a45fb893f0b2e93f27b16d54fe86f51c08c 03-Feb-2007 Brian <brian@yutani.localnet.net> Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS.

This fixes a segfault in the texgen code that can occur after we've
disabled a vertex program.
/external/mesa3d/src/mesa/main/mtypes.h
07373512c72ca0fc19cccd1d102f14f1a41fd1bd 24-Jan-2007 Brian <brian@nostromo.localnet.net> added FRAG_BIT_TEX() and FRAG_BIT_VAR() macros
/external/mesa3d/src/mesa/main/mtypes.h
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
3209c3ed0d82c158eed1020759aacf51ba1c1ad5 10-Jan-2007 Brian <brian@yutani.localnet.net> Implement vertex attribute binding.

Users can set explicit binding with glBindAttribLocation(), otherwise the
linker will allocate generic attribute slots.
/external/mesa3d/src/mesa/main/mtypes.h
21f99792a916a62fcfae7c208f50f192d4ce5926 09-Jan-2007 Brian <brian@yutani.localnet.net> Moved NumTexInstructions, NumTexIndirections, etc. into gl_program since
they can now apply to vertex programs.
/external/mesa3d/src/mesa/main/mtypes.h
288c5396e6aa484d88819bd28a7cd49a3873f283 06-Jan-2007 Brian <brian@yutani.localnet.net> added PROGRAM_SAMPLER
/external/mesa3d/src/mesa/main/mtypes.h
c9db223f902ce9d7e9f3038e6baac6da7f231b34 05-Jan-2007 Brian <brian@yutani.localnet.net> move TexturesUsed[] into gl_program since vertex programs/shaders can use textures nowadays
/external/mesa3d/src/mesa/main/mtypes.h
9e4bae9ccac5a76a2361c5c3cbe377a3c6b6a95b 20-Dec-2006 Brian <brian@yutani.localnet.net> Fix shader object reference counting and hash table deallocation.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
0bf5dbe002a64e198f55724cc1542602c012490f 20-Dec-2006 Brian <brian@yutani.localnet.net> Overhaul of GLSL API functions, dispatching, etc.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
61fd687c74610a5b3db5e9f3adb3ee2e9a5a6014 03-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> Minor changes to get ready for OpenGL 2.1.
/external/mesa3d/src/mesa/main/mtypes.h
e812081253b2857b59d17f40dc6c9909e1957d87 02-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> Undo some of yesterday's ATI_separate_stencil changes. The ATI extension
doesn't exactly match OpenGL 2.0.
/external/mesa3d/src/mesa/main/mtypes.h
6d104cb932080c5c0d951fbc0ec6d30fb7ebef45 02-Nov-2006 Alan Hourihane <alanh@tungstengraphics.com> merge current trunk into vbo branch
/external/mesa3d/src/mesa/main/mtypes.h
467c773f798516f86425c14fe8406298e00baba1 02-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> Add ATI_separate_stencil and use it in preference to EXT_stencil_two_side
since the former is what's used for OpenGL 2.0.
/external/mesa3d/src/mesa/main/mtypes.h
5ac93f86210eb5c2a8dee74ec19b0ecd54376863 01-Nov-2006 Keith Whitwell <keith@tungstengraphics.com> Merge texmem-0-3-branch.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
99efde461d3b8615863bdb7308e05289e0db0422 30-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> better handling of current attributes. Trivial dlist and varray tests work
/external/mesa3d/src/mesa/main/mtypes.h
a23e668d40b10236fcf5ca83fdbda93ab36fa86f 30-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h.
Massage nvvertexec.c code to work more like s_nvfragprog.c - another step
toward unifying vertex/fragment program execution.
/external/mesa3d/src/mesa/main/mtypes.h
0b26e826bda0da7aeec9a79ee07fe21d54bb1263 22-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Color clamping fixes.
/external/mesa3d/src/mesa/main/mtypes.h
c2074645cd23e23ff86ed7f0a71845a3209f0bea 17-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Move struct atifs_machine into s_atifragshader.c
Add support for runtime colorbuffer types.
/external/mesa3d/src/mesa/main/mtypes.h
e5a6fcc345867b550a159a7d94912a81e618279c 13-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Revamp color table code.
Always store all color tables as both float and ubyte.
/external/mesa3d/src/mesa/main/mtypes.h
81968ec49d9e06be0e095fa0084aa61b68b23d75 11-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> a step toward moving run-time vertex program state out of GLcontext
/external/mesa3d/src/mesa/main/mtypes.h
39c4daa6bc15a83a97c3c0b456bf1795ef9e6099 10-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Move the fp_machine struct into s_nvfragmprog.c since (except for program
debug) it's only used there.
/external/mesa3d/src/mesa/main/mtypes.h
8c41c757fe8efa04df0dd5cdfb33a75b84891c19 15-Aug-2006 Ian Romanick <idr@us.ibm.com> Add support for GL_EXT_gpu_program_parameters. Any driver that enables
either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this
extension as well.
/external/mesa3d/src/mesa/main/mtypes.h
7b52bed98729a05feab28f6d2b0677e4f84c44c3 09-Aug-2006 Eric Anholt <anholt@FreeBSD.org> Add PROGRAM_FILE_MAX for i965 driver.

While here, make PROGRAM_UNDEFINED just the next value in the enum.
/external/mesa3d/src/mesa/main/mtypes.h
8d214bc8044e5027e3fa9302b259d0c557270b00 03-Aug-2006 Brian Paul <brian.paul@tungstengraphics.com> Initial work for GL_EXT_texture_sRGB.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
9960ddcd66b9c2c6f4b12fc7db7326ba83d65956 15-Jun-2006 Brian Paul <brian.paul@tungstengraphics.com> comments for gl_array_object struct
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
d9736db6676948e06712d4bcba46b7040452f870 23-May-2006 Brian Paul <brian.paul@tungstengraphics.com> Add const qualifiers in a number of places.
/external/mesa3d/src/mesa/main/mtypes.h
8065c120c45e89e49ca9f707408fd7bd14db6b23 22-May-2006 Keith Whitwell <keith@tungstengraphics.com> memory usage fixes for glean/conform, use a better hash function
/external/mesa3d/src/mesa/main/mtypes.h
5ddc53f899598396003ec6c723f8132c76aafe79 22-May-2006 Keith Whitwell <keith@tungstengraphics.com> Better caching for texenv programs.
Initialize some values correctly.
/external/mesa3d/src/mesa/main/mtypes.h
b0b6d1abe5c7e629baebd4bf3d3ee3b17ba6ff08 20-May-2006 Brian Paul <brian.paul@tungstengraphics.com> In gl_texture_image, replace ImageStride with an ImageOffsets array.
Some hardware lays out 3D mipmaps in a manner that can't be expressed
with a simple image stride.
The ImageOffsets array is allocated and initialized to typical defaults
in the _mesa_init_teximage_fields() function. If needed, a driver will
then have to replace these offsets.
TexStore and TexelFetch routines updated to use offsets array.
/external/mesa3d/src/mesa/main/mtypes.h
6717a7aca0aaab02bd9ef7b1a934f0853efdc953 05-May-2006 Keith Whitwell <keith@tungstengraphics.com> Define VERT_RESULT_EDGE
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
095c6699f449ed4803f23e844cc0227743a9c3e1 25-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> No longer alias generic vertex attribs with conventional attribs for GL_ARB_vertex_program.
/external/mesa3d/src/mesa/main/mtypes.h
ee4e75bd6f768b7210436feeb32b4545ed62e025 14-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]Units
in various places.
Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image
limits when referenced, not just in glActiveTexture().
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
bb38cadb1c5f2dc13096a091bdaf61dc3e3cfa4d 11-Apr-2006 Michal Krol <mjkrol@gmail.org> More GLSL code:
- use macros to access and modify render inputs bit-field;
- un-alias generic vertex attributes for ARB vertex calls;
- use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS
(ARB code) in place of VERT_ATTRIB_MAX;
- define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex
attributes for ARB_vertex_shader;
- fix generic attribute index range check in arbprogparse.c;
- interface GLSL varyings between vertex and fragment shader;
- use 64-bit optimised bitset (bitset.h) for render inputs;
/external/mesa3d/src/mesa/main/mtypes.h
180b0dab8b87ef7987b9f2c44068d1eea3f54939 29-Mar-2006 Jouk Jansen <joukj@hrem.stm.tudelft.nl> Committing in .

Removing <CR>

Modified Files:
Mesa/src/mesa/main/fog.c Mesa/src/mesa/main/hint.c
Mesa/src/mesa/main/mtypes.h
----------------------------------------------------------------------
/external/mesa3d/src/mesa/main/mtypes.h
519a2e7cb7b8f026bd5fe711cdf12a20df1c46ae 29-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> Move the computation of the viewport matrix into a new update_viewport_matrix()
function since the matrix depends on the viewport params and the framebuffer's
depth buffer resolution.
Fixes some renderbuffer / depth range issues.
This simplifies the _mesa_set_viewport() and _mesa_DepthRange() functions too.
/external/mesa3d/src/mesa/main/mtypes.h
0e26ca083441e3c76ddbae3699befde92b4933dd 28-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> updated comment about framebuffer's Visual field
/external/mesa3d/src/mesa/main/mtypes.h
ea4fe661d7f3a95d9db17e1475076f1badf8e1a6 26-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> merge from texman branch
/external/mesa3d/src/mesa/main/mtypes.h
071357096e682e9af59ad45ea5abc444ab431837 21-Mar-2006 Michal Krol <mjkrol@gmail.org> GLSL fixes:
- generate error on NULL pointers in glShaderSourceARB;
- reinstall program object, if current, in glLinkProgramARB;
- vertex and fragment shaders are optional in program object;
- floor asm was wrongly computed for x86 back-end;
- allow for (void) idiom in function prototypes;
- all fixed-state uniforms are updated;
- local variable initializers are working;
- implement texture* and shadow* functions for vertex processor;
- generate error if too many arguments in general constructor;
- trim unused data in general constructor;
- struct r-value field select was badly relocated;

Changes:
- add derived state gl_fog_attrib::_Scale;
- add derived state gl_light::_CosCutoffNeg;
/external/mesa3d/src/mesa/main/mtypes.h
e1e03b32ab651e992f7b979eba046fdc84fedf2e 03-Mar-2006 Roland Scheidegger <rscheidegger@gmx.ch> Use standard ARB names instead of vendor-specific NV names for the ARB/NV_vertex_program enums in common state handling code, and update comments accordingly. Change some slightly confusing code which gave the impression GL_VERTEX_PROGRAM_ARB and GL_VERTEX_PROGRAM_NV enums were different.
/external/mesa3d/src/mesa/main/mtypes.h
c92e688e151748d235b8477fe30888a9dded765d 13-Feb-2006 Michal Krol <mjkrol@gmail.org> Rename current glsl program variable.
/external/mesa3d/src/mesa/main/mtypes.h
1add059bd114f90e32c4b574be411d314eca6d90 14-Dec-2005 Brian Paul <brian.paul@tungstengraphics.com> Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can be
done with fragment programs nowadays.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
0fa8c59e646b214ea61c077f723e8ffe1cc06733 07-Dec-2005 Brian Paul <brian.paul@tungstengraphics.com> Updates for GL_EXT_timer_query:
New GLint64EXT and GLuint64EXT types (use C99's long long types).
New glGetQueryObject[u]i64vEXT() functions.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
8c765ad31253e171375c24bb8d8cd418fe7b198c 19-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.h
/external/mesa3d/src/mesa/main/mtypes.h
847160466cb7d1af55f294578c328b01fb3fd3d3 16-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).
depthstencil.c provides wrappers for treating depth/stencil buffers either
as regular depth or stencil renderbuffers.
/external/mesa3d/src/mesa/main/mtypes.h
ba3da6154c324cc916845bc5de3de077d0b59ffc 12-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Added OSMesaColorClamp(), bug 4917
/external/mesa3d/src/mesa/main/mtypes.h
de99760bf3511d05185799c4fb4347f9e5f420f4 12-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Move stuff common to vertex/fragment_program into the base class, including:
Instructions, InputsRead, OutputsWritten, and Parameters.
Also, added debug functions: _mesa_print_instruction(),
_mesa_print_program_parameters() and revamp _mesa_print_program().
/external/mesa3d/src/mesa/main/mtypes.h
1984aabe8362ee2b29711d2fa08e56e341eafddd 10-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions).
Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead.
/external/mesa3d/src/mesa/main/mtypes.h
5374e4ba7eaca2ee0ca73863ffbe9e639d090e3e 08-Nov-2005 Ian Romanick <idr@us.ibm.com> At keithw's request, remove all traces of the "fragment program to C" and
TCC experiment.
/external/mesa3d/src/mesa/main/mtypes.h
0bffb1192a599b11af11604ad590f6a50c054bf1 08-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> some initial work on upcoming GL_EXT_framebuffer_blit extension
/external/mesa3d/src/mesa/main/mtypes.h
7e807510d8c3e88ee7ae6c697393201cf08f992f 05-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Unify vertex/fragment program instuctions.
Based on patch by Ian (#4967) but also unify instruction opcodes.
/external/mesa3d/src/mesa/main/mtypes.h
613e1ad5d517d9964bd9cf94daa931dda33113fe 05-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Replace parameter_type enum in program.[ch], use register_file enums instead.
/external/mesa3d/src/mesa/main/mtypes.h
90ebb581e60d29bd565ad4d8a49e642de7b0ce5d 02-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention
/external/mesa3d/src/mesa/main/mtypes.h
c3626a91cee5034528f3f92c802a8e5947ea5f92 01-Nov-2005 Keith Whitwell <keith@tungstengraphics.com> Several fp and vp tweaks:

- Renumber VERT_RESULT_* values so that they match the
numbers of the corresponding FRAG_ATTRIB_ values.

- Add ctx->VertexProgram._Current and FragmentProgram._Current
values which point to either the current client-supplied
program if enabled, or otherwise to the current mesa-internal
program. Thus this program is always the correct one for
the current state, providing that the mesa flags to turn on
automatic generation are enabled.

- Add callbacks to ctx->Driver.BindProgram() in texenvprogram.c
and t_vp_build.c so that the driver knows when the generated
program changes. This is cleaner than trying to code all the
possible _NEW_* flags into the driver, and more precise as well.

- Add a UsesKill flag to identify fragment programs with that
instruction, as these can require special treatment.

- Move the FRAG_OUTPUT values to mtypes.h, near to similar defn's.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
3c2f8b22b9b87ccc06e33ecc088703c68d8230d8 29-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> clean-up comments
/external/mesa3d/src/mesa/main/mtypes.h
06f606ce5761e673fca3f6b1f7dd40dace8a9906 05-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> Remove _IsPowerOfTwo from gl_texture_object, not really needed.
/external/mesa3d/src/mesa/main/mtypes.h
198a88923c185bb0530787cd80cb9e1d700f2c91 05-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.
/external/mesa3d/src/mesa/main/mtypes.h
a9fc8ba756dd25a07dc19058fe60f65bda82a055 05-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> In gl_texture_image replace IntFormat with InternalFormat and Format with
_BaseFormat to be consistant with gl_renderbuffer.
/external/mesa3d/src/mesa/main/mtypes.h
252194d74ef08b940395a2eb1c05415dfd0d6a91 01-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> updated comment
/external/mesa3d/src/mesa/main/mtypes.h
1ad7b99925e044f82e635f746c1ef2df77f69ac9 28-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Initial work for GL_EXT_packed_depth_stencil extension.
glReadPixels done, glDrawPixels mostly done.
/external/mesa3d/src/mesa/main/mtypes.h
048b13df65f222b10564091df3dfa2b6cab77631 23-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex,
Streamline the _mesa_update_framebuffer() function a bit.
/external/mesa3d/src/mesa/main/mtypes.h
0efc17c105f8239bf4fb128d570f2d343c45d430 23-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Add Wrapper field to gl_renderbuffer. Used for wrapping one renderbuffer
with another, such as wrapping a hardware/win-sys RGB renderbuffer with a
software-based alpha buffer.
Previous alpha buffer wrapping was conflicting with the X driver's
xmesa_renderbuffer structure containment/inheritance. That lead to
memory corruption.
/external/mesa3d/src/mesa/main/mtypes.h
676d0accf5cc43e86057b14cfb8bba9316932582 22-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,
BlueBits, etc fields.
/external/mesa3d/src/mesa/main/mtypes.h
978ef2bb6d9ca4996a24f95820a699e22c84f70b 21-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Remove ACCUM_BITS.
/external/mesa3d/src/mesa/main/mtypes.h
3e37bafab0a339021354b9c78f983d05d433d735 21-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> replace GLdepth with GLuint and remove GLdepth
/external/mesa3d/src/mesa/main/mtypes.h
3211b28ee633707218fe7eb2bdfc604c10fd8d29 20-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> remove STENCIL_MAX
/external/mesa3d/src/mesa/main/mtypes.h
b3aefd1cfb6aacd1695c52911dd39da50d893ece 19-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> additional wrapper updates, bug 4468
/external/mesa3d/src/mesa/main/mtypes.h
e00ac11d4dd05c56584622dc2707bbdcfe4b2707 15-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Replace GLuint with GLbitfield where appropriate. Also replace GLuint
with GLboolean in a few places.
/external/mesa3d/src/mesa/main/mtypes.h
42c34efd23d7ad05df9f3c71f7d52dd259e179d8 13-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> OpenGL 2.0's two-sided stencil feature wasn't implemented correctly.
See comment near top of stencil.c for info about OpenGL 2.0 vs.
GL_EXT_stencil_two_side.
/external/mesa3d/src/mesa/main/mtypes.h
b5932cfc9d48cf21554e2f9fdaccb7d8b52f2f8d 13-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Use GLuint/GLint intead of GLstencil for stencil state.
/external/mesa3d/src/mesa/main/mtypes.h
acafeeb6dce74382fb3a48b83ab72bf67b7581ea 03-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Remove last remnants of pre-renderbuffer code.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
f519a770d074dac9e188e3b450c828510506c46d 02-Sep-2005 Roland Scheidegger <rscheidegger@gmx.ch> add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with scope of ati fragment shader constants. Fix issues with specifying color/alpha instructions not pair-wise. Change internal representation of the shader (to better fit how the extension works, should make driver implementations simpler, and saves some memory). (still doesn't work correctly with doom3 and swrast, but not worse than before)
/external/mesa3d/src/mesa/main/mtypes.h
23ffc3a85d6172f8a98d17d7f23610bab808d84e 27-Aug-2005 Brian Paul <brian.paul@tungstengraphics.com> Rearrange the code related to GL_ARB_occlusion_object to generalize query
objects for future types of queries.
/external/mesa3d/src/mesa/main/mtypes.h
6e4f594a02fc384b17d5732be652d7d28618aec2 25-Aug-2005 Brian Paul <brian.paul@tungstengraphics.com> removed GL_HP_occlusion_test extension
/external/mesa3d/src/mesa/main/mtypes.h
8c9cd63c89923e7c3cb751a1f24038c199d226d8 10-Aug-2005 Brian Paul <brian.paul@tungstengraphics.com> the PIXEL_MAP_I_TO_I table should be GLfloat, not GLint
/external/mesa3d/src/mesa/main/mtypes.h
1585c234e0db4bfb7cd85c4111594f6da1582e6f 28-Jul-2005 Ian Romanick <idr@us.ibm.com> Major rip-up of internal function insertion interface. The old
_glapi_add_entrypoint has been replaced by a new routine called
_glapi_add_dispatch. This new routine dynamically assignes dispatch offsets
to functions added. This allows IHVs to add support for extension functions
that do not have assigned dispatch offsets.

It also means that a driver has no idea what offset will be assigned to a
function. The vast majority of the changes in this commit account for that.
An additional table, driDispatchRemapTable, is added. Functions not in the
Linux OpenGL ABI (i.e., anything not in GL 1.2 + ARB_multitexture) has a
fixed offset in this new table. The entry in this table specifies the
offset in of the function in the real dispatch table.

The internal interface was also bumped from version 20050725 to 20050727.

This has been tested with various programs in progs/demos on:

radeon (Radeon Mobility M6)
r128 (Rage 128 Pro)
mga (G400)
/external/mesa3d/src/mesa/main/mtypes.h
61e694f270d8a4a03a3245b5e6eea805915ed74b 22-Jul-2005 Brian Paul <brian.paul@tungstengraphics.com> Make the vertex program source register Index field a signed int since
relative addressing can be negative.
Change some GLuint indexes to GLint in the t_vp_build.c file.
Added PROGRAM_UNDEFINED token for initializing the register File field to
avoid a gcc 4.0 warning.
/external/mesa3d/src/mesa/main/mtypes.h
ce721143b4d44d239baefe965e499606149b15cb 11-Jul-2005 Keith Whitwell <keith@tungstengraphics.com> Cache texenv programs to avoid repeated compilation (Ben Skeggs)
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
81032030ff42dd78133d85f7cabab5fb4c9aaf1e 09-Jun-2005 Keith Whitwell <keith@tungstengraphics.com> Store compiled vertex program representations in a pointer in the
vertex_program struct.

Allow switching between regular and vertex_program implementations
of fixed function TNL with the MESA_TNL_PROG environment var
(previously this required recompilation).

Ensure program compilation only references program data, not the
wider context. This means that compiled programs only need to be
invalidated when the program string changes, not on other state
changes.
/external/mesa3d/src/mesa/main/mtypes.h
df5e2b934bc18cd17ac512e6746df64019014a7d 05-Jun-2005 Brian Paul <brian.paul@tungstengraphics.com> set OLD_RENDERBUFFER=0, need to clean up a few more things before totally removing that
/external/mesa3d/src/mesa/main/mtypes.h
269e3895d9837ac7303b91948f003ca5c12c0fe4 12-May-2005 Keith Whitwell <keith@tungstengraphics.com> new MESA_DEBUG option: disassem
/external/mesa3d/src/mesa/main/mtypes.h
276330b2412910777f7016f427909085f02acbb8 09-May-2005 Keith Whitwell <keith@tungstengraphics.com> Use driver functions to create TexEnvProgram, TnlProgram
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
6f973f33679e034b7cb63806f1ddfabdbdd70123 22-Apr-2005 Keith Whitwell <keith@tungstengraphics.com> Simplify the pipeline_stage structure
- remove input/output fields, input tracking removed.
- remove state fields, the validate function now called
on every statechange.
- add an explicit 'create' function.

Add in code to build vertex program to implement current t&l state. Still
disabled, but turn on with a #define in t_vp_build.h.
/external/mesa3d/src/mesa/main/mtypes.h
7c26b61f9366a397e353d7b7f1f1d1f6d0dcd0c7 21-Apr-2005 Keith Whitwell <keith@tungstengraphics.com> Reduce the size of mesa's internal fragment and vertex program
representations by switching to packed structures for registers and
instructions.
/external/mesa3d/src/mesa/main/mtypes.h
efb41b07ff213735e8ea08f38a7799f9d80459fc 15-Apr-2005 Brian Paul <brian.paul@tungstengraphics.com> remove carriage returns
/external/mesa3d/src/mesa/main/mtypes.h
2a37053fd5591eeb21db33aa8f6ee444da1eee7a 14-Apr-2005 Michal Krol <mjkrol@gmail.org> ARB_shading_language_100 bit;
Fragment shader derivative hint
/external/mesa3d/src/mesa/main/mtypes.h
c1f2f9090bcca309b9aeef7ae57acc280704db81 03-Mar-2005 Brian Paul <brian.paul@tungstengraphics.com> change gl_buffer_object's Size field to GLsizeiptrARB type
/external/mesa3d/src/mesa/main/mtypes.h
2c6f911e10761c0946261d494bf149b19072821d 24-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> More GL_EXT_framebuffer_object: rename some things, added device driver hooks.
/external/mesa3d/src/mesa/main/mtypes.h
3deaa01c2bd576ae81fc6d3ea67c583cb3c22159 07-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> additional work on GL_EXT_framebuffer_object
/external/mesa3d/src/mesa/main/mtypes.h
ddc82eefca591f0ee93d3a77e1268571629a6d5c 05-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> Some initial work on GL_EXT_framebuffer_object.
/external/mesa3d/src/mesa/main/mtypes.h
bb7d5f8837a9c7658a18dbaf02d52583e29443e3 05-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> Remove the Shared->TexObjectList pointer and Next field from gl_texture_object.
Was only used by two drivers to walk over all texture objects. Can do that
via the hash table instead.
Cleaned up some comments for struct gl_texture_object.
/external/mesa3d/src/mesa/main/mtypes.h
3aa69b39bf9a79f97f1e049e3a8429cdfc4389f4 30-Jan-2005 Dave Airlie <airliedfreedesktop.org> add number of passes count to ati_fragment_shader
/external/mesa3d/src/mesa/main/mtypes.h
36a35c5614336bffdac4827c1e04bcaa8ab2fa27 22-Jan-2005 Keith Whitwell <keith@tungstengraphics.com> Determine ahead of time whether a display list will include vertices
which have to be processed in the 'loopback' path. If so, send
all vertices that way as the transition from playback->loopback has
several problems.
/external/mesa3d/src/mesa/main/mtypes.h
ea2943efd95c0760a5423236ed37655d863b8a5e 20-Jan-2005 Brian Paul <brian.paul@tungstengraphics.com> Update glDeletePrograms/Buffers() so that the ID is freed immediately, like
texture objects.
/external/mesa3d/src/mesa/main/mtypes.h
10378919d76a6ad4bc4fbb921424807cb469d791 19-Jan-2005 Brian Paul <brian.paul@tungstengraphics.com> Removed gl_texture_object's DeletePending. Changed a comment.
/external/mesa3d/src/mesa/main/mtypes.h
434f622ede0fa8663025fd858d8f445a1bc3f494 17-Jan-2005 Michal Krol <mjkrol@gmail.org> add 3dlabs_shhandle interface
/external/mesa3d/src/mesa/main/mtypes.h
848ff851575241454935c205eace88e799966563 17-Jan-2005 Brian Paul <brian.paul@tungstengraphics.com> clean up gl2 structs
/external/mesa3d/src/mesa/main/mtypes.h
3d52858c784cebaafc80d51608898ef571fef7b7 13-Jan-2005 Michal Krol <mjkrol@gmail.org> add ARB_shader_objects interfaces, shared and context state
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
4dafbc3dc75be565704f437016f70a63c48d1539 26-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> Some new comments, clean-up formatting, etc.
/external/mesa3d/src/mesa/main/mtypes.h
f76be3d6f2b054e5316aeb7b265ed28bda28c8ae 22-Nov-2004 Daniel Borca <dborca@users.sourceforge.net> handle ENABLE_BIT for EXT_stencil_two_side
/external/mesa3d/src/mesa/main/mtypes.h
885f10706a096037eea815803dbf4b4d28c3bd27 12-Nov-2004 Daniel Borca <dborca@users.sourceforge.net> added DD_TRI_TWOSTENCIL to ease EXT_stencil_two_side in device drivers
/external/mesa3d/src/mesa/main/mtypes.h
678ea6cd5cb68d22668c93bf4ed830226ef26b0c 27-Oct-2004 Michal Krol <mjkrol@gmail.org> add entries for extensions ARB_shader_objects, ARB_fragment_shader and
ARB_vertex_shader
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
d09209f5530e8bba78e4e0ec62b2027c588cc8f3 08-Oct-2004 Eric Anholt <anholt@FreeBSD.org> Add Roland Scheidegger's S3TC patch. This patch does not implement the
(patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module
providing functions to do so. Because it uses dlopen, it is only enabled if
USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far).
It adds support for S3TC to several DRI drivers, and adds a DRI config option to
force enabling S3TC even if the software compression/decompression is
unavailable. This may allow people to use apps that require S3TC even though
they don't have a license to implement the patented material themselves, if
those apps use precompressed textures.

Ideally we would get permission from the current holder of the patents to
implement the algorithm in Mesa, at which point the dlopen mess could go away.
Until then, this allows some to run applications they couldn't otherwise, and
hopefully will provide us with more push to get the final step of getting that
permission done.
/external/mesa3d/src/mesa/main/mtypes.h
53f82c5aadbb15585754bfacf3237093eccdb2ce 02-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> added support for GL_ARB_draw_buffers
/external/mesa3d/src/mesa/main/mtypes.h
765f1a12c6256282fe175ec92a0d01b45e4322c7 15-Sep-2004 Brian Paul <brian.paul@tungstengraphics.com> also fix possible delete bugs with buffer objects and vertex/fragment programs
/external/mesa3d/src/mesa/main/mtypes.h
f18fc687071a71a6f821a779a83b435f80d55b64 14-Sep-2004 Brian Paul <brian.paul@tungstengraphics.com> Repeatedly deleting a texture ID with glDeleteTextures() could lead to a crash.
Added a DeletePending flag to texture object struct to fix that.
Other misc clean-ups.
/external/mesa3d/src/mesa/main/mtypes.h
a9ea1628da5f17274cd7ee023f438046dc992073 13-Sep-2004 Daniel Borca <dborca@users.sourceforge.net> changes towards GL_ARB_point_sprite (two-zero)
/external/mesa3d/src/mesa/main/mtypes.h
1675058a346a57d89a18147799579c0ad574bfd2 02-Jul-2004 Brian Paul <brian.paul@tungstengraphics.com> a few comments
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
a156b49800c1419785d0709b78ef0d35e6dab5df 12-May-2004 Brian Paul <brian.paul@tungstengraphics.com> Added big-endian texture formats.
Moved CI->RGBA palette lookup into texel fetch function.
/external/mesa3d/src/mesa/main/mtypes.h
352d4dbfb24c65f327759c00c7db7d30a9482e35 10-May-2004 Keith Whitwell <keith@tungstengraphics.com> Add EXT_vertex_cull support to mesa
/external/mesa3d/src/mesa/main/mtypes.h
bdd15b5749b45929fa642c3e47997f52eb07fbe5 04-May-2004 Brian Paul <brian.paul@tungstengraphics.com> Fix minor warnings found with g++.
/external/mesa3d/src/mesa/main/mtypes.h
6d460af6af77a0d5a5b568bcd6094b98e249ba93 23-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragment
program is enabled AND the currently bound program is valid.
Check _Enable instead of Enable to prevent things from blowing up
when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually
defining a program.
/external/mesa3d/src/mesa/main/mtypes.h
f959f6e1dc27c71fc0ccc56e09b29101b3bf3b97 22-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> New glTexImage code.
The gl_texture_format struct now has a StoreTexImageFunc that's called
by glTex[Sub]Image[123]D to convert the user's texture data into the
specific texture format layout. Now it's much easier to add new texture
formats (like the 16/32-bit floating point formats).
The texutil.[ch] and texutil_tmp.h files are obsolete.
/external/mesa3d/src/mesa/main/mtypes.h
05a6f2fd484bab59c6e6a381f58808adc26619f1 21-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> Fix up some assorted issues with initialization of vertex program registers.
Some need to be set per-vertex, other per-primitive. Cleared that up.
Only need to init temp/result registers if executing an NV vertex program.
/external/mesa3d/src/mesa/main/mtypes.h
6fb235661a3a78174e7554b292332a1dbb24f171 14-Apr-2004 Keith Whitwell <keith@tungstengraphics.com> Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compile
and execute fragment programs. Very limited and experimental, but works
well enough to run arbfplight.c.

http://fabrice.bellard.free.fr/tcc/

Compile with 'make linux-tcc', being sure to make clean first.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
7a6b71ef2944bae1718e8167b2faaceb8422071c 13-Mar-2004 Brian Paul <brian.paul@tungstengraphics.com> Implementation of GL_EXT_pixel_buffer_object extension.
Note: extension may not be finalized yet - subject to change!
Note: implementation not fully suitable for h/w implementation yet.
/external/mesa3d/src/mesa/main/mtypes.h
94ec525ba5bc763210b1fb0198beeee2fe601b99 04-Mar-2004 Brian Paul <brian.paul@tungstengraphics.com> yet another take on VBO deleting and reference counting
/external/mesa3d/src/mesa/main/mtypes.h
9a20a72cdcab2a6c1678b83c782b61c047e765e3 03-Mar-2004 Brian Paul <brian.paul@tungstengraphics.com> comments, capitalization, misc-clean-ups
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
833d96aa913dcb0c5ca085cc7ebee3df90f7fbf8 28-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() function
/external/mesa3d/src/mesa/main/mtypes.h
aaad687d510b3c933e4ca532e1c12ec723d33588 28-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> replace color table FloatTable boolean with Type enum
/external/mesa3d/src/mesa/main/mtypes.h
0f1e19c03cdf5bd8a7c3db59cf395a0833ab0173 24-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> added some const keywords
/external/mesa3d/src/mesa/main/mtypes.h
5cd79f9267c5ce71d9fc3355ab0ba8fe5fdf636a 17-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> added FogOption to fragment_program struct
/external/mesa3d/src/mesa/main/mtypes.h
c2f6d6d092cb769416af453a9b8e216b20747bec 17-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> added FixedToDouble() macro
/external/mesa3d/src/mesa/main/mtypes.h
08a45d4d4f01100d3c99d1c8fc4b7db1242b78ef 08-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> fully parameterize the macros for fixed-point arithmetic
/external/mesa3d/src/mesa/main/mtypes.h
07d6a983595b7ee52c8448fc579d952ce36472b8 06-Feb-2004 Ian Romanick <idr@us.ibm.com> Refactor "class" texture environments to be implemented in terms of
ARB_texture_env_combine state.
/external/mesa3d/src/mesa/main/mtypes.h
e5a94ba138f9a628b1237fa815c2af9c9da077eb 06-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> Added flags for _all_ extensions to the gl_extensions struct so that drivers
can disable any extension if necessary.
/external/mesa3d/src/mesa/main/mtypes.h
27413ed249d5614de3057eda3401a6cc9ca5b324 28-Jan-2004 Keith Whitwell <keith@tungstengraphics.com> Move FRAG_BIT_ definitions to mtypes.h so that NEED_SECONDARY_COLOR() macro
works globally.
/external/mesa3d/src/mesa/main/mtypes.h
c93105eb9e2499efb237fd89dba0cebd48f18375 27-Jan-2004 Ian Romanick <idr@us.ibm.com> Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.
The internal driver interface was also changed to use
BlendEquationSeparate instead of BlendEquation.
/external/mesa3d/src/mesa/main/mtypes.h
18fa367ac6e035341f5eb86ecc4231124b2921e3 27-Jan-2004 Keith Whitwell <keith@tungstengraphics.com> Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single
array, texObj->Image[face][level].
/external/mesa3d/src/mesa/main/mtypes.h
f2ce4dc7dae1a1878c182f3e06fd7d9b64ab9027 23-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> Change software alpha plane pointers from void* to GLchan*, eliminate some casts.
/external/mesa3d/src/mesa/main/mtypes.h
3abf746a7eae52220485cd031aecec2ca9e6103e 23-Jan-2004 Keith Whitwell <keith@tungstengraphics.com> Don't set extra bits in FLUSH_VERTICES, fix several state bugs.
/external/mesa3d/src/mesa/main/mtypes.h
4f295cee73bae1f687efe2dc062522b40d90b1e4 23-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> Initial support for floating point and signed texture formats.
New "FetchTexelFuncF()" function returns texels in floating point format.
Only used for depth component images at this time.
Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing
need for a bunch of ugly casts.
/external/mesa3d/src/mesa/main/mtypes.h
790734045b69c47b1525fbf9106a7ca5a8eb7416 05-Jan-2004 Keith Whitwell <keith@tungstengraphics.com> Re-commit t_vertex.[ch] changes to fd.o server.
/external/mesa3d/src/mesa/main/mtypes.h
4a3110fb213f419a47822eb44c5f2fcd74bb3b0d 12-Dec-2003 Brian Paul <brian.paul@tungstengraphics.com> remove TexCoordInterleaveFactor. Clean up _mesa_InterleavedArrays()
/external/mesa3d/src/mesa/main/mtypes.h
e90de7883a3bd9afd27ac83314f08cf9f03f60e3 29-Nov-2003 Brian Paul <brian.paul@tungstengraphics.com> Fix generic/conventional vertex array glitches.
Changed _NEW_ARRAY_ATTRIB_0 back to 0x10000 so that the conventional and
generic enable bits do not alias.
In ac_import.c test Array.Normal.Enabled instead of Array._Enabled & _NEW_ARRAY_COLOR0, etc.
In t_array_import.c give priority for generic arrays over conventional
arrays on an individual basis, not all or none.
/external/mesa3d/src/mesa/main/mtypes.h
0f3cd3f894612d156de454178effa4c732f96da7 25-Nov-2003 Brian Paul <brian.paul@tungstengraphics.com> current raster color index should be GLfloat
/external/mesa3d/src/mesa/main/mtypes.h
b65bc4f87b356cf6228151cd2f341432e80dc6b8 25-Nov-2003 Brian Paul <brian.paul@tungstengraphics.com> Remove unnecessary usage of __FUNCTION__.
#define MESA_FUNCTION to __FUNCTION__ if MESA_DEBUG is defined.
/external/mesa3d/src/mesa/main/mtypes.h
ae0eaf93e092ac8e8b1c98f3e986de96940663fa 24-Nov-2003 Keith Whitwell <keith@tungstengraphics.com> Merge vtx-0-2-branch
/external/mesa3d/src/mesa/main/mtypes.h
663a9e1b7ef7b8384abe2f81e1a8749b942f6d3a 21-Nov-2003 Daniel Borca <dborca@users.sourceforge.net> more texture compression
/external/mesa3d/src/mesa/main/mtypes.h
1c27a1e957546ed849b3fd0c35904e9680f113f8 19-Nov-2003 Karl Rasche <karlrasche@gmail.com> Initial checking of new ARB_frag/vertex program parser
/external/mesa3d/src/mesa/main/mtypes.h
57857ca0925116d6d254fef7e705cfe0b650d77f 12-Nov-2003 Brian Paul <brian.paul@tungstengraphics.com> Ville Syrjala's logic op patch
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
c5b1e81de48de5d8830bf5d92ff767ad1985e46e 23-Oct-2003 Brian Paul <brian.paul@tungstengraphics.com> Initial work for bounds checking of vertex arrays and vertex buffer objects.
Only glDrawArrays() done so far.
Simplified glVertex/Color/etcPointer functions.
Misc casts added here and there.
/external/mesa3d/src/mesa/main/mtypes.h
bcb3957b6c22caf35d9b300440648c3e656e8b4c 09-Oct-2003 Keith Whitwell <keith@tungstengraphics.com> Eric's mesa-depth32.diff
/external/mesa3d/src/mesa/main/mtypes.h
06588db3fa2c8292db57b3537bb3ad8811d82f46 18-Sep-2003 Brian Paul <brian.paul@tungstengraphics.com> Move context ASSERT/FLUSH macros to context.h
/external/mesa3d/src/mesa/main/mtypes.h
3173277e20d7a2ed640298aa4f536f3903a0ef8b 18-Sep-2003 Brian Paul <brian.paul@tungstengraphics.com> remove MESA_TRACE stuff
/external/mesa3d/src/mesa/main/mtypes.h
bd3096edc30530a2b77770b773d725081c4d804f 18-Sep-2003 Brian Paul <brian.paul@tungstengraphics.com> removed unused NoRaster and Rendering fields from GLcontext
/external/mesa3d/src/mesa/main/mtypes.h
bbd9a0c2b4d314059e7212f973034fcc774093e0 17-Sep-2003 Brian Paul <brian.paul@tungstengraphics.com> remove unused Target field from gl_buffer_object
/external/mesa3d/src/mesa/main/mtypes.h
57d882b6847128fe5f72575f61a2b2dace7ac46c 17-Sep-2003 Brian Paul <brian.paul@tungstengraphics.com> GL_ARB_vertex_buffer_object working now, at least for non-indexed
vertex arrays.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
aa00d122b81a118eca3b43c66f17d988b1aa62d3 15-Sep-2003 Brian Paul <brian.paul@tungstengraphics.com> Some work on ARB_vertex_buffer_object.
Use GL_CLIENT_ACTIVE_TEXTURE when returning texcoord array values in get.c
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
c8363a31cfcd8e3c60387df31525158847ab1457 02-Sep-2003 Ian Romanick <idr@us.ibm.com> Added support for EXT_texture_mirror_clamp and the single wrap mode
that it addes to ATI_texture_mirror_once. This includes updating the
texwrap test to exercise the new mode.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
781fb93877ea3a6faeefcdb48d9b463da7d954a3 28-Aug-2003 Brian Paul <brian.paul@tungstengraphics.com> Added OpenGL 1.4's per-texture LOD bias.
/external/mesa3d/src/mesa/main/mtypes.h
63736723678ef30e7f90835cfbd48c520e39bf11 23-Aug-2003 Ian Romanick <idr@us.ibm.com> Trivial changes to add support for GL_ARB_point_sprite, which is a
subset of GL_NV_point_sprite (which was already supported).
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
ff56908e09c0351179478deb19677cf56eec1f64 05-Aug-2003 Keith Whitwell <keith@tungstengraphics.com> Store material attributes in an Attrib[] style array. This is a
first step to reviving/rescuing the 'vtx' rework from the old mesa
tree.
/external/mesa3d/src/mesa/main/mtypes.h
f7fda86c6dcb7894157bd35a0cf15d003d48b441 22-Jul-2003 Brian Paul <brian.paul@tungstengraphics.com> Implement debugger callback, etc for vertex programs. Misc clean-ups.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
887e2cf01a99f7fe1b7c94320b7bdbbf0d6ad2f8 03-Jul-2003 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation).
/external/mesa3d/src/mesa/main/mtypes.h
de4f460e20cf76ece883530ffe3f82a0afc817f3 03-Jul-2003 Brian Paul <brian.paul@tungstengraphics.com> Simplify extension string handling.
/external/mesa3d/src/mesa/main/mtypes.h
b17a722ca3989e8563ee04cb2939f4835f8a171e 13-Jun-2003 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_ARB_occlusion_query (not 100% finalized).
/external/mesa3d/src/mesa/main/mtypes.h
09dbc1e5aea9d584d7d031bcf0c945aa16cef2a1 02-Jun-2003 Ian Romanick <idr@us.ibm.com> Removed fields from 'struct gl_extensions' for extensions that don't
need them. Added "always on" extensions for extensions that are part
of core versions 1.1 and 1.2.
/external/mesa3d/src/mesa/main/mtypes.h
882caa18c6c551cbe60f205795b00a6a5361a986 30-May-2003 Ian Romanick <idr@us.ibm.com> Added support for NV_light_max_exponent.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
e5b244ff7f984805c1bcc020342f1300f2639c71 21-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_EXT_depth_bounds_test.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
451f31093e950e2c76e8d7dee3cb097049a906b5 17-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> checkpoint: more infrastructure for GL_ARB_vertex/fragment_program.
/external/mesa3d/src/mesa/main/mtypes.h
d0492cf1377897c8113a109aa936ee7a7084b9c8 11-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> Some groundwork for GL_ARB_vertex/fragment_program.
/external/mesa3d/src/mesa/main/mtypes.h
aac732546a235ca52b3236e3bceb493d77ba7326 09-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> basic work on GL_ARB_vertex_buffer_object
/external/mesa3d/src/mesa/main/mtypes.h
36a0a3252e1e20df69b53f70ba93bc74c4a4bf0e 08-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> Added ctx->Texture._EnabledCoordUnits bitfield.
Fixed some vertex array / vertex program glitches with glDrawElements.
Fixed some fragment program runtime bugs.
Non-trivial Cg programs are running now.
/external/mesa3d/src/mesa/main/mtypes.h
ce7f006e66533da9f6db61e368273f1ffcc12ace 05-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> fragment program named constants and named program parameters basically work now
/external/mesa3d/src/mesa/main/mtypes.h
6061df09a45c42745253965df012ddf76910ea33 29-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> Basic infrastructure for GL_ARB_vertex_buffer_object.
/external/mesa3d/src/mesa/main/mtypes.h
451566305287161d51eb5643a5fd398809ac03c1 19-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> Rewrite of fragment program named parameters, constants, etc. Not done.
/external/mesa3d/src/mesa/main/mtypes.h
490a8b83152a5c6bf79ef6e9805eabe6230c812e 02-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> remove some MESA_DEBUG stuff
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
14e6bbccffa0a4d6b9d505212e812521da3677b6 23-Feb-2003 Brian Paul <brian.paul@tungstengraphics.com> added TEXTURE_*_INDEX tokens
/external/mesa3d/src/mesa/main/mtypes.h
2c1912fe84d110d4c8cccc207827a154c09dd09a 17-Feb-2003 Brian Paul <brian.paul@tungstengraphics.com> more work on DEFINE/DECLARATION statements, symbol tables
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
a7c52c61e5bb5dc1f1781453b757bdb9904f6a1e 22-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> push/pop color table state (Eric Plante)
/external/mesa3d/src/mesa/main/mtypes.h
418ac00e7583bf3136816a43b3357e0d0b0c776d 21-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> GL_SGI_texture_color_table extension (Eric Plante)
/external/mesa3d/src/mesa/main/mtypes.h
943f0c6a41aa66705ffba90a55cf75296b0bde1d 21-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> GL_ATI_texture_env_combine3 extension
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
c7a219ec6f6047b691a9bb32e55ec4a889ba2814 21-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> GL_ATI_texture_mirror_once extension (Ian Romanick)
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
0670eb259d2ede9d1ca1762759737b8cc31a67a4 10-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> removed old TEXTURE0_ defines
/external/mesa3d/src/mesa/main/mtypes.h
59c5cf35c92e969f66eefd27809e72089b731701 09-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> finally get rid of ctx->Texture._ReallyEnabled field
/external/mesa3d/src/mesa/main/mtypes.h
fc80ad6e62fb2b53d53756593099330477a44c52 04-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> Changed a number of context fields from GLchan to GLfloat (such as ClearColor).
Also changed parameter types for some driver functions (like ctx->Driver.Clear-
Color). Updated all the device drivers.
Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.
/external/mesa3d/src/mesa/main/mtypes.h
be99e845bd7979fe46d38d9b294c1ba0a0aa95b8 03-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> finished up GL_EXT_stencil_two_side
/external/mesa3d/src/mesa/main/mtypes.h
0adce5d0ed20910a41c2115e4dd0173fdcc53cdb 03-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> removed unused ctx->Polygon.OffsetMRD
/external/mesa3d/src/mesa/main/mtypes.h
641b2307ec77e70a5b1db75934438d2fbb75613c 02-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> removed ctx->Polygon._OffsetAny - not really needed
/external/mesa3d/src/mesa/main/mtypes.h
89fb06fcc11cbe3f23521312155d6c55d869f526 27-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> new texture compression infrastructure
/external/mesa3d/src/mesa/main/mtypes.h
681b8c9d1ba06c8c82e687a5ced369b72e6b1eb9 23-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> merge gl_texture_image RowStride from DRI 4.0.4
/external/mesa3d/src/mesa/main/mtypes.h
551b65f13754e6760e5c272ff86f8873c9c13e5c 21-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> GL_MESA_pack_invert
/external/mesa3d/src/mesa/main/mtypes.h
c5b995066020191982b2315fc45d05e068eee761 21-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
487047c06040112e1a2648982e378e0cca4874b8 29-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> prep for OpenGL 1.4 feature set
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
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/mtypes.h
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/mtypes.h
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/mtypes.h
f21a4872e8218c0454107686a531eb0ff19c36bb 06-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> replaced hard-coded 4 with NUM_TEXTURE_TARGETS
/external/mesa3d/src/mesa/main/mtypes.h
6c408b46678637959dba04663fbc34eb9c4bc397 27-May-2002 Brian Paul <brian.paul@tungstengraphics.com> replaced experimental MESA_sprite_point with NV_point_sprite
/external/mesa3d/src/mesa/main/mtypes.h
002483e009e7c8610a5abfbf61a43694cb34e1d3 09-May-2002 Brian Paul <brian.paul@tungstengraphics.com> Minor change to current raster position and texcoords.
/external/mesa3d/src/mesa/main/mtypes.h
f595212336ae63c981f0f39f4ea1dec67ff7fe25 02-May-2002 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_ARB_texture_env_crossbar.
Simplification of some of the texture application code.
/external/mesa3d/src/mesa/main/mtypes.h
12bab63f09975504c20a5dc9b9831a8072c43506 21-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> Vertex program attribute arrays seem to work now. This includes fallbacks
to the conventional arrays when attribute arrays aren't enabled.
/external/mesa3d/src/mesa/main/mtypes.h
b7752724d930aa8b93617829d814b20509f85069 21-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> vertex program attribute array work
/external/mesa3d/src/mesa/main/mtypes.h
4fa66fa85ccc1b35411c1deb65119cde6c9d44a4 19-Apr-2002 Karl Schultz <kschultz@freedesktop.org> Provide a reasonable replacement for __FUNCTION__ when using non GNU C
compilers. This allows Mesa to compile with non GNU C compilers again.
/external/mesa3d/src/mesa/main/mtypes.h
306d3fcdbad523428501833405e47e9897896def 09-Apr-2002 Keith Whitwell <keith@tungstengraphics.com> bring in changes from dri tcl branch
/external/mesa3d/src/mesa/main/mtypes.h
103bc0f75c00dfcf671dc50d8d9666f88a42a59d 29-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.
/external/mesa3d/src/mesa/main/mtypes.h
636b2801d981872d3111be0cd11aa79b4cc8643b 23-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> Test implementation of proposed GL_EXT_shadow_funcs extension. This just
generalizes the R/texture comparision operators to include all eight of
the depth test comparisons.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
f9708e45ac819a0c589e14ea81e635fbbc8033f8 13-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> initial work for NV_vertex_program1_1 extension
/external/mesa3d/src/mesa/main/mtypes.h
2e47ff7b9c4b7092c9a1d6c29eb03f440cd701a0 15-Feb-2002 Brian Paul <brian.paul@tungstengraphics.com> Finished up GL_ARB_depth_texture and GL_ARB_shadow
/external/mesa3d/src/mesa/main/mtypes.h
0cb28418d06c30e431bdff515c1d36a812d5950d 13-Feb-2002 Keith Whitwell <keith@tungstengraphics.com> More suport for t&l drivers
Fix GLuint compare bugs
Fix RESET_STIPPLE calls
/external/mesa3d/src/mesa/main/mtypes.h
4c8fadc6d996c8c433826c4c763104b7d69cf7e5 22-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> Clean-up/renaming of the per-vertex attribute bits, specifically, the
VERT_BIT_* flags are new and used in many places (esp in T&L code).
Updated some comments for doxygen.
Various code clean-ups.
/external/mesa3d/src/mesa/main/mtypes.h
3e276d43a22b043c1aa33c21ef3513a66d382dca 12-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> added some comments
/external/mesa3d/src/mesa/main/mtypes.h
2edd1807f85a5118dcd0c20156a2d68f5c23d145 11-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> Moved _mesa_VertexAttribPointerNV into varray.c.
Removed dead placeholder functions from vpstate.[ch].
Changed gl_client_array's Enabled field to GLuint so it can actually
hold the flags we're storing in it!
Always do the switch (type) code in the vertex array functions to that
<type> gets error checked!
/external/mesa3d/src/mesa/main/mtypes.h
571a1ac6eead573777b990b31fce16987d894adb 06-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> implemented vertex program point size control
/external/mesa3d/src/mesa/main/mtypes.h
363049160da54f4aafe88f99bb2140a9bfed142b 06-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> Another vertex program checkpoint: clean-up of vertex attribute storage
in vertex_buffer. Improved vertex program pipeline stage such that
output registers can be processed in a loop. Getting closer to where
we need to be in order to implement performance optimizations...
/external/mesa3d/src/mesa/main/mtypes.h
bc42c19f22c3b719712529d86faea818f34150a2 05-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> infrastructure for vertex program attribute evaluators
/external/mesa3d/src/mesa/main/mtypes.h
bd1a9dacf6a45e6aa6954eeb490d55ebcc80ace8 05-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> Vertex program checkpoint commit: converted all vertex attributes (color,
normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype.
Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib
now complete.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
86b842790b720cd6b1499ce8edca8a4e9c8dc029 14-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> vertex program check-in
/external/mesa3d/src/mesa/main/mtypes.h
014ec1ac5e98e86836285a176d7674bc43a00cd7 05-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> prototype implementation of GL_ARB_depth_texture, GL_ARB_shadow, GL_ARB_shadow_ambient
/external/mesa3d/src/mesa/main/mtypes.h
5b7dab2e4c7df1fde0a7fcf28b8b54745b9fcd2e 19-Nov-2001 Brian Paul <brian.paul@tungstengraphics.com> added test implementation of GL_ARB_window_pos
/external/mesa3d/src/mesa/main/mtypes.h
87c964d3885d84959f86d5d7d9c4358240b6da3c 06-Nov-2001 Brian Paul <brian.paul@tungstengraphics.com> added missing GL_MAX_TEXTURE_LOD_BIAS_EXT query
/external/mesa3d/src/mesa/main/mtypes.h
e11f089f821ea90754d8cbe56278eba4cf5665f4 17-Oct-2001 Brian Paul <brian.paul@tungstengraphics.com> added GL_ARB_texture_mirrored_repeat
/external/mesa3d/src/mesa/main/mtypes.h
46af1f87c897ef03470d205e9fd147e93911cbce 28-Jul-2001 Keith Whitwell <keith@tungstengraphics.com> Remove _BaseAlpha, fix reflect lighting bug.
/external/mesa3d/src/mesa/main/mtypes.h
f431a3fb4dc1bf860203d79e54657e3a62bc50df 13-Jul-2001 Brian Paul <brian.paul@tungstengraphics.com> assorted changes for supporting GLfloat color channels (not done)
/external/mesa3d/src/mesa/main/mtypes.h
acc722d4b890da7ed0ede24751e2bcaf28cc1468 26-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> More raster fog coord fixes.
New truncate vs. floor comments in drawpixels.c
Added current raster secondary color state, not used yet.
/external/mesa3d/src/mesa/main/mtypes.h
8c2f6c5059a60d845716277973c826f4069926e6 26-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> added GL_IBM_rasterpos_clip extension
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
ae47121fa336f53c5ab51df3dc699db018feff18 13-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> removed old, redundant CurrentTransformUnit state var
/external/mesa3d/src/mesa/main/mtypes.h
b5d3f2c52103c6bd834838695cd753ca26991bd6 30-May-2001 Brian Paul <brian.paul@tungstengraphics.com> added current raster fog coord and related code
/external/mesa3d/src/mesa/main/mtypes.h
736fcbec4732830e7976fb5eb309b13e03be132c 29-May-2001 Brian Paul <brian.paul@tungstengraphics.com> infrastructure for GL_ARB_multisample
/external/mesa3d/src/mesa/main/mtypes.h
3893e638e6521b9c070e01c0b31d22754ff97a88 21-May-2001 Brian Paul <brian.paul@tungstengraphics.com> initial support for GL_SGIS_generate_mipmap extension
/external/mesa3d/src/mesa/main/mtypes.h
51c0c71811508b6658e0d5dcff8426b618322a73 28-Apr-2001 Keith Whitwell <keith@tungstengraphics.com> Support for floating point color representation in tnl module.
/external/mesa3d/src/mesa/main/mtypes.h
1c85aa33321821b44bea83d3dee702ab4e05f406 20-Apr-2001 Brian Paul <brian.paul@tungstengraphics.com> Fixed a texture conversion problem: sometimes need to produce an intermediate
texture image in the base internal format between user->Mesa format
conversion. See comments in texstore.c
/external/mesa3d/src/mesa/main/mtypes.h
bcfe3936a8722f43639ad853649c7f0ea8591cf3 17-Apr-2001 Brian Paul <brian.paul@tungstengraphics.com> Fixed a number of minor GL_ARB_texture_env_combine/dot3 issues.
/external/mesa3d/src/mesa/main/mtypes.h
ed39a43b8cb2e1cf69b097fc89365cde470ebf51 29-Mar-2001 Keith Whitwell <keith@tungstengraphics.com> Remove ENABLE_* flags, ctx->_Enabled.
Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
/external/mesa3d/src/mesa/main/mtypes.h
3d5815f4636be0aa9f1788ca80908d5809d26481 29-Mar-2001 Keith Whitwell <keith@tungstengraphics.com> Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT.
Added some switchable debug to s_context.c
/external/mesa3d/src/mesa/main/mtypes.h
ee403ff0ba272f5be539ddc921d3fffb3d250cc4 29-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> Removed DD_Z_NEVER.
Replaced SEPERATE with SEPARATE.
Renumbered _NEW_ flags.
Removed _NEW_COLORTABLE.
/external/mesa3d/src/mesa/main/mtypes.h
16a8e986cebae6560d00992b6b9f54549e1d03c6 28-Mar-2001 Gareth Hughes <gareth@valinux.com> - Restore texImage->IntFormat.
- Fix FX driver texture image conversions.
/external/mesa3d/src/mesa/main/mtypes.h
38f28665bf9fb5b2464738ca5074848ec2777ae1 28-Mar-2001 Gareth Hughes <gareth@valinux.com> More texture format updates. Drivers now need only plug an appropriate
format into texImage->TexFormat, the rest is handled by core Mesa.
/external/mesa3d/src/mesa/main/mtypes.h
19d1e432612cf7db797da11793b13a6c1c6aac16 27-Mar-2001 Gareth Hughes <gareth@valinux.com> Updates required for DRI drivers on mesa-3-5-branch.
/external/mesa3d/src/mesa/main/mtypes.h
2bb04cad14f5edd9e2657a1122ceeb1fb468f4a9 26-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> added GL_ARB_texture_border_clamp
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
b3678f108044302dc6f50a14568d47c1b345df9b 23-Mar-2001 Gareth Hughes <gareth@valinux.com> Some more minor cleanups of macros.
/external/mesa3d/src/mesa/main/mtypes.h
8b7dfa852626f73894763e278e365609e81f1220 23-Mar-2001 Gareth Hughes <gareth@valinux.com> Remove compiler warnings about ASSERT_OUTSIDE_BEGIN_END() macro.
/external/mesa3d/src/mesa/main/mtypes.h
709892459922a32096fe9dd8261d0d92337bb02f 19-Mar-2001 Keith Whitwell <keith@tungstengraphics.com> Split driver struct into swrast/tnl/core components.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
47489c0721348d8f5e5f17b4af63b1c601045116 17-Mar-2001 Keith Whitwell <keith@tungstengraphics.com> Remove dead #define.
Add case for triangles culled front and back -- not handled by the
culling code inside swrast triangle routines.
/external/mesa3d/src/mesa/main/mtypes.h
24fab8e2507d9ccc45c1a94de0ad44088cfb8738 15-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> removed ARB_texture_env_add bool flag, use EXT_texture_env_add flag
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
08836341788a9f9d638d9dc8328510ccd18ddeb5 03-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> lots of gl_*() to _mesa_*() namespace clean-up
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
c499ce31baf820e84d133c2189f88e15a1a36672 20-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture.
Added some const keywords in the s/w texturing code.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
f7e1dfeaefda8865252513bc4d880ea8640efe4d 17-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> Work in glGetTexImage() to return GL_COLOR_INDEX images.
Prototype code for GL_SGIX_depth_texture / more flexible teximage code.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
5c1e7fa6ee72f4403d9ec9d12830dd689b966e71 29-Jan-2001 Keith Whitwell <keith@tungstengraphics.com> Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixels
functions from core mesa -- if drivers need these fallbacks they
must now call them themselves.

Introduced hooks for clip-vertex-interpolation and the rendering
of clipped lines and polygons. Allows drivers to interpolate
their hardware-format vertices directly. Used in dri drivers to
replace fastpath code.

Slight optimizations to pipeline build/run routines.
/external/mesa3d/src/mesa/main/mtypes.h
ab36c9aa1c4af92dd9f4ec48028f1eb2e98d1ccc 24-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> removed the unused/broken GL_PGI_misc_hints extension
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
ce656b6a0a103ae9cb41d509be353f0e661e3574 08-Jan-2001 Keith Whitwell <keith@tungstengraphics.com> Fixed 'IRound' to 'IROUND' in mmath.h

Fixed fallback path for drawarrays/_tnl_hard_begin.

Removed disabled debug code.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
ba8f6172bdfb44594537a304225b54152584d701 06-Jan-2001 Gareth Hughes <gareth@valinux.com> Implementation of GL_EXT_texture_env_dot3.
/external/mesa3d/src/mesa/main/mtypes.h
58e991705392a2e17a1c8b034f4083a0adaf1943 05-Jan-2001 Keith Whitwell <keith@tungstengraphics.com> Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertex
is always the last vertex parameter.
Modify clipping to preserve pv colors.
Modify swrast and X11 driver to expect the pv in the last vertex
(was looking in the first vertex previously).
Remove all handling of flatshading from swrast_setup.

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

Modified t_vb_rendertmp.h to remove the need for 'parity' arguments
in RENDER_TRI macros.
/external/mesa3d/src/mesa/main/mtypes.h
3041d05bbcccfddba01a1eeaba01e5da0e1e99af 02-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)
Clean-up of color conversion macros.
New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
/external/mesa3d/src/mesa/main/mtypes.h
376d022e4a5a56f81f089a13a34438981fe83178 27-Dec-2000 Keith Whitwell <keith@tungstengraphics.com> fix demos/fire, enable lazy vertex flushing
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
083e466f88e1203f08b7699fa34b05d0e45b3172 14-Dec-2000 Brian Paul <brian.paul@tungstengraphics.com> Renamed texture object _P to _MaxLevel and _M to _MaxLambda.
Now add BaseLevel in _MaxLevel computation.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
45015e4d79d63183f6d9c4e4fad655921e07b0ab 28-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> Pass scale and bias values to _mesa_scale_and_bias_rgba().
Implemented post-convolution scale and bias operation.
/external/mesa3d/src/mesa/main/mtypes.h
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/mtypes.h
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/mtypes.h
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/mtypes.h