Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::WINDOWING::GBM::CGBMUtils::CGBMDevice::CGBMSurface::CGBMSurfaceBuffer Class Reference

A wrapper for gbm_bo to allow OOP and RAII. More...

#include <GBMUtils.h>

Public Member Functions

 CGBMSurfaceBuffer (const CGBMSurfaceBuffer &)=delete
 
CGBMSurfaceBufferoperator= (const CGBMSurfaceBuffer &)=delete
 
 CGBMSurfaceBuffer (gbm_surface *surface)
 
 ~CGBMSurfaceBuffer ()
 
gbm_bo * Get () const
 Get the underlying gbm_bo.
 

Detailed Description

A wrapper for gbm_bo to allow OOP and RAII.

Constructor & Destructor Documentation

◆ CGBMSurfaceBuffer() [1/2]

KODI::WINDOWING::GBM::CGBMUtils::CGBMDevice::CGBMSurface::CGBMSurfaceBuffer::CGBMSurfaceBuffer ( const CGBMSurfaceBuffer & )
delete

◆ CGBMSurfaceBuffer() [2/2]

CGBMUtils::CGBMDevice::CGBMSurface::CGBMSurfaceBuffer::CGBMSurfaceBuffer ( gbm_surface * surface)
explicit

◆ ~CGBMSurfaceBuffer()

CGBMUtils::CGBMDevice::CGBMSurface::CGBMSurfaceBuffer::~CGBMSurfaceBuffer ( )

Member Function Documentation

◆ Get()

gbm_bo * KODI::WINDOWING::GBM::CGBMUtils::CGBMDevice::CGBMSurface::CGBMSurfaceBuffer::Get ( ) const
inline

Get the underlying gbm_bo.

Returns
gbm_bo* A pointer to the underlying gbm_bo

◆ operator=()

CGBMSurfaceBuffer & KODI::WINDOWING::GBM::CGBMUtils::CGBMDevice::CGBMSurface::CGBMSurfaceBuffer::operator= ( const CGBMSurfaceBuffer & )
delete

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