Gnash
0.8.11dev
|
#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[] | ||
) |
References _, gnash::renderer::EGLDevice::attachWindow(), gnash::renderer::EGLDevice::bindClient(), gnash::renderer::x11::X11Device::createWindow(), gnash::renderer::x11::X11Device::getHandle(), gnash::renderer::rawfb::RawFBDevice::getHandle(), gnash::renderer::EGLDevice::initDevice(), gnash::log_error(), gnash::renderer::GnashDevice::OPENVG, gnash::LogFile::setVerbosity(), and win.
void test_device | ( | Renderer * | renderer, |
const std::string & | type | ||
) |
void test_geometry | ( | Renderer * | renderer, |
const std::string & | type | ||
) |
void test_iterators | ( | Renderer * | renderer, |
const std::string & | type | ||
) |
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 color, gnash::Renderer::createCachedBitmap(), gnash::Renderer::description(), gnash::Renderer::draw_poly(), gnash::Renderer::drawLine(), gnash::Renderer::drawShape(), gnash::Renderer::drawVideoFrame(), fill, gnash::key::h, gnash::image::GnashImage::height(), gnash::CachedBitmap::image(), gnash::Renderer::renderToImage(), runtest, gnash::SWFMatrix::set_scale_rotation(), gnash::image::GnashImage::width(), x, and y.
TestState runtest |
Referenced by test_device(), test_geometry(), test_iterators(), and test_renderer().