blob: 226489cb07dd9044c6d19c9c5d146349dc265a23 [file] [log] [blame]
Xiang, Haihao641267d2013-11-29 13:47:31 +08001#ifndef RENDE_MEDIA_FILL_H
2#define RENDE_MEDIA_FILL_H
3
Daniel Vetter924115b2014-03-22 20:18:51 +01004#include <stdint.h>
Xiang, Haihao641267d2013-11-29 13:47:31 +08005#include "intel_batchbuffer.h"
Xiang, Haihao641267d2013-11-29 13:47:31 +08006
Xiang, Haihaobd384c22013-12-02 12:36:15 +08007void
8gen8_media_fillfunc(struct intel_batchbuffer *batch,
Daniel Vetter83a4c7d2014-03-22 15:44:48 +01009 struct igt_buf *dst,
Xiang, Haihaobd384c22013-12-02 12:36:15 +080010 unsigned x, unsigned y,
11 unsigned width, unsigned height,
12 uint8_t color);
13
Xiang, Haihaoc6835692013-12-02 12:49:14 +080014void
15gen7_media_fillfunc(struct intel_batchbuffer *batch,
Daniel Vetter83a4c7d2014-03-22 15:44:48 +010016 struct igt_buf *dst,
Xiang, Haihaoc6835692013-12-02 12:49:14 +080017 unsigned x, unsigned y,
18 unsigned width, unsigned height,
19 uint8_t color);
20
Sean V Kelley17d63e42014-08-05 13:53:49 -070021void
22gen8lp_media_fillfunc(struct intel_batchbuffer *batch,
23 struct igt_buf *dst,
24 unsigned x, unsigned y,
25 unsigned width, unsigned height,
26 uint8_t color);
27
Zhao Yakui31e94ad2014-02-11 10:48:43 +080028void
29gen9_media_fillfunc(struct intel_batchbuffer *batch,
30 struct igt_buf *dst,
31 unsigned x, unsigned y,
32 unsigned width, unsigned height,
33 uint8_t color);
34
Xiang, Haihao641267d2013-11-29 13:47:31 +080035#endif /* RENDE_MEDIA_FILL_H */