/external/skia/src/gpu/ |
D | GrTestUtils.h | 34 const SkMatrix& TestMatrix(SkRandom*); 35 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom*); 36 const SkMatrix& TestMatrixRectStaysRect(SkRandom*); 37 const SkMatrix& TestMatrixInvertible(SkRandom*); 38 const SkMatrix& TestMatrixPerspective(SkRandom*); 39 const SkRect& TestRect(SkRandom*); 40 const SkRect& TestSquare(SkRandom*); 41 const SkRRect& TestRRectSimple(SkRandom*); 42 const SkPath& TestPath(SkRandom*); 43 const SkPath& TestPathConvex(SkRandom*); [all …]
|
D | GrTestUtils.cpp | 19 static const SkMatrix& test_matrix(SkRandom* random, in test_matrix() 52 const SkMatrix& TestMatrix(SkRandom* random) { return test_matrix(random, true, true); } in TestMatrix() 54 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom* random) { in TestMatrixPreservesRightAngles() 80 const SkMatrix& TestMatrixRectStaysRect(SkRandom* random) { in TestMatrixRectStaysRect() 106 const SkMatrix& TestMatrixInvertible(SkRandom* random) { return test_matrix(random, true, false); } in TestMatrixInvertible() 107 const SkMatrix& TestMatrixPerspective(SkRandom* random) { return test_matrix(random, false, true); } in TestMatrixPerspective() 109 const SkRect& TestRect(SkRandom* random) { in TestRect() 125 const SkRect& TestSquare(SkRandom* random) { in TestSquare() 136 const SkRRect& TestRRectSimple(SkRandom* random) { in TestRRectSimple() 154 const SkPath& TestPath(SkRandom* random) { in TestPath() [all …]
|
D | GrDrawOpTest.h | 20 class SkRandom; variable 23 void GrDrawRandomOp(SkRandom*, GrRenderTargetContext*, GrPaint&&); 27 std::unique_ptr<GrDrawOp> Op##__Test(GrPaint&& paint, SkRandom* random, GrContext* context, \ 30 friend std::unique_ptr<GrDrawOp> Op##__Test(GrPaint&& paint, SkRandom* random, \ 34 const GrUserStencilSettings* GrGetRandomStencil(SkRandom* random, GrContext*);
|
/external/skia/include/utils/ |
D | SkRandom.h | 22 class SkRandom { 24 SkRandom() { init(0); } in SkRandom() function 25 SkRandom(uint32_t seed) { init(seed); } in SkRandom() function 26 SkRandom(const SkRandom& rand) : fK(rand.fK), fJ(rand.fJ) {} in SkRandom() function 28 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 | 47 SkRandom rand; in init9() 97 SkRandom rand; in IsFiniteScalarBench() 135 SkRandom rand; in RectBoundsBench()
|
D | GrMemoryPoolBench.cpp | 47 SkRandom r; in onDraw() 109 SkRandom r; in onDraw() 157 SkRandom r; in onDraw()
|
D | MathBench.cpp | 37 SkRandom rand; in MathBench() 262 SkRandom rand; in IsFiniteBench() 332 SkRandom rand; in FloorBench() 353 SkRandom rand; in onDraw() 394 SkRandom rand; in CLZBench() 454 SkRandom rand; in NormalizeBench() 502 SkRandom rand; in FixedMathBench()
|
D | QuickRejectBench.cpp | 21 SkRandom rand; in onDelayedSetup() 48 SkRandom r; in onDelayedSetup()
|
D | RegionContainBench.cpp | 31 SkIRect randrect(SkRandom& rand, int i) { in randrect() 40 SkRandom rand; in RegionContainBench()
|
D | PathIterBench.cpp | 17 static int rand_pts(SkRandom& rand, SkPoint pts[4]) { in rand_pts() 38 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 | 135 static SkScalar unbounded(SkRandom& r) { in unbounded() 140 static SkScalar unboundedPos(SkRandom& r) { in unboundedPos() 146 SkRandom r; in DEF_TEST() 184 SkRandom r; in DEF_TEST() 225 SkRandom r; in DEF_TEST() 276 SkRandom r; in DEF_TEST() 335 SkRandom r; in DEF_TEST() 380 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()
|
/external/skia/gm/ |
D | manypaths.cpp | 16 static SkColor gen_color(SkRandom* rand) { in gen_color() 46 SkRandom rand(1); in onDraw() 85 SkRandom rand(1); in onDraw()
|
D | beziers.cpp | 18 static void rnd_quad(SkPath* p, SkPaint* paint, SkRandom& rand) { in rnd_quad() 36 static void rnd_cubic(SkPath* p, SkPaint* paint, SkRandom& rand) { in rnd_cubic() 76 SkRandom rand; in onDraw()
|
D | points.cpp | 26 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts() 40 SkRandom rand; in onDraw()
|
/external/skia/samplecode/ |
D | SampleClip.cpp | 22 SkRandom rand; in show_text() 37 SkRandom rand; in show_fill() 58 static SkScalar randRange(SkRandom& rand, SkScalar min, SkScalar max) { in randRange() 64 SkRandom rand; in show_stroke()
|
D | SamplePathText.cpp | 72 void init(SkRandom& rand, const SkPath& path); 73 void reset(SkRandom& rand, int w, int h); 84 SkRandom fRand; 89 void PathText::Glyph::init(SkRandom& rand, const SkPath& path) { in init() 95 void PathText::Glyph::reset(SkRandom& rand, int w, int h) { in reset() 314 void reset(SkRandom& rand, int w, int h); 336 void WavyPathText::Waves::reset(SkRandom& rand, int w, int h) { in reset()
|
D | SamplePoints.cpp | 38 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts() 46 SkRandom rand; in onDrawContent()
|