diff options
| author | Cedric BAIL <cedric@osg.samsung.com> | 2014-08-28 11:06:28 +0200 |
|---|---|---|
| committer | Bryce Harrington <bryce@osg.samsung.com> | 2014-09-29 17:49:59 -0700 |
| commit | 3a39ac24ab3cba514510f20dc42fda5171f4d801 (patch) | |
| tree | da3813ecf5dc5fb31558e17573093f6ceec97a3d /src/skia-tests/image.cpp | |
| parent | 717450eb6a9bcea235d3aa4eb2c9f61e49aacce0 (diff) | |
move to use Expedite (EFL benchmark) predictive random number generator.
Diffstat (limited to 'src/skia-tests/image.cpp')
| -rw-r--r-- | src/skia-tests/image.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/skia-tests/image.cpp b/src/skia-tests/image.cpp index e2035fb..a859099 100644 --- a/src/skia-tests/image.cpp +++ b/src/skia-tests/image.cpp @@ -40,8 +40,8 @@ sk_test_image(caskbench_context_t *ctx) int ph = h - ih; for (int i=0; i<ctx->size; i++) { - double x = (double)rand()/RAND_MAX * pw; - double y = (double)rand()/RAND_MAX * ph; + double x = (double)rnd()/RAND_MAX * pw; + double y = (double)rnd()/RAND_MAX * ph; ctx->skia_canvas->drawBitmap(bitmap, x, y); } |