MythTV master
mythvisualcirclesvulkan.h
Go to the documentation of this file.
1#ifndef MYTHVISUALCIRCLESVULKAN_H
2#define MYTHVISUALCIRCLESVULKAN_H
3
4// MythTV
7
8extern "C" {
9struct alignas(16) CirclesBuffer
10{
11 float transform [16];
12 float positions [4];
13 float params [4]; // vec2 centre, float radius (outer), float width
14 float color [4];
15};
16}
17
19{
20 public:
22 ~MythVisualCirclesVulkan() override;
23
24 protected:
25 void DrawPriv(MythPainter* /*Painter*/, QPaintDevice* /*Device*/) override;
26
27 private:
28 MythRenderVulkan* InitialiseVulkan (QRect Area) override;
29 void TearDownVulkan () override;
30
33};
34
35#endif
MythRenderVulkan * InitialiseVulkan(QRect Area) override
void DrawPriv(MythPainter *, QPaintDevice *) override
MythVisualCirclesVulkan(AudioPlayer *Audio, MythRenderVulkan *Render)
MythRenderVulkan * Render()