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
|
|
|
|
|
|
|
|
#include "platformopenglsurfacetexture.h"
|
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
2021-08-12 09:07:38 +00:00
|
|
|
class SurfacePixmapInternal;
|
|
|
|
|
2021-04-09 07:06:04 +00:00
|
|
|
class KWIN_EXPORT PlatformOpenGLSurfaceTextureInternal : public PlatformOpenGLSurfaceTexture
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
PlatformOpenGLSurfaceTextureInternal(OpenGLBackend *backend, SurfacePixmapInternal *pixmap);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
SurfacePixmapInternal *m_pixmap;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace KWin
|