MythTV master
mythdrmframebuffer.h
Go to the documentation of this file.
1#ifndef MYTHDRMFRAMEBUFFER_H
2#define MYTHDRMFRAMEBUFFER_H
3
4// MythTV
6
7using DRMFb = std::shared_ptr<class MythDRMFramebuffer>;
8using DRMFbs = std::vector<DRMFb>;
9
11{
12 public:
13 static DRMFb Create(int FD, uint32_t Id);
14 QString Description() const;
15
16 uint32_t m_id { 0 };
17 uint32_t m_width { 0 };
18 uint32_t m_height { 0 };
19 uint32_t m_format { 0 };
20 uint64_t m_modifiers { 0 };
24
25 protected:
26 MythDRMFramebuffer(int FD, uint32_t Id);
27
28 private:
29 Q_DISABLE_COPY(MythDRMFramebuffer)
30};
31
32#endif
A simple object representing a DRM Framebuffer object.
static DRMFb Create(int FD, uint32_t Id)
MythDRMFramebuffer(int FD, uint32_t Id)
QString Description() const
std::vector< DRMFb > DRMFbs
std::shared_ptr< class MythDRMFramebuffer > DRMFb
std::array< uint32_t, 4 > DRMArray