Home
last modified time | relevance | path

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

12345678910>>...15

/external/skia/src/gpu/
DGrTestUtils.h38 const SkMatrix& TestMatrix(SkRandom*);
39 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom*);
40 const SkMatrix& TestMatrixRectStaysRect(SkRandom*);
41 const SkMatrix& TestMatrixInvertible(SkRandom*);
42 const SkMatrix& TestMatrixPerspective(SkRandom*);
43 void TestWrapModes(SkRandom*, GrSamplerState::WrapMode[2]);
44 const SkRect& TestRect(SkRandom*);
45 const SkRect& TestSquare(SkRandom*);
46 const SkRRect& TestRRectSimple(SkRandom*);
47 const SkPath& TestPath(SkRandom*);
[all …]
DGrTestUtils.cpp23 static const SkMatrix& test_matrix(SkRandom* random, in test_matrix()
56 const SkMatrix& TestMatrix(SkRandom* random) { return test_matrix(random, true, true); } in TestMatrix()
58 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom* random) { in TestMatrixPreservesRightAngles()
84 const SkMatrix& TestMatrixRectStaysRect(SkRandom* random) { in TestMatrixRectStaysRect()
110 const SkMatrix& TestMatrixInvertible(SkRandom* random) { return test_matrix(random, true, false); } in TestMatrixInvertible()
111 const SkMatrix& TestMatrixPerspective(SkRandom* random) { return test_matrix(random, false, true); } in TestMatrixPerspective()
113 void TestWrapModes(SkRandom* random, GrSamplerState::WrapMode wrapModes[2]) { in TestWrapModes()
122 const SkRect& TestRect(SkRandom* random) { in TestRect()
138 const SkRect& TestSquare(SkRandom* random) { in TestSquare()
149 const SkRRect& TestRRectSimple(SkRandom* random) { in TestRRectSimple()
[all …]
DGrDrawOpTest.h22 class SkRandom; variable
25 void GrDrawRandomOp(SkRandom*, GrRenderTargetContext*, GrPaint&&);
29 std::unique_ptr<GrDrawOp> Op##__Test(GrPaint&& paint, SkRandom* random, \
32 friend std::unique_ptr<GrDrawOp> Op##__Test(GrPaint&& paint, SkRandom* random, \
36 const GrUserStencilSettings* GrGetRandomStencil(SkRandom* random, GrContext_Base*);
/external/skqp/src/gpu/
DGrTestUtils.h38 const SkMatrix& TestMatrix(SkRandom*);
39 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom*);
40 const SkMatrix& TestMatrixRectStaysRect(SkRandom*);
41 const SkMatrix& TestMatrixInvertible(SkRandom*);
42 const SkMatrix& TestMatrixPerspective(SkRandom*);
43 void TestWrapModes(SkRandom*, GrSamplerState::WrapMode[2]);
44 const SkRect& TestRect(SkRandom*);
45 const SkRect& TestSquare(SkRandom*);
46 const SkRRect& TestRRectSimple(SkRandom*);
47 const SkPath& TestPath(SkRandom*);
[all …]
DGrTestUtils.cpp21 static const SkMatrix& test_matrix(SkRandom* random, in test_matrix()
54 const SkMatrix& TestMatrix(SkRandom* random) { return test_matrix(random, true, true); } in TestMatrix()
56 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom* random) { in TestMatrixPreservesRightAngles()
82 const SkMatrix& TestMatrixRectStaysRect(SkRandom* random) { in TestMatrixRectStaysRect()
108 const SkMatrix& TestMatrixInvertible(SkRandom* random) { return test_matrix(random, true, false); } in TestMatrixInvertible()
109 const SkMatrix& TestMatrixPerspective(SkRandom* random) { return test_matrix(random, false, true); } in TestMatrixPerspective()
111 void TestWrapModes(SkRandom* random, GrSamplerState::WrapMode wrapModes[2]) { in TestWrapModes()
120 const SkRect& TestRect(SkRandom* random) { in TestRect()
136 const SkRect& TestSquare(SkRandom* random) { in TestSquare()
147 const SkRRect& TestRRectSimple(SkRandom* random) { in TestRRectSimple()
[all …]
DGrDrawOpTest.h20 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/skqp/include/utils/
DSkRandom.h23 class SkRandom {
25 SkRandom() { init(0); } in SkRandom() function
26 SkRandom(uint32_t seed) { init(seed); } in SkRandom() function
27 SkRandom(const SkRandom& rand) : fK(rand.fK), fJ(rand.fJ) {} in SkRandom() function
29 SkRandom& operator=(const SkRandom& rand) {
/external/skia/include/utils/
DSkRandom.h23 class SkRandom {
25 SkRandom() { init(0); } in SkRandom() function
26 SkRandom(uint32_t seed) { init(seed); } in SkRandom() function
27 SkRandom(const SkRandom& rand) : fK(rand.fK), fJ(rand.fJ) {} in SkRandom() function
29 SkRandom& operator=(const SkRandom& rand) {
/external/skqp/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()
DMathBench.cpp37 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()
614 SkRandom rand; in Floor2IntBench()
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()
/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()
DMathBench.cpp37 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()
614 SkRandom rand; in Floor2IntBench()
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()
/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()
/external/skqp/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()
/external/skia/modules/particles/include/
DSkParticleEffect.h44 SkParticleEffect(sk_sp<SkParticleEffectParams> params, const SkRandom& random);
58 SkRandom fRandom;
68 SkAutoTMalloc<SkRandom> fStableRandoms;
/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()
/external/skqp/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()
/external/skqp/gm/
Dmanypaths.cpp16 static SkColor gen_color(SkRandom* rand) { in gen_color()
46 SkRandom rand(1); in onDraw()
85 SkRandom rand(1); in onDraw()
/external/skia/gm/
Dmanypaths.cpp16 static SkColor gen_color(SkRandom* rand) { in gen_color()
46 SkRandom rand(1); in onDraw()
85 SkRandom rand(1); in onDraw()

12345678910>>...15