MythTV
master
libs
libmythui
platforms
drm
mythdrmframebuffer.h
Go to the documentation of this file.
1
#ifndef MYTHDRMFRAMEBUFFER_H
2
#define MYTHDRMFRAMEBUFFER_H
3
4
// MythTV
5
#include "
libmythui/platforms/drm/mythdrmresources.h
"
6
7
using
DRMFb
= std::shared_ptr<class MythDRMFramebuffer>;
8
using
DRMFbs
= std::vector<DRMFb>;
9
10
class
MythDRMFramebuffer
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 };
21
DRMArray
m_handles
{ 0 };
22
DRMArray
m_pitches
{ 0 };
23
DRMArray
m_offsets
{ 0 };
24
25
protected
:
26
MythDRMFramebuffer
(
int
FD, uint32_t Id);
27
28
private
:
29
Q_DISABLE_COPY(
MythDRMFramebuffer
)
30
};
31
32
#endif
DRMFb
std::shared_ptr< class MythDRMFramebuffer > DRMFb
Definition:
mythdrmframebuffer.h:7
mythdrmresources.h
MythDRMFramebuffer::m_offsets
DRMArray m_offsets
Definition:
mythdrmframebuffer.h:23
MythDRMFramebuffer::m_height
uint32_t m_height
Definition:
mythdrmframebuffer.h:18
MythDRMFramebuffer::m_id
uint32_t m_id
Definition:
mythdrmframebuffer.h:16
MythDRMFramebuffer::m_handles
DRMArray m_handles
Definition:
mythdrmframebuffer.h:21
MythDRMFramebuffer::m_format
uint32_t m_format
Definition:
mythdrmframebuffer.h:19
MythDRMFramebuffer::m_modifiers
uint64_t m_modifiers
Definition:
mythdrmframebuffer.h:20
MythDRMFramebuffer::MythDRMFramebuffer
MythDRMFramebuffer(int FD, uint32_t Id)
Definition:
mythdrmframebuffer.cpp:20
MythDRMFramebuffer::Description
QString Description() const
Definition:
mythdrmframebuffer.cpp:39
MythDRMFramebuffer::m_pitches
DRMArray m_pitches
Definition:
mythdrmframebuffer.h:22
MythDRMFramebuffer
A simple object representing a DRM Framebuffer object.
Definition:
mythdrmframebuffer.h:10
DRMFbs
std::vector< DRMFb > DRMFbs
Definition:
mythdrmframebuffer.h:8
MythDRMFramebuffer::Create
static DRMFb Create(int FD, uint32_t Id)
Definition:
mythdrmframebuffer.cpp:8
MythDRMFramebuffer::m_width
uint32_t m_width
Definition:
mythdrmframebuffer.h:17
DRMArray
std::array< uint32_t, 4 > DRMArray
Definition:
mythdrmresources.h:22
Generated on Wed Mar 27 2024 03:19:42 for MythTV by
1.8.17