From: Chia-I Wu Date: Fri, 19 Sep 2014 16:59:20 +0000 (+0800) Subject: ilo: make ilo_fence opaque X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cb383c1c9174a6ca4c9135e3962723c7ddb9f78;p=mesa.git ilo: make ilo_fence opaque It is manipulated only in ilo_screen.c. --- 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;