D18810: [platforms/hwcomposer] Add scaling support

Roman Gilg <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
romangg added a comment.


  In D18810#410749 <https://phabricator.kde.org/D18810#410749>, @bshah wrote:
  
  > 21:01 <bshah> current kwinwrapper script is used for both normal drm and normal hwcomposer supported devices
  >  21:01 <bshah> I can't just pass a random scale argument to call of kwin_wayland
  
  
  kwinwrapper script should be able to know if the device supports drm or hwcomposer. So why can't it send `--scale` only for hwcomposer?
  
  With DRM on PlaMo KScreen is used or do we use the separate code path to read in output config in DRM backend directly?
  
  But anyway that's not a well defined interface.  I want either only one of these methods or both methods to be supported (but not introduce a third one with env var). I'm in favor of using both, and reading out a config file for initial setup on hotplug or program start and before the potential managing client (KScreen) can send the real configuration. But @davidedmundson had some reservations against that if I understood him correctly.

REPOSITORY
  R108 KWin

BRANCH
  master

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

To: davidedmundson, #kwin, romangg
Cc: bshah, romangg, nicolasfella, zzag, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, 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.