From ca301d19148ed5c3b8f71bd4ea93dcc4f7305a37 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Mon, 26 Jul 2021 16:13:18 +0300 Subject: [PATCH] Drop Scene::ImageFilterType It's unused, GL_LINEAR filter is used by default now. --- src/scene.cpp | 1 - src/scene.h | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/scene.cpp b/src/scene.cpp index 772aa2a794..57636b220f 100644 --- a/src/scene.cpp +++ b/src/scene.cpp @@ -593,7 +593,6 @@ PlatformSurfaceTexture *Scene::createPlatformSurfaceTextureWayland(SurfacePixmap Scene::Window::Window(Toplevel *client, QObject *parent) : QObject(parent) , toplevel(client) - , filter(ImageFilterFast) , disable_painting(0) { if (qobject_cast(client)) { diff --git a/src/scene.h b/src/scene.h index 2e4f26f965..b378c3669a 100644 --- a/src/scene.h +++ b/src/scene.h @@ -131,11 +131,6 @@ public: PAINT_WINDOW_LANCZOS = 1 << 8 // PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS_WITHOUT_FULL_REPAINTS = 1 << 9 has been removed }; - // types of filtering available - enum ImageFilterType { - ImageFilterFast, - ImageFilterGood, - }; virtual OverlayWindow* overlayWindow() const = 0; virtual bool makeOpenGLContextCurrent(); @@ -339,7 +334,6 @@ public: protected: Toplevel* toplevel; - ImageFilterType filter; private: void referencePreviousPixmap_helper(SurfaceItem *item); void unreferencePreviousPixmap_helper(SurfaceItem *item);