Remove some include_directories()

It seems we've settled on dir/dir/header.h includes, so let's use them
consistently.
This commit is contained in:
Vlad Zahorodnii 2023-03-23 13:39:20 +02:00
parent 82ef63a3d4
commit e88a4e34a3
264 changed files with 371 additions and 394 deletions

View file

@ -398,11 +398,6 @@ include_directories(BEFORE
${CMAKE_CURRENT_BINARY_DIR}/src/libkwineffects
${CMAKE_CURRENT_BINARY_DIR}/src/wayland
${CMAKE_CURRENT_BINARY_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}/src/libkwineffects
${CMAKE_CURRENT_SOURCE_DIR}/src/effects
${CMAKE_CURRENT_SOURCE_DIR}/src/tabbox
${CMAKE_CURRENT_SOURCE_DIR}/src/platformsupport
${CMAKE_CURRENT_SOURCE_DIR}/src/colors
${CMAKE_CURRENT_SOURCE_DIR}/src
)

View file

@ -120,8 +120,6 @@ target_link_libraries(testXcbWindow
add_test(NAME kwin-testXcbWindow COMMAND testXcbWindow)
ecm_mark_as_test(testXcbWindow)
include_directories(${KWin_SOURCE_DIR}/src)
########################################################
# Test OnScreenNotification
########################################################

View file

@ -12,18 +12,18 @@
#include "mock_drm.h"
#include "core/session.h"
#include "drm_backend.h"
#include "drm_connector.h"
#include "drm_crtc.h"
#include "drm_dumb_buffer.h"
#include "drm_egl_backend.h"
#include "drm_gpu.h"
#include "drm_connector.h"
#include "drm_crtc.h"
#include "drm_plane.h"
#include "drm_output.h"
#include "drm_pipeline.h"
#include "drm_plane.h"
#include "drm_pointer.h"
#include "qpainterbackend.h"
#include "core/session.h"
#include "platformsupport/scenes/qpainter/qpainterbackend.h"
#include <drm_fourcc.h>

View file

@ -11,12 +11,12 @@
#include "activities.h"
#include "core/output.h"
#include "core/outputbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "utils/xcbutils.h"
#include "wayland_server.h"
#include "workspace.h"
#include "x11window.h"
#include <kwineffects.h>
#include <QDBusConnection>
#include <QDBusMessage>

View file

@ -12,12 +12,12 @@
#include "core/outputbackend.h"
#include "cursor.h"
#include "internalwindow.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "touch_input.h"
#include "wayland_server.h"
#include "window.h"
#include "workspace.h"
#include <kwineffects.h>
#include "decorations/decoratedclient.h"
#include "decorations/decorationbridge.h"

View file

@ -10,13 +10,13 @@
#include "core/output.h"
#include "core/outputbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "utils/xcbutils.h"
#include "wayland_server.h"
#include "window.h"
#include "workspace.h"
#include "x11window.h"
#include <kwineffects.h>
#include <netwm.h>
#include <xcb/xcb_icccm.h>

View file

@ -12,11 +12,11 @@
#include "core/output.h"
#include "core/outputbackend.h"
#include "core/renderbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "wayland_server.h"
#include "workspace.h"
#include "x11window.h"
#include <kwineffects.h>
#include <KDecoration2/Decoration>

View file

@ -12,11 +12,11 @@
#include "core/output.h"
#include "core/outputbackend.h"
#include "core/renderbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "wayland_server.h"
#include "workspace.h"
#include "x11window.h"
#include <kwineffects.h>
#include <KDecoration2/Decoration>

View file

@ -13,11 +13,11 @@
#include "core/output.h"
#include "core/outputbackend.h"
#include "core/renderbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "wayland_server.h"
#include "workspace.h"
#include "x11window.h"
#include <kwineffects.h>
#include <KWayland/Client/surface.h>

View file

@ -10,12 +10,12 @@
#include "core/output.h"
#include "core/outputbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "wayland/seat_interface.h"
#include "wayland_server.h"
#include "window.h"
#include "workspace.h"
#include <kwineffects.h>
#include <KWayland/Client/compositor.h>
#include <KWayland/Client/connection_thread.h>

View file

@ -12,6 +12,7 @@
#include "core/output.h"
#include "core/outputbackend.h"
#include "core/renderbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "screenedge.h"
#include "wayland/keyboard_interface.h"
@ -19,7 +20,6 @@
#include "wayland_server.h"
#include "window.h"
#include "workspace.h"
#include <kwineffects.h>
#include <KWayland/Client/compositor.h>
#include <KWayland/Client/connection_thread.h>

View file

@ -10,12 +10,12 @@
#include "core/output.h"
#include "core/outputbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "wayland/seat_interface.h"
#include "wayland_server.h"
#include "workspace.h"
#include "x11window.h"
#include <kwineffects.h>
#include <KWayland/Client/compositor.h>
#include <KWayland/Client/plasmawindowmanagement.h>

View file

@ -12,6 +12,7 @@
#include "core/outputbackend.h"
#include "cursor.h"
#include "effects.h"
#include "libkwineffects/kwineffects.h"
#include "options.h"
#include "pointer_input.h"
#include "screenedge.h"
@ -22,7 +23,6 @@
#include "wayland_server.h"
#include "window.h"
#include "workspace.h"
#include <kwineffects.h>
#include <KWayland/Client/buffer.h>
#include <KWayland/Client/compositor.h>

View file

@ -10,12 +10,12 @@
#include "core/output.h"
#include "core/outputbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "screenedge.h"
#include "wayland_server.h"
#include "workspace.h"
#include "x11window.h"
#include <kwineffects.h>
#include <netwm.h>
#include <xcb/xcb_icccm.h>

View file

@ -10,11 +10,11 @@
#include "core/output.h"
#include "core/outputbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "wayland_server.h"
#include "workspace.h"
#include "x11window.h"
#include <kwineffects.h>
#include <KDecoration2/Decoration>

View file

@ -10,13 +10,13 @@
#include "core/output.h"
#include "core/outputbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "screenedge.h"
#include "virtualdesktops.h"
#include "wayland_server.h"
#include "workspace.h"
#include "x11window.h"
#include <kwineffects.h>
#include <KWayland/Client/compositor.h>
#include <KWayland/Client/plasmashell.h>

View file

@ -10,6 +10,7 @@
#include "core/output.h"
#include "core/outputbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "tiles/tilemanager.h"
#include "wayland/seat_interface.h"
@ -17,7 +18,6 @@
#include "wayland_server.h"
#include "window.h"
#include "workspace.h"
#include <kwineffects.h>
#include <QAbstractItemModelTester>

View file

@ -10,13 +10,13 @@
#include "core/output.h"
#include "core/outputbackend.h"
#include "libkwineffects/kwineffects.h"
#include "pointer_input.h"
#include "wayland/seat_interface.h"
#include "wayland/surface_interface.h"
#include "wayland_server.h"
#include "window.h"
#include "workspace.h"
#include <kwineffects.h>
#include <KWayland/Client/compositor.h>
#include <KWayland/Client/connection_thread.h>

View file

@ -6,9 +6,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "libkwineffects/kwinglplatform.h"
#include "mock_gl.h"
#include <QTest>
#include <kwinglplatform.h>
#include <KConfig>
#include <KConfigGroup>

View file

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

View file

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

View file

@ -1,4 +1,3 @@
include_directories(${KWin_SOURCE_DIR}/src)
add_definitions(-DKWIN_UNIT_TEST)
########################################################
# Test TabBox::ClientModel

View file

@ -8,8 +8,8 @@
*/
#include "test_tabbox_clientmodel.h"
#include "../testutils.h"
#include "clientmodel.h"
#include "mock_tabboxhandler.h"
#include "tabbox/clientmodel.h"
#include <QtTest>
#include <private/qtx11extras_p.h>

View file

@ -7,8 +7,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "../testutils.h"
#include "clientmodel.h"
#include "mock_tabboxhandler.h"
#include "tabbox/clientmodel.h"
#include <QtTest>
#include <private/qtx11extras_p.h>

View file

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

View file

@ -9,7 +9,7 @@
#ifndef TESTUTILS_H
#define TESTUTILS_H
// KWin
#include <kwinglobals.h>
#include "libkwineffects/kwinglobals.h"
// XCB
#include <xcb/xcb.h>

View file

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

View file

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

View file

@ -10,7 +10,7 @@
#include "drm_egl_backend.h"
#include "drm_gpu.h"
#include "egl_dmabuf.h"
#include "platformsupport/scenes/opengl/egl_dmabuf.h"
#include "wayland/linuxdmabufv1clientbuffer.h"
#include "wayland/surface_interface.h"

View file

@ -7,8 +7,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "drm_egl_backend.h"
#include "basiceglsurfacetexture_internal.h"
#include "basiceglsurfacetexture_wayland.h"
#include "platformsupport/scenes/opengl/basiceglsurfacetexture_internal.h"
#include "platformsupport/scenes/opengl/basiceglsurfacetexture_wayland.h"
// kwin
#include "core/renderloop_p.h"
#include "drm_abstract_output.h"
@ -23,18 +23,18 @@
#include "drm_output.h"
#include "drm_pipeline.h"
#include "drm_virtual_egl_layer.h"
#include "egl_dmabuf.h"
#include "gbm_dmabuf.h"
#include "kwineglutils_p.h"
#include "linux_dmabuf.h"
#include "options.h"
#include "platformsupport/scenes/opengl/egl_dmabuf.h"
#include "scene/surfaceitem_wayland.h"
#include "wayland/clientconnection.h"
#include "wayland/linuxdmabufv1clientbuffer.h"
#include "wayland/surface_interface.h"
// kwin libs
#include <kwineglimagetexture.h>
#include <kwinglplatform.h>
#include "libkwineffects/kwineglimagetexture.h"
#include "libkwineffects/kwinglplatform.h"
// system
#include <drm_fourcc.h>
#include <errno.h>

View file

@ -7,10 +7,10 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include "abstract_egl_backend.h"
#include "drm_render_backend.h"
#include "platformsupport/scenes/opengl/abstract_egl_backend.h"
#include <kwinglutils.h>
#include "libkwineffects/kwinglutils.h"
#include <QHash>
#include <QPointer>

View file

@ -15,7 +15,7 @@
#include "drm_logging.h"
#include "drm_output.h"
#include "drm_pipeline.h"
#include "egl_dmabuf.h"
#include "platformsupport/scenes/opengl/egl_dmabuf.h"
#include "scene/surfaceitem_wayland.h"
#include "wayland/linuxdmabufv1clientbuffer.h"
#include "wayland/surface_interface.h"

View file

@ -17,10 +17,10 @@
#include "drm_gpu.h"
#include "drm_logging.h"
#include "drm_output.h"
#include "egl_dmabuf.h"
#include "gbm_dmabuf.h"
#include "kwineglutils_p.h"
#include "kwinglplatform.h"
#include "libkwineffects/kwinglplatform.h"
#include "platformsupport/scenes/opengl/egl_dmabuf.h"
#include "scene/surfaceitem_wayland.h"
#include "wayland/linuxdmabufv1clientbuffer.h"
#include "wayland/surface_interface.h"

View file

@ -16,7 +16,7 @@
#include "core/outputlayer.h"
#include "drm_plane.h"
#include "kwingltexture.h"
#include "libkwineffects/kwingltexture.h"
namespace KWaylandServer
{

View file

@ -18,7 +18,7 @@
#include "drm_gpu.h"
#include "drm_logging.h"
#include "kwineglutils_p.h"
#include "kwinglplatform.h"
#include "libkwineffects/kwinglplatform.h"
namespace KWin
{

View file

@ -10,7 +10,6 @@
#include <config-kwin.h>
#include "abstract_egl_backend.h"
#include "core/renderloop_p.h"
#include "core/session.h"
#include "drm_atomic_commit.h"
@ -25,6 +24,7 @@
#include "drm_plane.h"
#include "drm_virtual_output.h"
#include "gbm_dmabuf.h"
#include "platformsupport/scenes/opengl/abstract_egl_backend.h"
// system
#include <algorithm>
#include <errno.h>

View file

@ -22,8 +22,8 @@
#include "drm_egl_backend.h"
#include "drm_layer.h"
#include "drm_logging.h"
#include "kwinglutils.h"
#include "renderviewport.h"
#include "libkwineffects/kwinglutils.h"
#include "libkwineffects/renderviewport.h"
// Qt
#include <QCryptographicHash>
#include <QMatrix4x4>

View file

@ -9,7 +9,7 @@
#pragma once
#include "drm_dumb_swapchain.h"
#include "drm_render_backend.h"
#include "qpainterbackend.h"
#include "platformsupport/scenes/qpainter/qpainterbackend.h"
#include <QObject>
#include <QVector>

View file

@ -17,9 +17,9 @@
#include "drm_output.h"
#include "drm_pipeline.h"
#include "drm_virtual_output.h"
#include "egl_dmabuf.h"
#include "gbm_dmabuf.h"
#include "kwineglutils_p.h"
#include "platformsupport/scenes/opengl/egl_dmabuf.h"
#include "scene/surfaceitem_wayland.h"
#include "wayland/linuxdmabufv1clientbuffer.h"
#include "wayland/surface_interface.h"

View file

@ -15,7 +15,7 @@
#include "drm_layer.h"
#include "drm_logging.h"
#include "drm_render_backend.h"
#include "softwarevsyncmonitor.h"
#include "platformsupport/vsyncconvenience/softwarevsyncmonitor.h"
namespace KWin
{

View file

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

View file

@ -8,15 +8,15 @@
*/
#include "virtual_egl_backend.h"
// kwin
#include "basiceglsurfacetexture_internal.h"
#include "basiceglsurfacetexture_wayland.h"
#include "virtual_logging.h"
#include "softwarevsyncmonitor.h"
#include "platformsupport/scenes/opengl/basiceglsurfacetexture_internal.h"
#include "platformsupport/scenes/opengl/basiceglsurfacetexture_wayland.h"
#include "platformsupport/vsyncconvenience/softwarevsyncmonitor.h"
#include "virtual_backend.h"
#include "virtual_logging.h"
#include "virtual_output.h"
// kwin libs
#include "libkwineffects/kwinglutils.h"
#include <drm_fourcc.h>
#include <kwinglutils.h>
#ifndef EGL_PLATFORM_SURFACELESS_MESA
#define EGL_PLATFORM_SURFACELESS_MESA 0x31DD

View file

@ -8,8 +8,8 @@
*/
#pragma once
#include "abstract_egl_backend.h"
#include "core/outputlayer.h"
#include "platformsupport/scenes/opengl/abstract_egl_backend.h"
#include <memory>
namespace KWin

View file

@ -10,7 +10,7 @@
#include "virtual_backend.h"
#include "core/renderloop_p.h"
#include "softwarevsyncmonitor.h"
#include "platformsupport/vsyncconvenience/softwarevsyncmonitor.h"
namespace KWin
{

View file

@ -7,7 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "virtual_qpainter_backend.h"
#include "softwarevsyncmonitor.h"
#include "platformsupport/vsyncconvenience/softwarevsyncmonitor.h"
#include "virtual_backend.h"
#include "virtual_output.h"

View file

@ -9,7 +9,7 @@
#pragma once
#include "core/outputlayer.h"
#include "qpainterbackend.h"
#include "platformsupport/scenes/qpainter/qpainterbackend.h"
#include <QMap>
#include <QObject>

View file

@ -14,8 +14,8 @@
#include "core/inputbackend.h"
#include "core/inputdevice.h"
#include "core/outputbackend.h"
#include "libkwineffects/kwinglobals.h"
#include "utils/filedescriptor.h"
#include <kwinglobals.h>
// Qt
#include <QHash>
#include <QImage>

View file

@ -9,9 +9,9 @@
*/
#include "wayland_egl_backend.h"
#include "basiceglsurfacetexture_internal.h"
#include "basiceglsurfacetexture_wayland.h"
#include "../drm/gbm_dmabuf.h"
#include "platformsupport/scenes/opengl/basiceglsurfacetexture_internal.h"
#include "platformsupport/scenes/opengl/basiceglsurfacetexture_wayland.h"
#include "wayland_backend.h"
#include "wayland_display.h"
@ -22,8 +22,8 @@
#include <unistd.h>
// kwin libs
#include <kwinglplatform.h>
#include <kwinglutils.h>
#include "libkwineffects/kwinglplatform.h"
#include "libkwineffects/kwinglutils.h"
// KDE
#include <KWayland/Client/shm_pool.h>

View file

@ -9,8 +9,8 @@
*/
#pragma once
#include "abstract_egl_backend.h"
#include "core/outputlayer.h"
#include "platformsupport/scenes/opengl/abstract_egl_backend.h"
#include "utils/damagejournal.h"
#include <KWayland/Client/buffer.h>

View file

@ -14,9 +14,9 @@
#include "wayland_display.h"
#include "wayland_server.h"
#include "kwingltexture.h"
#include "kwinglutils.h"
#include "renderviewport.h"
#include "libkwineffects/kwingltexture.h"
#include "libkwineffects/kwinglutils.h"
#include "libkwineffects/renderviewport.h"
#include <KWayland/Client/compositor.h>
#include <KWayland/Client/pointer.h>

View file

@ -10,7 +10,7 @@
#pragma once
#include "core/outputlayer.h"
#include "qpainterbackend.h"
#include "platformsupport/scenes/qpainter/qpainterbackend.h"
#include "utils/damagejournal.h"
#include <KWayland/Client/buffer.h>

View file

@ -9,11 +9,11 @@
#include "core/outputbackend.h"
#include "core/overlaywindow.h"
#include "core/renderloop_p.h"
#include "kwinglplatform.h"
#include "libkwineffects/kwinglplatform.h"
#include "options.h"
#include "platformsupport/vsyncconvenience/softwarevsyncmonitor.h"
#include "scene/surfaceitem_x11.h"
#include "scene/workspacescene.h"
#include "softwarevsyncmonitor.h"
#include "workspace.h"
#include "x11_standalone_backend.h"
#include "x11_standalone_logging.h"

View file

@ -11,8 +11,8 @@
#include "platformsupport/scenes/opengl/openglsurfacetexture_x11.h"
#include "utils/damagejournal.h"
#include <kwingltexture.h>
#include <kwingltexture_p.h>
#include "libkwineffects/kwingltexture.h"
#include "libkwineffects/kwingltexture_p.h"
namespace KWin
{

View file

@ -14,7 +14,7 @@
// own
#include "x11_standalone_glx_backend.h"
#include "../common/kwinxrenderutils.h"
#include "softwarevsyncmonitor.h"
#include "platformsupport/vsyncconvenience/softwarevsyncmonitor.h"
#include "x11_standalone_backend.h"
#include "x11_standalone_glx_context_attribute_builder.h"
#include "x11_standalone_glxconvenience.h"
@ -33,9 +33,9 @@
#include "utils/xcbutils.h"
#include "workspace.h"
// kwin libs
#include <kwinglplatform.h>
#include <kwinglutils.h>
#include <kwinoffscreenquickview.h>
#include "libkwineffects/kwinglplatform.h"
#include "libkwineffects/kwinglutils.h"
#include "libkwineffects/kwinoffscreenquickview.h"
// Qt
#include <QDebug>
#include <QOpenGLContext>

View file

@ -8,8 +8,8 @@
*/
#pragma once
#include "core/outputlayer.h"
#include "openglbackend.h"
#include "openglsurfacetexture_x11.h"
#include "platformsupport/scenes/opengl/openglbackend.h"
#include "platformsupport/scenes/opengl/openglsurfacetexture_x11.h"
#include "utils/damagejournal.h"
#include "x11eventfilter.h"
@ -17,8 +17,8 @@
#include <fixx11h.h>
#include <xcb/glx.h>
#include <kwingltexture.h>
#include <kwingltexture_p.h>
#include "libkwineffects/kwingltexture.h"
#include "libkwineffects/kwingltexture_p.h"
#include <QHash>
#include <memory>

View file

@ -6,7 +6,7 @@
#pragma once
#include "vsyncmonitor.h"
#include "platformsupport/vsyncconvenience/vsyncmonitor.h"
#include <epoxy/glx.h>
#include <fixx11h.h>

View file

@ -10,7 +10,7 @@
#include "x11_standalone_overlaywindow.h"
#include "composite.h"
#include "kwinglobals.h"
#include "libkwineffects/kwinglobals.h"
#include "scene/workspacescene.h"
#include "utils/common.h"
#include "utils/xcbutils.h"

View file

@ -6,7 +6,7 @@
#pragma once
#include "vsyncmonitor.h"
#include "platformsupport/vsyncconvenience/vsyncmonitor.h"
#include <epoxy/glx.h>
#include <fixx11h.h>

View file

@ -19,10 +19,10 @@
#include "../common/ge_event_mem_mover.h"
#include "input.h"
#include "libkwineffects/kwinglobals.h"
#include "modifier_only_shortcuts.h"
#include "workspace.h"
#include "x11eventfilter.h"
#include <kwinglobals.h>
#include <X11/extensions/XI2proto.h>
#include <X11/extensions/XInput2.h>

View file

@ -12,8 +12,8 @@
#include "x11_windowed_output.h"
#include "../../drm/gbm_dmabuf.h"
#include "basiceglsurfacetexture_internal.h"
#include "basiceglsurfacetexture_wayland.h"
#include "platformsupport/scenes/opengl/basiceglsurfacetexture_internal.h"
#include "platformsupport/scenes/opengl/basiceglsurfacetexture_wayland.h"
#include <drm_fourcc.h>
#include <gbm.h>

View file

@ -9,7 +9,7 @@
#pragma once
#include "core/outputlayer.h"
#include "kwinglutils.h"
#include "libkwineffects/kwinglutils.h"
#include "platformsupport/scenes/opengl/abstract_egl_backend.h"
#include <QMap>

View file

@ -17,7 +17,7 @@
#include "core/renderlayer.h"
#include "core/renderloop_p.h"
#include "cursorsource.h"
#include "renderviewport.h"
#include "libkwineffects/renderviewport.h"
#include "scene/cursorscene.h"
#include <NETWM>

View file

@ -9,7 +9,7 @@
#pragma once
#include "core/outputlayer.h"
#include "qpainterbackend.h"
#include "platformsupport/scenes/qpainter/qpainterbackend.h"
#include <QImage>
#include <QObject>

View file

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

View file

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

View file

@ -23,8 +23,8 @@
#include "effects.h"
#include "ftrace.h"
#include "internalwindow.h"
#include "openglbackend.h"
#include "qpainterbackend.h"
#include "platformsupport/scenes/opengl/openglbackend.h"
#include "platformsupport/scenes/qpainter/qpainterbackend.h"
#include "scene/cursorscene.h"
#include "scene/itemrenderer_opengl.h"
#include "scene/itemrenderer_qpainter.h"
@ -42,8 +42,8 @@
#include "x11syncmanager.h"
#include "x11window.h"
#include <kwinglplatform.h>
#include <kwingltexture.h>
#include "libkwineffects/kwinglplatform.h"
#include "libkwineffects/kwingltexture.h"
#include <KCrash>
#include <KGlobalAccel>

View file

@ -9,7 +9,7 @@
*/
#pragma once
#include <kwinglobals.h>
#include "libkwineffects/kwinglobals.h"
#include <QObject>
#include <QRegion>

View file

@ -11,10 +11,10 @@
#include "dmabuftexture.h"
#include "inputbackend.h"
#include "openglbackend.h"
#include "output.h"
#include "outputconfiguration.h"
#include "qpainterbackend.h"
#include "platformsupport/scenes/opengl/openglbackend.h"
#include "platformsupport/scenes/qpainter/qpainterbackend.h"
namespace KWin
{

View file

@ -9,9 +9,9 @@
#pragma once
#include "libkwineffects/kwinglobals.h"
#include <epoxy/egl.h>
#include <kwin_export.h>
#include <kwinglobals.h>
#include <QObject>

View file

@ -7,7 +7,7 @@
#pragma once
#include "kwin_export.h"
#include "rendertarget.h"
#include "libkwineffects/rendertarget.h"
#include <QObject>
#include <QRegion>

View file

@ -6,8 +6,8 @@
#pragma once
#include "kwinglobals.h"
#include "rendertarget.h"
#include "libkwineffects/kwinglobals.h"
#include "libkwineffects/rendertarget.h"
#include <QObject>

View file

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

View file

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

View file

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

View file

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

View file

@ -9,10 +9,10 @@
#include "core/output.h"
#include "core/renderlayer.h"
#include "cursor.h"
#include "kwingltexture.h"
#include "kwinglutils.h"
#include "rendertarget.h"
#include "renderviewport.h"
#include "libkwineffects/kwingltexture.h"
#include "libkwineffects/kwinglutils.h"
#include "libkwineffects/rendertarget.h"
#include "libkwineffects/renderviewport.h"
#include "scene/cursorscene.h"
#include <cmath>

View file

@ -9,8 +9,8 @@
#include "core/output.h"
#include "core/renderlayer.h"
#include "cursor.h"
#include "rendertarget.h"
#include "renderviewport.h"
#include "libkwineffects/rendertarget.h"
#include "libkwineffects/renderviewport.h"
#include "scene/cursorscene.h"
#include <QPainter>

View file

@ -12,6 +12,8 @@
#include "input_event.h"
#include "internalwindow.h"
#include "keyboard_input.h"
#include "libkwineffects/kwinglplatform.h"
#include "libkwineffects/kwinglutils.h"
#include "main.h"
#include "platformsupport/scenes/opengl/openglbackend.h"
#include "unmanaged.h"
@ -33,8 +35,6 @@
#include "x11window.h"
#include "xkb.h"
#include <cerrno>
#include <kwinglplatform.h>
#include <kwinglutils.h>
#include "ui_debug_console.h"

View file

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

View file

@ -6,7 +6,7 @@
#include "dmabuftexture.h"
#include "kwinglutils.h"
#include "libkwineffects/kwinglutils.h"
#include <unistd.h>

View file

@ -11,10 +11,10 @@
// config
#include <config-kwin.h>
// KWin
#include "libkwineffects/kwineffects.h"
#include "plugin.h"
#include "scripting/scriptedeffect.h"
#include "utils/common.h"
#include <kwineffects.h>
// KDE
#include <KConfigGroup>
#include <KPackage/Package>

View file

@ -31,7 +31,7 @@
#include "unmanaged.h"
#include "x11window.h"
#if KWIN_BUILD_TABBOX
#include "tabbox.h"
#include "tabbox/tabbox.h"
#endif
#include "screenedge.h"
#include "scripting/scriptedeffect.h"

View file

@ -10,9 +10,9 @@
#pragma once
#include "kwineffects.h"
#include "libkwineffects/kwineffects.h"
#include "kwinoffscreenquickview.h"
#include "libkwineffects/kwinoffscreenquickview.h"
#include "scene/workspacescene.h"
#include <QFont>

View file

@ -10,8 +10,8 @@
#include "contrastshader.h"
// KConfigSkeleton
#include "rendertarget.h"
#include "renderviewport.h"
#include "libkwineffects/rendertarget.h"
#include "libkwineffects/renderviewport.h"
#include "utils/xcbutils.h"
#include "wayland/contrast_interface.h"
#include "wayland/display.h"

View file

@ -7,9 +7,9 @@
#pragma once
#include <kwineffects.h>
#include <kwinglplatform.h>
#include <kwinglutils.h>
#include "libkwineffects/kwineffects.h"
#include "libkwineffects/kwinglplatform.h"
#include "libkwineffects/kwinglutils.h"
#include <QVector2D>
#include <QVector>

View file

@ -7,8 +7,8 @@
#include "contrastshader.h"
#include <kwineffects.h>
#include <kwinglplatform.h>
#include "libkwineffects/kwineffects.h"
#include "libkwineffects/kwinglplatform.h"
#include <QByteArray>
#include <QMatrix4x4>

View file

@ -7,7 +7,7 @@
#pragma once
#include <kwinglutils.h>
#include "libkwineffects/kwinglutils.h"
class QMatrix4x4;

View file

@ -8,7 +8,7 @@
*/
// own
#include "blendchanges.h"
#include "kwinglutils.h"
#include "libkwineffects/kwinglutils.h"
#include <QDBusConnection>
#include <QTimer>

View file

@ -7,9 +7,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include "libkwineffects/kwineffects.h"
#include "libkwineffects/kwinoffscreeneffect.h"
#include <chrono>
#include <kwinoffscreeneffect.h>
#include <kwineffects.h>
namespace KWin
{

View file

@ -11,8 +11,8 @@
// KConfigSkeleton
#include "blurconfig.h"
#include "rendertarget.h"
#include "renderviewport.h"
#include "libkwineffects/rendertarget.h"
#include "libkwineffects/renderviewport.h"
#include "utils/xcbutils.h"
#include "wayland/blur_interface.h"
#include "wayland/display.h"

View file

@ -7,9 +7,9 @@
#pragma once
#include <kwineffects.h>
#include <kwinglplatform.h>
#include <kwinglutils.h>
#include "libkwineffects/kwineffects.h"
#include "libkwineffects/kwinglplatform.h"
#include "libkwineffects/kwinglutils.h"
#include <QStack>
#include <QVector2D>

View file

@ -7,7 +7,7 @@
#include "blurshader.h"
#include <kwineffects.h>
#include "libkwineffects/kwineffects.h"
static void ensureResources()
{

View file

@ -7,7 +7,7 @@
#pragma once
#include <kwinglutils.h>
#include "libkwineffects/kwinglutils.h"
#include <QMatrix4x4>
#include <QObject>

View file

@ -7,13 +7,13 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "colorpicker.h"
#include "libkwineffects/kwinglutils.h"
#include "libkwineffects/kwinglutils_funcs.h"
#include "libkwineffects/rendertarget.h"
#include "libkwineffects/renderviewport.h"
#include <KLocalizedString>
#include <QDBusConnection>
#include <QDBusMetaType>
#include <kwinglutils.h>
#include <kwinglutils_funcs.h>
#include <rendertarget.h>
#include <renderviewport.h>
Q_DECLARE_METATYPE(QColor)

View file

@ -8,12 +8,12 @@
*/
#pragma once
#include "libkwineffects/kwineffects.h"
#include <QColor>
#include <QDBusContext>
#include <QDBusMessage>
#include <QDBusUnixFileDescriptor>
#include <QObject>
#include <kwineffects.h>
namespace KWin
{

View file

@ -6,7 +6,7 @@
#pragma once
#include <kwinquickeffect.h>
#include "libkwineffects/kwinquickeffect.h"
namespace KWin
{

View file

@ -12,7 +12,7 @@
#pragma once
// kwineffects
#include <kwineffects.h>
#include "libkwineffects/kwineffects.h"
namespace KWin
{

View file

@ -9,7 +9,7 @@
#pragma once
#include <kwinoffscreeneffect.h>
#include "libkwineffects/kwinoffscreeneffect.h"
namespace KWin
{

View file

@ -16,8 +16,8 @@
// KConfigSkeleton
#include "glideconfig.h"
#include "rendertarget.h"
#include "renderviewport.h"
#include "libkwineffects/rendertarget.h"
#include "libkwineffects/renderviewport.h"
// Qt
#include <QMatrix4x4>

View file

@ -13,7 +13,7 @@
#pragma once
// kwineffects
#include <kwineffects.h>
#include "libkwineffects/kwineffects.h"
namespace KWin
{

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