kwin/autotests
David Edmundson 7834bec52a [libkwineffects] Replace property name lookup with calling the virtual methods
Summary:
EffectWindow proxies its properties from the client/deleted's
properties.

QObject::property(char*) is a slow string search. It's a loop
of string comparisons not a hash lookup!

QML's use of properties is different, there's a property cache.

It's fetched multiple times for every window in every paint of some
effects (such as blur). Hotspot shows this as a significant amount of
the render pass (X11) with nothing in kwin animating.

This patch replaces the macro that does
parent()->property("propertyName")
with a macro calling the relevant function directly without metaobjects.

This also improves type safety for future changes.

Test Plan:
Existing unit tests
Ran it for a bit

Reviewers: #kwin, graesslin

Subscribers: graesslin, zzag, broulik, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16602
2018-11-30 11:22:20 +00:00
..
drm [autotests] Support new way to run the tests without need to install 2017-11-21 20:34:52 +01:00
integration [wayland] Check presence of the inhibitor object when a client is registered in IdleInhibition 2018-11-29 18:17:34 +02:00
libinput Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
libkwineffects [libkwineffects] Introduce timeline redirect modes 2018-11-17 13:43:39 +02:00
libxrenderutils Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
tabbox Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
abstract_client.h Fix minor EBN issues 2018-08-29 21:02:16 +03:00
client.h
CMakeLists.txt [wayland] Use the new plasma virtual desktop protocol 2018-11-01 16:35:29 +01:00
fakeeffectplugin.cpp
fakeeffectplugin.json
fakeeffectplugin_version.cpp
fakeeffectplugin_version.json
mock_abstract_client.cpp Fix switch desktop through edge when moving window 2017-06-20 06:57:33 +02:00
mock_abstract_client.h Fix switch desktop through edge when moving window 2017-06-20 06:57:33 +02:00
mock_client.cpp Fix switch desktop through edge when moving window 2017-06-20 06:57:33 +02:00
mock_client.h Fix switch desktop through edge when moving window 2017-06-20 06:57:33 +02:00
mock_effectshandler.cpp Add a KSharedConfigPtr for kcminputrc to KWin::Application 2017-04-24 21:01:03 +02:00
mock_effectshandler.h [wayland] add enter/leave virtual desktop API 2018-11-14 11:08:46 +00:00
mock_screens.cpp
mock_screens.h
mock_workspace.cpp
mock_workspace.h Move XRandR event filter into XRandRScreens 2017-09-12 18:53:08 +02:00
onscreennotificationtest.cpp Fade out OnScreenNotification when moving with the mouse over it 2017-01-04 18:04:15 +01:00
onscreennotificationtest.h Introduce a KWin internal on-screen-notification service 2016-12-21 19:43:49 +01:00
opengl_context_attribute_builder_test.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
test_builtin_effectloader.cpp [effects/dimscreen] Port to JavaScript 2018-11-17 13:44:20 +02:00
test_client_machine.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
test_gbm_surface.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
test_gestures.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
test_plugin_effectloader.cpp [autotests] Test all scripted effects 2018-11-21 20:01:06 +02:00
test_screen_edges.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
test_screen_paint_data.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
test_screens.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
test_scripted_effectloader.cpp [autotests] Test all scripted effects 2018-11-21 20:01:06 +02:00
test_virtual_desktops.cpp [wayland] Use the new plasma virtual desktop protocol 2018-11-01 16:35:29 +01:00
test_virtualkeyboard_dbus.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
test_window_paint_data.cpp [libkwineffects] Replace property name lookup with calling the virtual methods 2018-11-30 11:22:20 +00:00
test_x11_timestamp_update.cpp [autotests] Support new way to run the tests without need to install 2017-11-21 20:34:52 +01:00
test_xcb_size_hints.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
test_xcb_window.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
test_xcb_wrapper.cpp Fix minor EBN issues 2018-08-29 21:02:16 +03:00
test_xkb.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
test_xrandr_screens.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
testutils.h [autotests] Fix unused function warnings 2017-07-29 18:47:58 +02:00
workspace.h