vl/dri3: add support for resizing
authorLeo Liu <leo.liu@amd.com>
Mon, 25 Apr 2016 19:49:28 +0000 (15:49 -0400)
committerLeo Liu <leo.liu@amd.com>
Mon, 16 May 2016 20:28:51 +0000 (16:28 -0400)
commit858b329c2cdf43269e083e0861eee2abbf802b4c
tree5934fac8a1f5f6be03bb8d8ef69d72723f5647c8
parent96580ad593f3821256dc5a5f5f61ee809fb775a1
vl/dri3: add support for resizing

When drawable size changed, PresentConfigureNotify event will be
emitted, by handling the event to re-allocate resized buffer.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/auxiliary/vl/vl_winsys_dri3.c