From e37fd13bb37ae2d9aab4c2ec53a76f8080ac3b72 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 9 Dec 2022 20:00:37 +0200 Subject: [PATCH] backends/wayland: Remove more unused stuff --- src/backends/wayland/wayland_egl_backend.h | 6 ------ src/backends/wayland/wayland_qpainter_backend.h | 1 - 2 files changed, 7 deletions(-) diff --git a/src/backends/wayland/wayland_egl_backend.h b/src/backends/wayland/wayland_egl_backend.h index c1ac702a0b..ef7ddc909c 100644 --- a/src/backends/wayland/wayland_egl_backend.h +++ b/src/backends/wayland/wayland_egl_backend.h @@ -154,17 +154,12 @@ public: std::shared_ptr textureForOutput(KWin::Output *output) const override; private: - gbm_bo *createBo(const QSize &size, quint32 format, const QVector &modifiers); bool initializeEgl(); bool initBufferConfigs(); bool initRenderingContext(); - bool createEglWaylandOutput(Output *output); - void cleanupSurfaces() override; - void presentOnSurface(WaylandEglPrimaryLayer *output, const QRegion &damagedRegion); - struct Layers { std::unique_ptr primaryLayer; @@ -174,7 +169,6 @@ private: WaylandBackend *m_backend; std::map m_outputs; bool m_havePlatformBase; - friend class EglWaylandTexture; }; } // namespace Wayland diff --git a/src/backends/wayland/wayland_qpainter_backend.h b/src/backends/wayland/wayland_qpainter_backend.h index 5e63dc6ebb..0cd9a9e01c 100644 --- a/src/backends/wayland/wayland_qpainter_backend.h +++ b/src/backends/wayland/wayland_qpainter_backend.h @@ -119,7 +119,6 @@ public: private: void createOutput(Output *waylandOutput); - void frameRendered(); struct Layers {