kwin/autotests
Vlad Zahorodnii 045da603a4 Make backends part of libkwin
Platform backends are provided as plugins. This is great for
extensibility, but the disadvantages of this design outweigh the
benefits.

The number of backends will be limited, it's safe to say that we will
have to maintain three backends for many years to come - kms/drm,
virtual, and wayland. The plugin system adds unnecessary complexity.

Startup logic is affected too. At the moment, platform backends provide
the session object, which is awkward as it starts adding dependencies
between backends. It will be nicer if the session is created depending
on the loaded session type.

In some cases, wayland code needs to talk to the backend directly, e.g.
for drm leasing, etc. With the plugin architecture it's hard to do that.
Not impossible though, we can approach it as in Qt 6, but it's still
harder than linking the code directly.

Of course, the main disadvantage of shipping backends in a lib is that
you will need to patch kwin if you need a custom platform, however such
cases will be rare.

Despite that disadvantage, I still think that it's a step in the right
direction where the goal is to have multi-purpose backends and other
reusable components of kwin.

The legacy X11 standalone platform is linked directly to kwin_x11
executable, while the remaining backends are linked to libkwin.
2022-07-23 11:52:42 +00:00
..
integration Make backends part of libkwin 2022-07-23 11:52:42 +00:00
libinput libinput: use std::unique_ptr for events 2022-06-21 17:50:49 +00:00
libkwineffects Make TimeLine API ergonomic with presentation timestamps 2022-05-26 17:10:07 +00:00
tabbox Introduced a new setting for the task switcher - OrderMinimizedMode - and implemented the tabbox logic for it 2022-06-14 07:57:01 +00:00
CMakeLists.txt kwineffects: Strip ScreenPaintData of transforms 2022-07-06 11:10:54 +00:00
onscreennotificationtest.cpp Run clang-format 2022-03-25 13:25:15 +02:00
onscreennotificationtest.h
opengl_context_attribute_builder_test.cpp Run clang-format 2022-03-25 13:25:15 +02:00
test_client_machine.cpp Run clang-format 2022-03-25 13:25:15 +02:00
test_ftrace.cpp
test_gestures.cpp Run clang-format 2022-03-25 13:25:15 +02:00
test_virtual_desktops.cpp x11: Hard-code 0 default screen 2022-07-20 11:37:57 +00:00
test_window_paint_data.cpp Make WindowItem handle opacity 2022-05-11 09:42:35 +00:00
test_x11_timestamp_update.cpp Make backends part of libkwin 2022-07-23 11:52:42 +00:00
test_xcb_size_hints.cpp Use floating geometry throughout 2022-07-14 10:04:46 +01:00
test_xcb_window.cpp Run clang-format 2022-03-25 13:25:15 +02:00
test_xcb_wrapper.cpp Rename AbstractClient to Window 2022-04-22 17:39:12 +00:00
test_xkb.cpp Run clang-format 2022-03-25 13:25:15 +02:00
testutils.h Run clang-format 2022-03-25 13:25:15 +02:00
xcb_scaling_mock.cpp Use floating geometry throughout 2022-07-14 10:04:46 +01:00