Searched refs:make_scale (Results 1 - 2 of 2) sorted by relevance

/external/skia/bench/
H A DMatrixBench.cpp270 static SkMatrix make_scale() { SkMatrix m(make_trans()); m.postScale(1.5f, 0.5f); return m; } function
298 DEF_BENCH( return new MapPointsMatrixBench("mappoints_scale", make_scale()); )
/external/skia/tests/
H A DImageFilterTest.cpp336 static sk_sp<SkImageFilter> make_scale(float amount, sk_sp<SkImageFilter> input) { function
409 sk_sp<SkImageFilter> halfBrightness(make_scale(0.5f, nullptr));
410 sk_sp<SkImageFilter> quarterBrightness(make_scale(0.5f, std::move(halfBrightness)));
421 sk_sp<SkImageFilter> doubleBrightness(make_scale(2.0f, nullptr));
422 sk_sp<SkImageFilter> halfBrightness(make_scale(0.5f, std::move(doubleBrightness)));

Completed in 163 milliseconds