st/nine: Use helper to release swapchain buffers later
authorAxel Davy <davyaxel0@gmail.com>
Wed, 21 Nov 2018 21:03:07 +0000 (22:03 +0100)
committerAxel Davy <davyaxel0@gmail.com>
Sun, 23 Dec 2018 07:14:50 +0000 (08:14 +0100)
commitc442dd789066104e5e84cc90d98a7ff5cd6296cf
tree27f652e31b3bf30629cc28edbecbb2319fd0ff86
parent51a44c3aac7642a4b26dcfb3a80d3dd87892aa6f
st/nine: Use helper to release swapchain buffers later

This patch introduces a structure to release the
present_handles only when they are fully released
by the server, thus making
"DestroyD3DWindowBuffer" actually release the buffer
right away when called.

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/state_trackers/nine/swapchain9.c
src/gallium/state_trackers/nine/swapchain9.h