summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i965simple/brw_blit.h
blob: 111c5d91d3990a5c3cb6ca231affd07371792cc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef BRW_BLIT_H
#define BRW_BLIT_H

#include "pipe/p_compiler.h"

struct pipe_buffer;
struct brw_context;

void brw_fill_blit(struct brw_context *intel,
                   unsigned cpp,
                   short dst_pitch,
                   struct pipe_buffer *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 do_flip,
                   unsigned cpp,
                   short src_pitch,
                   struct pipe_buffer *src_buffer,
                   unsigned  src_offset,
                   boolean src_tiled,
                   short dst_pitch,
                   struct pipe_buffer *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