~vanvugt/mir/mir-display-config-header

« back to all changes in this revision

Viewing changes to src/server/graphics/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Christopher James Halse Rogers
  • Date: 2016-11-15 23:48:01 UTC
  • mfrom: (3730.3.26 reports-as-observers)
  • Revision ID: tarmac-20161115234801-2w603k4v3ffhfl3u
Replace the mir::Server-overridable Reports with Observers.

This resolves two problems:
1) It ensures that Mir will respect the various reporting options we provide, even when the shell wants to hook into some of the reports, and
2) It matches the semantic expectations around Reports vs Observers that (most of) the Mir team have. A couple of report call-sites which are unsafe for Observers are fixed in this branch.

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
  gl_extensions_base.cpp
12
12
  surfaceless_egl_context.cpp
13
13
  software_cursor.cpp
 
14
  ${PROJECT_SOURCE_DIR}/include/server/mir/graphics/display_configuration_observer.h
 
15
  display_configuration_observer_multiplexer.cpp
 
16
  display_configuration_observer_multiplexer.h
14
17
)
15
18
 
16
19
add_subdirectory(nested/)