2 * Initial code sponsored by: Voddler Inc (voddler.com)
3 * Copyright (C) 2005-2018 Team Kodi
4 * This file is part of Kodi - https://kodi.tv
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 * See LICENSES/README.md for more information.
12 #include "OverlayRenderer.h"
14 #include "system_gl.h"
17 class CDVDOverlayImage
;
23 class COverlayTextureGL
: public COverlay
26 /*! \brief Create the overlay for rendering
27 * \param o The overlay image
28 * \param rSource The video source rect size
30 explicit COverlayTextureGL(const CDVDOverlayImage
& o
, CRect
& rSource
);
31 explicit COverlayTextureGL(const CDVDOverlaySpu
& o
);
32 ~COverlayTextureGL() override
;
34 void Render(SRenderState
& state
) override
;
39 bool m_pma
; /*< is alpha in texture premultiplied in the values */
42 class COverlayGlyphGL
: public COverlay
45 COverlayGlyphGL(ASS_Image
* images
, float width
, float height
);
47 ~COverlayGlyphGL() override
;
49 void Render(SRenderState
& state
) override
;
58 std::vector
<VERTEX
> m_vertex
;