Home
last modified time | relevance | path

Searched refs:make_brightness (Results 1 – 6 of 6) 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/skqp/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.cpp96 static sk_sp<SkImageFilter> make_brightness(float amount, sk_sp<SkImageFilter> input) { in make_brightness() function
126 sk_sp<SkImageFilter> dim(make_brightness(-brightness, nullptr));
127 sk_sp<SkImageFilter> bright(make_brightness(brightness, std::move(dim)));
135 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, nullptr));
143 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, std::move(grayscale)));
150 sk_sp<SkImageFilter> brightness(make_brightness(1.0f, std::move(blue)));
156 sk_sp<SkImageFilter> brightness(make_brightness(1.0f, nullptr));
164 sk_sp<SkImageFilter> brightness(make_brightness(0.5f, std::move(blur)));
/external/skqp/gm/
Dcolorfilterimagefilter.cpp96 static sk_sp<SkImageFilter> make_brightness(float amount, sk_sp<SkImageFilter> input) { in make_brightness() function
126 sk_sp<SkImageFilter> dim(make_brightness(-brightness, nullptr));
127 sk_sp<SkImageFilter> bright(make_brightness(brightness, std::move(dim)));
135 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, nullptr));
143 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, std::move(grayscale)));
150 sk_sp<SkImageFilter> brightness(make_brightness(1.0f, std::move(blue)));
156 sk_sp<SkImageFilter> brightness(make_brightness(1.0f, nullptr));
164 sk_sp<SkImageFilter> brightness(make_brightness(0.5f, std::move(blur)));