D26171: Implement wp_viewporter
Roman Gilg
noreply at phabricator.kde.org
Mon Dec 23 00:52:57 GMT 2019
romangg created this revision.
romangg added a reviewer: KWin.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
romangg requested review of this revision.
REVISION SUMMARY
This patch adds interfaces for specifying viewports via the wp_viewporter
protocol extension. This allows to make surface size and buffer independent
from each other. For example a video player can send 1080p video data while
the window of the player is of different size.
The server interface ViewportInterface is directly integrated with
SurfaceInterface. Viewport changes are double-buffered by that.
TEST PLAN
Added auto tests and with weston-scaler.
REPOSITORY
R127 KWayland
BRANCH
viewporter
REVISION DETAIL
https://phabricator.kde.org/D26171
AFFECTED FILES
autotests/client/CMakeLists.txt
autotests/client/test_viewporter.cpp
src/client/CMakeLists.txt
src/client/registry.cpp
src/client/registry.h
src/client/viewporter.cpp
src/client/viewporter.h
src/server/CMakeLists.txt
src/server/display.cpp
src/server/display.h
src/server/surface_interface.cpp
src/server/surface_interface.h
src/server/surface_interface_p.h
src/server/viewporter_interface.cpp
src/server/viewporter_interface.h
To: romangg, #kwin
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191223/92a560fe/attachment.html>
More information about the Kde-frameworks-devel
mailing list