Home
last modified time | relevance | path

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

/external/skqp/gm/
Dcolor4f.cpp18 return SkShader::MakeColorShader(0xFFFF0000); in make_opaque_color()
22 return SkShader::MakeColorShader(0x80FF0000); in make_alpha_color()
111 SkShader::MakeColorShader(c4, nullptr),
112 SkShader::MakeColorShader(c4, srgb),
113 SkShader::MakeColorShader(c4, spin),
Dlocalmatrixshader.cpp52 return SkShader::MakeCompose(SkShader::MakeColorShader(SK_ColorTRANSPARENT), in __anon1a544d110302()
60 return SkShader::MakeCompose(SkShader::MakeColorShader(SK_ColorTRANSPARENT), in __anon1a544d110402()
Dalpha_image.cpp46 paint.setShader(SkShader::MakeColorShader(SK_ColorCYAN));
Ddiscard.cpp68 paint.setShader(SkShader::MakeColorShader(color)); in onDraw()
Demboss.cpp67 paint.setShader(SkShader::MakeColorShader(SK_ColorBLUE)); in onDraw()
Dgammatext.cpp105 paint.setShader(SkShader::MakeColorShader(paint.getColor())); in draw_pair()
Dvertices.cpp38 return SkShader::MakeColorShader(SK_ColorBLUE); in make_shader2()
/external/skqp/src/shaders/
DSkColorShader.cpp55 return SkShader::MakeColorShader(color, std::move(colorSpace)); in CreateProc()
74 return SkShader::MakeColorShader(color.toSkColor()); in onMakeColorSpace()
77 sk_sp<SkShader> SkShader::MakeColorShader(const SkColor4f& color, sk_sp<SkColorSpace> space) { in MakeColorShader() function in SkShader
DSkColorShader.h49 return SkShader::MakeColorShader(xformer->apply(fColor)); in onMakeColorSpace()
DSkShader.cpp136 sk_sp<SkShader> SkShader::MakeColorShader(SkColor color) { return sk_make_sp<SkColorShader>(color);… in MakeColorShader() function in SkShader
/external/skqp/include/core/
DSkShader.h186 static sk_sp<SkShader> MakeColorShader(SkColor);
194 static sk_sp<SkShader> MakeColorShader(const SkColor4f&, sk_sp<SkColorSpace>);
/external/skqp/samplecode/
DSampleEmboss.cpp51 paint.setShader(SkShader::MakeColorShader(SK_ColorBLUE)); in onDrawContent()
DSampleFatBits.cpp109 fShader1 = SkShader::MakeColorShader(SK_ColorWHITE); in setWHZ()
/external/skqp/src/shaders/gradients/
DSkGradientShader.cpp580 return SkShader::MakeColorShader( in make_degenerate_gradient()
585 return SkShader::MakeColorShader(colors[colorCount - 1], std::move(colorSpace)); in make_degenerate_gradient()
687 return SkShader::MakeColorShader(colors[0], std::move(colorSpace)); in MakeLinear()
734 return SkShader::MakeColorShader(colors[0], std::move(colorSpace)); in MakeRadial()
857 return SkShader::MakeColorShader(colors[0], std::move(colorSpace)); in MakeSweep()
/external/skqp/tests/
DPictureTest.cpp765 paint.setShader(SkShader::MakeColorShader(SK_ColorRED)); in DEF_TEST()
DImageFilterTest.cpp196 greenColorShaderPaint.setShader(SkShader::MakeColorShader(SK_ColorGREEN)); in FilterList()
/external/skqp/fuzz/
DFuzzCanvas.cpp210 return SkShader::MakeColorShader(color); in make_fuzz_shader()
/external/skqp/docs/
DSkPaint_Reference.bmh1750 paint.setShader(SkShader::MakeColorShader(SK_ColorRED));