Home
last modified time | relevance | path

Searched refs:kMaxRectSize (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/skia/samplecode/
DSampleRectanizer.cpp39 *fRects[0].append() = SkISize::Make(random.nextRangeU(kMinRectSize, kMaxRectSize), in RectanizerView()
40 random.nextRangeU(kMinRectSize, kMaxRectSize)); in RectanizerView()
42 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize)), in RectanizerView()
43 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize))); in RectanizerView()
136 static const int kMaxRectSize = 256; member in RectanizerView
/third_party/skia/samplecode/
DSampleRectanizer.cpp39 *fRects[0].append() = SkISize::Make(random.nextRangeU(kMinRectSize, kMaxRectSize), in RectanizerView()
40 random.nextRangeU(kMinRectSize, kMaxRectSize)); in RectanizerView()
42 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize)), in RectanizerView()
43 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize))); in RectanizerView()
136 static const int kMaxRectSize = 256; member in RectanizerView
/third_party/skia/bench/
DBulkRectBench.cpp183 static constexpr SkScalar kMaxRectSize = 300.f; in onDelayedSetup() local
188 SkScalar w = rand.nextF() * (kMaxRectSize - kMinRectSize) + kMinRectSize; in onDelayedSetup()
189 SkScalar h = rand.nextF() * (kMaxRectSize - kMinRectSize) + kMinRectSize; in onDelayedSetup()