[Mesa-dev] [PATCH 1/2] gallium: put video-related enums in separate header

Christian König deathsimple at vodafone.de
Thu Jul 14 02:10:19 PDT 2011

> 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.
Akk for pipe_video_cap, pipe_video_codec, pipe_video_profile and
pipe_video_entrypoint which were defined in p_defines.h previously. 

But the defines from p_video_state.h should stay there, because they are
mostly mpeg2 specific and not used in any of the other headers.

Otherwise: Acked-by Christian König <deathsimple at vodafone.de>


More information about the mesa-dev mailing list