Gnash
0.8.10
|
#include <iostream>
#include <string>
#include <cstdlib>
#include <vector>
#include <sstream>
#include <map>
#include <cassert>
#include <regex.h>
#include <boost/assign/list_of.hpp>
#include <boost/date_time/date.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "log.h"
#include "dejagnu.h"
#include "SWFMatrix.h"
#include "Renderer.h"
#include "Transform.h"
#include "ShapeRecord.h"
#include "CachedBitmap.h"
#include "GnashVaapiImage.h"
#include "GnashVaapiImageProxy.h"
Functions | |
void | test_device (Renderer *renderer, const std::string &type) |
void | test_renderer (Renderer *renderer, const std::string &type) |
void | test_geometry (Renderer *renderer, const std::string &type) |
void | test_iterators (Renderer *renderer, const std::string &type) |
int | main (int argc, char *argv[]) |
Variables | |
TestState | runtest |
int main | ( | int argc | , |
char * | argv[] | ||
) |
void test_device | ( | Renderer * | renderer, |
const std::string & | type | ||
) |
References runtest, and gnash::renderer::GnashDevice::X11.
void test_geometry | ( | Renderer * | renderer, |
const std::string & | type | ||
) |
void test_iterators | ( | Renderer * | renderer, |
const std::string & | type | ||
) |
References runtest, gnash::Renderer::getFirstRenderImage(), gnash::Renderer::getLastRenderImage(), gnash::key::a, and gnash::key::c.
Referenced by main().
void test_renderer | ( | Renderer * | renderer, |
const std::string & | type | ||
) |
an array of 16-bit signed integer coordinates. Even indices (and 0) are x coordinates, while uneven ones are y coordinates. the number of x-y coordinates (vertices). the color to be used to draw the line strip. the SWFMatrix to be used to transform the vertices.
References runtest, gnash::Renderer::description(), gnash::Renderer::createCachedBitmap(), gnash::CachedBitmap::image(), gnash::image::GnashImage::width(), gnash::image::GnashImage::height(), x, y, gnash::key::h, color, gnash::SWFMatrix::set_scale_rotation(), gnash::Renderer::drawLine(), gnash::Renderer::drawVideoFrame(), fill, gnash::Renderer::draw_poly(), gnash::key::SWF, gnash::Renderer::drawShape(), and gnash::Renderer::renderToImage().
Referenced by main().
TestState runtest |