File indexing completed on 2024-05-26 05:33:12

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 SurfacePixmapX11;
0015 
0016 class KWIN_EXPORT OpenGLSurfaceTextureX11 : public OpenGLSurfaceTexture
0017 {
0018 public:
0019     OpenGLSurfaceTextureX11(OpenGLBackend *backend, SurfacePixmapX11 *pixmap);
0020 
0021 protected:
0022     SurfacePixmapX11 *m_pixmap;
0023 };
0024 
0025 } // namespace KWin