meta: Avoid FBO resizing/reallocating in decompress_texture_image
authorAnuj Phogat <anuj.phogat@gmail.com>
Mon, 13 Feb 2012 18:48:45 +0000 (10:48 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Wed, 15 Feb 2012 17:23:13 +0000 (09:23 -0800)
commit66bf25f1a2cc8343640cdfc4242d882bc00b9e3b
tree514985924b4e208d702cf133a905147bce848b5b
parent78734e375a0e3ea87abd6d5b2f85946e78e96015
meta: Avoid FBO resizing/reallocating in decompress_texture_image

Reallocate/resize decompress FBO only if texture image width/height is
greater than existing decompress FBO width/height.

This is a candidate for stable branches.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/common/meta.c