summaryrefslogtreecommitdiffstats
path: root/Android.common.mk
diff options
context:
space:
mode:
authorKeith Packard <[email protected]>2013-11-25 21:21:40 -0800
committerEric Anholt <[email protected]>2014-01-30 16:38:36 -0800
commit1525474eadf5ca000162e05b99d591998d1ed3f6 (patch)
tree8fe4b4584acc50e078184a96983c4f5cc7d22673 /Android.common.mk
parent71d614250ed1f83d8da3adb8e855ee00201c70da (diff)
dri3: Fix dri3_wait_for_sbc to wait for completion of requested SBC
Eric figured out that glXWaitForSbcOML wanted to block until the requested SBC had been completed, which means to wait until the PresentCompleteNotify event for that SBC had been received. This replaces the simple sleep(1) loop (which was bogus) with a loop that just checks to see if we've seen the specified SBC value come back in a PresentCompleteNotify event yet. The change is a bit larger than that as I've broken out a piece of common code to wait for and process a single Present event for the target drawable. Signed-off-by: Keith Packard <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'Android.common.mk')
0 files changed, 0 insertions, 0 deletions