summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_screen.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2012-12-13 04:26:23 +0800
committerChia-I Wu <[email protected]>2013-04-26 16:16:42 +0800
commitbabb2b5c50a5ea6b9410b1175fd36257190b269d (patch)
tree3a668f87ffb9b4c74a1b526c35217e10cab0f987 /src/gallium/drivers/ilo/ilo_screen.h
parente74d67738d2e10a5119298bb10c413cbe66b3255 (diff)
ilo: hook up pipe_screen param and fence functions
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_screen.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_screen.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_screen.h b/src/gallium/drivers/ilo/ilo_screen.h
index f2cdc2f9b09..7883f185bde 100644
--- a/src/gallium/drivers/ilo/ilo_screen.h
+++ b/src/gallium/drivers/ilo/ilo_screen.h
@@ -29,10 +29,17 @@
#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_screen {
struct pipe_screen base;
@@ -50,4 +57,10 @@ ilo_screen(struct pipe_screen *screen)
return (struct ilo_screen *) screen;
}
+static inline struct ilo_fence *
+ilo_fence(struct pipe_fence_handle *fence)
+{
+ return (struct ilo_fence *) fence;
+}
+
#endif /* ILO_SCREEN_H */