drisw: use shared memory when possible
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Wed, 10 Jun 2015 15:45:11 +0000 (17:45 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 29 May 2018 23:11:54 +0000 (09:11 +1000)
commitcf54bd5e8381dba18d52fe438acda20cc1685bf3
tree9733976e7e81587dec8f6efc9e8d88dd16bba8c9
parent63c427fa71a07649d5c033a5c6184ef701348590
drisw: use shared memory when possible

If drisw_loader_funcs implements put_image_shm, allocates display
target data with shared memory and display with put_image_shm().

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
src/gallium/winsys/sw/dri/dri_sw_winsys.c