summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i965simple/brw_blit.h
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-12-11 07:19:11 -0500
committerZack Rusin <zack@tungstengraphics.com>2007-12-11 07:39:06 -0500
commitc474f1fb9088528af998168717783b52e5c2f0a2 (patch)
treed403522e2ad7f2e1110bb939c2c3e498df33206f /src/mesa/pipe/i965simple/brw_blit.h
parent12363674e5aa39b780020339038186b7715bd4b2 (diff)
Port i965 driver to Gallium3D.
This is a squashed commit of i965 branch on ssh://people.freedesktop.org/~zack/mesa Because of the porting the branch often didn't compile so squashing it makes more sense. The port is still far from complete.
Diffstat (limited to 'src/mesa/pipe/i965simple/brw_blit.h')
-rw-r--r--src/mesa/pipe/i965simple/brw_blit.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mesa/pipe/i965simple/brw_blit.h b/src/mesa/pipe/i965simple/brw_blit.h
new file mode 100644
index 0000000000..371a135375
--- /dev/null
+++ b/src/mesa/pipe/i965simple/brw_blit.h
@@ -0,0 +1,32 @@
+#ifndef BRW_BLIT_H
+#define BRW_BLIT_H
+
+#include "pipe/p_compiler.h"
+
+struct pipe_buffer_handle;
+struct brw_context;
+
+void brw_fill_blit(struct brw_context *intel,
+ unsigned cpp,
+ short dst_pitch,
+ struct pipe_buffer_handle *dst_buffer,
+ unsigned dst_offset,
+ boolean dst_tiled,
+ short x, short y,
+ short w, short h,
+ unsigned color);
+void brw_copy_blit(struct brw_context *intel,
+ unsigned cpp,
+ short src_pitch,
+ struct pipe_buffer_handle *src_buffer,
+ unsigned src_offset,
+ boolean src_tiled,
+ short dst_pitch,
+ struct pipe_buffer_handle *dst_buffer,
+ unsigned dst_offset,
+ boolean dst_tiled,
+ short src_x, short src_y,
+ short dst_x, short dst_y,
+ short w, short h,
+ unsigned logic_op);
+#endif