Home
last modified time | relevance | path

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

12345678

/external/skia/include/gpu/
DGrTestUtils.h28 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 …]
DGrProcessorUnitTest.h37 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/
DGrBatchTest.h17 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*);
DGrTestUtils.cpp15 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/
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 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
DHairlinePathBench.cpp88 SkRandom rand; in makePath()
120 SkRandom rand; in makePath()
152 SkRandom rand; in makePath()
153 SkRandom randWeight; in makePath()
188 SkRandom rand; in makePath()
DGrOrderedSetBench.cpp36 SkRandom rand; in onPreDraw()
77 SkRandom rand; in onPreDraw()
118 SkRandom rand; in onPreDraw()
DScalarBench.cpp48 SkRandom rand; in init9()
98 SkRandom rand; in IsFiniteScalarBench()
136 SkRandom rand; in RectBoundsBench()
DGrMemoryPoolBench.cpp45 SkRandom r; in onDraw()
107 SkRandom r; in onDraw()
155 SkRandom r; in onDraw()
DMathBench.cpp28 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()
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.cpp17 static int rand_pts(SkRandom& rand, SkPoint pts[4]) { in rand_pts()
38 SkRandom rand; in PathIterBench()
/external/skia/tests/
DGLProgramsTest.cpp95 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()
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.cpp18 static void rand_array(SkRandom& rand, int array[], int n) { in rand_array()
42 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()
DMipMapTest.cpp13 static void make_bitmap(SkBitmap* bm, SkRandom& rand) { in make_bitmap()
24 SkRandom rand; in DEF_TEST()
/external/skia/gm/
Dbeziers.cpp17 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()
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.cpp20 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()
DSamplePoints.cpp42 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts()
50 SkRandom rand; in onDrawContent()

12345678