~raof/mir/documentation-warning

Viewing all changes in revision 2218.

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2015-01-14 01:09:22 UTC
  • mfrom: (2049.1.16 mesa-double)
  • Revision ID: tarmac-20150114010922-gui2vm4vsfaouc46
mesa::DisplayBuffer: Schedule page flips in a double buffered pattern
instead of triple when it's safe to do so (not clone mode). This
noticeably reduces visible lag. (LP: #1350725)

Clone mode still needs triple buffering because you can't tell two or
more separate monitors to vblank at the same time. You just have to
accept that waiting for multiple vblanks will often take an extra
frame's time.

The more common cases of single or separate outputs however only need
to deal with one vsync signal per frame so can be optimized into
double buffering. And this feels significantly less laggy when dragging
windows around.

This is an improvement on the present behaviour introduced in r1380. Fixes: https://bugs.launchpad.net/bugs/1274408, https://bugs.launchpad.net/bugs/1350725.

Approved by PS Jenkins bot, Robert Carr, Alexandros Frantzis, Alan Griffiths.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: