Home
last modified time | relevance | path

Searched refs:SkLinearGradient (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/effects/gradients/
DSkLinearGradient.h27 class SkLinearGradient : public SkGradientShaderBase {
34 SkLinearGradient(const SkPoint pts[2], const Descriptor&);
40 LinearGradientContext(const SkLinearGradient&, const ContextRec&);
69 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLinearGradient)
72 SkLinearGradient(SkReadBuffer& buffer);
DSkLinearGradient.cpp61 || SkToBool(flags & SkLinearGradient::kForce4fContext_PrivateFlag); in use_4f_context()
67 SkLinearGradient::SkLinearGradient(const SkPoint pts[2], const Descriptor& desc) in SkLinearGradient() function in SkLinearGradient
73 SkFlattenable* SkLinearGradient::CreateProc(SkReadBuffer& buffer) { in CreateProc()
85 void SkLinearGradient::flatten(SkWriteBuffer& buffer) const { in flatten()
91 size_t SkLinearGradient::contextSize(const ContextRec& rec) const { in contextSize()
97 SkShader::Context* SkLinearGradient::onCreateContext(const ContextRec& rec, void* storage) const { in onCreateContext()
113 SkLinearGradient::LinearGradientContext::LinearGradientContext( in LinearGradientContext()
114 const SkLinearGradient& shader, const ContextRec& ctx) in LinearGradientContext()
286 void SkLinearGradient::LinearGradientContext::shadeSpan(int x, int y, SkPMColor* SK_RESTRICT dstC, in shadeSpan()
289 const SkLinearGradient& linearGradient = static_cast<const SkLinearGradient&>(fShader); in shadeSpan()
[all …]
DSk4fLinearGradient.cpp166 SkLinearGradient::
167 LinearGradient4fContext::LinearGradient4fContext(const SkLinearGradient& shader, in LinearGradient4fContext()
171 void SkLinearGradient::
182 void SkLinearGradient::
194 void SkLinearGradient::
198 const SkLinearGradient& shader = in shadePremulSpan()
199 static_cast<const SkLinearGradient&>(fShader); in shadePremulSpan()
220 void SkLinearGradient::
266 class SkLinearGradient::
DSk4fLinearGradient.h14 class SkLinearGradient::
17 LinearGradient4fContext(const SkLinearGradient&, const ContextRec&);
DSkGradientShader.cpp805 return new SkLinearGradient(pts, desc); in CreateLinear()
895 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLinearGradient) in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY() argument
/external/skia/gyp/
Deffects.gypi79 '<(skia_src_path)/effects/gradients/SkLinearGradient.cpp',
80 '<(skia_src_path)/effects/gradients/SkLinearGradient.h',
/external/skia/gm/
Dgradients.cpp658 DEF_GM( return new LinearGradientTinyGM(SkLinearGradient::kForce4fContext_PrivateFlag, "_4f"); )
780 draw_many_stops(canvas, SkLinearGradient::kForce4fContext_PrivateFlag);
/external/skia/bench/
DGradientBench.cpp52 const uint32_t flags = force4f ? SkLinearGradient::kForce4fContext_PrivateFlag : 0; in MakeLinear()
/external/skia/
DAndroid.mk366 src/effects/gradients/SkLinearGradient.cpp \