mesa/src/mesa
Hans de Goede e338a1b0ce texstore: fix regression stricter check for memcpy path for unorm88 and unorm1616
According to https://bugs.freedesktop.org/show_bug.cgi?id=34280
commit 5d1387b2da causes the font corruption
problems people have been seeing under various apps and gnome-shell on r200
cards.

This commit changed (loosened) the check for using the memcpy path in the
former al88 / al1616 texstore functions, which are now also used to
store rg texures. This patch restores the old strict check in case of
al textures. I've no idea why this fixes things, since I don't know the
code in question at all. But after seeing the bisect in bfdo34280 point
to this commit, I gave this fix a try and it fixes the font issues seen on
r200 cards.

[airlied:
r200 has no native working A8, so it does an internal storage format of AL88
however srcFormat == internalFormat == ALPHA when we get to this point,
so it copies, but it wants to store into an AL88 not ALPHA so fails,
I'll also push a piglit test for this on r200].

Many thanks to Nicolas Kaiser who did all the hard work of tracking this down!

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-04-12 20:32:45 +10:00
..
drivers r600: silence various compiler warnings 2011-04-11 21:22:54 -06:00
main texstore: fix regression stricter check for memcpy path for unorm88 and unorm1616 2011-04-12 20:32:45 +10:00
math mesa: add error margin to clip mask debug/check code 2010-12-06 09:46:01 -07:00
ppc
program ir_to_mesa: silence signed/unsigned comparison warnings 2011-04-11 21:29:06 -06:00
sparc
state_tracker mesa: plug in new functions for GL_ARB_sampler_objects 2011-04-10 13:12:49 -06:00
swrast mesa: move sampler state into new gl_sampler_object type 2011-04-10 13:12:49 -06:00
swrast_setup swrast: Clean up header file inclusion in ss_vb.h. 2010-12-25 20:53:27 -08:00
tnl mesa: replace NEED_SECONDARY_COLOR(), RGBA_LOGICOP_ENABLED() with inlines 2011-03-11 09:25:21 -07:00
tnl_dd Drop GLcontext typedef and use struct gl_context instead 2010-10-13 09:43:25 -04:00
vbo mesa: Update _ElementSize in a few more places. 2011-04-07 13:35:25 +01:00
vf
x86 mesa: Optionally build a dricore support library (v3) 2011-02-11 18:31:05 -08:00
x86-64 mesa: s/movzx/movzbl/ 2011-01-24 14:34:28 -07:00
.gitignore
descrip.mms
gl.pc.in Export TLS support in gl.pc. 2011-01-10 12:34:02 -07:00
Makefile autoconf: don't use CFLAGS for cpp files 2011-03-16 13:54:50 -07:00
Makefile.mgw
osmesa.pc.in
SConscript mesa: plug in new functions for GL_ARB_sampler_objects 2011-04-10 13:12:49 -06:00
sources.mak mesa: plug in new functions for GL_ARB_sampler_objects 2011-04-10 13:12:49 -06:00