diff options
author | Adel Gadllah <adel.gadllah@gmail.com> | 2014-02-24 20:44:42 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-03-13 14:19:21 -0700 |
commit | a69fabc76cc5a8d744fb184bfc5a4096ee596c13 (patch) | |
tree | f17c9fe43fc9f9fe0f77c9de67f380cf20bfd254 /src/glx/dri2_glx.c | |
parent | 0b02d8a633da7ee19793eb12bb5ea407afe0de6f (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 <adel.gadllah@gmail.com>
Reviewed-by: Robert Bragg <robert@sixbynine.org> (v1)
Reviewed-by: Adel Gadllah <adel.gadllah@gmail.com> (v2)
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/glx/dri2_glx.c')
-rw-r--r-- | src/glx/dri2_glx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 75fc9510bf..5a960b05d8 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -1287,6 +1287,7 @@ dri2CreateScreen(int screen, struct glx_display * priv) psp->waitForSBC = NULL; psp->setSwapInterval = NULL; psp->getSwapInterval = NULL; + psp->getBufferAge = NULL; if (pdp->driMinor >= 2) { psp->getDrawableMSC = dri2DrawableGetMSC; |