From 3cb383c1c9174a6ca4c9135e3962723c7ddb9f78 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 20 Sep 2014 00:59:20 +0800 Subject: 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 4988d6be97b..bfd67dad622 100644 --- a/src/gallium/drivers/ilo/ilo_screen.c +++ b/src/gallium/drivers/ilo/ilo_screen.c @@ -25,6 +25,7 @@ * Chia-I Wu */ +#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 7e1ce72052e..ea8579e916a 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; -- cgit v1.2.3