summaryrefslogtreecommitdiff
path: root/src/sna/gen4_source.h
blob: c73afaca90ad5a0bffd1259e0df7d37c62b720e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef GEN4_SOURCE_H
#define GEN4_SOURCE_H

#include "compiler.h"

#include "sna.h"
#include "sna_render.h"

bool
gen4_channel_init_solid(struct sna *sna,
			struct sna_composite_channel *channel,
			uint32_t color);

bool
gen4_channel_init_linear(struct sna *sna,
			 PicturePtr picture,
			 struct sna_composite_channel *channel,
			 int x, int y,
			 int w, int h,
			 int dst_x, int dst_y);

#endif /* GEN4_SOURCE_H */