00001 #ifndef BRW_BLIT_H 00002 #define BRW_BLIT_H 00003 00004 #include "pipe/p_compiler.h" 00005 00006 struct pipe_buffer; 00007 struct brw_context; 00008 00009 void brw_fill_blit(struct brw_context *intel, 00010 unsigned cpp, 00011 short dst_pitch, 00012 struct pipe_buffer *dst_buffer, 00013 unsigned dst_offset, 00014 boolean dst_tiled, 00015 short x, short y, 00016 short w, short h, 00017 unsigned color); 00018 void brw_copy_blit(struct brw_context *intel, 00019 unsigned do_flip, 00020 unsigned cpp, 00021 short src_pitch, 00022 struct pipe_buffer *src_buffer, 00023 unsigned src_offset, 00024 boolean src_tiled, 00025 short dst_pitch, 00026 struct pipe_buffer *dst_buffer, 00027 unsigned dst_offset, 00028 boolean dst_tiled, 00029 short src_x, short src_y, 00030 short dst_x, short dst_y, 00031 short w, short h, 00032 unsigned logic_op); 00033 #endif