Mir

lp:~raof/mir/maybe-less-confusing-client-visible-error

Created by Chris Halse Rogers and last modified
Get this branch:
bzr branch lp:~raof/mir/maybe-less-confusing-client-visible-error
Only Chris Halse Rogers can upload to this branch. If you are Chris Halse Rogers please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Chris Halse Rogers
Project:
Mir
Status:
Development

Recent revisions

3825. By Chris Halse Rogers

Rename ClientVisibleError to StructuredClientError.

A number of people have been confused by the ClientVisibleError name, as other errors are
*also* visible to the client, just not as a structured MirError.

Try this shade of blue on the bikeshed.

3824. By Daniel van Vugt

Fix memory leak LP: #1628794, I think.

Also remove an unused (masked) member variable. Fixes: https://bugs.launchpad.net/bugs/1628794.

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

3823. By Chris Halse Rogers

Replace the mir::Server-overridable Reports with Observers.

This resolves two problems:
1) It ensures that Mir will respect the various reporting options we provide, even when the shell wants to hook into some of the reports, and
2) It matches the semantic expectations around Reports vs Observers that (most of) the Mir team have. A couple of report call-sites which are unsafe for Observers are fixed in this branch.

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

3822. By Brandon Schaefer

Turn off LTO for s390x builds where it causes build failures. This
unblocks the release of Mir 0.25.0 and should probably be kept in
lp:mir too.
.

Approved by Brandon Schaefer, mir-ci-bot.

3821. By Andreas Pokorny

Make FakeDisplay preserve display buffers when the displayed region stays unchanged. Fixes: https://bugs.launchpad.net/bugs/1556142.

Approved by Alan Griffiths, Chris Halse Rogers, mir-ci-bot.

3820. By Kevin DuBois

client: propose that MirBuffer is the EGLNativePixmapType for the mir platform. Include an example of buffer import to GL texture via the mir client api.

Also introduce the MIR_EXTENSION_ANDROID_EGL, with hooks for getting the EGLNativePixmapType and EGLNativeDisplayType. EGLNativeWindowType will be added after some MirRenderSurface improvements are proposed.

note: egldiamond will only import buffers on android, as the example shim subloads EGL_NATIVE_BUFFER_ANDROID. Other platforms have a sensible fallback.

Approved by Andreas Pokorny, mir-ci-bot, Chris Halse Rogers.

3819. By Alan Griffiths

Fix code to match the documentation of CoordinateTranslator - vis "It is acceptable ...[to] throw a std::runtime_error". Fixes: https://bugs.launchpad.net/bugs/1641166.

Approved by Andreas Pokorny, mir-ci-bot, Stephen M. Webb.

3818. By Daniel van Vugt

Accommodate scheduling issues on slow/loaded machines that could cause
the frame dropping test to occasionally miss a frame. Use the average
rather than worst case in order to ignore such glitches (LP: #1640366)
. Fixes: https://bugs.launchpad.net/bugs/1640366.

Approved by Kevin DuBois, Chris Halse Rogers, mir-ci-bot.

3817. By Daniel van Vugt

Enhance the ClientLatency acceptance tests to measure latency with
fractional precision.

This is required to test framedropping properly, which should always
achieve closer to zero than one whole frame of latency. In the new
Vulkan terminology, this is called Mailbox mode.

This is an important regression test not only for maintaining low
latency but also avoiding bugs like LP: #1379685 and LP: #1396006. Fixes: https://bugs.launchpad.net/bugs/1640366.

Approved by mir-ci-bot.

3816. By Kevin DuBois

client: add a mechanism for adding extensions to the client API.

Approved by Andreas Pokorny, mir-ci-bot, Chris Halse Rogers.

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.