xbmc
|
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 |
bool | CreateDevice (int fd) |
Create a gbm device for allocating buffers. More... | |
CGBMUtils::CGBMDevice * | GetDevice () const |
Get the CGBMDevice object. More... | |
A wrapper for gbm c classes to allow OOP and RAII.
bool CGBMUtils::CreateDevice | ( | int | fd | ) |
Create a gbm device for allocating buffers.
fd | The file descriptor for a backend device |
|
inline |
Get the CGBMDevice object.