Gnash  0.8.11dev
Public Member Functions | List of all members
gnash::VaapiSurfaceGLX Class Reference

VA/GLX surface abstraction. More...

#include <VaapiSurfaceGLX.h>

Public Member Functions

 VaapiSurfaceGLX (GLenum target, GLuint texture)
 
void * get () const
 Return VA surface id. More...
 
unsigned int width () const
 Get surface width. More...
 
unsigned int height () const
 Get surface height. More...
 
bool update (std::shared_ptr< VaapiSurface > surface)
 Update VA/GLX surface from VA surface. More...
 

Detailed Description

VA/GLX surface abstraction.

Constructor & Destructor Documentation

§ VaapiSurfaceGLX()

gnash::VaapiSurfaceGLX::VaapiSurfaceGLX ( GLenum  target,
GLuint  texture 
)

Member Function Documentation

§ get()

void* gnash::VaapiSurfaceGLX::get ( ) const
inline

Return VA surface id.

§ height()

unsigned int gnash::VaapiSurfaceGLX::height ( ) const
inline

Get surface height.

§ update()

bool gnash::VaapiSurfaceGLX::update ( std::shared_ptr< VaapiSurface surface)

Update VA/GLX surface from VA surface.

References _, and gnash::log_debug().

§ width()

unsigned int gnash::VaapiSurfaceGLX::width ( ) const
inline

Get surface width.


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