[xorg 3/3] dri2: Reuse unused flags in GetBuffers protocol to pass last SBC

2015-01-19 Thread Chris Wilson
On Mon, Jan 19, 2015 at 11:00:40AM +, Chris Wilson wrote: > @@ -1104,6 +1107,8 @@ DRI2SwapBuffers(ClientPtr client, DrawablePtr pDraw, > CARD64 target_msc, > * it as early as possible, just to be sure. > */ > *swap_target = pPriv->swap_count + pPriv->swapsPending + 1; > +i

[xorg 3/3] dri2: Reuse unused flags in GetBuffers protocol to pass last SBC

2015-01-19 Thread Chris Wilson
Allow mesa/dri2 to implement GLX_EXT_buffer_age by reporting the sbc of when the current back buffer was defined. As this may require ddx support, only set the value if enabled by the ddx and report the new semantics via a DRI2GetParam request. Signed-off-by: Chris Wilson --- configure.ac