diff options
author | Adel Gadllah <[email protected]> | 2014-02-24 20:44:42 +0100 |
---|---|---|
committer | Eric Anholt <[email protected]> | 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 <[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/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 75fc9510bf4..5a960b05d84 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; |