|
kodi
|
A wrapper for gbm_device to allow OOP and RAII. More...
#include <GBMUtils.h>
Classes | |
| class | CGBMSurface |
| A wrapper for gbm_surface to allow OOP and RAII. More... | |
Public Member Functions | |
| CGBMDevice (const CGBMDevice &)=delete | |
| CGBMDevice & | operator= (const CGBMDevice &)=delete |
| CGBMDevice (gbm_device *device) | |
| bool | CreateSurface (int width, int height, uint32_t format, const uint64_t *modifiers, const int modifiers_count) |
| Create a gbm surface. More... | |
| gbm_device * | Get () const |
| Get the underlying gbm_device. More... | |
| CGBMDevice::CGBMSurface & | GetSurface () const |
| Get the CGBMSurface object. More... | |
A wrapper for gbm_device to allow OOP and RAII.
| bool CGBMUtils::CGBMDevice::CreateSurface | ( | int | width, |
| int | height, | ||
| uint32_t | format, | ||
| const uint64_t * | modifiers, | ||
| const int | modifiers_count | ||
| ) |
Create a gbm surface.
| width | The width to use for the surface |
| height | The height to use for the surface |
| format | The format to use for the surface |
| modifiers | The modifiers to use for the surface |
| modifiers_count | The amount of modifiers in the modifiers param |
|
inline |
Get the underlying gbm_device.
|
inline |
Get the CGBMSurface object.
1.8.13