libkwineffects/ -> effect/

This commit is contained in:
Vlad Zahorodnii 2023-11-17 10:59:08 +02:00
parent 75f9fda962
commit 86084d118c
239 changed files with 257 additions and 257 deletions

View file

@ -1,6 +1,6 @@
add_definitions(-DKWIN_UNIT_TEST)
remove_definitions(-DQT_USE_QSTRINGBUILDER)
add_subdirectory(libkwineffects)
add_subdirectory(effect)
add_subdirectory(integration)
add_subdirectory(libinput)
add_subdirectory(wayland)

View file

@ -7,7 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "libkwineffects/timeline.h"
#include "effect/timeline.h"
#include <QTest>

View file

@ -6,7 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "libkwineffects/effects.h"
#include "effect/effects.h"
#include <QTest>
Q_DECLARE_METATYPE(KWin::WindowQuadList)

View file

@ -9,8 +9,8 @@
#include "kwin_wayland_test.h"
#include "compositor.h"
#include "libkwineffects/effectloader.h"
#include "libkwineffects/effects.h"
#include "effect/effectloader.h"
#include "effect/effects.h"
#include "scripting/scriptedeffect.h"
#include "wayland_server.h"
#include "window.h"

View file

@ -11,8 +11,8 @@
#include "compositor.h"
#include "core/output.h"
#include "libkwineffects/effectloader.h"
#include "libkwineffects/effects.h"
#include "effect/effectloader.h"
#include "effect/effects.h"
#include "wayland_server.h"
#include "window.h"
#include "workspace.h"

View file

@ -9,8 +9,8 @@
#include "kwin_wayland_test.h"
#include "libkwineffects/effectloader.h"
#include "libkwineffects/effects.h"
#include "effect/effectloader.h"
#include "effect/effects.h"
#include "virtualdesktops.h"
#include "wayland_server.h"
#include "window.h"

View file

@ -10,8 +10,8 @@
#include "kwin_wayland_test.h"
#include "compositor.h"
#include "libkwineffects/effectloader.h"
#include "libkwineffects/effects.h"
#include "effect/effectloader.h"
#include "effect/effects.h"
#include "scene/workspacescene.h"
#include "wayland_server.h"
#include "window.h"

View file

@ -9,8 +9,8 @@
#include "kwin_wayland_test.h"
#include "libkwineffects/effectloader.h"
#include "libkwineffects/effects.h"
#include "effect/effectloader.h"
#include "effect/effects.h"
#include "wayland_server.h"
#include "window.h"
#include "workspace.h"

View file

@ -9,9 +9,9 @@
#include "kwin_wayland_test.h"
#include "effect/effectloader.h"
#include "effect/effects.h"
#include "internalwindow.h"
#include "libkwineffects/effectloader.h"
#include "libkwineffects/effects.h"
#include "useractions.h"
#include "wayland_server.h"
#include "window.h"

View file

@ -9,9 +9,9 @@
#include "kwin_wayland_test.h"
#include "libkwineffects/anidata_p.h"
#include "libkwineffects/effectloader.h"
#include "libkwineffects/effects.h"
#include "effect/anidata_p.h"
#include "effect/effectloader.h"
#include "effect/effects.h"
#include "scripting/scriptedeffect.h"
#include "virtualdesktops.h"
#include "wayland_server.h"

View file

@ -6,9 +6,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "effect/effectloader.h"
#include "effect/effects.h"
#include "kwin_wayland_test.h"
#include "libkwineffects/effectloader.h"
#include "libkwineffects/effects.h"
#include "wayland_server.h"
#include "workspace.h"
#include "x11window.h"

View file

@ -9,8 +9,8 @@
#include "kwin_wayland_test.h"
#include "libkwineffects/effectloader.h"
#include "libkwineffects/effects.h"
#include "effect/effectloader.h"
#include "effect/effects.h"
#include "wayland_server.h"
#include "window.h"
#include "workspace.h"

View file

@ -9,8 +9,8 @@
#include "kwin_wayland_test.h"
#include "compositor.h"
#include "libkwineffects/effectloader.h"
#include "libkwineffects/effects.h"
#include "effect/effectloader.h"
#include "effect/effects.h"
#include "pointer_input.h"
#include "virtualdesktops.h"
#include "wayland_server.h"

View file

@ -9,8 +9,8 @@
#include "kwin_wayland_test.h"
#include "cursor.h"
#include "libkwineffects/effectloader.h"
#include "libkwineffects/effects.h"
#include "effect/effectloader.h"
#include "effect/effects.h"
#include "wayland_server.h"
#include "workspace.h"
#include "x11window.h"

View file

@ -10,7 +10,7 @@
#include "compositor.h"
#include "core/renderbackend.h"
#include "cursor.h"
#include "libkwineffects/effectloader.h"
#include "effect/effectloader.h"
#include "scene/workspacescene.h"
#include "wayland_server.h"
#include "window.h"

View file

@ -9,8 +9,8 @@
#include "kwin_wayland_test.h"
#include "core/output.h"
#include "effect/effects.h"
#include "internalwindow.h"
#include "libkwineffects/effects.h"
#include "pointer_input.h"
#include "wayland/surface.h"
#include "wayland_server.h"

View file

@ -11,8 +11,8 @@
#include "backends/virtual/virtual_backend.h"
#include "compositor_wayland.h"
#include "core/session.h"
#include "effect/effects.h"
#include "inputmethod.h"
#include "libkwineffects/effects.h"
#include "placement.h"
#include "pluginmanager.h"
#include "utils/xcbutils.h"

View file

@ -11,7 +11,7 @@
#include "compositor.h"
#include "core/output.h"
#include "core/renderbackend.h"
#include "libkwineffects/effects.h"
#include "effect/effects.h"
#include "pointer_input.h"
#include "screenedge.h"
#include "wayland/keyboard.h"

View file

@ -11,7 +11,7 @@
#include "core/output.h"
#include "cursor.h"
#include "cursorsource.h"
#include "libkwineffects/effects.h"
#include "effect/effects.h"
#include "options.h"
#include "pointer_input.h"
#include "utils/xcursortheme.h"

View file

@ -12,7 +12,7 @@
#include "atoms.h"
#include "cursor.h"
#include "libkwineffects/effectloader.h"
#include "effect/effectloader.h"
#include "main.h"
#include "pointer_input.h"
#include "screenedge.h"

View file

@ -8,7 +8,7 @@
*/
#include "kwin_wayland_test.h"
#include "libkwineffects/effectloader.h"
#include "effect/effectloader.h"
#include "pointer_input.h"
#include "scripting/scripting.h"
#include "wayland_server.h"

View file

@ -11,7 +11,7 @@
#include "atoms.h"
#include "compositor.h"
#include "cursor.h"
#include "libkwineffects/effectloader.h"
#include "effect/effectloader.h"
#include "wayland_server.h"
#include "workspace.h"
#include "x11window.h"

View file

@ -7,7 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "libkwineffects/effects.h"
#include "effect/effects.h"
#include "virtualdesktops.h"

View file

@ -10,7 +10,7 @@
#include <QTest>
#include <private/qtx11extras_p.h>
#include "libkwineffects/xcb.h"
#include "effect/xcb.h"
#include "main.h"
#include "utils/common.h"

View file

@ -9,8 +9,8 @@
#ifndef TESTUTILS_H
#define TESTUTILS_H
// KWin
#include "libkwineffects/globals.h"
#include "libkwineffects/xcb.h"
#include "effect/globals.h"
#include "effect/xcb.h"
namespace
{

View file

@ -81,6 +81,18 @@ target_sources(kwin PRIVATE
decorations/decorations_logging.cpp
decorations/settings.cpp
dpmsinputeventfilter.cpp
effect/anidata.cpp
effect/animationeffect.cpp
effect/effect.cpp
effect/effectframe.cpp
effect/effectloader.cpp
effect/effects.cpp
effect/effecttogglablestate.cpp
effect/logging.cpp
effect/offscreeneffect.cpp
effect/offscreenquickview.cpp
effect/quickeffect.cpp
effect/timeline.cpp
events.cpp
focuschain.cpp
ftrace.cpp
@ -106,18 +118,6 @@ target_sources(kwin PRIVATE
layers.cpp
layershellv1integration.cpp
layershellv1window.cpp
libkwineffects/anidata.cpp
libkwineffects/animationeffect.cpp
libkwineffects/effect.cpp
libkwineffects/effectframe.cpp
libkwineffects/effectloader.cpp
libkwineffects/effects.cpp
libkwineffects/effecttogglablestate.cpp
libkwineffects/logging.cpp
libkwineffects/offscreeneffect.cpp
libkwineffects/offscreenquickview.cpp
libkwineffects/quickeffect.cpp
libkwineffects/timeline.cpp
lidswitchtracker.cpp
main.cpp
modifier_only_shortcuts.cpp
@ -294,7 +294,7 @@ set(kwin_dbus_SRCS)
qt_add_dbus_adaptor(kwin_dbus_SRCS scripting/org.kde.kwin.Script.xml scripting/scripting.h KWin::AbstractScript)
qt_add_dbus_adaptor(kwin_dbus_SRCS org.kde.KWin.xml dbusinterface.h KWin::DBusInterface)
qt_add_dbus_adaptor(kwin_dbus_SRCS org.kde.kwin.Compositing.xml dbusinterface.h KWin::CompositorDBusInterface)
qt_add_dbus_adaptor(kwin_dbus_SRCS ${kwin_effects_dbus_xml} libkwineffects/effects.h KWin::EffectsHandler)
qt_add_dbus_adaptor(kwin_dbus_SRCS ${kwin_effects_dbus_xml} effect/effects.h KWin::EffectsHandler)
qt_add_dbus_adaptor(kwin_dbus_SRCS org.kde.KWin.VirtualDesktopManager.xml dbusinterface.h KWin::VirtualDesktopManagerDBusInterface)
qt_add_dbus_adaptor(kwin_dbus_SRCS org.kde.KWin.Session.xml sm.h KWin::SessionManager)
qt_add_dbus_adaptor(kwin_dbus_SRCS org.kde.KWin.Plugins.xml dbusinterface.h KWin::PluginManagerDBusInterface)
@ -435,16 +435,16 @@ install(FILES
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kwin/utils COMPONENT Devel)
install(FILES
libkwineffects/animationeffect.h
libkwineffects/effect.h
libkwineffects/effects.h
libkwineffects/effecttogglablestate.h
libkwineffects/globals.h
libkwineffects/offscreeneffect.h
libkwineffects/offscreenquickview.h
libkwineffects/quickeffect.h
libkwineffects/timeline.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kwin/libkwineffects COMPONENT Devel)
effect/animationeffect.h
effect/effect.h
effect/effects.h
effect/effecttogglablestate.h
effect/globals.h
effect/offscreeneffect.h
effect/offscreenquickview.h
effect/quickeffect.h
effect/timeline.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kwin/effect COMPONENT Devel)
install(FILES
opengl/glframebuffer.h

View file

@ -8,7 +8,7 @@
*/
#pragma once
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include <QObject>
#include <QStringList>

View file

@ -10,7 +10,7 @@
*/
#pragma once
// KWin
#include "libkwineffects/globals.h"
#include "effect/globals.h"
// Qt
#include <QObject>
// xcb

View file

@ -8,7 +8,7 @@
*/
#pragma once
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include <KSharedConfig>

View file

@ -14,7 +14,7 @@
#include "core/inputbackend.h"
#include "core/inputdevice.h"
#include "core/outputbackend.h"
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include "utils/filedescriptor.h"
// Qt
#include <QHash>

View file

@ -9,7 +9,7 @@
*/
#pragma once
#include "libkwineffects/effects.h"
#include "effect/effects.h"
#include "utils/xcbutils.h"
#include <memory.h>

View file

@ -7,7 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "x11_standalone_effects_mouse_interception_filter.h"
#include "libkwineffects/effects.h"
#include "effect/effects.h"
#include "utils/common.h"
#include <QCursor>

View file

@ -34,7 +34,7 @@
#include "utils/xcbutils.h"
#include "workspace.h"
// kwin libs
#include "libkwineffects/offscreenquickview.h"
#include "effect/offscreenquickview.h"
#include "opengl/glplatform.h"
#include "opengl/glutils.h"
// Qt

View file

@ -10,7 +10,7 @@
#include "x11_standalone_overlaywindow.h"
#include "compositor.h"
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include "scene/workspacescene.h"
#include "utils/common.h"
#include "utils/xcbutils.h"

View file

@ -18,9 +18,9 @@
#include "../common/ge_event_mem_mover.h"
#include "effect/globals.h"
#include "effect/xcb.h"
#include "input.h"
#include "libkwineffects/globals.h"
#include "libkwineffects/xcb.h"
#include "modifier_only_shortcuts.h"
#include "workspace.h"
#include "x11eventfilter.h"

View file

@ -8,7 +8,7 @@
*/
// own
#include "client_machine.h"
#include "libkwineffects/xcb.h"
#include "effect/xcb.h"
#include "main.h"
#include "utils/common.h"
// KF5

View file

@ -6,7 +6,7 @@
#pragma once
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include <QObject>
#include <memory>

View file

@ -6,7 +6,7 @@
#pragma once
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include <QObject>
#include <memory>

View file

@ -9,7 +9,7 @@
*/
#pragma once
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include <xcb/xcb.h>
#include <QObject>

View file

@ -9,7 +9,7 @@
#pragma once
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include <epoxy/egl.h>
#include <kwin_export.h>

View file

@ -7,7 +7,7 @@
#pragma once
#include "core/rendertarget.h"
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include <QObject>

View file

@ -6,7 +6,7 @@
#pragma once
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include <QElapsedTimer>
#include <QQueue>

View file

@ -6,8 +6,8 @@
#pragma once
#include "effect/globals.h"
#include "kwin_export.h"
#include "libkwineffects/globals.h"
#include <QRegion>
#include <chrono>

View file

@ -6,7 +6,7 @@
#pragma once
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include <QObject>

View file

@ -6,7 +6,7 @@
#pragma once
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include <QObject>
#include <QString>

View file

@ -8,7 +8,7 @@
*/
#pragma once
// kwin
#include "libkwineffects/globals.h"
#include "effect/globals.h"
// Qt
#include <QHash>
#include <QObject>

View file

@ -8,7 +8,7 @@
*/
#pragma once
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include <KDecoration2/Private/DecorationBridge>

View file

@ -8,7 +8,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "libkwineffects/anidata_p.h"
#include "effect/anidata_p.h"
#include "logging_p.h"

View file

@ -10,8 +10,8 @@
#pragma once
#include "libkwineffects/animationeffect.h"
#include "libkwineffects/timeline.h"
#include "effect/animationeffect.h"
#include "effect/timeline.h"
#include <QEasingCurve>

View file

@ -8,8 +8,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "libkwineffects/animationeffect.h"
#include "libkwineffects/anidata_p.h"
#include "effect/animationeffect.h"
#include "effect/anidata_p.h"
#include "opengl/glutils.h"
#include <QDateTime>

View file

@ -12,7 +12,7 @@
#include "kwin_export.h"
#include "libkwineffects/offscreeneffect.h"
#include "effect/offscreeneffect.h"
#include <QEasingCurve>
#include <QElapsedTimer>
#include <QtMath>

View file

@ -6,8 +6,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "libkwineffects/effect.h"
#include "libkwineffects/effects.h"
#include "effect/effect.h"
#include "effect/effects.h"
#include <KConfigGroup>

View file

@ -9,7 +9,7 @@
#pragma once
#include "libkwineffects/globals.h"
#include "effect/globals.h"
#include <QRegion>

View file

@ -5,8 +5,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "libkwineffects/effectframe.h"
#include "libkwineffects/effects.h"
#include "effect/effectframe.h"
#include "effect/effects.h"
#include <QQuickItem>
#include <QStandardPaths>

View file

@ -7,8 +7,8 @@
#pragma once
#include "libkwineffects/globals.h"
#include "libkwineffects/offscreenquickview.h"
#include "effect/globals.h"
#include "effect/offscreenquickview.h"
#include <QFont>
#include <QIcon>

View file

@ -7,11 +7,11 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
// own
#include "libkwineffects/effectloader.h"
#include "effect/effectloader.h"
// config
#include <config-kwin.h>
// KWin
#include "libkwineffects/effect.h"
#include "effect/effect.h"
#include "plugin.h"
#include "scripting/scriptedeffect.h"
#include "scripting/scriptedquicksceneeffect.h"

View file

@ -9,7 +9,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "libkwineffects/effects.h"
#include "effect/effects.h"
#include "config-kwin.h"
@ -20,6 +20,8 @@
#include "core/rendertarget.h"
#include "core/renderviewport.h"
#include "decorations/decorationbridge.h"
#include "effect/effectloader.h"
#include "effect/offscreenquickview.h"
#include "effectsadaptor.h"
#include "group.h"
#include "input.h"
@ -27,8 +29,6 @@
#include "inputmethod.h"
#include "inputpanelv1window.h"
#include "internalwindow.h"
#include "libkwineffects/effectloader.h"
#include "libkwineffects/offscreenquickview.h"
#include "opengl/glutils.h"
#include "osd.h"
#include "pointer_input.h"

View file

@ -12,7 +12,7 @@
#pragma once
#include "libkwineffects/effect.h"
#include "effect/effect.h"
#include "opengl/glvertexbuffer.h"
#include <QEasingCurve>

Some files were not shown because too many files have changed in this diff Show more