History log of /external/mesa3d/src/mesa/main/version.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/version.c
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/version.c
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/version.c
09714c09a40501d82823e42f7461d7b8d7bf11c0 19-Jul-2012 Jordan Justen <jordan.l.justen@intel.com> mesa: add support for using API_OPENGL_CORE

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/version.c
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/version.c
bf78806133f10d187e016e0d689f02f2b29d5ea0 07-May-2012 Oliver McFadden <oliver.mcfadden@linux.intel.com> mesa: print the Git SHA1 in GL_VERSION for ES1 and ES2.

Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/version.c
8e90913e9f99ff3296a3c3da36e73cd2d4730269 21-Apr-2012 Dylan Noblesmith <nobled@dreamwidth.org> mesa: require GL_MAX_SAMPLES >= 4 for GL 3.0

As noted in commit be4e46b21a60cfdc826bf89d1078df54966115b1,
this was missing before.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/version.c
3363e87d7d5b3f19294fc770dc7c506c26646010 22-Jan-2012 Marek Olšák <maraeo@gmail.com> mesa: allow exposing GL3 without EXT_texture_integer

Strictly speaking, it's not legal to expose EXT_texture_integer without
EXT_gpu_shader4. It might be even dangerous (apps can assume EXT_gpu_shader4
is available without checking for it).

The check in compute_version is removed as well, because that's already
covered by GLSLVersion >= 130.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/version.c
95dab55751e035840cb765b32a98f4ba1ecc0212 24-Jan-2012 Marek Olšák <maraeo@gmail.com> mesa: remove obsolete comment in version.c

Pointed out by Brian Paul.
/external/mesa3d/src/mesa/main/version.c
5596db74117e56a58e16a61c34bc87d787bb24bb 12-Jan-2012 Marek Olšák <maraeo@gmail.com> mesa: update compute_version for GL3

only check ARB_fbo, add shader_texture_lod as a requirement

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/version.c
97534d92e27d633be89447c0b22145bbce287789 04-Nov-2011 Marek Olšák <maraeo@gmail.com> mesa: add missing checks to compute_version

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/version.c
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/version.c
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/version.c
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/version.c
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/version.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/version.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/version.c
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/version.c
b79782cbedf8b23ea392d9a597eb4831a605bbe0 28-Sep-2011 Brian Paul <brianp@vmware.com> mesa: fix signed/unsigned sscanf() warning in _mesa_override_glsl_version()
/external/mesa3d/src/mesa/main/version.c
a1eff5570f5e3f893fe4d453aef5ce143712ab09 27-Sep-2011 Chad Versace <chad@chad-versace.us> mesa: Allow overriding GLSL version with environment variable

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

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

Reviewed-by: Dave Airlie <airlied@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/main/version.c
d1e567fb00fbc066e4af9f58f1c106a6b0b5b827 28-Sep-2011 Brian Paul <brianp@vmware.com> mesa: fix signed/unsigned warning in sscanf()
/external/mesa3d/src/mesa/main/version.c
0527c11d7aa42bd74f4527d7299e3c18f37c4c44 26-Sep-2011 Chad Versace <chad@chad-versace.us> mesa: Allow override of GL version with environment variable

It is necessary to manually set the GL version to 3.0 in order to run
Piglit tests that use glGetUniform*().

This patch allows one to override the version of the OpenGL context by
setting the environment variable MESA_GL_VERSION_OVERRIDE.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/main/version.c
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/version.c
de579a16298e29358fec08bd7cfe3e505674705a 31-Mar-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Include GIT SHA1 in GL version string

Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
/external/mesa3d/src/mesa/main/version.c
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/version.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/version.c
ab564b516e258c965b55b3fa6f9323492ff19e15 06-Jan-2011 Vinson Lee <vlee@vmware.com> mesa: Clean up header file inclusion in version.c.

Include imports.h directly instead of indirectly through context.h.
version.c does use any symbols that are added by context.h.
/external/mesa3d/src/mesa/main/version.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/version.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/version.c
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/version.c
e7087175f8a04f777403366fb34b58edd00f4d60 22-Sep-2010 Brian Paul <brianp@vmware.com> mesa: don't advertise bogus GL_ARB_shading_language_120 extension

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

See fd.o bug 29910

NOTE: This is a candidate for the 7.9 branch (but let's wait and see if
there's any regressions).
/external/mesa3d/src/mesa/main/version.c
4531356817ec8383ac35932903773de67af92e37 10-Sep-2010 Chia-I Wu <olv@lunarg.com> gallium: Add context profile support to st_api.

Add struct st_context_attribs to describe context profiles and
attributes. Modify st_api::create_context to take the new struct
instead of an st_visual.

st_context_attribs can be used to support GLX_ARB_create_context_profile
and GLX_EXT_create_context_es2_profile in the future. But the
motivation for doing it now is to be able to replace ST_API_OPENGL_ES1
and ST_API_OPENGL_ES2 by profiles.

Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is
not a sane abstraction, since all of them share glapi for current
context/dispatch management.
/external/mesa3d/src/mesa/main/version.c
6988f65e43297ae63bbce30bf882f870b370096c 08-Jul-2010 Brian Paul <brianp@vmware.com> mesa: initial support for new GL 3.0 texture formats
/external/mesa3d/src/mesa/main/version.c
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/version.c
29107d4e07144f41614f053aa1fc49ccf225fedf 21-Apr-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Compute GL version according to API
/external/mesa3d/src/mesa/main/version.c
78a0c353d0f87c85feaa6dcb3042fc25d424f21b 19-Feb-2010 Brian Paul <brianp@vmware.com> mesa: restore _mesa_snprintf() - it's needed for Windows

This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2
/external/mesa3d/src/mesa/main/version.c
298be2b028263b2c343a707662c6fbfa18293cb2 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace the _mesa_*printf() wrappers with the plain libc versions
/external/mesa3d/src/mesa/main/version.c
32f2fd1c5d6088692551c80352b7d6fa35b0cd09 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
/external/mesa3d/src/mesa/main/version.c
e0b9e33afbc8b061e3eab1eca7888fe2686a339d 06-Jan-2010 Brian Paul <brianp@vmware.com> mesa: added _mesa_compute_version() in new version.c file
/external/mesa3d/src/mesa/main/version.c