Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CDRMPRIMETexture Class Reference

#include <DRMPRIMEEGL.h>

Public Member Functions

 CDRMPRIMETexture ()=default
 
 ~CDRMPRIMETexture ()
 
bool Map (CVideoBufferDRMPRIME *buffer)
 
void Unmap ()
 
void Init (EGLDisplay eglDisplay)
 
GLuint GetTexture ()
 
CSizeInt GetTextureSize ()
 

Protected Attributes

CVideoBufferDRMPRIMEm_primebuffer {nullptr}
 
std::unique_ptr< CEGLImagem_eglImage
 
const GLenum m_textureTarget {GL_TEXTURE_EXTERNAL_OES}
 
GLuint m_texture {0}
 
int m_texWidth {0}
 
int m_texHeight {0}
 

Constructor & Destructor Documentation

◆ CDRMPRIMETexture()

CDRMPRIMETexture::CDRMPRIMETexture ( )
default

◆ ~CDRMPRIMETexture()

CDRMPRIMETexture::~CDRMPRIMETexture ( )

Member Function Documentation

◆ GetTexture()

GLuint CDRMPRIMETexture::GetTexture ( )
inline

◆ GetTextureSize()

CSizeInt CDRMPRIMETexture::GetTextureSize ( )
inline

◆ Init()

void CDRMPRIMETexture::Init ( EGLDisplay eglDisplay)

◆ Map()

bool CDRMPRIMETexture::Map ( CVideoBufferDRMPRIME * buffer)

◆ Unmap()

void CDRMPRIMETexture::Unmap ( )

Member Data Documentation

◆ m_eglImage

std::unique_ptr<CEGLImage> CDRMPRIMETexture::m_eglImage
protected

◆ m_primebuffer

CVideoBufferDRMPRIME* CDRMPRIMETexture::m_primebuffer {nullptr}
protected

◆ m_texHeight

int CDRMPRIMETexture::m_texHeight {0}
protected

◆ m_texture

GLuint CDRMPRIMETexture::m_texture {0}
protected

◆ m_textureTarget

const GLenum CDRMPRIMETexture::m_textureTarget {GL_TEXTURE_EXTERNAL_OES}
protected

◆ m_texWidth

int CDRMPRIMETexture::m_texWidth {0}
protected

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