gallium: put video-related enums in separate header
authorBrian Paul <brianp@vmware.com>
Thu, 14 Jul 2011 14:09:21 +0000 (08:09 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 14 Jul 2011 14:14:14 +0000 (08:14 -0600)
commita5a942256162eb0ca4df2f8202a916b080396141
tree283b1b84294178bb7f476fc2170f91eee424992c
parent9726947b681225a5a438eaa7cb70c5fa36ce85ea
gallium: put video-related enums in separate header

The forward references to video enum types in p_context.h causes
a massive number of compiler warnings (ISO C forbids forward references
to ‘enum’ types).

By putting the new video enums in a separate header that can be included
by p_context.h and p_screen.h we can avoid this.

Acked-by Christian König <deathsimple@vodafone.de>
src/gallium/auxiliary/util/u_video.h
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_defines.h
src/gallium/include/pipe/p_screen.h
src/gallium/include/pipe/p_video_enums.h [new file with mode: 0644]