From kde-panel-devel Tue Oct 31 19:35:25 2017 From: =?utf-8?q?Martin_Fl=C3=B6ser?= Date: Tue, 31 Oct 2017 19:35:25 +0000 To: kde-panel-devel Subject: D8582: [platforms/drm] Add support for rotation property on the Plane Message-Id: <20171031193524.104659.079290B1215EFB11 () phabricator ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=150947854126493 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--ef18b7e3feb14b6c9d6306dd6bc4d483" --ef18b7e3feb14b6c9d6306dd6bc4d483 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ascii" Mime-Version: 1.0 graesslin added a comment. In https://phabricator.kde.org/D8582#162577, @davidedmundson wrote: > Do you think we'll need a compositor fallback? > > *If* we do have a compositor fallback, then I don't see the point of a DRM specific codepath, it's not going to have any slower having a transform in painting, and will just result in one code path not getting tested. > > To mostly answer my own question: > > In hwcomposer, it seems we have a transform attribute on the layer. > > For nested wayland we can set a transform on our wl_surface. > > For FBDev or nested in X, I don't think we can. But probably don't care? Yep. And that's why I don't want to add a compositor fallback. Doing the fallback looked quite complex when I looked at it due to multi screen. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D8582 To: graesslin, #kwin, #plasma, subdiff Cc: davidedmundson, plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart --ef18b7e3feb14b6c9d6306dd6bc4d483 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="ascii" Mime-Version: 1.0 View Revision=
graesslin added a comment.

In D8582#162= 577, @davidedmundson wro= te:

Do you think we'll need a com= positor fallback?

*If* we do have a compositor fallback, then I don't see the point o= f a DRM specific codepath, it's not going to have any slower having a = transform in painting, and will just result in one code path not getting te= sted.

To mostly answer my own question:

In hwcomposer, it seems we have a transform attribute on the layer.

For nested wayland we can set a transform on our wl_surface.

For FBDev or nested in X, I don't think we can. But probably don�= 39;t care?

Yep. And that's why I don't want to add a compositor fallback.= Doing the fallback looked quite complex when I looked at it due to multi s= creen.


REPOSITORY
R108 = KWin

REVISION DETAIL
https://phabric= ator.kde.org/D8582

To: graesslin= , KWin, Plasma, subdiff
Cc: davidedmundson, plasma-de= vel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, j= ensreuterberg, abetts, sebas, apol, mart
--ef18b7e3feb14b6c9d6306dd6bc4d483--