Mir

Merge lp://staging/~afrantzis/mir/fix-out-of-order-buffers-1216472 into lp://staging/mir

Proposed by Alexandros Frantzis
Status: Merged
Approved by: Daniel van Vugt
Approved revision: no longer in the source branch.
Merged at revision: 1095
Proposed branch: lp://staging/~afrantzis/mir/fix-out-of-order-buffers-1216472
Merge into: lp://staging/mir
Diff against target: 187 lines (+78/-29)
3 files modified
include/server/mir/frontend/session_mediator.h (+7/-2)
src/server/frontend/session_mediator.cpp (+33/-27)
tests/unit-tests/frontend/test_session_mediator.cpp (+38/-0)
To merge this branch: bzr merge lp://staging/~afrantzis/mir/fix-out-of-order-buffers-1216472
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Alan Griffiths Approve
Daniel van Vugt Approve
Kevin DuBois (community) Needs Information
Review via email: mp+187841@code.staging.launchpad.net

This proposal supersedes a proposal from 2013-09-26.

Commit message

Properly track buffers per-surface (not per session). Failure to do so was
causing premature buffer release and re-use in cases with multiple surfaces
per client/session. In XMir this was seen as out of order, glitchy and slow
frames when using multiple monitors (LP: #1216472)

Description of the change

frontend: Properly track buffers per-surface (not per session)

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Kevin DuBois (kdub) wrote :

change looks good to me.

I don't understand why that would cause the lag, so I couldn't reason through whether this would affect internal clients as well... will mark 'needs info'

review: Needs Information
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Looks reasonable.

I haven't re-tested packaging and multi-monitors with XMir, but it worked brilliantly when I did so last week.

review: Approve
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Re-tested with XMir. Verified bug 1216472 is fixed!

review: Approve
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Seems Ok

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches