![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
A wrapper for gbm c classes to allow OOP and RAII. More...
#include <GBMUtils.h>
Classes | |
class | CGBMDevice |
A wrapper for gbm_device to allow OOP and RAII. More... | |
Public Member Functions | |
CGBMUtils (const CGBMUtils &)=delete | |
CGBMUtils & | operator= (const CGBMUtils &)=delete |
CGBMUtils ()=default | |
~CGBMUtils ()=default | |
bool | CreateDevice (int fd) |
Create a gbm device for allocating buffers. | |
CGBMUtils::CGBMDevice & | GetDevice () const |
Get the CGBMDevice object. | |
A wrapper for gbm c classes to allow OOP and RAII.
|
delete |
|
default |
|
default |
Create a gbm device for allocating buffers.
fd | The file descriptor for a backend device |
|
inline |
Get the CGBMDevice object.