|
vdr-plugin-softhddevice-drm-gles 1.6.4-d0291bb
|
Software Based OSD (CPU) More...
#include <softhdosd.h>
Public Member Functions | |
| cSoftOsd (int, int, uint, cSoftHdDevice *) | |
| Initializes a software based OSD with the given coordinates. | |
| virtual | ~cSoftOsd (void) |
| Shut down the OSD. | |
| virtual eOsdError | SetAreas (const tArea *, int) |
| Set the sub-areas to the given areas. | |
| virtual void | Flush (void) |
| Actually commit all data to the OSD hardware. | |
| virtual void | SetActive (bool) |
| Sets this OSD to be the active one. | |
Private Attributes | |
| cSoftHdDevice * | m_pDevice |
| pointer to the cSoftHdDevice object | |
| bool | m_dirty = false |
| flag to force redrawing everything | |
| int | m_osdLevel |
| current osd level | |
Software Based OSD (CPU)
Definition at line 31 of file softhdosd.h.
| cSoftOsd::cSoftOsd | ( | int | left, |
| int | top, | ||
| uint | level, | ||
| cSoftHdDevice * | device | ||
| ) |
Initializes a software based OSD with the given coordinates.
| left | x-coordinate of osd on display |
| top | y-coordinate of osd on display |
| level | level of the osd (smallest is shown) |
| device | pointer to cSoftHdDevice object |
Definition at line 30 of file softhdosd.cpp.
|
virtual |
Shut down the OSD.
Definition at line 41 of file softhdosd.cpp.
References L_OSD, LOGDEBUG2, m_osdLevel, and SetActive().
Actually commit all data to the OSD hardware.
Definition at line 101 of file softhdosd.cpp.
References cSoftHdDevice::GetOsdSize(), L_OSD, LOGDEBUG2, m_dirty, m_osdLevel, m_pDevice, and cSoftHdDevice::OsdDrawARGB().
Referenced by SetActive().
Sets this OSD to be the active one.
| on | true on, false off |
Definition at line 55 of file softhdosd.cpp.
References Flush(), L_OSD, LOGDEBUG2, m_dirty, m_osdLevel, m_pDevice, and cSoftHdDevice::OsdClose().
Referenced by ~cSoftOsd().
Set the sub-areas to the given areas.
Definition at line 77 of file softhdosd.cpp.
References L_OSD, LOGDEBUG2, m_dirty, m_pDevice, and cSoftHdDevice::OsdClose().
flag to force redrawing everything
Definition at line 42 of file softhdosd.h.
Referenced by Flush(), SetActive(), and SetAreas().
|
private |
current osd level
Definition at line 43 of file softhdosd.h.
Referenced by Flush(), SetActive(), and ~cSoftOsd().
|
private |
pointer to the cSoftHdDevice object
Definition at line 41 of file softhdosd.h.
Referenced by Flush(), SetActive(), and SetAreas().