MythTV master
videovisualgoom.h
Go to the documentation of this file.
1#ifndef VIDEOVISUALGOOM_H
2#define VIDEOVISUALGOOM_H
3
4#include "libmythbase/mythconfig.h"
5
6#include "videovisual.h"
7
8class MythGLTexture;
9
10#define GOOM_NAME QString("Goom")
11#define GOOMHD_NAME QString("Goom HD")
12
14{
15 public:
16 VideoVisualGoom(AudioPlayer* Audio, MythRender* Render, bool HD);
17 ~VideoVisualGoom() override;
18
19 void Draw(QRect Area, MythPainter* Painter, QPaintDevice* Device) override;
20 QString Name(void) override { return m_hd ? GOOMHD_NAME : GOOM_NAME; }
21
22 private:
23 unsigned int* m_buffer { nullptr };
24#if CONFIG_OPENGL
25 MythGLTexture* m_glSurface { nullptr };
26#endif
27 bool m_hd { false };
28};
29
30#endif
A device containing images (ie. USB stick, CD, storage group etc)
VideoVisualGoom(AudioPlayer *Audio, MythRender *Render, bool HD)
void Draw(QRect Area, MythPainter *Painter, QPaintDevice *Device) override
QString Name(void) override
~VideoVisualGoom() override
unsigned int * m_buffer
#define GOOMHD_NAME
#define GOOM_NAME