2021-04-09 07:06:04 +00:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-10-20 14:58:58 +00:00
|
|
|
#include "openglsurfacetexture.h"
|
2021-04-09 07:06:04 +00:00
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
2021-08-12 09:07:38 +00:00
|
|
|
class SurfacePixmapInternal;
|
|
|
|
|
2021-10-20 14:58:58 +00:00
|
|
|
class KWIN_EXPORT OpenGLSurfaceTextureInternal : public OpenGLSurfaceTexture
|
2021-04-09 07:06:04 +00:00
|
|
|
{
|
|
|
|
public:
|
2021-10-20 14:58:58 +00:00
|
|
|
OpenGLSurfaceTextureInternal(OpenGLBackend *backend, SurfacePixmapInternal *pixmap);
|
2021-04-09 07:06:04 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
SurfacePixmapInternal *m_pixmap;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace KWin
|