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_i915.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_i915.c')
-rw-r--r-- | lib/rendercopy_i915.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rendercopy_i915.c b/lib/rendercopy_i915.c index 4b15dfe3..33e027e0 100644 --- a/lib/rendercopy_i915.c +++ b/lib/rendercopy_i915.c @@ -3,6 +3,7 @@ #include "rendercopy.h" void gen3_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) |