Gnash  0.8.10
Functions
gtk_canvas.cpp File Reference
#include <string>
#include "gtk_canvas.h"
#include "Renderer.h"
#include "rc.h"
#include "log.h"
#include "gtk_glue.h"
#include "GnashException.h"
#include "gtk_glue_agg.h"

Functions

GtkWidget * gnash_canvas_new ()
 allocate memory for canvas to draw in
void gnash_canvas_setup (GnashCanvas *canvas, std::string &hwaccel, std::string &renderer, int argc, char **argv[])
 Select renderer and hwaccel, prep canvas for drawing.
void gnash_canvas_before_rendering (GnashCanvas *canvas, gnash::movie_root *stage)
boost::shared_ptr
< gnash::Renderer
gnash_canvas_get_renderer (GnashCanvas *canvas)
 Get the Renderer for this canvas.

Function Documentation

void gnash_canvas_before_rendering ( GnashCanvas canvas,
gnash::movie_root stage 
)
boost::shared_ptr<gnash::Renderer> gnash_canvas_get_renderer ( GnashCanvas canvas)

Get the Renderer for this canvas.

Referenced by gnash::GtkGui::init().

GtkWidget* gnash_canvas_new ( )

allocate memory for canvas to draw in

References GNASH_TYPE_CANVAS.

Referenced by gnash::GtkGui::init().

void gnash_canvas_setup ( GnashCanvas canvas,
std::string &  hwaccel,
std::string &  renderer,
int  argc,
char **  argv[] 
)

Select renderer and hwaccel, prep canvas for drawing.

References gnash::vaapi_set_is_enabled().

Referenced by gnash::GtkGui::init().