gem_stress: add width/height arg to rendercpy functions

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2012-01-18 17:46:00 +01:00
parent 699d30950f
commit 9f20ecc3b3
5 changed files with 26 additions and 17 deletions
+3
View File
@@ -305,14 +305,17 @@ static void render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned sr
if (IS_GEN2(devid))
gen2_render_copyfunc(batch,
src, src_x, src_y,
options.tile_size, options.tile_size,
dst, dst_x, dst_y);
else if (IS_GEN3(devid))
gen3_render_copyfunc(batch,
src, src_x, src_y,
options.tile_size, options.tile_size,
dst, dst_x, dst_y);
else if (IS_GEN6(devid))
gen6_render_copyfunc(batch,
src, src_x, src_y,
options.tile_size, options.tile_size,
dst, dst_x, dst_y);
else
blitter_copyfunc(src, src_x, src_y,