Move vsync monitor helpers to utils/

There was no utils directory when they had been introduced.
This commit is contained in:
Vlad Zahorodnii 2023-04-14 12:21:22 +03:00
parent dca1268187
commit e9614f030c
15 changed files with 13 additions and 16 deletions

View file

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

View file

@ -10,7 +10,7 @@
// kwin
#include "platformsupport/scenes/opengl/basiceglsurfacetexture_internal.h"
#include "platformsupport/scenes/opengl/basiceglsurfacetexture_wayland.h"
#include "platformsupport/vsyncconvenience/softwarevsyncmonitor.h"
#include "utils/softwarevsyncmonitor.h"
#include "virtual_backend.h"
#include "virtual_logging.h"
#include "virtual_output.h"

View file

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

View file

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

View file

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

View file

@ -14,7 +14,7 @@
// own
#include "x11_standalone_glx_backend.h"
#include "../common/kwinxrenderutils.h"
#include "platformsupport/vsyncconvenience/softwarevsyncmonitor.h"
#include "utils/softwarevsyncmonitor.h"
#include "x11_standalone_backend.h"
#include "x11_standalone_glx_context_attribute_builder.h"
#include "x11_standalone_glxconvenience.h"

View file

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

View file

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

View file

@ -1,2 +1 @@
add_subdirectory(scenes)
add_subdirectory(vsyncconvenience)

View file

@ -1,4 +0,0 @@
target_sources(kwin PRIVATE
softwarevsyncmonitor.cpp
vsyncmonitor.cpp
)

View file

@ -6,8 +6,10 @@ target_sources(kwin PRIVATE
filedescriptor.cpp
ramfile.cpp
realtime.cpp
softwarevsyncmonitor.cpp
subsurfacemonitor.cpp
udev.cpp
vsyncmonitor.cpp
xcbutils.cpp
xcursortheme.cpp
)

View file

@ -4,7 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "platformsupport/vsyncconvenience/softwarevsyncmonitor.h"
#include "utils/softwarevsyncmonitor.h"
namespace KWin
{

View file

@ -6,7 +6,7 @@
#pragma once
#include "platformsupport/vsyncconvenience/vsyncmonitor.h"
#include "utils/vsyncmonitor.h"
#include <QTimer>
#include <memory>

View file

@ -4,7 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "platformsupport/vsyncconvenience/vsyncmonitor.h"
#include "utils/vsyncmonitor.h"
namespace KWin
{