← Back to team overview

touch-packages team mailing list archive

[Bug 1350725] Re: mesa::DisplayBuffer::post_update is triple buffered - more laggy than it needs to be

 

** Changed in: mir
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1350725

Title:
  mesa::DisplayBuffer::post_update is triple buffered - more laggy than
  it needs to be

Status in Mir:
  Fix Released
Status in mir package in Ubuntu:
  Fix Released

Bug description:
  Our DisplayBuffer implementation for Mesa/desktop is actually triple
  buffered, making it one frame more laggy than it needs to be. This was
  intentional because it's required to allow cloned displays to keep up
  (waiting for all vblanks may take an extra 16ms).

  But we don't need to keep it always-on. We can revert to double
  buffering in the common case where cloning is not active by adding
  this to the bottom of mesa::DisplayBuffer::post_update -

      if (outputs.size() == 1)
          wait_for_page_flip();

  Making this change results in a noticeable improvement in
  responsiveness when dragging windows around.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1350725/+subscriptions