Home
last modified time | relevance | path

Searched refs:MakeColorShader (Results 1 – 17 of 17) sorted by relevance

/external/skia/gm/
Dcolor4f.cpp19 return SkShader::MakeColorShader(0xFFFF0000); in make_opaque_color()
23 return SkShader::MakeColorShader(0x80FF0000); in make_alpha_color()
117 SkShader::MakeColorShader(c4, nullptr),
118 SkShader::MakeColorShader(c4, srgb),
119 SkShader::MakeColorShader(c4,
Ddiscard.cpp70 paint.setShader(SkShader::MakeColorShader(color)); in onDraw()
Dcolorspacexform.cpp72 sk_sp<SkShader> s = SkShader::MakeColorShader(colors[i], space); in onDraw()
Dgammatext.cpp118 paint->setShader(SkShader::MakeColorShader(paint->getColor())); in draw_pair()
Dvertices.cpp38 return SkShader::MakeColorShader(SK_ColorBLUE); in make_shader2()
/external/skia/samplecode/
DSampleEmboss.cpp53 paint.setShader(SkShader::MakeColorShader(SK_ColorBLUE)); in onDrawContent()
DSampleFatBits.cpp97 fShader1 = SkShader::MakeColorShader(SK_ColorWHITE); in setWHZ()
/external/skia/include/core/
DSkShader.h408 static sk_sp<SkShader> MakeColorShader(SkColor);
416 static sk_sp<SkShader> MakeColorShader(const SkColor4f&, sk_sp<SkColorSpace>);
/external/skia/bench/
DShaderMaskBench.cpp45 fPaint.setShader(SkShader::MakeColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080)); in ShaderMaskBench()
/external/skia/src/core/
DSkColorShader.cpp140 return SkShader::MakeColorShader(color, nullptr); in CreateProc()
239 sk_sp<SkShader> SkShader::MakeColorShader(const SkColor4f& color, sk_sp<SkColorSpace> space) { in MakeColorShader() function in SkShader
DSkColorSpaceXformer.cpp62 return SkShader::MakeColorShader(this->apply(color)) in apply()
DSkShader.cpp228 sk_sp<SkShader> SkShader::MakeColorShader(SkColor color) { return sk_make_sp<SkColorShader>(color);… in MakeColorShader() function in SkShader
DSkBlitter.cpp857 paint.writable()->setShader(SkShader::MakeColorShader(paint->getColor())); in Choose()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp947 return SkShader::MakeColorShader(colors[0], std::move(colorSpace)); in MakeLinear()
986 return SkShader::MakeColorShader(colors[0], std::move(colorSpace)); in MakeRadial()
1098 return SkShader::MakeColorShader(colors[0], std::move(colorSpace)); in MakeSweep()
/external/skia/tests/
DPictureTest.cpp1062 paint.setShader(SkShader::MakeColorShader(SK_ColorRED)); in DEF_TEST()
DImageFilterTest.cpp199 greenColorShaderPaint.setShader(SkShader::MakeColorShader(SK_ColorGREEN)); in FilterList()
/external/skia/fuzz/
DFuzzCanvas.cpp339 return SkShader::MakeColorShader(color); in make_fuzz_shader()