<table><tr><td style="">romangg created this revision.<br />romangg added a reviewer: KWin.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />romangg requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D26171">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This patch adds interfaces for specifying viewports via the wp_viewporter<br />
protocol extension. This allows to make surface size and buffer independent<br />
from each other. For example a video player can send 1080p video data while<br />
the window of the player is of different size.</p>
<p>The server interface ViewportInterface is directly integrated with<br />
SurfaceInterface. Viewport changes are double-buffered by that.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Added auto tests and with weston-scaler.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>viewporter</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26171">https://phabricator.kde.org/D26171</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/client/CMakeLists.txt<br />
autotests/client/test_viewporter.cpp<br />
src/client/CMakeLists.txt<br />
src/client/registry.cpp<br />
src/client/registry.h<br />
src/client/viewporter.cpp<br />
src/client/viewporter.h<br />
src/server/CMakeLists.txt<br />
src/server/display.cpp<br />
src/server/display.h<br />
src/server/surface_interface.cpp<br />
src/server/surface_interface.h<br />
src/server/surface_interface_p.h<br />
src/server/viewporter_interface.cpp<br />
src/server/viewporter_interface.h</div></div></div><br /><div><strong>To: </strong>romangg, KWin<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>