Mesa (master): vl: Fix include style

Brian Paul brianp at kemper.freedesktop.org
Mon Aug 29 07:12:03 PDT 2011


Module: Mesa
Branch: master
Commit: 19bcd21ed151cf1716f2f87dff0f712231aa2ce7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=19bcd21ed151cf1716f2f87dff0f712231aa2ce7

Author: Kai Wasserbäch <kai at dev.carbon-project.org>
Date:   Sat Aug 27 17:51:49 2011 +0200

vl: Fix include style

As explained in the thread starting at [0], the internal include style
should be »#include "path/to/header.h"« for non-system includes.

[0]
<http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e>

Signed-off-by: Kai Wasserbäch <kai at dev.carbon-project.org>
Signed-off-by: Brian Paul <brianp at vmware.com>

---

 src/gallium/auxiliary/vl/vl_compositor.c       |   12 ++++++------
 src/gallium/auxiliary/vl/vl_compositor.h       |    6 +++---
 src/gallium/auxiliary/vl/vl_csc.c              |    4 ++--
 src/gallium/auxiliary/vl/vl_csc.h              |    2 +-
 src/gallium/auxiliary/vl/vl_decoder.c          |    4 ++--
 src/gallium/auxiliary/vl/vl_decoder.h          |    2 +-
 src/gallium/auxiliary/vl/vl_idct.c             |   12 ++++++------
 src/gallium/auxiliary/vl/vl_idct.h             |    4 ++--
 src/gallium/auxiliary/vl/vl_mc.c               |    8 ++++----
 src/gallium/auxiliary/vl/vl_mc.h               |    6 +++---
 src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c |    4 ++--
 src/gallium/auxiliary/vl/vl_mpeg12_decoder.c   |    8 ++++----
 src/gallium/auxiliary/vl/vl_mpeg12_decoder.h   |    2 +-
 src/gallium/auxiliary/vl/vl_vertex_buffers.c   |    2 +-
 src/gallium/auxiliary/vl/vl_vertex_buffers.h   |    4 ++--
 src/gallium/auxiliary/vl/vl_video_buffer.c     |   14 +++++++-------
 src/gallium/auxiliary/vl/vl_video_buffer.h     |    4 ++--
 src/gallium/auxiliary/vl/vl_vlc.h              |    4 ++--
 src/gallium/auxiliary/vl/vl_zscan.c            |   18 +++++++++---------
 src/gallium/auxiliary/vl/vl_zscan.h            |    4 ++--
 20 files changed, 62 insertions(+), 62 deletions(-)

diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c
index c73f976..5fbba98 100644
--- a/src/gallium/auxiliary/vl/vl_compositor.c
+++ b/src/gallium/auxiliary/vl/vl_compositor.c
@@ -27,14 +27,14 @@
 
 #include <assert.h>
 
-#include <pipe/p_compiler.h>
-#include <pipe/p_context.h>
+#include "pipe/p_compiler.h"
+#include "pipe/p_context.h"
 
-#include <util/u_memory.h>
-#include <util/u_draw.h>
-#include <util/u_surface.h>
+#include "util/u_memory.h"
+#include "util/u_draw.h"
+#include "util/u_surface.h"
 
-#include <tgsi/tgsi_ureg.h>
+#include "tgsi/tgsi_ureg.h"
 
 #include "vl_csc.h"
 #include "vl_types.h"
diff --git a/src/gallium/auxiliary/vl/vl_compositor.h b/src/gallium/auxiliary/vl/vl_compositor.h
index 2075100..b96d101 100644
--- a/src/gallium/auxiliary/vl/vl_compositor.h
+++ b/src/gallium/auxiliary/vl/vl_compositor.h
@@ -28,9 +28,9 @@
 #ifndef vl_compositor_h
 #define vl_compositor_h
 
-#include <pipe/p_state.h>
-#include <pipe/p_video_decoder.h>
-#include <pipe/p_video_state.h>
+#include "pipe/p_state.h"
+#include "pipe/p_video_decoder.h"
+#include "pipe/p_video_state.h"
 
 #include "vl_types.h"
 
diff --git a/src/gallium/auxiliary/vl/vl_csc.c b/src/gallium/auxiliary/vl/vl_csc.c
index 4ca84e5..21da95f 100644
--- a/src/gallium/auxiliary/vl/vl_csc.c
+++ b/src/gallium/auxiliary/vl/vl_csc.c
@@ -25,8 +25,8 @@
  *
  **************************************************************************/
 
-#include <util/u_math.h>
-#include <util/u_debug.h>
+#include "util/u_math.h"
+#include "util/u_debug.h"
 
 #include "vl_csc.h"
 
diff --git a/src/gallium/auxiliary/vl/vl_csc.h b/src/gallium/auxiliary/vl/vl_csc.h
index 9b73fb3..a6fb1fd 100644
--- a/src/gallium/auxiliary/vl/vl_csc.h
+++ b/src/gallium/auxiliary/vl/vl_csc.h
@@ -28,7 +28,7 @@
 #ifndef vl_csc_h
 #define vl_csc_h
 
-#include <pipe/p_compiler.h>
+#include "pipe/p_compiler.h"
 
 struct vl_procamp
 {
diff --git a/src/gallium/auxiliary/vl/vl_decoder.c b/src/gallium/auxiliary/vl/vl_decoder.c
index b23827d..41e5f75 100644
--- a/src/gallium/auxiliary/vl/vl_decoder.c
+++ b/src/gallium/auxiliary/vl/vl_decoder.c
@@ -25,9 +25,9 @@
  *
  **************************************************************************/
 
-#include <pipe/p_video_decoder.h>
+#include "pipe/p_video_decoder.h"
 
-#include <util/u_video.h>
+#include "util/u_video.h"
 
 #include "vl_decoder.h"
 #include "vl_mpeg12_decoder.h"
diff --git a/src/gallium/auxiliary/vl/vl_decoder.h b/src/gallium/auxiliary/vl/vl_decoder.h
index fed529c..54dc423 100644
--- a/src/gallium/auxiliary/vl/vl_decoder.h
+++ b/src/gallium/auxiliary/vl/vl_decoder.h
@@ -29,7 +29,7 @@
 #ifndef vl_decoder_h
 #define vl_decoder_h
 
-#include <pipe/p_video_decoder.h>
+#include "pipe/p_video_decoder.h"
 
 /**
  * check if a given profile is supported with shader based decoding
diff --git a/src/gallium/auxiliary/vl/vl_idct.c b/src/gallium/auxiliary/vl/vl_idct.c
index ad78614..a2b3537 100644
--- a/src/gallium/auxiliary/vl/vl_idct.c
+++ b/src/gallium/auxiliary/vl/vl_idct.c
@@ -27,14 +27,14 @@
 
 #include <assert.h>
 
-#include <pipe/p_context.h>
-#include <pipe/p_screen.h>
+#include "pipe/p_context.h"
+#include "pipe/p_screen.h"
 
-#include <util/u_draw.h>
-#include <util/u_sampler.h>
-#include <util/u_memory.h>
+#include "util/u_draw.h"
+#include "util/u_sampler.h"
+#include "util/u_memory.h"
 
-#include <tgsi/tgsi_ureg.h>
+#include "tgsi/tgsi_ureg.h"
 
 #include "vl_defines.h"
 #include "vl_types.h"
diff --git a/src/gallium/auxiliary/vl/vl_idct.h b/src/gallium/auxiliary/vl/vl_idct.h
index 98e2c79..1d19d81 100644
--- a/src/gallium/auxiliary/vl/vl_idct.h
+++ b/src/gallium/auxiliary/vl/vl_idct.h
@@ -28,9 +28,9 @@
 #ifndef vl_idct_h
 #define vl_idct_h
 
-#include <pipe/p_state.h>
+#include "pipe/p_state.h"
 
-#include <tgsi/tgsi_ureg.h>
+#include "tgsi/tgsi_ureg.h"
 
 /* shader based inverse distinct cosinus transformation
  * expect usage of vl_vertex_buffers as a todo list
diff --git a/src/gallium/auxiliary/vl/vl_mc.c b/src/gallium/auxiliary/vl/vl_mc.c
index 0b3723c..9534a8f 100644
--- a/src/gallium/auxiliary/vl/vl_mc.c
+++ b/src/gallium/auxiliary/vl/vl_mc.c
@@ -27,12 +27,12 @@
 
 #include <assert.h>
 
-#include <pipe/p_context.h>
+#include "pipe/p_context.h"
 
-#include <util/u_sampler.h>
-#include <util/u_draw.h>
+#include "util/u_sampler.h"
+#include "util/u_draw.h"
 
-#include <tgsi/tgsi_ureg.h>
+#include "tgsi/tgsi_ureg.h"
 
 #include "vl_defines.h"
 #include "vl_vertex_buffers.h"
diff --git a/src/gallium/auxiliary/vl/vl_mc.h b/src/gallium/auxiliary/vl/vl_mc.h
index 9fabf02..081562a 100644
--- a/src/gallium/auxiliary/vl/vl_mc.h
+++ b/src/gallium/auxiliary/vl/vl_mc.h
@@ -28,10 +28,10 @@
 #ifndef vl_mc_h
 #define vl_mc_h
 
-#include <pipe/p_state.h>
-#include <pipe/p_video_state.h>
+#include "pipe/p_state.h"
+#include "pipe/p_video_state.h"
 
-#include <tgsi/tgsi_ureg.h>
+#include "tgsi/tgsi_ureg.h"
 
 #include "vl_defines.h"
 #include "vl_types.h"
diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c b/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c
index 9e48bdb..936cf2c 100644
--- a/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c
+++ b/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c
@@ -26,8 +26,8 @@
  *
  **************************************************************************/
 
-#include <pipe/p_video_decoder.h>
-#include <util/u_memory.h>
+#include "pipe/p_video_decoder.h"
+#include "util/u_memory.h"
 
 #include "vl_vlc.h"
 #include "vl_mpeg12_bitstream.h"
diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
index 7d53168..9ea84dc 100644
--- a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
+++ b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
@@ -28,10 +28,10 @@
 #include <math.h>
 #include <assert.h>
 
-#include <util/u_memory.h>
-#include <util/u_rect.h>
-#include <util/u_sampler.h>
-#include <util/u_video.h>
+#include "util/u_memory.h"
+#include "util/u_rect.h"
+#include "util/u_sampler.h"
+#include "util/u_video.h"
 
 #include "vl_mpeg12_decoder.h"
 #include "vl_defines.h"
diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.h b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.h
index 4a8d653..5f048f0 100644
--- a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.h
+++ b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.h
@@ -28,7 +28,7 @@
 #ifndef vl_mpeg12_decoder_h
 #define vl_mpeg12_decoder_h
 
-#include <pipe/p_video_decoder.h>
+#include "pipe/p_video_decoder.h"
 
 #include "vl_mpeg12_bitstream.h"
 #include "vl_zscan.h"
diff --git a/src/gallium/auxiliary/vl/vl_vertex_buffers.c b/src/gallium/auxiliary/vl/vl_vertex_buffers.c
index 281db80..e2665a5 100644
--- a/src/gallium/auxiliary/vl/vl_vertex_buffers.c
+++ b/src/gallium/auxiliary/vl/vl_vertex_buffers.c
@@ -26,7 +26,7 @@
  **************************************************************************/
 
 #include <assert.h>
-#include <util/u_format.h>
+#include "util/u_format.h"
 #include "vl_vertex_buffers.h"
 #include "vl_types.h"
 
diff --git a/src/gallium/auxiliary/vl/vl_vertex_buffers.h b/src/gallium/auxiliary/vl/vl_vertex_buffers.h
index 874ecce..0a86599 100644
--- a/src/gallium/auxiliary/vl/vl_vertex_buffers.h
+++ b/src/gallium/auxiliary/vl/vl_vertex_buffers.h
@@ -27,8 +27,8 @@
 #ifndef vl_vertex_buffers_h
 #define vl_vertex_buffers_h
 
-#include <pipe/p_state.h>
-#include <pipe/p_video_state.h>
+#include "pipe/p_state.h"
+#include "pipe/p_video_state.h"
 
 #include "vl_defines.h"
 #include "vl_types.h"
diff --git a/src/gallium/auxiliary/vl/vl_video_buffer.c b/src/gallium/auxiliary/vl/vl_video_buffer.c
index 4d8b664..ae15c15 100644
--- a/src/gallium/auxiliary/vl/vl_video_buffer.c
+++ b/src/gallium/auxiliary/vl/vl_video_buffer.c
@@ -27,14 +27,14 @@
 
 #include <assert.h>
 
-#include <pipe/p_screen.h>
-#include <pipe/p_context.h>
-#include <pipe/p_state.h>
-
-#include <util/u_format.h>
-#include <util/u_inlines.h>
-#include <util/u_sampler.h>
-#include <util/u_memory.h>
+#include "pipe/p_screen.h"
+#include "pipe/p_context.h"
+#include "pipe/p_state.h"
+
+#include "util/u_format.h"
+#include "util/u_inlines.h"
+#include "util/u_sampler.h"
+#include "util/u_memory.h"
 
 #include "vl_video_buffer.h"
 
diff --git a/src/gallium/auxiliary/vl/vl_video_buffer.h b/src/gallium/auxiliary/vl/vl_video_buffer.h
index 291d15c..c4c139c 100644
--- a/src/gallium/auxiliary/vl/vl_video_buffer.h
+++ b/src/gallium/auxiliary/vl/vl_video_buffer.h
@@ -28,8 +28,8 @@
 #ifndef vl_ycbcr_buffer_h
 #define vl_ycbcr_buffer_h
 
-#include <pipe/p_context.h>
-#include <pipe/p_video_decoder.h>
+#include "pipe/p_context.h"
+#include "pipe/p_video_decoder.h"
 
 #include "vl_defines.h"
 
diff --git a/src/gallium/auxiliary/vl/vl_vlc.h b/src/gallium/auxiliary/vl/vl_vlc.h
index e17eae8..dc4faed 100644
--- a/src/gallium/auxiliary/vl/vl_vlc.h
+++ b/src/gallium/auxiliary/vl/vl_vlc.h
@@ -30,9 +30,9 @@
 
 #include <assert.h>
 
-#include <pipe/p_compiler.h>
+#include "pipe/p_compiler.h"
 
-#include <util/u_math.h>
+#include "util/u_math.h"
 #include "util/u_pointer.h"
 
 struct vl_vlc
diff --git a/src/gallium/auxiliary/vl/vl_zscan.c b/src/gallium/auxiliary/vl/vl_zscan.c
index fde27f3..b720d53 100644
--- a/src/gallium/auxiliary/vl/vl_zscan.c
+++ b/src/gallium/auxiliary/vl/vl_zscan.c
@@ -27,18 +27,18 @@
 
 #include <assert.h>
 
-#include <pipe/p_screen.h>
-#include <pipe/p_context.h>
+#include "pipe/p_screen.h"
+#include "pipe/p_context.h"
 
-#include <util/u_draw.h>
-#include <util/u_sampler.h>
-#include <util/u_inlines.h>
-#include <util/u_memory.h>
+#include "util/u_draw.h"
+#include "util/u_sampler.h"
+#include "util/u_inlines.h"
+#include "util/u_memory.h"
 
-#include <tgsi/tgsi_ureg.h>
+#include "tgsi/tgsi_ureg.h"
 
-#include <vl/vl_defines.h>
-#include <vl/vl_types.h>
+#include "vl_defines.h"
+#include "vl_types.h"
 
 #include "vl_zscan.h"
 #include "vl_vertex_buffers.h"
diff --git a/src/gallium/auxiliary/vl/vl_zscan.h b/src/gallium/auxiliary/vl/vl_zscan.h
index dd8a943..ec90c17 100644
--- a/src/gallium/auxiliary/vl/vl_zscan.h
+++ b/src/gallium/auxiliary/vl/vl_zscan.h
@@ -28,8 +28,8 @@
 #ifndef vl_zscan_h
 #define vl_zscan_h
 
-#include <pipe/p_compiler.h>
-#include <pipe/p_state.h>
+#include "pipe/p_compiler.h"
+#include "pipe/p_state.h"
 
 /*
  * shader based zscan and quantification



More information about the mesa-commit mailing list