Mir

lp:~raof/mir/maybe-fix-deadlocking-mesa-test

Created by Chris Halse Rogers on 2016-08-18 and last modified on 2016-08-18
Get this branch:
bzr branch lp:~raof/mir/maybe-fix-deadlocking-mesa-test
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:
Merged

Recent revisions

3654. By Chris Halse Rogers on 2016-08-18

Ensure the mt::Signal lives at least as long as any callback runnning on the MainLoop.

This is (a) obviously more correct, and (b) *seems* to resolve a crazy deadlock where
the test blocks indefinitely waiting on a lock to be taken by
std::condition_variable::notify_all().

3653. By Daniel van Vugt on 2016-08-17

mirvanity: Avoid recording a spuriously low first sample due to thread
start-up races.

Although such a glitch would resolve itself and vanish at 50% test
completion, it's better to never see it at all because people will get
confused.

With this change the first sample recorded is much more likely to be
accurate and no longer an outlier that skews the results.

Approved by Alan Griffiths, mir-ci-bot.

3652. By Kevin DuBois on 2016-08-16

tests: split off the android and nested tests into their own suites (like mesa-kms and mesa-x11 have already done). make sure that the shared mtd::StubBuffer code is properly instantiating its NativeBuffer, given build conditions.

.

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

3651. By Andreas Pokorny on 2016-08-16

Fix bypass detection to not ignore partially intersecting buffers

Before the change the code would bypass the scene in the test case and just ignore the buffer that only partially overlaps with the full screen buffer buffer.

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

3650. By Ratchanan Srirattanamet on 2016-08-16

android: open FB HAL before HWComposer.

Some devices (for example Samsung Galaxy Tab 2 7.0) may insist that the
FB HAL be opened before HWC. This revision make HalComponentFactory to
comply to this requirement.

Approved by: kdub, duflu

3649. By Chris Halse Rogers on 2016-08-16

mtd::TriggeredMainLoop: fix spurious calls to fd sources.

FD_ISSET() is a side-effect-free expression, so this was just unconditionally calling *all* registered sources, regardless of which one(s) triggered the select().

Approved by mir-ci-bot, Daniel van Vugt, Kevin DuBois, Andreas Pokorny.

3648. By Alan Griffiths on 2016-08-15

debian/copyright should be using "Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/".

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

3647. By Daniel van Vugt on 2016-08-12

Document that NVIDIA (and John Carmack) already standardized what I
termed 'predictive bypass'. Although I failed to discover it before
now.

Approved by mir-ci-bot, Alexandros Frantzis.

3646. By Chris Halse Rogers on 2016-08-12

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 on 2016-08-12

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.

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.