D23496: Get output physical size from output device

Roman Gilg <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
romangg created this revision.
romangg added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
romangg requested review of this revision.

REVISION SUMMARY
  Get the physical size directly from the always available output device
  interface instead of saving an additional copy in the abstract wayland
  output class.
  
  There is some ambiguity with orientation and naming that needs to be
  cleaned up when output orientation is reworked.

TEST PLAN
  Nested Wayland, Drm, virtual backends tested.

REPOSITORY
  R108 KWin

BRANCH
  outputDevicePhysicalSize

REVISION DETAIL
  https://phabricator.kde.org/D23496

AFFECTED FILES
  abstract_wayland_output.cpp
  abstract_wayland_output.h
  plugins/platforms/drm/drm_output.cpp
  plugins/platforms/fbdev/fb_backend.cpp
  plugins/platforms/fbdev/fb_backend.h
  plugins/platforms/hwcomposer/hwcomposer_backend.cpp
  plugins/platforms/virtual/virtual_output.cpp
  plugins/platforms/wayland/wayland_output.cpp
  plugins/platforms/x11/windowed/x11windowed_output.cpp

To: romangg, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.