/external/skia/include/gpu/ |
D | GrTestUtils.h | 28 const SkMatrix& TestMatrix(SkRandom*); 29 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom*); 30 const SkMatrix& TestMatrixRectStaysRect(SkRandom*); 31 const SkMatrix& TestMatrixInvertible(SkRandom*); 32 const SkRect& TestRect(SkRandom*); 33 const SkRect& TestSquare(SkRandom*); 34 const SkRRect& TestRRectSimple(SkRandom*); 35 const SkPath& TestPath(SkRandom*); 36 const SkPath& TestPathConvex(SkRandom*); 37 SkStrokeRec TestStrokeRec(SkRandom*); [all …]
|
D | GrProcessorUnitTest.h | 37 typedef Processor* (*CreateProc)(SkRandom*, 47 static Processor* CreateStage(SkRandom* random, in CreateStage() 74 static GrGeometryProcessor* TestCreate(SkRandom*, \ 81 static GrFragmentProcessor* TestCreate(SkRandom*, \ 88 static GrXPFactory* TestCreate(SkRandom*, \ 119 static GrFragmentProcessor* TestCreate(SkRandom*, \ 128 static GrXPFactory* TestCreate(SkRandom*, \ 137 static GrGeometryProcessor* TestCreate(SkRandom*, \
|
/external/skia/src/gpu/ |
D | GrBatchTest.h | 17 class SkRandom; variable 26 typedef GrBatch* (*BatchTestFunc)(SkRandom* random, GrContext* context); 28 GrBatch* Batch##__Test(SkRandom* random, GrContext* context) 30 extern GrBatch* Batch##__Test(SkRandom*, GrContext* context); 34 friend GrBatch* Batch##__Test(SkRandom* random, GrContext* context); 36 GrBatch* GrRandomBatch(SkRandom*, GrContext*);
|
D | GrTestUtils.cpp | 15 static const SkMatrix& test_matrix(SkRandom* random, bool includePerspective) { in test_matrix() 43 const SkMatrix& TestMatrix(SkRandom* random) { return test_matrix(random, true); } in TestMatrix() 45 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom* random) { in TestMatrixPreservesRightAngles() 71 const SkMatrix& TestMatrixRectStaysRect(SkRandom* random) { in TestMatrixRectStaysRect() 97 const SkMatrix& TestMatrixInvertible(SkRandom* random) { return test_matrix(random, false); } in TestMatrixInvertible() 99 const SkRect& TestRect(SkRandom* random) { in TestRect() 115 const SkRect& TestSquare(SkRandom* random) { in TestSquare() 126 const SkRRect& TestRRectSimple(SkRandom* random) { in TestRRectSimple() 144 const SkPath& TestPath(SkRandom* random) { in TestPath() 185 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 onPreDraw() 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 | HairlinePathBench.cpp | 88 SkRandom rand; in makePath() 120 SkRandom rand; in makePath() 152 SkRandom rand; in makePath() 153 SkRandom randWeight; in makePath() 188 SkRandom rand; in makePath()
|
D | GrOrderedSetBench.cpp | 36 SkRandom rand; in onPreDraw() 77 SkRandom rand; in onPreDraw() 118 SkRandom rand; in onPreDraw()
|
D | ScalarBench.cpp | 48 SkRandom rand; in init9() 98 SkRandom rand; in IsFiniteScalarBench() 136 SkRandom rand; in RectBoundsBench()
|
D | GrMemoryPoolBench.cpp | 45 SkRandom r; in onDraw() 107 SkRandom r; in onDraw() 155 SkRandom r; in onDraw()
|
D | MathBench.cpp | 28 SkRandom rand; in MathBench() 273 SkRandom rand; in IsFiniteBench() 343 SkRandom rand; in FloorBench() 364 SkRandom rand; in onDraw() 405 SkRandom rand; in CLZBench() 465 SkRandom rand; in NormalizeBench() 513 SkRandom rand; in FixedMathBench()
|
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 | 17 static int rand_pts(SkRandom& rand, SkPoint pts[4]) { in rand_pts() 38 SkRandom rand; in PathIterBench()
|
/external/skia/tests/ |
D | GLProgramsTest.cpp | 95 GrFragmentProcessor* BigKeyProcessor::TestCreate(SkRandom*, in TestCreate() argument 108 static GrRenderTarget* random_render_target(GrContext* context, SkRandom* random, in random_render_target() 139 GrPipelineBuilder* pipelineBuilder, SkRandom* random, in set_random_xpf() 150 SkRandom* random, in set_random_color_coverage_stages() 173 static void set_random_state(GrPipelineBuilder* pipelineBuilder, SkRandom* random) { in set_random_state() 188 static void set_random_stencil(GrPipelineBuilder* pipelineBuilder, SkRandom* random) { in set_random_stencil() 239 SkRandom random; in programUnitTest()
|
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 | 18 static void rand_array(SkRandom& rand, int array[], int n) { in rand_array() 42 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()
|
D | MipMapTest.cpp | 13 static void make_bitmap(SkBitmap* bm, SkRandom& rand) { in make_bitmap() 24 SkRandom rand; in DEF_TEST()
|
/external/skia/gm/ |
D | beziers.cpp | 17 static void rnd_quad(SkPath* p, SkPaint* paint, SkRandom& rand) { in rnd_quad() 30 static void rnd_cubic(SkPath* p, SkPaint* paint, SkRandom& rand) { in rnd_cubic() 64 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 | 20 SkRandom rand; in show_text() 35 SkRandom rand; in show_fill() 56 static SkScalar randRange(SkRandom& rand, SkScalar min, SkScalar max) { in randRange() 62 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()
|