|
Gnash
0.8.10
|
OpenGL texture abstraction. More...
#include <GnashVaapiTexture.h>
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. | |
OpenGL texture abstraction.
| gnash::GnashVaapiTexture::GnashVaapiTexture | ( | unsigned int | width, |
| unsigned int | height, | ||
| image::ImageType | type | ||
| ) |
| 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.
| surface | VA surface to copy data from. |
1.7.6.1