diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-22 15:44:48 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-22 15:44:48 +0100 |
commit | 83a4c7d3eb6347f9b743144611b08a2869f11f94 (patch) | |
tree | 45136688d8bc1ff98a5aacf50e68dfb4846a6e3a /tests/gem_ringfill.c | |
parent | 82c6dffe9fdc75a7ef3b9a7e53e1c20d8a9b3703 (diff) |
lib/intel_batchbuffer: igt_ namespace for the buffer structure
Step one to properly namespace the rendercpy/mediafill functions. Als
give the buf_height/width helpers a proper igt_ prefix.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_ringfill.c')
-rw-r--r-- | tests/gem_ringfill.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gem_ringfill.c b/tests/gem_ringfill.c index 8e0ca91b..0dd22272 100644 --- a/tests/gem_ringfill.c +++ b/tests/gem_ringfill.c @@ -115,7 +115,7 @@ static int check_ring(drm_intel_bufmgr *bufmgr, const char *ring, render_copyfunc_t copy) { - struct scratch_buf src, tmp, dst; + struct igt_buf src, tmp, dst; struct bo bo; char output[100]; int i; @@ -174,9 +174,9 @@ static int check_ring(drm_intel_bufmgr *bufmgr, static void blt_copy(struct intel_batchbuffer *batch, drm_intel_context *context, - struct scratch_buf *src, unsigned src_x, unsigned src_y, + struct igt_buf *src, unsigned src_x, unsigned src_y, unsigned w, unsigned h, - struct scratch_buf *dst, unsigned dst_x, unsigned dst_y) + struct igt_buf *dst, unsigned dst_x, unsigned dst_y) { BLIT_COPY_BATCH_START(batch->devid, 0); OUT_BATCH((3 << 24) | /* 32 bits */ |