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

#include <GnashVaapiImageProxy.h>

Public Member Functions

 GnashVaapiImageProxy (GnashVaapiImage *image, int x, int y, size_t w, size_t h)
 GnashVaapiImageProxy (const GnashVaapiImageProxy &o)
boost::shared_ptr< VaapiSurfacesurface () const
 Get access to the underlying surface.
int x () const
 Get the rendered image's x position.
int y () const
 Get the rendered image's y position.
size_t width () const
 Get the rendered image's width.
size_t height () const
 Get the rendered image's width.

Detailed Description

GnashVaapiImage proxy for delayed rendering XXX: call it GnashRenderedVaapiImage instead?

Constructor & Destructor Documentation

gnash::GnashVaapiImageProxy::GnashVaapiImageProxy ( GnashVaapiImage image,
int  x,
int  y,
size_t  w,
size_t  h 
)
inline
gnash::GnashVaapiImageProxy::GnashVaapiImageProxy ( const GnashVaapiImageProxy o)
inline

Member Function Documentation

size_t gnash::GnashVaapiImageProxy::height ( ) const
inline

Get the rendered image's width.

Returns
The rendered image's height in pixels.

References _height.

boost::shared_ptr<VaapiSurface> gnash::GnashVaapiImageProxy::surface ( ) const
inline

Get access to the underlying surface.

Returns
A pointer to the VA surface.

References _surface.

size_t gnash::GnashVaapiImageProxy::width ( ) const
inline

Get the rendered image's width.

Returns
The rendered image's width in pixels.

References _width.

int gnash::GnashVaapiImageProxy::x ( ) const
inline

Get the rendered image's x position.

Returns
The rendered image's x position in pixels.

References _x.

int gnash::GnashVaapiImageProxy::y ( ) const
inline

Get the rendered image's y position.

Returns
The rendered image's y position in pixels.

References _y.


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