055e2b3bb6
Summary: The idea behind this autotest is inspired by bug 356328 which produced incorrect rendering results. Also it's inspired by openQA which performs image reference comparisons. This test case tries to go further. It creates reference images which must match the rendering result exactly. So far the test case verifies the start condition - kwin started and one frame is rendered with default cursor in the middle of the screen. And it verifies the moving of the cursor without any windows shown. Whenever the cursor moves a repaint should be triggered and the old and new area should be properly repainted. To support this the test needs some minor changes in KWin: * Scene provides a frameRendered signal - needed for waiting on frame * Scene and SceneQPainter are exported * SceneQPainter provides access to it's Backend, so that we get to the backbuffer * ScriptedEffectLoader is exported for getting a list of all scripted effects - (we don't want fade to manipulate the rendering) Reviewers: #kwin, #plasma_on_wayland Subscribers: plasma-devel, kwin Tags: #plasma_on_wayland, #kwin Differential Revision: https://phabricator.kde.org/D2046 |
||
---|---|---|
.. | ||
integration | ||
libinput | ||
libxrenderutils | ||
tabbox | ||
abstract_client.h | ||
client.h | ||
CMakeLists.txt | ||
fakeeffectplugin.cpp | ||
fakeeffectplugin.json | ||
fakeeffectplugin_version.cpp | ||
fakeeffectplugin_version.json | ||
mock_abstract_client.cpp | ||
mock_abstract_client.h | ||
mock_client.cpp | ||
mock_client.h | ||
mock_effectshandler.cpp | ||
mock_effectshandler.h | ||
mock_screens.cpp | ||
mock_screens.h | ||
mock_workspace.cpp | ||
mock_workspace.h | ||
test_builtin_effectloader.cpp | ||
test_client_machine.cpp | ||
test_plugin_effectloader.cpp | ||
test_screen_edges.cpp | ||
test_screen_paint_data.cpp | ||
test_screens.cpp | ||
test_scripted_effectloader.cpp | ||
test_virtual_desktops.cpp | ||
test_window_paint_data.cpp | ||
test_xcb_size_hints.cpp | ||
test_xcb_window.cpp | ||
test_xcb_wrapper.cpp | ||
test_xrandr_screens.cpp | ||
testutils.h | ||
workspace.h |