Public Member Functions

gnash::GnashVaapiTexture Class Reference

OpenGL texture abstraction. More...

#include <GnashVaapiTexture.h>

Inheritance diagram for gnash::GnashVaapiTexture:
Inheritance graph
[legend]
Collaboration diagram for gnash::GnashVaapiTexture:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GnashVaapiTexture (unsigned int width, unsigned int height, image::ImageType type)
 ~GnashVaapiTexture ()
void update (boost::shared_ptr< VaapiSurface > surface)
 Copy texture data from a VA surface.

Detailed Description

OpenGL texture abstraction.


Constructor & Destructor Documentation

gnash::GnashVaapiTexture::GnashVaapiTexture ( unsigned int  width,
unsigned int  height,
image::ImageType  type 
)

References height, and width.

gnash::GnashVaapiTexture::~GnashVaapiTexture (  ) 

Member Function Documentation

void gnash::GnashVaapiTexture::update ( boost::shared_ptr< VaapiSurface surface  ) 

Copy texture data from a VA surface.

Note that this surface MUST have the same _pitch, or unexpected things will happen.

Parameters:
surface VA surface to copy data from.

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