x11/dri3: Store raw present completion mode
authorDaniel Stone <daniels@collabora.com>
Wed, 21 Feb 2018 10:39:34 +0000 (10:39 +0000)
committerDaniel Stone <daniels@collabora.com>
Wed, 21 Feb 2018 21:57:38 +0000 (21:57 +0000)
commiteef890b7b1216443bd75382f7f602e26338a7899
treeadab3f3cd92b314a470b6f9492d5f657f18a8384
parenta6f1952814c96f9d04360337e58cb30df02038f9
x11/dri3: Store raw present completion mode

The DRI3 drawable info struct currently stores a boolean for whether the
last completed operation was a flip or not. As we need to track the full
completion mode for handling suboptimal returns, change the 'flipping'
field to the raw present completion mode from the server.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/loader/loader_dri3_helper.c
src/loader/loader_dri3_helper.h