diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-11-21 19:05:17 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-11-27 16:21:28 +0200 |
commit | 725da6ee7458c5227a2bc9a1b686dad8f3c6d854 (patch) | |
tree | 06c35f8b387225ce645ac3434c1a8607f38b25c4 /tests/gem_seqno_wrap.c | |
parent | 3d371a7284798c96bb033a449acbad7cc29c2e29 (diff) |
rendercopy: Pass context to rendercopy functions
rendercopy does the batch buffer flush internally, so if we want
to use it with multiple contexts, we need to pass the context
in from caller.
v2: Modify rendercopy_gen8 as well
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/gem_seqno_wrap.c')
-rw-r--r-- | tests/gem_seqno_wrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_seqno_wrap.c b/tests/gem_seqno_wrap.c index 84170089..2c6ffbe3 100644 --- a/tests/gem_seqno_wrap.c +++ b/tests/gem_seqno_wrap.c @@ -148,7 +148,7 @@ static void render_copyfunc(struct scratch_buf *src, static int warned = 0; if (rendercopy) { - rendercopy(batch_3d, + rendercopy(batch_3d, NULL, src, src_x, src_y, width, height, dst, dst_x, dst_y); |