dri2: add code to dri2_Flush extension.
authorCooper Yuan <cooperyuan@gmail.com>
Tue, 16 Aug 2011 01:32:10 +0000 (09:32 +0800)
committerCooper Yuan <cooperyuan@gmail.com>
Tue, 16 Aug 2011 01:32:10 +0000 (09:32 +0800)
commit9b784069ce76e1914eaafac0542458f6a84d9fc0
treef50fd6cf28dd0ca26c6f07454065a727297d3c8d
parenta313c29c777de0bc74c252f1d35eef7d3d907e1f
dri2: add code to dri2_Flush extension.

It's going to flush client's commands in eglWaitClient(). Before this,
egl applications using pixmap or pbuffer flicker because of no flush.

Reviewed-by: Alan Hourihane
src/gallium/state_trackers/dri/drm/dri2.c