lp:~brandontschaefer/+junk/trunk-mir

Created by Brandon Schaefer and last modified
Get this branch:
bzr branch lp:~brandontschaefer/+junk/trunk-mir
Only Brandon Schaefer can upload to this branch. If you are Brandon Schaefer please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Brandon Schaefer
Status:
Development

Recent revisions

3072. By Alberto Aguirre

fingerpaint: point radius should be a minimum of 1

.

Approved by PS Jenkins bot, Daniel van Vugt, Brandon Schaefer.

3071. By Alexandros Frantzis

Replace static objects which cause various teardown issues with instance objects. Fixes: https://bugs.launchpad.net/bugs/1506137.

Approved by Daniel van Vugt, PS Jenkins bot, Kevin DuBois.

3070. By Andreas Pokorny

Switch to UniqueModulePtr in graphics platform creation symbols

With this the lifetime of the graphics platform shared module is tied to the lifetime of the graphics::Platform instance used by the server. So we can get rid of the global static SharedLibrary in mirserver. This is then identical to the lifetime tracking used for input platforms.

The platform plays factory for Display, PlatformIPCOperations and GraphicsBufferAllocator. These instances are still created as plain shared ptrs. Currently DisplayServer guarantees that the Platform outlives those objects, if we dont want to guarantee that destruction ordering we could also use UniqueModulePtr for those - but that requires a slightly larger rework in integration tests.

This change also required removing enable_shared_from_this from the kms version of mir::graphics::mesa::Platform. Capturing a UniqueModulePtr<T> with a shared_ptr<T> works, and also when enable_shared_from_this is used in T. It does not work when enable_shared_from_this is only added by a class derived from T.

3069. By Alan Griffiths

shell, report: add an initial version of a report on shell processing

3068. By Alberto Aguirre

Revert -r3066

The server cannot start throwing std::bad_weak_ptr exception.

3067. By Chris Halse Rogers

Also send the output ID in MirSurfaceOutputEvent

3066. By Andreas Pokorny

Switch to UniqueModulePtr in graphics platform creation symbols

With this the lifetime of the graphics platform shared module is tied to the lifetime of the graphics::Platform instance used by the server. So we can get rid of the global static SharedLibrary in mirserver.

The platform plays factory for Display, PlatformIPCOperations and GraphicsBufferAllocator. These instances are still created as plain shared ptrs. Currently DisplayServer guarantees that the Platform outlives those objects, if we dont want to guarantee that destruction ordering we could also use UniqueModulePtr for those - but that requires a slightly larger rework in integration tests.

3065. By Andreas Pokorny

Rework Modifier tracking to combine modifiers within

The platform is no longer in charge of the modifier. Instead the new input stack tracks it when the events are received. To reduce the complexity of InputDeviceHub this behavior and similar parts are moved to mir::input::Seat which represents a group of input devices that belong to a user session. (Currently all of them).

Collateral changes:
- allow changing the modifier of MirEvent after creation -> additional symbols to 'hidden' C++ client API
- reduction of EventBuilder interface
- moving of modifier utils to server

3064. By Andreas Pokorny

Bump graphics platform ABI for 0.18

3063. By Alexandros Frantzis

frontend: Support requests to set the base display configuration

Branch metadata

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

Subscribers