Flutter Engine
The Flutter Engine
|
#include "bench/Benchmark.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkString.h"
#include "src/base/SkRandom.h"
#include "src/core/SkMatrixUtils.h"
Go to the source code of this file.
Classes | |
class | MatrixBench |
class | ScaleMatrixBench |
class | DecomposeMatrixBench |
class | InvertMapRectMatrixBench |
class | MapPointsMatrixBench |
class | MapRectMatrixBench |
Functions | |
template<typename T > | |
void | init9 (T array[9]) |
DEF_BENCH (return new InvertMapRectMatrixBench("invert_maprect_rectstaysrect", InvertMapRectMatrixBench::kScale_Flag|InvertMapRectMatrixBench::kTranslate_Flag);) DEF_BENCH(return new InvertMapRectMatrixBench("invert_maprect_translate" | |
DEF_BENCH (return new InvertMapRectMatrixBench("invert_maprect_nonpersp", InvertMapRectMatrixBench::kScale_Flag|InvertMapRectMatrixBench::kRotate_Flag|InvertMapRectMatrixBench::kTranslate_Flag);) DEF_BENCH(return new InvertMapRectMatrixBench("invert_maprect_persp" | |
DEF_BENCH (return new InvertMapRectMatrixBench("invert_maprect_typemask_rectstaysrect", InvertMapRectMatrixBench::kUncachedTypeMask_Flag|InvertMapRectMatrixBench::kScale_Flag|InvertMapRectMatrixBench::kTranslate_Flag);) DEF_BENCH(return new InvertMapRectMatrixBench("invert_maprect_typemask_nonpersp" | |
static SkMatrix | make_trans () |
static SkMatrix | make_scale () |
static SkMatrix | make_afine () |
DEF_BENCH (return new MapPointsMatrixBench("mappoints_identity", SkMatrix::I());) DEF_BENCH(return new MapPointsMatrixBench("mappoints_trans" | |
DEF_BENCH (return new MapPointsMatrixBench("mappoints_scale", make_scale());) DEF_BENCH(return new MapPointsMatrixBench("mappoints_affine" | |
|
new |
|
new |
|
new |
|
new |
|
new |
Definition at line 67 of file MatrixBench.cpp.
|
static |
Definition at line 200 of file MatrixBench.cpp.
|
static |
Definition at line 199 of file MatrixBench.cpp.
|
static |
Definition at line 198 of file MatrixBench.cpp.