~gerboland/qtmir/no-crash-multimonitor

Viewing all changes in revision 320.

  • Committer: Gerry Boland
  • Date: 2015-02-19 16:57:09 UTC
  • Revision ID: gerry.boland@canonical.com-20150219165709-sth2i7mbh0ijtzgx
Inital 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 context released
2. reads the new DisplayConfiguration, matches any existing ScreenWindows to new DisplayBuffer should they change (Mir may destroy and create it on us)
3. restarts all renderers

Not yet exporting Display configuration to a shell, nor are we specifying any custom DisplayConfiguration policy. This is mainly to have shell stop crashing!

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: