summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-20 00:59:20 +0800
committerChia-I Wu <[email protected]>2014-09-20 10:13:53 +0800
commit3cb383c1c9174a6ca4c9135e3962723c7ddb9f78 (patch)
treef831eb0b8d00d2d28ae3e7dfdbab4f79aae1aae5 /src/gallium/drivers
parentc4ed6c730f5fab03e19bf009d1ed85da3fd966db (diff)
ilo: make ilo_fence opaque
It is manipulated only in ilo_screen.c.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/ilo/ilo_screen.c6
-rw-r--r--src/gallium/drivers/ilo/ilo_screen.h6
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 <[email protected]>
*/
+#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;