Mesa (master): ilo: make ilo_fence opaque

Chia-I Wu olv at kemper.freedesktop.org
Sat Sep 20 02:19:12 UTC 2014


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

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Sat Sep 20 00:59:20 2014 +0800

ilo: make ilo_fence opaque

It is manipulated only in ilo_screen.c.

---

 src/gallium/drivers/ilo/ilo_screen.c |    6 ++++++
 src/gallium/drivers/ilo/ilo_screen.h |    6 +-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c
index 4988d6b..bfd67da 100644
--- a/src/gallium/drivers/ilo/ilo_screen.c
+++ b/src/gallium/drivers/ilo/ilo_screen.c
@@ -25,6 +25,7 @@
  *    Chia-I Wu <olv at lunarg.com>
  */
 
+#include "pipe/p_state.h"
 #include "os/os_misc.h"
 #include "util/u_format_s3tc.h"
 #include "vl/vl_decoder.h"
@@ -39,6 +40,11 @@
 #include "ilo_public.h"
 #include "ilo_screen.h"
 
+struct ilo_fence {
+   struct pipe_reference reference;
+   struct intel_bo *bo;
+};
+
 int ilo_debug;
 
 static const struct debug_named_value ilo_debug_flags[] = {
diff --git a/src/gallium/drivers/ilo/ilo_screen.h b/src/gallium/drivers/ilo/ilo_screen.h
index 7e1ce72..ea8579e 100644
--- a/src/gallium/drivers/ilo/ilo_screen.h
+++ b/src/gallium/drivers/ilo/ilo_screen.h
@@ -29,17 +29,13 @@
 #define ILO_SCREEN_H
 
 #include "pipe/p_screen.h"
-#include "pipe/p_state.h"
 
 #include "ilo_common.h"
 
 struct intel_winsys;
 struct intel_bo;
 
-struct ilo_fence {
-   struct pipe_reference reference;
-   struct intel_bo *bo;
-};
+struct ilo_fence;
 
 struct ilo_screen {
    struct pipe_screen base;




More information about the mesa-commit mailing list