struct intel_context;
struct pipe_context;
struct pipe_winsys;
+struct pipe_buffer_handle;
+struct _DriBufferObject;
struct pipe_winsys *
intel_create_pipe_winsys( struct intel_context *intel );
intel_create_i915simple( struct intel_context *intel );
+
+/* Turn the pipe opaque buffer pointer into a dri_bufmgr opaque
+ * buffer pointer...
+ */
+static INLINE struct _DriBufferObject *
+dri_bo( struct pipe_buffer_handle *bo )
+{
+ return (struct _DriBufferObject *)bo;
+}
+
+static INLINE struct pipe_buffer_handle *
+pipe_bo( struct _DriBufferObject *bo )
+{
+ return (struct pipe_buffer_handle *)bo;
+}
+
+
+
#endif
struct intel_context *intel = intel_i915_winsys(sws)->intel;
intel_batchbuffer_flush( intel->batch );
- if (0) intel_i915_batch_wait_idle( sws );
+// if (0) intel_i915_batch_wait_idle( sws );
}
-/* Turn the pipe opaque buffer pointer into a dri_bufmgr opaque
- * buffer pointer...
- */
-static inline struct _DriBufferObject *
-dri_bo( struct pipe_buffer_handle *bo )
-{
- return (struct _DriBufferObject *)bo;
-}
-
-static inline struct pipe_buffer_handle *
-pipe_bo( struct _DriBufferObject *bo )
-{
- return (struct pipe_buffer_handle *)bo;
-}
-
/* Turn a pipe winsys into an intel/pipe winsys:
*/
static inline struct intel_pipe_winsys *