~unity-team/qtmir/revert-occlusion-detection2

Viewing all changes in revision 389.

  • Committer: CI Train Bot
  • Author(s): Gerry Boland
  • Date: 2015-10-21 11:45:58 UTC
  • mfrom: (363.4.28 multimonitor)
  • Revision ID: ci-train-bot@canonical.com-20151021114558-9q8kwwtnei7vjw9t
Initial multimonitor support - react correctly to Mir DisplayConfiguration changes.

On Mir DisplayConfiguration changes, QtMir now correctly:
1. blocks Mir until it has stopped all renderers and has their GL contexts released
2. reads the new DisplayConfiguration, matches any existing ScreenWindows to new DisplayBuffers should they change (as Mir may destroy and create it on us)
3. restarts all renderers

This also solves shutdown crash issues due to raciness of mir destroying the GL context backing the shell's QWindow before its renderer had stopped.

Add Unity.Screens qml module to advertise current screen state to QML. Fixes: #1436735, #1488831, #1488863
Approved by: Daniel d'Andrada

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: