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