From 8bc7ccede1e126329c371e22b6d462edd21720d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kai=20Wasserb=C3=A4ch?= Date: Sat, 27 Aug 2011 17:51:54 +0200 Subject: [PATCH] va: Fix include style MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] Signed-off-by: Kai Wasserbäch Signed-off-by: Brian Paul --- src/gallium/state_trackers/va/htab.c | 4 ++-- src/gallium/state_trackers/va/va_config.c | 2 +- src/gallium/state_trackers/va/va_context.c | 12 ++++++------ src/gallium/state_trackers/va/va_image.c | 8 ++++---- src/gallium/state_trackers/va/va_picture.c | 2 +- src/gallium/state_trackers/va/va_private.h | 4 ++-- src/gallium/state_trackers/va/va_subpicture.c | 2 +- src/gallium/state_trackers/va/va_surface.c | 4 ++-- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/gallium/state_trackers/va/htab.c b/src/gallium/state_trackers/va/htab.c index 40b9edac819..0c373c47d5c 100644 --- a/src/gallium/state_trackers/va/htab.c +++ b/src/gallium/state_trackers/va/htab.c @@ -25,8 +25,8 @@ * **************************************************************************/ -#include -#include +#include "util/u_handle_table.h" +#include "os/os_thread.h" #include "va_private.h" diff --git a/src/gallium/state_trackers/va/va_config.c b/src/gallium/state_trackers/va/va_config.c index 6f1cb78bb53..263f70dcaf0 100644 --- a/src/gallium/state_trackers/va/va_config.c +++ b/src/gallium/state_trackers/va/va_config.c @@ -28,7 +28,7 @@ #include #include -#include +#include "util/u_debug.h" #include "va_private.h" diff --git a/src/gallium/state_trackers/va/va_context.c b/src/gallium/state_trackers/va/va_context.c index 62ba3d24ae3..ea0782f8de1 100644 --- a/src/gallium/state_trackers/va/va_context.c +++ b/src/gallium/state_trackers/va/va_context.c @@ -28,14 +28,14 @@ #include #include -#include -#include -#include +#include "pipe/p_screen.h" +#include "pipe/p_screen.h" +#include "pipe/p_video_decoder.h" -#include -#include +#include "util/u_debug.h" +#include "util/u_memory.h" -#include +#include "vl_winsys.h" #include "va_private.h" diff --git a/src/gallium/state_trackers/va/va_image.c b/src/gallium/state_trackers/va/va_image.c index 43c3a946737..0da70b34cb8 100644 --- a/src/gallium/state_trackers/va/va_image.c +++ b/src/gallium/state_trackers/va/va_image.c @@ -28,11 +28,11 @@ #include #include -#include +#include "pipe/p_format.h" -#include -#include -#include +#include "util/u_memory.h" +#include "util/u_format.h" +#include "util/u_debug.h" #include "va_private.h" diff --git a/src/gallium/state_trackers/va/va_picture.c b/src/gallium/state_trackers/va/va_picture.c index 3b52a6a7e10..bf7d340b62a 100644 --- a/src/gallium/state_trackers/va/va_picture.c +++ b/src/gallium/state_trackers/va/va_picture.c @@ -28,7 +28,7 @@ #include #include -#include +#include "util/u_debug.h" #include "va_private.h" diff --git a/src/gallium/state_trackers/va/va_private.h b/src/gallium/state_trackers/va/va_private.h index f1023dbf87b..42616107d52 100644 --- a/src/gallium/state_trackers/va/va_private.h +++ b/src/gallium/state_trackers/va/va_private.h @@ -31,8 +31,8 @@ #include #include -#include -#include +#include "pipe/p_format.h" +#include "pipe/p_state.h" #define VA_DEBUG(_str,...) debug_printf("[Gallium VA backend]: " _str,__VA_ARGS__) #define VA_INFO(_str,...) VA_DEBUG("INFO: " _str,__VA_ARGS__) diff --git a/src/gallium/state_trackers/va/va_subpicture.c b/src/gallium/state_trackers/va/va_subpicture.c index 3f370e5889f..60b4d025736 100644 --- a/src/gallium/state_trackers/va/va_subpicture.c +++ b/src/gallium/state_trackers/va/va_subpicture.c @@ -28,7 +28,7 @@ #include #include -#include +#include "pipe/p_format.h" #include "va_private.h" diff --git a/src/gallium/state_trackers/va/va_surface.c b/src/gallium/state_trackers/va/va_surface.c index b7f9732d248..6d342af347c 100644 --- a/src/gallium/state_trackers/va/va_surface.c +++ b/src/gallium/state_trackers/va/va_surface.c @@ -27,8 +27,8 @@ #include #include -#include -#include +#include "util/u_debug.h" +#include "util/u_memory.h" #include "va_private.h" static enum pipe_video_chroma_format -- 2.30.2