meta: Add a new MESA_META_DRAW_BUFFERS bit.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 5 May 2014 21:03:46 +0000 (14:03 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 6 May 2014 18:31:27 +0000 (11:31 -0700)
commite526ebf35c113d59eb0b860e492c1308d3862ee9
tree47411594046f0d5287b7d02df3f3e74c6c6bb879
parent7c8df60f31baa106030f3ea3b1f7522244ddf983
meta: Add a new MESA_META_DRAW_BUFFERS bit.

This will be used for saving/restoring the glDrawBuffers state.
For now, make sure that existing users of MESA_META_ALL don't get
the new bit, since they probably won't want it.

Cc: "10.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta.h
src/mesa/drivers/common/meta_blit.c
src/mesa/drivers/common/meta_generate_mipmap.c