dri3: Track full 64-bit SBC numbers, instead of just 32-bits
authorKeith Packard <keithp@keithp.com>
Tue, 26 Nov 2013 05:14:55 +0000 (21:14 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 31 Jan 2014 00:35:00 +0000 (16:35 -0800)
commit71d614250ed1f83d8da3adb8e855ee00201c70da
treeadae5edc4621fae18680b5511f37038598734db1
parent34a8a0820fa08037acd0e4fbc368d72c1a6209f1
dri3: Track full 64-bit SBC numbers, instead of just 32-bits

Tracking the full 64-bit SBC values makes it clearer how those values are
being used, and simplifies the wait_msc code. The only trick is in
re-constructing the full 64-bit value from Present's 32-bit serial number
that we use to pass the SBC value from request to event.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glx/dri3_glx.c
src/glx/dri3_priv.h