Home
last modified time | relevance | path

Searched refs:SkColorShader (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/shaders/
DSkColorShader.cpp16 SkColorShader::SkColorShader(SkColor c) : fColor(c) {} in SkColorShader() function in SkColorShader
18 bool SkColorShader::isOpaque() const { in isOpaque()
22 sk_sp<SkFlattenable> SkColorShader::CreateProc(SkReadBuffer& buffer) { in CreateProc()
23 return sk_make_sp<SkColorShader>(buffer.readColor()); in CreateProc()
26 void SkColorShader::flatten(SkWriteBuffer& buffer) const { in flatten()
30 uint32_t SkColorShader::ColorShaderContext::getFlags() const { in getFlags()
34 SkShaderBase::Context* SkColorShader::onMakeContext(const ContextRec& rec, in onMakeContext()
39 SkColorShader::ColorShaderContext::ColorShaderContext(const SkColorShader& shader, in ColorShaderContext()
67 void SkColorShader::ColorShaderContext::shadeSpan(int x, int y, SkPMColor span[], int count) { in shadeSpan()
71 void SkColorShader::ColorShaderContext::shadeSpanAlpha(int x, int y, uint8_t alpha[], int count) { in shadeSpanAlpha()
[all …]
DSkColorShader.h20 class SkColorShader : public SkShaderBase {
26 explicit SkColorShader(SkColor c);
33 ColorShaderContext(const SkColorShader& shader, const ContextRec&);
55 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkColorShader)
58 SkColorShader(SkReadBuffer&);
113 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkColorShader)
DSkShader.cpp248 sk_sp<SkShader> SkShader::MakeColorShader(SkColor color) { return sk_make_sp<SkColorShader>(color);… in MakeColorShader()
/external/skia/tests/
DShaderOpacityTest.cpp88 SkColorShader colorShader1(SkColorSetARGB(0,0,0,0)); in test_color()
90 SkColorShader colorShader2(SkColorSetARGB(0xFF,0,0,0)); in test_color()
92 SkColorShader colorShader3(SkColorSetARGB(0x7F,0,0,0)); in test_color()
DGradientTest.cpp77 sk_sp<SkShader> s(new SkColorShader(rec.fColors[0])); in color_gradproc()
/external/skia/src/core/
DSkGlobalInitialization_core.cpp33 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorShader) in InitCore()
/external/skia/gn/
Dcore.gni369 "$_src/shaders/SkColorShader.cpp",
370 "$_src/shaders/SkColorShader.h",
/external/skia/
DAndroid.bp676 "src/shaders/SkColorShader.cpp",