#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;
- struct intel_winsys *winsys;
- struct ilo_dev_info dev;
+ struct ilo_dev dev;
};
static inline struct ilo_screen *
return (struct ilo_screen *) screen;
}
-static inline struct ilo_fence *
-ilo_fence(struct pipe_fence_handle *fence)
-{
- return (struct ilo_fence *) fence;
-}
+struct pipe_fence_handle *
+ilo_screen_fence_create(struct pipe_screen *screen, struct intel_bo *bo);
#endif /* ILO_SCREEN_H */