Home
last modified time | relevance | path

Searched refs:SkGradientShaderBase (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/shaders/gradients/
DSkGradientShaderPriv.h82 class SkGradientShaderBase : public SkShaderBase {
122 SkGradientShaderBase(const Descriptor& desc, const SkMatrix& ptsToUnit);
123 ~SkGradientShaderBase() override;
128 GradientShaderCache(U8CPU alpha, bool dither, const SkGradientShaderBase& shader);
148 const SkGradientShaderBase& fShader;
161 GradientShaderBaseContext(const SkGradientShaderBase& shader, const ContextRec&);
215 SkGradientShaderBase(SkReadBuffer& );
296 return (x | y) * SkGradientShaderBase::kDitherStride32; in init_dither_toggle()
300 return toggle ^ SkGradientShaderBase::kDitherStride32; in next_dither_toggle()
346 const SkGradientShaderBase* shader, in CreateArgs()
[all …]
DSkRadialGradient.h13 class SkRadialGradient : public SkGradientShaderBase {
17 class RadialGradientContext : public SkGradientShaderBase::GradientShaderBaseContext {
24 typedef SkGradientShaderBase::GradientShaderBaseContext INHERITED;
51 typedef SkGradientShaderBase INHERITED;
DSk4fGradientBase.h40 void init(const SkGradientShaderBase&, SkColorSpace* dstCS, SkShader::TileMode tileMode,
55 class SkGradientShaderBase::
58 GradientShaderBase4fContext(const SkGradientShaderBase&,
77 void addMirrorIntervals(const SkGradientShaderBase&,
DSkLinearGradient.h27 class SkLinearGradient : public SkGradientShaderBase {
31 class LinearGradientContext : public SkGradientShaderBase::GradientShaderBaseContext {
50 typedef SkGradientShaderBase::GradientShaderBaseContext INHERITED;
79 typedef SkGradientShaderBase INHERITED;
DSkGradientShader.cpp38 void SkGradientShaderBase::Descriptor::flatten(SkWriteBuffer& buffer) const { in flatten()
69 bool SkGradientShaderBase::DescriptorScope::unflatten(SkReadBuffer& buffer) { in unflatten()
113 SkGradientShaderBase::SkGradientShaderBase(const Descriptor& desc, const SkMatrix& ptsToUnit) in SkGradientShaderBase() function in SkGradientShaderBase
263 SkGradientShaderBase::~SkGradientShaderBase() { in ~SkGradientShaderBase()
269 void SkGradientShaderBase::initCommon() { in initCommon()
277 void SkGradientShaderBase::flatten(SkWriteBuffer& buffer) const { in flatten()
291 void SkGradientShaderBase::FlipGradientColors(SkColor* colorDst, Rec* recDst, in FlipGradientColors()
367 bool SkGradientShaderBase::onAppendStages(SkRasterPipeline* p, in onAppendStages()
498 bool SkGradientShaderBase::isOpaque() const { in isOpaque()
506 bool SkGradientShaderBase::onAsLuminanceColor(SkColor* lum) const { in onAsLuminanceColor()
[all …]
DSk4fGradientBase.cpp24 IntervalIterator(const SkGradientShaderBase& shader, SkColorSpace* dstCS, bool reverse) in IntervalIterator()
94 const SkGradientShaderBase& fShader;
101 void addMirrorIntervals(const SkGradientShaderBase& shader, in addMirrorIntervals()
143 void Sk4fGradientIntervalBuffer::init(const SkGradientShaderBase& shader, SkColorSpace* dstCS, in init()
286 SkGradientShaderBase::
287 GradientShaderBase4fContext::GradientShaderBase4fContext(const SkGradientShaderBase& shader, in GradientShaderBase4fContext()
308 bool SkGradientShaderBase::
313 void SkGradientShaderBase::
DSkSweepGradient.h13 class SkSweepGradient final : public SkGradientShaderBase {
41 typedef SkGradientShaderBase INHERITED;
DSkTwoPointConicalGradient.h14 class SkTwoPointConicalGradient final : public SkGradientShaderBase {
57 typedef SkGradientShaderBase INHERITED;
DSkLinearGradient.cpp42 : SkGradientShaderBase(desc, pts_to_unit_matrix(pts)) in SkLinearGradient()
178 unsigned fi = SkGradFixedToFixed(fx) >> SkGradientShaderBase::kCache32Shift; \
202 unsigned fi = fullIndex >> SkGradientShaderBase::kCache32Shift; in shadeSpan_linear_vertical_lerp()
203 unsigned remainder = fullIndex & ((1 << SkGradientShaderBase::kCache32Shift) - 1); in shadeSpan_linear_vertical_lerp()
207 if (fi < SkGradientShaderBase::kCache32Count - 1) { in shadeSpan_linear_vertical_lerp()
211 index0 ^= SkGradientShaderBase::kDitherStride32; in shadeSpan_linear_vertical_lerp()
212 index1 ^= SkGradientShaderBase::kDitherStride32; in shadeSpan_linear_vertical_lerp()
222 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1); in shadeSpan_linear_clamp()
DSkRadialGradient.cpp38 : SkGradientShaderBase(desc, rad_to_unit_matrix(center, radius)) in SkRadialGradient()
106 unsigned fi = SkGradientShaderBase::kCache32Count - 1; in shadeSpan_radial_clamp2()
168 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache32Shift)]; in shadeSpan_radial()
DSkSweepGradient.cpp21 : SkGradientShaderBase(desc, translate(-cx, -cy)) in SkSweepGradient()
DSkTwoPointConicalGradient.cpp17 : SkGradientShaderBase(desc, SkMatrix::I()) in SkTwoPointConicalGradient()