Gnash  0.8.10
Public Member Functions
gnash::GnashVaapiTexture Class Reference

OpenGL texture abstraction. More...

#include <GnashVaapiTexture.h>

Inheritance diagram for gnash::GnashVaapiTexture:
gnash::GnashTexture

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 
)
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:
surfaceVA surface to copy data from.

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