mesa/src
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
..
driclient
egl egl_dri2.c: Open drm device with O_CLOEXEC 2011-04-07 18:27:56 -04:00
gallium u_vbuf_mgr: fixed vbo max_index calculation 2011-04-11 17:35:28 +02:00
getopt
glsl glsl: Make GL_ARB_shader_stencil_export enable block be similar to other blocks 2011-04-11 14:43:42 -07:00
glu
glut
glw
glx glx: Only remove the glx_display from the list after it's destroyed. 2011-04-10 18:53:34 +02:00
mapi glapi: regenerated files for GL_ARB_sampler_objects 2011-04-10 13:12:49 -06:00
mesa texstore: fix regression stricter check for memcpy path for unorm88 and unorm1616 2011-04-12 20:32:45 +10:00
Makefile
SConscript scons: builtin_glsl_function on windows needs bundled getopt. 2011-02-11 20:09:26 +00:00