kwin/autotests
Vlad Zahorodnii b8a70e62d5 Introduce RenderLoop
At the moment, our frame scheduling infrastructure is still heavily
based on Xinerama-style rendering. Specifically, we assume that painting
is driven by a single timer, etc.

This change introduces a new type - RenderLoop. Its main purpose is to
drive compositing on a specific output, or in case of X11, on the
overlay window.

With RenderLoop, compositing is synchronized to vblank events. It
exposes the last and the next estimated presentation timestamp. The
expected presentation timestamp can be used by effects to ensure that
animations are synchronized with the upcoming vblank event.

On Wayland, every outputs has its own render loop. On X11, per screen
rendering is not possible, therefore the platform exposes the render
loop for the overlay window. Ideally, the Scene has to expose the
RenderLoop, but as the first step towards better compositing scheduling
it's good as is for the time being.

The RenderLoop tries to minimize the latency by delaying compositing as
close as possible to the next vblank event. One tricky thing about it is
that if compositing is too close to the next vblank event, animations
may become a little bit choppy. However, increasing the latency reduces
the choppiness.

Given that, there is no any "silver bullet" solution for the choppiness
issue, a new option has been added in the Compositing KCM to specify the
amount of latency. By default, it's "Medium," but if a user is not
satisfied with the upstream default, they can tweak it.
2021-01-06 16:59:29 +00:00
..
drm If include is define in .h remove it if it's defined in .cpp too (scripted) 2020-10-23 21:37:16 +02:00
integration Introduce RenderLoop 2021-01-06 16:59:29 +00:00
libinput cmake: Remove FindUDev.cmake 2021-01-05 23:08:47 +02:00
libkwineffects Use bilinear interpolation to compute texture coords of subquads 2020-10-20 15:41:00 +00:00
libxrenderutils Prettify license headers 2020-08-07 19:57:56 +00:00
tabbox cmake: Rework how tabbox is conditionally compiled into libkwin 2020-12-31 11:00:27 +00:00
abstract_client.h Fix minor EBN issues 2018-08-29 21:02:16 +03:00
CMakeLists.txt autotests: Convert testScreens into an integration test 2021-01-04 08:32:57 +00:00
fakeeffectplugin.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
fakeeffectplugin.json PluginEffectLoader doesn't use KPluginTrader any more 2015-07-07 09:36:15 +02:00
fakeeffectplugin_version.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
fakeeffectplugin_version.json PluginEffectLoader doesn't use KPluginTrader any more 2015-07-07 09:36:15 +02:00
mock_abstract_client.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
mock_abstract_client.h Prettify license headers 2020-08-07 19:57:56 +00:00
mock_effectshandler.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
mock_effectshandler.h Provide expected presentation time to effects 2020-12-10 07:14:42 +00:00
mock_screens.cpp Drop Platform::createScreens() 2020-12-21 09:20:16 +00:00
mock_screens.h Drop Platform::createScreens() 2020-12-21 09:20:16 +00:00
mock_workspace.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
mock_workspace.h Prettify license headers 2020-08-07 19:57:56 +00:00
mock_x11client.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
mock_x11client.h Prettify license headers 2020-08-07 19:57:56 +00:00
onscreennotificationtest.cpp Fix warning 2020-09-02 13:13:33 +02:00
onscreennotificationtest.h Prettify license headers 2020-08-07 19:57:56 +00:00
opengl_context_attribute_builder_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_builtin_effectloader.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_client_machine.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_gbm_surface.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_gestures.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_plugin_effectloader.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_screen_edges.cpp testScreenEdges: no need to wait twice for Screens::changed 2020-09-03 11:23:06 +02:00
test_screen_paint_data.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_scripted_effectloader.cpp [effects/fullscreen] Add effect that animates full screen changes 2020-09-09 18:18:16 +00:00
test_virtual_desktops.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_virtualkeyboard_dbus.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_window_paint_data.cpp [libkwineffects] Add windowId to EffectWindow 2020-11-17 21:56:17 +00:00
test_x11_timestamp_update.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_xcb_size_hints.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_xcb_window.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_xcb_wrapper.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_xkb.cpp add audio pause mapping in xkb_qt_mapping. 2020-12-02 17:50:55 +08:00
testutils.h Prettify license headers 2020-08-07 19:57:56 +00:00
workspace.h [auto-tests] Add an initial test for Screens 2014-09-17 10:29:03 +02:00
x11client.h Rename Client to X11Client 2019-09-25 21:11:37 +03:00