Mir

lp:~cemil-azizoglu/mir/mir-render-surface

Created by Cemil Azizoglu and last modified
Get this branch:
bzr branch lp:~cemil-azizoglu/mir/mir-render-surface
Only Cemil Azizoglu can upload to this branch. If you are Cemil Azizoglu please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Cemil Azizoglu
Project:
Mir
Status:
Development

Recent revisions

3647. By Cemil Azizoglu

MirRenderSurface works - no tests

3646. By Chris Halse Rogers

Provide subpixel arrangement info from the mesa-kms platform. Fixes: https://bugs.launchpad.net/bugs/1393578.

Approved by mir-ci-bot, Kevin DuBois, Cemil Azizoglu.

3645. By Andreas Pokorny

Use the pixel format of the individual buffer stream to infer shaped()

It is a valid scenario to have an opaque buffer (or buffer stream) for the first layer in a surface and have further transparent or also opaque layers on top. This change removes the constant "non_rectangular" parameter of BasicSurface, and instead looks at the actual streams that are attached to surface.

With mir_presentation_queue it might be worth thinking about going one step further and actually look at the mg::Buffer that would be drawn next. An attempt to do so showed that it would require a few further refactoring steps in our integration test setup.
.

Approved by Kevin DuBois, mir-ci-bot, Alexandros Frantzis.

3644. By Kevin DuBois

Have the MirSurface report the shell-designated size like it used to, instead of the spec-requested size.

fixes: LP: #1612256. Fixes: https://bugs.launchpad.net/bugs/1612256.

Approved by mir-ci-bot, Alan Griffiths.

3643. By Chris Halse Rogers

Improvements to mtd::FakeDisplay.

Throw an exception when writing to/reading from the configuration change event trigger fails rather than silently continuing, blithely unaware that the call has failed.

Switch from a pipe to an eventfd; eventfd is the solution tailored for this use-case.

Presented in the forlorn hope that it makes a test that appears to be flaky on vivid+clang, but does not appear that it's possible for it to be flaky, stops being flaky. Either by consistently passing, or consistently failing!.

Approved by Alexandros Frantzis, Kevin DuBois, mir-ci-bot.

3642. By Chris Halse Rogers

Add subpixel arrangement info to the display configuration API.

Current platforms only provide mir_subpixel_arrangement_unknown, and need to add support for setting this to platform-provided values before this will be useful.

Fixes (part one): https://bugs.launchpad.net/mir/+bug/1393578. Fixes: https://bugs.launchpad.net/bugs/1393578.

Approved by mir-ci-bot, Cemil Azizoglu, Daniel van Vugt, Kevin DuBois.

3641. By Alexandros Frantzis

Fix clang build on yakkety. Fixes: https://bugs.launchpad.net/bugs/1609612.

Approved by mir-ci-bot, Chris Halse Rogers, Daniel van Vugt, Alan Griffiths, Cemil Azizoglu.

3640. By Kevin DuBois

Increase timeout for MultiThreadedCompositor.cleans_up_after_throw_in_start test,
which can fail when CI is very slow

fixes: LP: #1595940. Fixes: https://bugs.launchpad.net/bugs/1595940.

Approved by mir-ci-bot, Alan Griffiths, Cemil Azizoglu.

3639. By Andreas Pokorny

Fix server hang ups and allocation failures when client recreate buffer streams

When a mir client destroys a buffer stream the destruction result callback will trigger a buffer release of the associated buffers. That buffer release request inevitable fails in session mediator because it fails to resolve the BufferStreamId. This change handles exceptions during the attempt to disassociate buffers from already deleted buffer streams to ensure that the actual buffer release can happen.

This error is not really a leak - the buffers were deleted when the client disconnects and the server would be able to serve new clients.

Approved by Kevin DuBois, mir-ci-bot.

3638. By Daniel van Vugt

On those devices that have KMS but no hardware cursor support,
fall back automatically to the software cursor (LP: #1610054). Fixes: https://bugs.launchpad.net/bugs/1610054.

Approved by Cemil Azizoglu, mir-ci-bot.

Branch metadata

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

Subscribers