D25505: Associate output transforms and orientations

Roman Gilg noreply at phabricator.kde.org
Sun Nov 24 11:40:01 GMT 2019


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
  We use internally Qt:ScreenOrientation for representing output transforms.
  
  This is not ideal since the values do not map directly to Wayland transform
  values, but we can make it work by using OR combinations of
  Qt:ScreenOrientations.
  
  Do this for now and see if we should not better introduce an internal enum
  mapped directly.
  
  Additionally the OR combinations need to be handled in the drm backend at
  various places accordingly as well (see TODOs).

TEST PLAN
  Compiles

REPOSITORY
  R108 KWin

BRANCH
  output-device-orientation

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

AFFECTED FILES
  abstract_output.cpp
  abstract_output.h
  abstract_wayland_output.cpp
  abstract_wayland_output.h
  outputscreens.cpp
  outputscreens.h
  plugins/platforms/drm/drm_output.cpp
  plugins/platforms/drm/drm_output.h

To: romangg, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20191124/77107297/attachment.html>


More information about the kwin mailing list