Mir

lp:~andreas-pokorny/mir/move-all-device-hub-observers-to-input-thread

Created by Andreas Pokorny on 2017-03-28 and last modified on 2017-03-28
Get this branch:
bzr branch lp:~andreas-pokorny/mir/move-all-device-hub-observers-to-input-thread
Only Andreas Pokorny can upload to this branch. If you are Andreas Pokorny please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andreas Pokorny
Project:
Mir
Status:
Development

Recent revisions

4121. By Andreas Pokorny on 2017-03-28

Move all invocations of InputDeviceObserver into the input thread

4120. By Alan Griffiths on 2017-03-28

Simplify mtf::ObservantShell.

Approved by mir-ci-bot, Daniel van Vugt, Chris Halse Rogers.

4119. By Kevin DuBois on 2017-03-28

Give the authentication the BufferPlatform needs from the DisplayPlatform for drm systems via the mg::Display::native_display_platform() and mg::PlatformAuthentication interfaces.

With android and nvidia [1], the DisplayPlatform and RenderingPlatform don't really have a dependency between each other.

Mesa needs a fd (sourced from /dev/dri/card* or /dev/dri/render*, as appropriate) to initialize the RenderingPlatform, specifically, it needs it to initialize the gbm device. The platform also gives out authenticated fds over IPC to clients via mir::frontend. This fd is best owned by the DisplayPlatform (nested, kms, and x11 all do things a bit differently, but all need to provide fds so that gbm devices can be made), and given to the RenderingPlatform.

[1] in its current implementation. We might have to share the resources between rendering/display there too, hopefully that platform now has the levers it needs to do that in the way that's best fit.
.

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

4118. By Daniel van Vugt on 2017-03-27

mirout: Add support for -- after actions (LP: #1676320)

For example: mirout rotate right -- --desktop_file_hint=unity8
. Fixes: https://bugs.launchpad.net/bugs/1676320.

Approved by mir-ci-bot, Alan Griffiths.

4117. By Andreas Pokorny on 2017-03-27

Fix infinite sending of repeat keys after devices disappear in nested servers (LP: #1675357). Fixes: https://bugs.launchpad.net/bugs/1675357.

Approved by mir-ci-bot, Kevin DuBois.

4116. By Daniel van Vugt on 2017-03-27

Simplify the recently modified KMSOutput::fb_for function.

It doesn't need three parameters and prior to revision 4080 only
had one. In fact, this isn't just a clean-up but also a correction
because the resulting FB object is cached as an attachment to the
BO object. So it's important for multiple displays sharing a single
object to get the full superset bounding-box every time. The cache
has no knowledge of which subset of the DisplayBuffer an output
is interested in.

Approved by Kevin DuBois, mir-ci-bot.

4115. By Alberto Aguirre on 2017-03-24

Fix build when choosing only to build eglstream-kms platform

Add DRM dependency when specifying only -DMIR_PLATFORM=eglstream-kms.

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

4114. By Andreas Pokorny on 2017-03-24

Ensure that no action is still queued that may access the mir::input::InputDevice (LP: #1672955)

Shared pointers to mir::input::Device are handed out to other threads and may still be used after the mir::input::InputDevice was removed. To avoid this problem the ActionQueues for manipulating input devices are now per device and will be removed with the InputDevice. Fixes: https://bugs.launchpad.net/bugs/1672955.

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

4113. By Alan Griffiths on 2017-03-24

Correct drag and drop API documentation.

Approved by Albert Astals Cid, Andreas Pokorny, mir-ci-bot.

4112. By Andreas Pokorny on 2017-03-24

Store device configurations and device ids

With this change previous configurations of input devices are restored when they reappear.
.

Approved by mir-ci-bot, Alan Griffiths, 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.

Subscribers