File indexing completed on 2024-06-09 05:25:53
0001 /* 0002 SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "openglsurfacetexture.h" 0010 0011 namespace KWin 0012 { 0013 0014 class SurfacePixmap; 0015 0016 class KWIN_EXPORT OpenGLSurfaceTextureWayland : public OpenGLSurfaceTexture 0017 { 0018 public: 0019 OpenGLSurfaceTextureWayland(OpenGLBackend *backend, SurfacePixmap *pixmap); 0020 0021 protected: 0022 SurfacePixmap *m_pixmap; 0023 }; 0024 0025 } // namespace KWin