summaryrefslogtreecommitdiffstats
path: root/src/glx/dri3_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/dri3_priv.h')
-rw-r--r--src/glx/dri3_priv.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/glx/dri3_priv.h b/src/glx/dri3_priv.h
index 248fa28dfc2..bdfe224fed0 100644
--- a/src/glx/dri3_priv.h
+++ b/src/glx/dri3_priv.h
@@ -147,7 +147,7 @@ struct dri3_context
__DRIcontext *driContext;
};
-#define DRI3_MAX_BACK 3
+#define DRI3_MAX_BACK 4
#define DRI3_BACK_ID(i) (i)
#define DRI3_FRONT_ID (DRI3_MAX_BACK)
@@ -172,6 +172,10 @@ struct dri3_drawable {
uint8_t is_pixmap;
uint8_t flipping;
+ /* Present extension capabilities
+ */
+ uint32_t present_capabilities;
+
/* SBC numbers are tracked by using the serial numbers
* in the present request and complete events
*/