~unity-team/mir/version_bump_for_multimonitor_silo

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2017-03-28 05:26:36 UTC
  • mfrom: (4076.3.19 drm-auth-from-display)
  • Revision ID: tarmac-20170328052636-iqyelakjqcflooeq
Give the authentication the BufferPlatform needs from the DisplayPlatform for drm systems via the mg::Display::native_display_platform() and mg::PlatformAuthentication interfaces.

With android and nvidia [1], the DisplayPlatform and RenderingPlatform don't really have a dependency between each other.

Mesa needs a fd (sourced from /dev/dri/card* or /dev/dri/render*, as appropriate) to initialize the RenderingPlatform, specifically, it needs it to initialize the gbm device. The platform also gives out authenticated fds over IPC to clients via mir::frontend. This fd is best owned by the DisplayPlatform (nested, kms, and x11 all do things a bit differently, but all need to provide fds so that gbm devices can be made), and given to the RenderingPlatform. 

[1] in its current implementation. We might have to share the resources between rendering/display there too, hopefully that platform now has the levers it needs to do that in the way that's best fit.
.

Approved by mir-ci-bot, Cemil Azizoglu, Alan Griffiths, Chris Halse Rogers.
Filename Latest Rev Last Changed Committer Comment Size
..
.bzr-builddeb 435.1.1 11 years ago Didier Roche Put mir in split mode Diff
benchmarks 217.1.1 11 years ago Thomas Voß mir/benchmarks: Add cpu and memory benchmarking wi Diff
cmake 45.2.18 11 years ago Alan Griffiths First cut (not working right) Diff
debian 234.1.1 11 years ago Thomas Voß mir: Pull packaging setup into trunk. Diff
design 197.1.2 11 years ago Alan Griffiths More docs Diff
doc 264.2.1 11 years ago Alexandros Frantzis doc,cmake: Add 'doc' make target Diff
examples 227.2.6 11 years ago Kevin DuBois merge in base branch. move the demo clients to a n Diff
guides 3 11 years ago Thomas Voß Added C++ style guide. Diff
include 2.1.6 11 years ago Alan Griffiths Split classes into headers Diff
playground 1904.3.1 9 years ago Alberto Aguirre Move examples that use private mir functionality i Diff
src 2.1.9 11 years ago Alan Griffiths Create a compositor lib Diff
tests 78.1.1 11 years ago Thomas Voß Reorganized tests into a single top-level director Diff
tools 17 11 years ago Kevin DuBois add a tools directory, with a short bash script fo Diff
.bzrignore 4079.1.1 7 years ago Cemil Azizoglu Merge lp:mir/ubuntu 89 bytes Diff Download File
.clang-format 2094.7.12 9 years ago Daniel van Vugt Merge latest trunk and fix conflicts. 1.3 KB Diff Download File
CMakeLists.txt 4113.1.2 7 years ago Alberto Aguirre Remove spaces around parenthesis. 12.7 KB Diff Download File
COPYING.GPL 459.1.6 11 years ago Didier Roche use LGPL as main license 34.2 KB Diff Download File
COPYING.LGPL 620.4.3 11 years ago Daniel van Vugt Merge latest lp:mir 7.4 KB Diff Download File
File cross-compile-chroot.sh 3933.5.3 7 years ago Daniel van Vugt Merge latest trunk 4.5 KB Diff Download File
HACKING.md 4041.1.5 7 years ago Daniel van Vugt Merge latest trunk 3.7 KB Diff Download File
File native-compile.sh 1441.4.13 10 years ago Daniel van Vugt Merge latest development-branch 326 bytes Diff Download File
README.md 620.4.3 11 years ago Daniel van Vugt Merge latest lp:mir 1.4 KB Diff Download File