2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
13 #include "system_gl.h"
15 /************************************************************************/
17 /************************************************************************/
18 class CGLTexture
: public CTexture
21 CGLTexture(unsigned int width
= 0, unsigned int height
= 0, XB_FMT format
= XB_FMT_A8R8G8B8
);
22 ~CGLTexture() override
;
24 void CreateTextureObject() override
;
25 void DestroyTextureObject() override
;
26 void LoadToGPU() override
;
27 void BindToUnit(unsigned int unit
) override
;
31 bool m_isOglVersion3orNewer
= false;