History log of /external/mesa3d/src/mesa/main/texenv.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
33e01d93ca1a1d3183243c308a2c87f4b969b3bd 28-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es: Validate glGetTexEnv parameters in Mesa code rather than the ES wrapper

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texenv.c
8a263b6efd2c520a4ed9c98b9c8142c6c2c6f389 28-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es: Validate glTexEnv parameters in Mesa code rather than the ES wrapper

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texenv.c
f9a2352c9569ef562e9507bfe09358f236aaf4b7 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_texture_lod_bias extension enable flag

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

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

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

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

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

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

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texenv.c
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/texenv.c
b020b111a82266743d2cc501195defe687657e96 19-Sep-2011 Yuanhan Liu <yuanhan.liu@linux.intel.com> mesa: fix error handling for glTexEnv

Fix error handling while calling glTexEnv with invalid texture
environment parameters.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texenv.c
bfe284fd26e96b71c7cf46e6365b3697d68cde83 04-Jul-2011 Henri Verbeet <hverbeet@gmail.com> mesa: Fix a couple of TexEnv unit limits.

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/texenv.c
e5c6a92a12b5cd7db205d72039f58d302b0be9d5 15-Feb-2011 Marek Olšák <maraeo@gmail.com> mesa: implement clamping controls (ARB_color_buffer_float)

Squashed commit of the following:

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

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

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

mesa: document known possible deviations from ARB_color_buffer_float

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

mesa: expose GL_ARB_color_buffer_float

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

mesa, mesa/st: handle read color clamping properly

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

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

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

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

mesa: respect color clamping in texenv programs (v2)

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

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

mesa: restore color clamps on glPopAttrib

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

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

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

mesa: introduce derived _ClampXxxColor state resolving FIXED_ONLY

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

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

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

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

mesa: add unclamped color parameters
/external/mesa3d/src/mesa/main/texenv.c
5b902a08c1919d1bc4666d3e3b8e3f7933b7974b 18-Mar-2011 Brian Paul <brianp@vmware.com> mesa: minor improvements in glTexEnvfv()
/external/mesa3d/src/mesa/main/texenv.c
0117da40cd7edd3d165bb28569c289b37eca12b9 06-Jan-2011 Vinson Lee <vlee@vmware.com> mesa: Include mtypes.h in files that use gl_context struct.

Directly include mtypes.h if a file uses a gl_context struct. This
allows future removal of headers that are not strictly necessary but
indirectly include mtypes.h for a file.
/external/mesa3d/src/mesa/main/texenv.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/texenv.c
de1ffd2f62257c174325d877c327d56b1a9e6cbc 08-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Refactor parameter processing in set_combiner_(operand|source)

The enum values were chosen to have sequential values for a reason.
Use that to compact and simplify the code.
/external/mesa3d/src/mesa/main/texenv.c
1a2d498b4164f457c48e9fde9ae8bbadfcf7fa72 08-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Fix handling of texenv operands for EXT vs ARB version

GL_EXT_texture_env_combine has slightly more restrictive limits on the
valid sources for some operands. This wasn't caught before because
almost every driver in Mesa that supports the EXT version also
supports the ARB version.

Inspired by a patch posted the the mesa-dev mailing list by Andrew
Randrianasulu.
/external/mesa3d/src/mesa/main/texenv.c
a11d60d14caf8efc07f70af63b57b33273f8cf9b 29-Nov-2009 Vinson Lee <vlee@vmware.com> mesa: Fix array out-of-bounds access in _mesa_TexEnvf.

_mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument
as an array.
/external/mesa3d/src/mesa/main/texenv.c
47a385b43be9cf2ef0d0b24b1d588dc26940dfe6 13-Aug-2009 Brian Paul <brianp@vmware.com> mesa: minor clean-ups in bumpmap functions
/external/mesa3d/src/mesa/main/texenv.c
6aa7a03d856f4cfdbed493c976387b2164a0c922 13-Aug-2009 Brian Paul <brianp@vmware.com> mesa: use _mesa_get_current_tex_unit() in more places
/external/mesa3d/src/mesa/main/texenv.c
37f2117cd132527ebf89f9294b2f35db87326460 15-Jun-2009 José Fonseca <jfonseca@vmware.com> mesa: Use integer type with appropriate sign.
/external/mesa3d/src/mesa/main/texenv.c
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/texenv.c
114152e068ec919feb0a57a1259c2ada970b9f02 12-Mar-2009 Roland Scheidegger <sroland@vmware.com> mesa: add support for ATI_envmap_bumpmap

add new entrypoints, new texture format, etc
translate in texenvprogram.c for drivers using the mesa-generated tex env
fragment program
also handled in swrast, but not tested (cannot work due to negative texel
results not handled correctly)
/external/mesa3d/src/mesa/main/texenv.c
19dff5efc1e348d037b1b3cdfb9ac91020ecde4d 12-Feb-2009 Brian Paul <brianp@vmware.com> mesa: don't include m_xform.h where not needed
/external/mesa3d/src/mesa/main/texenv.c
08fbbdd4dceb8ca7ac15f0ce469f59e13e0ba82b 24-Jan-2009 Brian Paul <brianp@vmware.com> mesa: update glTexEnv(), glGetTexEnv() for GL_NV_texture_env_combine4
/external/mesa3d/src/mesa/main/texenv.c
ad338c14c2aca87199da7ec1ae08ceb5062a9954 23-Jan-2009 Brian Paul <brianp@vmware.com> mesa: consolidate glGetTexEnvi/f() code with new get_texenvi() helper
/external/mesa3d/src/mesa/main/texenv.c
0a40033047373d9c16039cff9e63130478e78e0f 23-Jan-2009 Brian Paul <brianp@vmware.com> mesa: refactor _mesa_TexEnvfv() code with helper functions
/external/mesa3d/src/mesa/main/texenv.c
ddd630ef907cd6bb91bad0c9f5db83f2fa67be47 12-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move various ENUM_TO_x macros into macros.h
/external/mesa3d/src/mesa/main/texenv.c
11ebfd22bb451f86a492254b77c90aeb011f8d9a 12-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move glTexEnv-related functions into new texenv.c file
(cherry picked from commit 7ecac78ab53016ae3db3dd601b187cb050037463)
/external/mesa3d/src/mesa/main/texenv.c