summaryrefslogtreecommitdiffstats
path: root/src/glx/dri3_priv.h
diff options
context:
space:
mode:
authorAdel Gadllah <[email protected]>2014-02-24 20:44:42 +0100
committerEric Anholt <[email protected]>2014-03-13 14:19:21 -0700
commita69fabc76cc5a8d744fb184bfc5a4096ee596c13 (patch)
treef17c9fe43fc9f9fe0f77c9de67f380cf20bfd254 /src/glx/dri3_priv.h
parent0b02d8a633da7ee19793eb12bb5ea407afe0de6f (diff)
dri3: Add GLX_EXT_buffer_age support
v2: Indent according to Mesa style, reuse sbc instead of making a new swap_count field, and actually get a usable back before returning the age of the back (fixing updated piglit tests). Changes by anholt. Signed-off-by: Adel Gadllah <[email protected]> Reviewed-by: Robert Bragg <[email protected]> (v1) Reviewed-by: Adel Gadllah <[email protected]> (v2) Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glx/dri3_priv.h')
-rw-r--r--src/glx/dri3_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/dri3_priv.h b/src/glx/dri3_priv.h
index 1d124f8abd7..316e3131532 100644
--- a/src/glx/dri3_priv.h
+++ b/src/glx/dri3_priv.h
@@ -97,6 +97,7 @@ struct dri3_buffer {
uint32_t cpp;
uint32_t flags;
uint32_t width, height;
+ uint64_t last_swap;
enum dri3_buffer_type buffer_type;
};