D26172: Add wp_viewporter support
Roman Gilg
noreply at phabricator.kde.org
Mon Dec 23 01:06:31 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
With the new interface in KWayland we can add support for viewports. Here the
specified viewport is being respected by setting the texture coordinates when
rendering with OpenGl and setting the source rectangle with QPainter.
The destination size is already implicitly respected through the size of the
KWayland SurfaceInterface.
TEST PLAN
Tested with weston-scaler.
REPOSITORY
R108 KWin
BRANCH
viewporter
REVISION DETAIL
https://phabricator.kde.org/D26172
AFFECTED FILES
plugins/scenes/qpainter/scene_qpainter.cpp
scene.cpp
wayland_server.cpp
wayland_server.h
To: romangg, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, zachus, 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/20191223/0ca3d9d4/attachment.html>
More information about the kwin
mailing list