ilo: make ilo_fence opaque
authorChia-I Wu <olvaffe@gmail.com>
Fri, 19 Sep 2014 16:59:20 +0000 (00:59 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sat, 20 Sep 2014 02:13:53 +0000 (10:13 +0800)
It is manipulated only in ilo_screen.c.

src/gallium/drivers/ilo/ilo_screen.c
src/gallium/drivers/ilo/ilo_screen.h

index 4988d6b..bfd67da 100644 (file)
@@ -25,6 +25,7 @@
  *    Chia-I Wu <olv@lunarg.com>
  */
 
+#include "pipe/p_state.h"
 #include "os/os_misc.h"
 #include "util/u_format_s3tc.h"
 #include "vl/vl_decoder.h"
 #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[] = {
index 7e1ce72..ea8579e 100644 (file)
 #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;