Comment 9 for bug 901097

Revision history for this message
Lasse Kärkkäinen (tronic+mb48) wrote :

Care must be taken with removing glFinish as doing so may cause additional latency. Ideally the drawing should occur as late as possible, right before the buffer swap (1-5 ms latency at compositing stage) but it may be difficult to guarantee that the deadline isn't missed (causing frameskips). Drawing right after the previous swap is much easier and still acceptable (one frame latency). If no glFinish is done, the display driver may buffer multiple completed frames, leading to high latency.