/external/skqp/src/gpu/ |
D | GrTestUtils.h | 38 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 …]
|
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*);
|
D | GrTestUtils.cpp | 21 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 …]
|
/external/skia/src/gpu/ |
D | GrTestUtils.h | 39 const SkMatrix& TestMatrix(SkRandom*); 40 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom*); 41 const SkMatrix& TestMatrixRectStaysRect(SkRandom*); 42 const SkMatrix& TestMatrixInvertible(SkRandom*); 43 const SkMatrix& TestMatrixPerspective(SkRandom*); 44 void TestWrapModes(SkRandom*, GrSamplerState::WrapMode[2]); 45 const SkRect& TestRect(SkRandom*); 46 const SkRect& TestSquare(SkRandom*); 47 const SkRRect& TestRRectSimple(SkRandom*); 48 const SkPath& TestPath(SkRandom*); [all …]
|
D | GrTestUtils.cpp | 21 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 …]
|
D | GrDrawOpTest.h | 22 class SkRandom; variable 25 void GrDrawRandomOp(SkRandom*, GrSurfaceDrawContext*, GrPaint&&); 29 GrOp::Owner Op##__Test(GrPaint&& paint, SkRandom* random, \ 33 friend GrOp::OpOwner Op##__Test(GrPaint&&, SkRandom*, \ 37 const GrUserStencilSettings* GrGetRandomStencil(SkRandom* random, GrContext_Base*);
|
/external/skqp/include/utils/ |
D | SkRandom.h | 23 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/ |
D | SkRandom.h | 23 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/bench/ |
D | RTreeBench.cpp | 21 typedef SkRect (*MakeRectProc)(SkRandom&, int, int); 39 SkRandom rand; in onDraw() 72 SkRandom rand; in onDelayedSetup() 81 SkRandom rand; in onDraw() 99 static inline SkRect make_XYordered_rects(SkRandom& rand, int index, int numRects) { in make_XYordered_rects() 107 static inline SkRect make_YXordered_rects(SkRandom& rand, int index, int numRects) { in make_YXordered_rects() 116 static inline SkRect make_random_rects(SkRandom& rand, int index, int numRects) { in make_random_rects() 125 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 | 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 CTZBench() 514 SkRandom rand; in NormalizeBench() 562 SkRandom rand; in FixedMathBench() 676 SkRandom rand; in Floor2IntBench()
|
/external/skqp/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()
|
/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/skqp/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 | SkPathRangeIterTest.cpp | 12 SkPoint next_point(SkRandom& rand) { return {rand.nextF(), rand.nextF()}; } in next_point() 40 class : SkRandom { in DEF_TEST() 42 SkPoint p() { return {this->SkRandom::nextF(), this->SkRandom::nextF()}; } in DEF_TEST() 43 float w() { return this->SkRandom::nextF(); } in DEF_TEST()
|
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()
|
/external/skia/samplecode/ |
D | SamplePathText.cpp | 81 void init(SkRandom& rand, const SkPath& path); 82 void reset(SkRandom& rand, int w, int h); 95 virtual void reset(SkRandom*, int screenWidth, int screenHeight) {} in reset() argument 118 SkRandom fRand{25}; 124 void PathText::Glyph::init(SkRandom& rand, const SkPath& path) { in init() 130 void PathText::Glyph::reset(SkRandom& rand, int w, int h) { in reset() 157 void reset(SkRandom* rand, int screenWidth, int screenHeight) override { in reset() 265 void reset(SkRandom* rand, int screenWidth, int screenHeight) override { in reset() 340 void reset(SkRandom& rand, int w, int h); 360 void PathText::WavyGlyphAnimator::Waves::reset(SkRandom& rand, int w, int h) { in reset()
|
/external/skqp/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()
|
/external/skqp/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()
|
/external/skia/gm/ |
D | manypaths.cpp | 22 static SkColor gen_color(SkRandom* rand) { in gen_color() 52 SkRandom rand(1); in onDraw() 91 SkRandom rand(1); in onDraw()
|