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 {