OSDN Git Service

glx/dri3: Add additional check for gpu offloading case
authorAxel Davy <axel.davy@ens.fr>
Thu, 30 Apr 2015 22:20:34 +0000 (00:20 +0200)
committerAxel Davy <axel.davy@ens.fr>
Mon, 11 May 2015 17:31:44 +0000 (19:31 +0200)
commitc4ff6d00cd7dde4646ff96733f68d3ddbf540c2c
treeb6c51fcf8ab24d4c106d4283931912b73e68786d
parent05ac39ac497ad7835cac7a161491282b5f69d711
glx/dri3: Add additional check for gpu offloading case

Checks blitImage is implemented.
Initially having the __DRIimageExtension extension
at version 9 at least meant blitImage was supported.
However some implementation do advertise version >= 9
without implementing it.

CC: 10.5 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/glx/dri3_glx.c