summaryrefslogtreecommitdiff
path: root/lib/media_fill.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/media_fill.h')
-rw-r--r--lib/media_fill.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/lib/media_fill.h b/lib/media_fill.h
new file mode 100644
index 0000000..2a30055
--- /dev/null
+++ b/lib/media_fill.h
@@ -0,0 +1,42 @@
+#ifndef RENDE_MEDIA_FILL_H
+#define RENDE_MEDIA_FILL_H
+
+#include <stdint.h>
+#include "intel_batchbuffer.h"
+
+void
+gen8_media_fillfunc(struct intel_batchbuffer *batch,
+ struct igt_buf *dst,
+ unsigned x, unsigned y,
+ unsigned width, unsigned height,
+ uint8_t color);
+
+void
+gen7_media_fillfunc(struct intel_batchbuffer *batch,
+ struct igt_buf *dst,
+ unsigned x, unsigned y,
+ unsigned width, unsigned height,
+ uint8_t color);
+
+void
+gen8lp_media_fillfunc(struct intel_batchbuffer *batch,
+ struct igt_buf *dst,
+ unsigned x, unsigned y,
+ unsigned width, unsigned height,
+ uint8_t color);
+
+void
+gen9_media_fillfunc(struct intel_batchbuffer *batch,
+ struct igt_buf *dst,
+ unsigned x, unsigned y,
+ unsigned width, unsigned height,
+ uint8_t color);
+
+void
+gen7_gpgpu_fillfunc(struct intel_batchbuffer *batch,
+ struct igt_buf *dst,
+ unsigned x, unsigned y,
+ unsigned width, unsigned height,
+ uint8_t color);
+
+#endif /* RENDE_MEDIA_FILL_H */