fix triple buffer re-detection and doublebuffer behavior (on nvidia at least)

Review Request #125659 - Created Oct. 16, 2015 and submitted - Latest diff uploaded

Information
Thomas Lübking
kwin
master
346275, 351700
Reviewers
kwin
fredrik, graesslin
commit #1
re-detect triple-buffering after compositor resume
    
and also hint the proper blocking condition (if turning
off swap control)
    
The detection vars are global, but the swap control requirement
is not preserved, so the detection must re-occur.
    
Alternatively (and better) the swap control should be saved
and re-applied, but there's trouble on initial detection

commit #2
wait for GL after swapping
    
otherwise at least on the nvidia blob the swapping
doesn't block even for double buffering

  
Loading...