mesa: Add extension scaffolding for ARB_draw_indirect
authorChris Forbes <chrisf@ijw.co.nz>
Wed, 6 Nov 2013 07:03:21 +0000 (20:03 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Mon, 25 Nov 2013 09:01:35 +0000 (22:01 +1300)
commit56e98fe2fe0cccd86d63f4465466a9e57659f8e0
tree880a15bbf53fff3b5db74672f0b524e02a4ee3e7
parent5127318ae8c1ac4d9b502356bc456a8d513215c0
mesa: Add extension scaffolding for ARB_draw_indirect

We will reuse the same extension flag for ARB_multi_draw_indirect since
it can always be supported by looping.

Based on part of Patch 2 of Christoph Bumiller's ARB_draw_indirect series.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/extensions.c
src/mesa/main/get.c
src/mesa/main/mtypes.h