D3504: Implment DRM EGL scaling

Roman Gilg noreply at phabricator.kde.org
Fri Mar 31 01:47:45 UTC 2017


subdiff added inline comments.

INLINE COMMENTS

> egl_gbm_backend.cpp:198
> +    qreal scale = output.output->scale();
> +    glViewport(-v.x(), v.height() - overall.height() - v.y(), overall.width() * scale, overall.height() * scale);
>      return true;

I still don't think this is the right way to use scale here. But it's currently not possible to test it with scale > 1, is it? I tried to use the `scale` option from https://phabricator.kde.org/D3159, but `initialOutputScale` is currently only available for X11WindowedBackend. Can you make the test option usable in the DRM backend as well? This won't test different scale factors on multiple monitors though.

REPOSITORY
  R108 KWin

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

To: davidedmundson, graesslin, #plasma
Cc: #kwin, subdiff, graesslin, plasma-devel, kwin, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170331/e777dd67/attachment.html>


More information about the Plasma-devel mailing list