summaryrefslogtreecommitdiff
path: root/lib/rendercopy.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rendercopy.h')
-rw-r--r--lib/rendercopy.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/rendercopy.h b/lib/rendercopy.h
index fdc3cabb..f1c50197 100644
--- a/lib/rendercopy.h
+++ b/lib/rendercopy.h
@@ -25,31 +25,31 @@ static inline void emit_vertex_normalized(struct intel_batchbuffer *batch,
void gen9_render_copyfunc(struct intel_batchbuffer *batch,
drm_intel_context *context,
- struct igt_buf *src, unsigned src_x, unsigned src_y,
+ const struct igt_buf *src, unsigned src_x, unsigned src_y,
unsigned width, unsigned height,
- struct igt_buf *dst, unsigned dst_x, unsigned dst_y);
+ const struct igt_buf *dst, unsigned dst_x, unsigned dst_y);
void gen8_render_copyfunc(struct intel_batchbuffer *batch,
drm_intel_context *context,
- struct igt_buf *src, unsigned src_x, unsigned src_y,
+ const struct igt_buf *src, unsigned src_x, unsigned src_y,
unsigned width, unsigned height,
- struct igt_buf *dst, unsigned dst_x, unsigned dst_y);
+ const struct igt_buf *dst, unsigned dst_x, unsigned dst_y);
void gen7_render_copyfunc(struct intel_batchbuffer *batch,
drm_intel_context *context,
- struct igt_buf *src, unsigned src_x, unsigned src_y,
+ const struct igt_buf *src, unsigned src_x, unsigned src_y,
unsigned width, unsigned height,
- struct igt_buf *dst, unsigned dst_x, unsigned dst_y);
+ const struct igt_buf *dst, unsigned dst_x, unsigned dst_y);
void gen6_render_copyfunc(struct intel_batchbuffer *batch,
drm_intel_context *context,
- struct igt_buf *src, unsigned src_x, unsigned src_y,
+ const struct igt_buf *src, unsigned src_x, unsigned src_y,
unsigned width, unsigned height,
- struct igt_buf *dst, unsigned dst_x, unsigned dst_y);
+ const struct igt_buf *dst, unsigned dst_x, unsigned dst_y);
void gen3_render_copyfunc(struct intel_batchbuffer *batch,
drm_intel_context *context,
- struct igt_buf *src, unsigned src_x, unsigned src_y,
+ const struct igt_buf *src, unsigned src_x, unsigned src_y,
unsigned width, unsigned height,
- struct igt_buf *dst, unsigned dst_x, unsigned dst_y);
+ const struct igt_buf *dst, unsigned dst_x, unsigned dst_y);
void gen2_render_copyfunc(struct intel_batchbuffer *batch,
drm_intel_context *context,
- struct igt_buf *src, unsigned src_x, unsigned src_y,
+ const struct igt_buf *src, unsigned src_x, unsigned src_y,
unsigned width, unsigned height,
- struct igt_buf *dst, unsigned dst_x, unsigned dst_y);
+ const struct igt_buf *dst, unsigned dst_x, unsigned dst_y);