gallium: use put image shm2 path (v2)
authorDave Airlie <airlied@redhat.com>
Thu, 27 Dec 2018 04:26:49 +0000 (14:26 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 24 Jan 2019 18:27:45 +0000 (04:27 +1000)
commit1f6b92b47652e7f48f03ef6a4228a19537022d23
treeb9ee40dabee18b1175c5e27e8494a265b6d41bf4
parent00af91ca463a2486c043c635d94d9958fb1e8700
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: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
src/gallium/include/state_tracker/drisw_api.h
src/gallium/state_trackers/dri/drisw.c
src/gallium/winsys/sw/dri/dri_sw_winsys.c