summaryrefslogtreecommitdiffstats
path: root/src/loader/loader_dri3_helper.h
diff options
context:
space:
mode:
authorDaniel Stone <[email protected]>2018-02-21 10:39:34 +0000
committerDaniel Stone <[email protected]>2018-02-21 21:57:38 +0000
commiteef890b7b1216443bd75382f7f602e26338a7899 (patch)
treeadab3f3cd92b314a470b6f9492d5f657f18a8384 /src/loader/loader_dri3_helper.h
parenta6f1952814c96f9d04360337e58cb30df02038f9 (diff)
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 <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/loader/loader_dri3_helper.h')
-rw-r--r--src/loader/loader_dri3_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/loader_dri3_helper.h b/src/loader/loader_dri3_helper.h
index 839cba30df0..5caf214b372 100644
--- a/src/loader/loader_dri3_helper.h
+++ b/src/loader/loader_dri3_helper.h
@@ -116,7 +116,6 @@ struct loader_dri3_drawable {
uint8_t have_back;
uint8_t have_fake_front;
uint8_t is_pixmap;
- uint8_t flipping;
/* Information about the GPU owning the buffer */
__DRIscreen *dri_screen;
@@ -157,6 +156,7 @@ struct loader_dri3_drawable {
unsigned int swap_method;
unsigned int back_format;
+ xcb_present_complete_mode_t last_present_mode;
/* Currently protects the following fields:
* event_cnd, has_event_waiter,