/external/skia/include/gpu/ |
D | GrTestUtils.h | 29 const SkMatrix& TestMatrix(SkRandom*); 30 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom*); 31 const SkMatrix& TestMatrixRectStaysRect(SkRandom*); 32 const SkMatrix& TestMatrixInvertible(SkRandom*); 33 const SkRect& TestRect(SkRandom*); 34 const SkRect& TestSquare(SkRandom*); 35 const SkRRect& TestRRectSimple(SkRandom*); 36 const SkPath& TestPath(SkRandom*); 37 const SkPath& TestPathConvex(SkRandom*); 38 SkStrokeRec TestStrokeRec(SkRandom*); [all …]
|
/external/skia/src/gpu/ |
D | GrBatchTest.h | 17 class SkRandom; variable 26 typedef GrDrawBatch* (*BatchTestFunc)(SkRandom* random, GrContext* context); 28 GrDrawBatch* Batch##__Test(SkRandom* random, GrContext* context) 30 extern GrDrawBatch* Batch##__Test(SkRandom*, GrContext* context); 34 friend GrDrawBatch* Batch##__Test(SkRandom* random, GrContext* context); 36 GrDrawBatch* GrRandomDrawBatch(SkRandom*, GrContext*);
|
D | GrTestUtils.cpp | 17 static const SkMatrix& test_matrix(SkRandom* random, bool includePerspective) { in test_matrix() 45 const SkMatrix& TestMatrix(SkRandom* random) { return test_matrix(random, true); } in TestMatrix() 47 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom* random) { in TestMatrixPreservesRightAngles() 73 const SkMatrix& TestMatrixRectStaysRect(SkRandom* random) { in TestMatrixRectStaysRect() 99 const SkMatrix& TestMatrixInvertible(SkRandom* random) { return test_matrix(random, false); } in TestMatrixInvertible() 101 const SkRect& TestRect(SkRandom* random) { in TestRect() 117 const SkRect& TestSquare(SkRandom* random) { in TestSquare() 128 const SkRRect& TestRRectSimple(SkRandom* random) { in TestRRectSimple() 146 const SkPath& TestPath(SkRandom* random) { in TestPath() 187 const SkPath& TestPathConvex(SkRandom* random) { in TestPathConvex() [all …]
|
/external/skia/include/utils/ |
D | SkRandom.h | 21 class SkRandom { 23 SkRandom() { init(0); } in SkRandom() function 24 SkRandom(uint32_t seed) { init(seed); } in SkRandom() function 25 SkRandom(const SkRandom& rand) : fK(rand.fK), fJ(rand.fJ) {} in SkRandom() function 27 SkRandom& operator=(const SkRandom& rand) {
|
/external/skia/bench/ |
D | RTreeBench.cpp | 20 typedef SkRect (*MakeRectProc)(SkRandom&, int, int); 38 SkRandom rand; in onDraw() 71 SkRandom rand; in onDelayedSetup() 80 SkRandom rand; in onDraw() 98 static inline SkRect make_XYordered_rects(SkRandom& rand, int index, int numRects) { in make_XYordered_rects() 106 static inline SkRect make_YXordered_rects(SkRandom& rand, int index, int numRects) { in make_YXordered_rects() 115 static inline SkRect make_random_rects(SkRandom& rand, int index, int numRects) { in make_random_rects() 124 static inline SkRect make_concentric_rects(SkRandom&, int index, int numRects) { in make_concentric_rects() argument
|
D | StrokeBench.cpp | 56 static SkPoint rand_pt(SkRandom& rand) { in rand_pt() 62 SkRandom rand; in line_path_maker() 71 SkRandom rand; in quad_path_maker() 80 SkRandom rand; in conic_path_maker() 89 SkRandom rand; in cubic_path_maker()
|
D | HairlinePathBench.cpp | 89 SkRandom rand; in makePath() 121 SkRandom rand; in makePath() 153 SkRandom rand; in makePath() 154 SkRandom randWeight; in makePath() 189 SkRandom rand; in makePath()
|
D | ScalarBench.cpp | 48 SkRandom rand; in init9() 98 SkRandom rand; in IsFiniteScalarBench() 136 SkRandom rand; in RectBoundsBench()
|
D | MathBench.cpp | 35 SkRandom rand; in MathBench() 270 SkRandom rand; in IsFiniteBench() 340 SkRandom rand; in FloorBench() 361 SkRandom rand; in onDraw() 402 SkRandom rand; in CLZBench() 462 SkRandom rand; in NormalizeBench() 510 SkRandom rand; in FixedMathBench()
|
D | GrMemoryPoolBench.cpp | 47 SkRandom r; in onDraw() 109 SkRandom r; in onDraw() 157 SkRandom r; in onDraw()
|
D | HalfBench.cpp | 17 SkRandom rand; in onDraw() 36 SkRandom rand; in onDraw()
|
D | RegionContainBench.cpp | 31 SkIRect randrect(SkRandom& rand, int i) { in randrect() 40 SkRandom rand; in RegionContainBench()
|
D | MatrixBench.cpp | 91 SkRandom rand; in init9() 140 SkRandom fRnd; 168 SkRandom fRandom; 285 SkRandom rand; in MapPointsMatrixBench()
|
D | PathIterBench.cpp | 18 static int rand_pts(SkRandom& rand, SkPoint pts[4]) { in rand_pts() 39 SkRandom rand; in PathIterBench()
|
/external/skia/tools/ |
D | random_parse_path.cpp | 32 static void add_white(SkRandom* rand, SkString* atom) { in add_white() 46 static void add_comma(SkRandom* rand, SkString* atom) { in add_comma() 61 static void add_some_white(SkRandom* rand, SkString* atom) { in add_some_white() 68 SkString MakeRandomParsePathPiece(SkRandom* rand) { in MakeRandomParsePathPiece()
|
D | random_parse_path.h | 13 class SkRandom; variable 15 SkString MakeRandomParsePathPiece(SkRandom* rand);
|
/external/skia/tests/ |
D | RandomTest.cpp | 63 SkRandom rand; in test_random_byte() 75 SkRandom rand; in test_random_float() 110 SkRandom rand; in test_single_gorilla() 163 SkRandom rand; in test_range()
|
D | RTreeTest.cpp | 16 static SkRect random_rect(SkRandom& rand) { in random_rect() 46 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, SkRect rects[], in run_queries() 73 SkRandom rand; in DEF_TEST()
|
D | StrokerTest.cpp | 119 static SkScalar unbounded(SkRandom& r) { in unbounded() 124 static SkScalar unboundedPos(SkRandom& r) { in unboundedPos() 130 SkRandom r; in DEF_TEST() 168 SkRandom r; in DEF_TEST() 209 SkRandom r; in DEF_TEST() 260 SkRandom r; in DEF_TEST() 319 SkRandom r; in DEF_TEST() 364 SkRandom r; in DEF_TEST()
|
D | SortTest.cpp | 20 static void rand_array(SkRandom& rand, int array[], int n) { in rand_array() 44 SkRandom rand; in DEF_TEST()
|
D | RegionTest.cpp | 109 static SkIRect randRect(SkRandom& rand) { in randRect() 117 static void randRgn(SkRandom& rand, SkRegion* rgn, int n) { in randRgn() 194 SkRandom rand; in test_proc() 204 static void rand_rect(SkIRect* rect, SkRandom& rand) { in rand_rect() 248 SkRandom rand; in DEF_TEST()
|
/external/skia/gm/ |
D | beziers.cpp | 18 static void rnd_quad(SkPath* p, SkPaint* paint, SkRandom& rand) { in rnd_quad() 31 static void rnd_cubic(SkPath* p, SkPaint* paint, SkRandom& rand) { in rnd_cubic() 65 SkRandom rand; in onDraw()
|
D | points.cpp | 27 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts() 41 SkRandom rand; in onDraw()
|
/external/skia/samplecode/ |
D | SampleClip.cpp | 21 SkRandom rand; in show_text() 36 SkRandom rand; in show_fill() 57 static SkScalar randRange(SkRandom& rand, SkScalar min, SkScalar max) { in randRange() 63 SkRandom rand; in show_stroke()
|
D | SamplePoints.cpp | 42 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts() 50 SkRandom rand; in onDrawContent()
|