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/glxclient.h | |
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/glxclient.h')
-rw-r--r-- | src/glx/glxclient.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index a7118af2260..74c19c48564 100644 --- a/src/glx/glxclient.h +++ b/src/glx/glxclient.h @@ -125,6 +125,7 @@ struct __GLXDRIscreenRec { int64_t *msc, int64_t *sbc); int (*setSwapInterval)(__GLXDRIdrawable *pdraw, int interval); int (*getSwapInterval)(__GLXDRIdrawable *pdraw); + int (*getBufferAge)(__GLXDRIdrawable *pdraw); }; struct __GLXDRIdrawableRec |