st/dri2 Plumb the flush_swapbuffer functionality through to dri3
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 20 Jun 2017 17:24:34 +0000 (19:24 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 3 Aug 2017 06:01:31 +0000 (08:01 +0200)
commitd5ba75f8881f0869dc16f71f7395514c0a35b6e2
tree520888733122ce7526143898cdead1e5245a91bc
parent91c93dec980dbf7b253c124b85dc4e46d2a83587
st/dri2 Plumb the flush_swapbuffer functionality through to dri3

Implement the state tracker manager drawable interface flush_swapbuffer
method by plumbing it through to dri3 if available.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
src/gallium/state_trackers/dri/dri2.c
src/gallium/state_trackers/dri/dri_drawable.c
src/gallium/state_trackers/dri/dri_drawable.h