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 /lib/rendercopy_i830.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 'lib/rendercopy_i830.c')
-rw-r--r-- | lib/rendercopy_i830.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rendercopy_i830.c b/lib/rendercopy_i830.c index 0347597f..73edcfa5 100644 --- a/lib/rendercopy_i830.c +++ b/lib/rendercopy_i830.c @@ -191,6 +191,7 @@ static void gen2_emit_copy_pipeline(struct intel_batchbuffer *batch) } void gen2_render_copyfunc(struct intel_batchbuffer *batch, + drm_intel_context *context, struct scratch_buf *src, unsigned src_x, unsigned src_y, unsigned width, unsigned height, struct scratch_buf *dst, unsigned dst_x, unsigned dst_y) |