diff options
author | Dave Airlie <[email protected]> | 2018-12-27 14:26:49 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-01-25 04:27:45 +1000 |
commit | 1f6b92b47652e7f48f03ef6a4228a19537022d23 (patch) | |
tree | b9ee40dabee18b1175c5e27e8494a265b6d41bf4 /src/gallium/include | |
parent | 00af91ca463a2486c043c635d94d9958fb1e8700 (diff) |
gallium: use put image shm2 path (v2)
This fixes the drisw paths to use the new shm2 interface, so that
we don't trigger the X server overflow checks when the x offset is non-zero.
This just hides the versioning in drisw, and either passes the src_x
or adds the offset fixup for the fallback path.
Cc: <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/state_tracker/drisw_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/state_tracker/drisw_api.h b/src/gallium/include/state_tracker/drisw_api.h index e365ab81f18..4b5d36c1797 100644 --- a/src/gallium/include/state_tracker/drisw_api.h +++ b/src/gallium/include/state_tracker/drisw_api.h @@ -20,7 +20,7 @@ struct drisw_loader_funcs void (*put_image2) (struct dri_drawable *dri_drawable, void *data, int x, int y, unsigned width, unsigned height, unsigned stride); void (*put_image_shm) (struct dri_drawable *dri_drawable, - int shmid, char *shmaddr, unsigned offset, + int shmid, char *shmaddr, unsigned offset, unsigned offset_x, int x, int y, unsigned width, unsigned height, unsigned stride); }; |