Mir

Comment 4 for bug 1528135

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Oh, I just wasted time re-bisecting a duplicate bug and found the regression happened in the same change (the first time it landed):

------------------------------------------------------------
revno: 3066 [merge]
author: Andreas Pokorny <email address hidden>
committer: Alberto Aguirre <email address hidden>
branch nick: trunk
timestamp: Thu 2015-10-29 18:37:56 -0500
message:
  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.
------------------------------------------------------------