Home
last modified time | relevance | path

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

/external/skia/bench/
DColorFilterBench.cpp18 static sk_sp<SkImageFilter> make_brightness(float amount, sk_sp<SkImageFilter> input) { in make_brightness() function
80 sk_sp<SkImageFilter> dim(make_brightness(-brightness, nullptr)); in onDraw()
81 paint.setImageFilter(make_brightness(brightness, std::move(dim))); in onDraw()
106 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, nullptr)); in onDraw()
132 paint.setImageFilter(make_brightness(0.9f, std::move(grayscale))); in onDraw()
157 paint.setImageFilter(make_brightness(1.0f, std::move(blue))); in onDraw()
181 sk_sp<SkImageFilter> brightness(make_brightness(1.0f, nullptr)); in onDraw()
206 paint.setImageFilter(make_brightness(1.0f, nullptr)); in onDraw()
DImageFilterCollapse.cpp100 static sk_sp<SkColorFilter> make_brightness(float amount) { in make_brightness() function
127 make_brightness(0.1f), in onDelayedSetup()
129 make_brightness(-0.1f), in onDelayedSetup()
/external/skia/gm/
Dcolorfilterimagefilter.cpp95 static sk_sp<SkImageFilter> make_brightness(float amount, sk_sp<SkImageFilter> input) { in make_brightness() function
125 sk_sp<SkImageFilter> dim(make_brightness(-brightness, nullptr));
126 sk_sp<SkImageFilter> bright(make_brightness(brightness, std::move(dim)));
134 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, nullptr));
142 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, std::move(grayscale)));
149 sk_sp<SkImageFilter> brightness(make_brightness(1.0f, std::move(blue)));
155 sk_sp<SkImageFilter> brightness(make_brightness(1.0f, nullptr));
163 sk_sp<SkImageFilter> brightness(make_brightness(0.5f, std::move(blur)));