Created by Alan Griffiths and last modified
Get this branch:
bzr branch lp:~alan-griffiths/mir/knee-jerk-mir_surface_state_automatic
Only Alan Griffiths can upload to this branch. If you are Alan Griffiths please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Alan Griffiths

Recent revisions

3257. By Alan Griffiths

Knee jerk mir_surface_state_automatic

3256. By Alan Griffiths

Add mir_surface_state_automatic

3255. By Andreas Pokorny

Handle exceptions during platform construction

Since we no longer assign the mir::SharedLibrary instance for a graphics platform to a global variable or a DefaultServerConfiguration member, the SharedLibrary is destroyed when the unwinding leaves the_graphics_platform(). When we rethrow the exception - to create detailed diagnostis - libstdc++ tries to access the unwinding information. But at point in time it is no longer available. Fixes: https://bugs.launchpad.net/bugs/1528135.

Approved by PS Jenkins bot, mir-ci-bot, Chris Halse Rogers, Kevin DuBois, Alan Griffiths.

3254. By Daniel van Vugt

Enhance BufferQueue::buffers_ready_for_compositor() again, this time
to support the usage pattern found in QtMir so that it too can have
working detection of slow clients (to help us decide when to scale
to triple instead of double buffers). (LP: #1476201)

We could have changed QtMir instead, but I decided it's a perfectly
valid usage pattern and we should support both, making Mir more
robust in its ability to support third-party compositors. Fixes: https://bugs.launchpad.net/bugs/1476201.

Approved by PS Jenkins bot, mir-ci-bot, Alan Griffiths.

3253. By Kevin DuBois

android: store the configuration change for the form_factor and scale in mga::Display.

part of the fix for LP: #1535780. Fixes: https://bugs.launchpad.net/bugs/1535780.

Approved by Alan Griffiths, PS Jenkins bot, mir-ci-bot.

3252. By Alan Griffiths

reports, examples: enable CompositorReport in the example AdorningDisplayBufferCompositor.

Approved by PS Jenkins bot, Brandon Schaefer, Kevin DuBois, Daniel van Vugt, mir-ci-bot.

3251. By Daniel van Vugt

Remove redundant (and premature) platform initialization from the
MirConnection constructor. It was added by accident in r3247 apparently.

We already initialize it during the connection process, so having one
set up before then is just a waste of time. It will get destroyed and
replaced during connection. .

Approved by Alan Griffiths, Kevin DuBois, PS Jenkins bot, mir-ci-bot.

3250. By Kevin DuBois

Have the new buffer semantics code break its outstanding promises when it is notified of a disconnect, and handle destruction due to server disconnects gracefully. Typically, a waiting buffer request will have its promise broken, and result in the same disconnect error code being passed out to the client.

Also change it so that the MirConnection is the item that owns the streams/surface resources, and the rpc code just has a weak_ptr to the streams (so it can distribute incoming buffers to them).

Approved by PS Jenkins bot, Alan Griffiths, Chris Halse Rogers, Alexandros Frantzis.

3249. By Andreas Pokorny

tests: split tests around DefaultInputDeviceHub

Splits tests into pure unit and integration tests.

Approved by PS Jenkins bot, Alan Griffiths, mir-ci-bot, Alexandros Frantzis, Kevin DuBois.

3248. By Alan Griffiths

CompositorReport: Don't divide by zero if no frames have been posted in reporting interval.

Approved by PS Jenkins bot, Alberto Aguirre, Kevin DuBois.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.