vdr-plugin-softhddevice-drm-gles 1.6.2
cDrmBufferPool Class Reference

DRM Buffer Pool. More...

#include <drmbuffer.h>

Public Member Functions

 cDrmBufferPool ()
 
cDrmBufferFindUninitilized (void)
 Find a clean drm buffer from the buffer pool.
 
cDrmBufferFindNoPresentationPending (void)
 Find a dirty drm buffer from the buffer pool which presentation has finished.
 
cDrmBufferFindByDmaBufHandle (int)
 Find a drm buffer from the buffer pool by a given prime handle.
 
void DestroyAllExcept (cDrmBuffer *)
 Destroy all drm buffers except the given one.
 
- Public Member Functions inherited from cPool< cDrmBuffer >
 cPool (size_t size)
 

Static Private Attributes

static constexpr int RENDERBUFFERS = 36
 number of render video buffers
 

Additional Inherited Members

- Protected Attributes inherited from cPool< cDrmBuffer >
std::vector< std::unique_ptr< cDrmBuffer > > buffer
 
size_t currentIndex
 

Detailed Description

DRM Buffer Pool.

Definition at line 138 of file drmbuffer.h.

Constructor & Destructor Documentation

◆ cDrmBufferPool()

cDrmBufferPool::cDrmBufferPool ( )
inline

Definition at line 140 of file drmbuffer.h.

Member Data Documentation

◆ RENDERBUFFERS

constexpr int cDrmBufferPool::RENDERBUFFERS = 36
staticconstexprprivate

number of render video buffers

Definition at line 146 of file drmbuffer.h.


The documentation for this class was generated from the following files: