/* SPDX-FileCopyrightText: 2022 Vlad Zahorodnii SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once #include #include #include "core/renderlayerdelegate.h" namespace KWin { class GLFramebuffer; class GLTexture; class CursorDelegateOpenGL final : public QObject, public RenderLayerDelegate { Q_OBJECT public: ~CursorDelegateOpenGL() override; void paint(RenderTarget *renderTarget, const QRegion ®ion) override; private: std::unique_ptr m_texture; std::unique_ptr m_framebuffer; }; } // namespace KWin