summaryrefslogtreecommitdiff
path: root/src/sna/gen4_source.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-01-02 10:22:14 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-01-02 11:52:58 +0000
commit2559cfcc4cbc1d0d84b048565cad3bfee61df8da (patch)
tree949b971f49855a1d9cad3c3db40e617fae5e1a17 /src/sna/gen4_source.h
parent0996ed85fd8bd79f41f28908733b85566f9e2b69 (diff)
sna/gen4+: Specialise linear vertex emission
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen4_source.h')
-rw-r--r--src/sna/gen4_source.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/sna/gen4_source.h b/src/sna/gen4_source.h
new file mode 100644
index 00000000..c73afaca
--- /dev/null
+++ b/src/sna/gen4_source.h
@@ -0,0 +1,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 */