Searched refs:SkColorShader (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/shaders/ |
D | SkColorShader.cpp | 16 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 …]
|
D | SkColorShader.h | 20 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)
|
D | SkShader.cpp | 248 sk_sp<SkShader> SkShader::MakeColorShader(SkColor color) { return sk_make_sp<SkColorShader>(color);… in MakeColorShader()
|
/external/skia/tests/ |
D | ShaderOpacityTest.cpp | 88 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()
|
D | GradientTest.cpp | 77 sk_sp<SkShader> s(new SkColorShader(rec.fColors[0])); in color_gradproc()
|
/external/skia/src/core/ |
D | SkGlobalInitialization_core.cpp | 33 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorShader) in InitCore()
|
/external/skia/gn/ |
D | core.gni | 369 "$_src/shaders/SkColorShader.cpp", 370 "$_src/shaders/SkColorShader.h",
|
/external/skia/ |
D | Android.bp | 676 "src/shaders/SkColorShader.cpp",
|