Flutter Engine
The Flutter Engine
|
#include <skqp.h>
Classes | |
struct | SkSLErrorTest |
Public Types | |
using | UnitTest = const skiatest::Test * |
Public Member Functions | |
SkQP () | |
~SkQP () | |
void | init (SkQPAssetManager *assetManager, const char *reportDirectory) |
std::vector< std::string > | executeTest (UnitTest) |
void | makeReport () |
const std::vector< UnitTest > & | getUnitTests () const |
const std::vector< SkSLErrorTest > & | getSkSLErrorTests () const |
Static Public Member Functions | |
static const char * | GetUnitTestName (UnitTest) |
using SkQP::UnitTest = const skiatest::Test* |
std::vector< std::string > SkQP::executeTest | ( | SkQP::UnitTest | test | ) |
Definition at line 147 of file skqp.cpp.
|
inline |
|
static |
|
inline |
void SkQP::init | ( | SkQPAssetManager * | assetManager, |
const char * | reportDirectory | ||
) |
Initialize Skia and the SkQP. Should be executed only once.
assetManager | - provides assets for the models. Does not take ownership. |
reportDirectory | - where to write out report. |
Definition at line 120 of file skqp.cpp.
void SkQP::makeReport | ( | ) |
Call this after running all checks to write a report into the given report directory.
Definition at line 192 of file skqp.cpp.