Home
last modified time | relevance | path

Searched refs:SkRandom (Results 1 – 25 of 168) sorted by relevance

1234567

/external/skia/include/gpu/
DGrTestUtils.h29 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/
DGrBatchTest.h17 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*);
DGrTestUtils.cpp17 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/
DSkRandom.h21 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/
DRTreeBench.cpp20 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
DStrokeBench.cpp56 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()
DHairlinePathBench.cpp89 SkRandom rand; in makePath()
121 SkRandom rand; in makePath()
153 SkRandom rand; in makePath()
154 SkRandom randWeight; in makePath()
189 SkRandom rand; in makePath()
DScalarBench.cpp48 SkRandom rand; in init9()
98 SkRandom rand; in IsFiniteScalarBench()
136 SkRandom rand; in RectBoundsBench()
DGrMemoryPoolBench.cpp47 SkRandom r; in onDraw()
109 SkRandom r; in onDraw()
157 SkRandom r; in onDraw()
DMathBench.cpp35 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()
DHalfBench.cpp17 SkRandom rand; in onDraw()
36 SkRandom rand; in onDraw()
DRegionContainBench.cpp31 SkIRect randrect(SkRandom& rand, int i) { in randrect()
40 SkRandom rand; in RegionContainBench()
DMatrixBench.cpp91 SkRandom rand; in init9()
140 SkRandom fRnd;
168 SkRandom fRandom;
285 SkRandom rand; in MapPointsMatrixBench()
DPathIterBench.cpp18 static int rand_pts(SkRandom& rand, SkPoint pts[4]) { in rand_pts()
39 SkRandom rand; in PathIterBench()
/external/skia/tools/
Drandom_parse_path.cpp32 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()
Drandom_parse_path.h13 class SkRandom; variable
15 SkString MakeRandomParsePathPiece(SkRandom* rand);
/external/skia/tests/
DRandomTest.cpp63 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()
DRTreeTest.cpp16 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()
DStrokerTest.cpp119 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()
DSortTest.cpp20 static void rand_array(SkRandom& rand, int array[], int n) { in rand_array()
44 SkRandom rand; in DEF_TEST()
DRegionTest.cpp109 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/
Dbeziers.cpp18 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()
Dpoints.cpp27 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts()
41 SkRandom rand; in onDraw()
/external/skia/samplecode/
DSampleClip.cpp21 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()
DSamplePoints.cpp42 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts()
50 SkRandom rand; in onDrawContent()

1234567