mesa/src/mesa
José Fonseca e3e13d6b85 mesa: Make glGetIntegerv(GL_*_ARRAY_SIZE) return GL_BGRA.
Same as b026b6bbfe, but
COLOR_ARRAY_SIZE/SECONDARY_COLOR_ARRAY_SIZE.

Ideally we wouldn't munge the incoming state, so that we wouldn't need
to unmunge it back on glGet*.  But the array size state is copied and
referred in many places, many of which couldn't take an GLenum like
GL_BGRA instead of a plain integer.  So just hack around on glGet*,
to ensure there is no risk of introducing regressions elsewhere.

This bug causes problems to Apitrace, resulting in wrong traces.  See
https://github.com/apitrace/apitrace/issues/261 for details.

Tested with piglit arb_vertex_array_bgra-get, which was created for this
purpose.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
2014-06-03 12:20:53 +01:00
..
drivers i965: Add _default_ name changes to test_eu_compact.c. 2014-06-02 23:44:21 -07:00
main mesa: Make glGetIntegerv(GL_*_ARRAY_SIZE) return GL_BGRA. 2014-06-03 12:20:53 +01:00
math mesa: Converty gl_viewport_attrib::X, ::Y, ::Width, and ::Height to float 2014-01-20 11:31:53 -08:00
program mesa: Add missing null checks into prog_hash_table.c 2014-05-30 09:22:34 +03:00
sparc mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
state_tracker mesa/st: fix color outputs in presence of sample mask output 2014-05-26 14:00:11 -04:00
swrast swrast: Drop remaining use of _ReallyEnabled. 2014-04-30 14:33:20 -07:00
swrast_setup swrast: Fix vertex color in _swsetup_Translate() 2014-04-24 08:16:00 -06:00
tnl mesa: add missing null checks in _tnl_register_fastpath() 2014-05-02 11:58:36 -07:00
tnl_dd s/Tungsten Graphics/VMware/ 2014-01-17 20:00:32 +00:00
vbo mesa: check constant before null check 2014-05-22 06:52:03 +10:00
x86 mesa/x86: Fix build with clang <= 3.3. 2014-05-25 21:39:30 -07:00
x86-64 build: Build gen_matypes and matypes.h from src/mesa. 2013-11-07 10:00:25 -08:00
.gitignore build: Build gen_matypes and matypes.h from src/mesa. 2013-11-07 10:00:25 -08:00
Android.gen.mk mesa: generate glGetInteger/Boolean/Float/Doublev() code for all APIs 2013-04-17 17:33:40 -06:00
Android.libmesa_dricore.mk Android: remove unused MESA_ENABLED_APIS variable 2013-11-16 14:00:15 +00:00
Android.libmesa_glsl_utils.mk mesa,glsl: Move round_to_even() from glsl to mesa/main (v2) 2013-01-24 21:24:07 -08:00
Android.libmesa_st_mesa.mk Android: remove unused MESA_ENABLED_APIS variable 2013-11-16 14:00:15 +00:00
Android.mesa_gen_matypes.mk android: Moves rules for mesa_gen_matypes to separate makefile 2012-11-12 15:52:42 -08:00
Android.mk automake,android: Build program/ into a helper lib (v2) 2012-11-12 15:52:42 -08:00
gl.pc.in
Makefile.am Make DRI dependencies and build depend on the target 2014-05-23 15:24:04 +01:00
Makefile.sources meta: Split GenerateMipmap() into its own file. 2014-03-07 22:45:07 -08:00
SConscript scons: Fix x86_64 build. 2014-05-22 22:39:42 +01:00