/external/skia/src/effects/gradients/ |
D | SkGradientShaderPriv.h | 84 class SkGradientShaderBase : public SkShader { 100 SkGradientShaderBase(const Descriptor& desc, const SkMatrix* localMatrix); 101 virtual ~SkGradientShaderBase(); 106 GradientShaderCache(U8CPU alpha, const SkGradientShaderBase& shader); 127 const SkGradientShaderBase& fShader; 143 GradientShaderBaseContext(const SkGradientShaderBase& shader, const ContextRec&); 198 SkGradientShaderBase(SkReadBuffer& ); 254 return (x | y) * SkGradientShaderBase::kDitherStride32; in init_dither_toggle() 258 return toggle ^ SkGradientShaderBase::kDitherStride32; in next_dither_toggle() 262 return ((x ^ y) & 1) * SkGradientShaderBase::kDitherStride16; in init_dither_toggle16() [all …]
|
D | SkGradientShader.cpp | 15 SkGradientShaderBase::SkGradientShaderBase(const Descriptor& desc, const SkMatrix* localMatrix) in SkGradientShaderBase() function in SkGradientShaderBase 142 SkGradientShaderBase::SkGradientShaderBase(SkReadBuffer& buffer) : INHERITED(buffer) { in SkGradientShaderBase() function in SkGradientShaderBase 181 SkGradientShaderBase::~SkGradientShaderBase() { in ~SkGradientShaderBase() 187 void SkGradientShaderBase::initCommon() { in initCommon() 195 void SkGradientShaderBase::flatten(SkWriteBuffer& buffer) const { in flatten() 209 SkGradientShaderBase::GpuColorType SkGradientShaderBase::getGpuColorType(SkColor colors[3]) const { in getGpuColorType() 226 void SkGradientShaderBase::FlipGradientColors(SkColor* colorDst, Rec* recDst, in FlipGradientColors() 246 void SkGradientShaderBase::flipGradientColors() { in flipGradientColors() 250 bool SkGradientShaderBase::isOpaque() const { in isOpaque() 254 SkGradientShaderBase::GradientShaderBaseContext::GradientShaderBaseContext( in GradientShaderBaseContext() [all …]
|
D | SkLinearGradient.cpp | 57 : SkGradientShaderBase(desc, localMatrix) in SkLinearGradient() 101 unsigned fi = fx >> SkGradientShaderBase::kCache32Shift; \ 125 unsigned fi = fullIndex >> SkGradientShaderBase::kCache32Shift; in shadeSpan_linear_vertical_lerp() 126 unsigned remainder = fullIndex & ((1 << SkGradientShaderBase::kCache32Shift) - 1); in shadeSpan_linear_vertical_lerp() 130 if (fi < SkGradientShaderBase::kCache32Count - 1) { in shadeSpan_linear_vertical_lerp() 134 index0 ^= SkGradientShaderBase::kDitherStride32; in shadeSpan_linear_vertical_lerp() 135 index1 ^= SkGradientShaderBase::kDitherStride32; in shadeSpan_linear_vertical_lerp() 145 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1); in shadeSpan_linear_clamp() 298 unsigned fi = fx >> SkGradientShaderBase::kCache16Shift; \ 299 SkASSERT(fi < SkGradientShaderBase::kCache16Count); \ [all …]
|
D | SkSweepGradient.h | 14 class SkSweepGradient : public SkGradientShaderBase { 21 class SweepGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { 29 typedef SkGradientShaderBase::GradientShaderBaseContext INHERITED; 52 typedef SkGradientShaderBase INHERITED;
|
D | SkLinearGradient.h | 13 class SkLinearGradient : public SkGradientShaderBase { 19 class LinearGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { 28 typedef SkGradientShaderBase::GradientShaderBaseContext INHERITED; 45 typedef SkGradientShaderBase INHERITED;
|
D | SkRadialGradient.h | 14 class SkRadialGradient : public SkGradientShaderBase { 21 class RadialGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { 29 typedef SkGradientShaderBase::GradientShaderBaseContext INHERITED; 47 typedef SkGradientShaderBase INHERITED;
|
D | SkTwoPointRadialGradient.h | 14 class SkTwoPointRadialGradient : public SkGradientShaderBase { 29 class TwoPointRadialGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { 36 typedef SkGradientShaderBase::GradientShaderBaseContext INHERITED; 61 typedef SkGradientShaderBase INHERITED;
|
D | SkTwoPointConicalGradient.h | 40 class SkTwoPointConicalGradient : public SkGradientShaderBase { 53 class TwoPointConicalGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { 61 typedef SkGradientShaderBase::GradientShaderBaseContext INHERITED; 95 typedef SkGradientShaderBase INHERITED;
|
D | SkRadialGradient.cpp | 99 (sqrt_table[fi] >> SkGradientShaderBase::kSqrt16Shift)]; in shadeSpan16_radial_clamp() 111 (sqrt_table[fi] >> SkGradientShaderBase::kSqrt16Shift)]; in shadeSpan16_radial_clamp() 125 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache16Shift)]; in shadeSpan16_radial() 150 : SkGradientShaderBase(desc, localMatrix), in SkRadialGradient() 304 (sqrt_table[fi] >> SkGradientShaderBase::kSqrt32Shift)]; \ 327 unsigned fi = SkGradientShaderBase::kCache32Count - 1; in shadeSpan_radial_clamp() 354 SkGradientShaderBase::kSqrt32Shift)]; in shadeSpan_radial_clamp() 365 SkGradientShaderBase::kSqrt32Shift)]; in shadeSpan_radial_clamp() 385 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache32Shift)]; in shadeSpan_radial() 450 *dstC++ = cache[fi >> SkGradientShaderBase::kCache32Shift]; in shadeSpan()
|
D | SkTwoPointConicalGradient.cpp | 149 (index >> SkGradientShaderBase::kCache32Shift)]; in twopoint_clamp() 166 (index >> SkGradientShaderBase::kCache32Shift)]; in twopoint_repeat() 183 (index >> SkGradientShaderBase::kCache32Shift)]; in twopoint_mirror() 201 : SkGradientShaderBase(desc, localMatrix), in SkTwoPointConicalGradient()
|
D | SkTwoPointRadialGradient.cpp | 125 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan_twopoint_clamp() 142 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan_twopoint_mirror() 160 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan_twopoint_repeat() 174 : SkGradientShaderBase(desc, localMatrix), in SkTwoPointRadialGradient() 314 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan()
|
D | SkSweepGradient.cpp | 13 : SkGradientShaderBase(desc, localMatrix) in SkSweepGradient()
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
D | SkGradientShaderPriv.h | 84 class SkGradientShaderBase : public SkShader { 124 SkGradientShaderBase(const Descriptor& desc); 125 virtual ~SkGradientShaderBase(); 130 GradientShaderCache(U8CPU alpha, const SkGradientShaderBase& shader); 151 const SkGradientShaderBase& fShader; 167 GradientShaderBaseContext(const SkGradientShaderBase& shader, const ContextRec&); 222 SkGradientShaderBase(SkReadBuffer& ); 281 return (x | y) * SkGradientShaderBase::kDitherStride32; in init_dither_toggle() 285 return toggle ^ SkGradientShaderBase::kDitherStride32; in next_dither_toggle() 289 return ((x ^ y) & 1) * SkGradientShaderBase::kDitherStride16; in init_dither_toggle16() [all …]
|
D | SkGradientShader.cpp | 15 void SkGradientShaderBase::Descriptor::flatten(SkWriteBuffer& buffer) const { in flatten() 33 bool SkGradientShaderBase::DescriptorScope::unflatten(SkReadBuffer& buffer) { in unflatten() 70 SkGradientShaderBase::SkGradientShaderBase(const Descriptor& desc) in SkGradientShaderBase() function in SkGradientShaderBase 211 SkGradientShaderBase::SkGradientShaderBase(SkReadBuffer& buffer) : INHERITED(buffer) { in SkGradientShaderBase() function in SkGradientShaderBase 257 SkGradientShaderBase::~SkGradientShaderBase() { in ~SkGradientShaderBase() 263 void SkGradientShaderBase::initCommon() { in initCommon() 271 void SkGradientShaderBase::flatten(SkWriteBuffer& buffer) const { in flatten() 284 SkGradientShaderBase::GpuColorType SkGradientShaderBase::getGpuColorType(SkColor colors[3]) const { in getGpuColorType() 301 void SkGradientShaderBase::FlipGradientColors(SkColor* colorDst, Rec* recDst, in FlipGradientColors() 321 void SkGradientShaderBase::flipGradientColors() { in flipGradientColors() [all …]
|
D | SkLinearGradient.cpp | 56 : SkGradientShaderBase(desc) in SkLinearGradient() 115 unsigned fi = fx >> SkGradientShaderBase::kCache32Shift; \ 139 unsigned fi = fullIndex >> SkGradientShaderBase::kCache32Shift; in shadeSpan_linear_vertical_lerp() 140 unsigned remainder = fullIndex & ((1 << SkGradientShaderBase::kCache32Shift) - 1); in shadeSpan_linear_vertical_lerp() 144 if (fi < SkGradientShaderBase::kCache32Count - 1) { in shadeSpan_linear_vertical_lerp() 148 index0 ^= SkGradientShaderBase::kDitherStride32; in shadeSpan_linear_vertical_lerp() 149 index1 ^= SkGradientShaderBase::kDitherStride32; in shadeSpan_linear_vertical_lerp() 159 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1); in shadeSpan_linear_clamp() 312 unsigned fi = fx >> SkGradientShaderBase::kCache16Shift; \ 313 SkASSERT(fi < SkGradientShaderBase::kCache16Count); \ [all …]
|
D | SkLinearGradient.h | 13 class SkLinearGradient : public SkGradientShaderBase { 19 class LinearGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { 28 typedef SkGradientShaderBase::GradientShaderBaseContext INHERITED; 46 typedef SkGradientShaderBase INHERITED;
|
D | SkRadialGradient.h | 14 class SkRadialGradient : public SkGradientShaderBase { 20 class RadialGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { 28 typedef SkGradientShaderBase::GradientShaderBaseContext INHERITED; 48 typedef SkGradientShaderBase INHERITED;
|
D | SkSweepGradient.h | 14 class SkSweepGradient : public SkGradientShaderBase { 20 class SweepGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { 28 typedef SkGradientShaderBase::GradientShaderBaseContext INHERITED; 54 typedef SkGradientShaderBase INHERITED;
|
D | SkTwoPointRadialGradient.h | 14 class SkTwoPointRadialGradient : public SkGradientShaderBase { 29 class TwoPointRadialGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { 36 typedef SkGradientShaderBase::GradientShaderBaseContext INHERITED; 62 typedef SkGradientShaderBase INHERITED;
|
D | SkTwoPointConicalGradient.h | 40 class SkTwoPointConicalGradient : public SkGradientShaderBase { 52 class TwoPointConicalGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { 60 typedef SkGradientShaderBase::GradientShaderBaseContext INHERITED; 95 typedef SkGradientShaderBase INHERITED;
|
D | SkRadialGradient.cpp | 99 (sqrt_table[fi] >> SkGradientShaderBase::kSqrt16Shift)]; in shadeSpan16_radial_clamp() 111 (sqrt_table[fi] >> SkGradientShaderBase::kSqrt16Shift)]; in shadeSpan16_radial_clamp() 125 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache16Shift)]; in shadeSpan16_radial() 149 : SkGradientShaderBase(desc) in SkRadialGradient() 316 (sqrt_table[fi] >> SkGradientShaderBase::kSqrt32Shift)]; \ 339 unsigned fi = SkGradientShaderBase::kCache32Count - 1; in shadeSpan_radial_clamp() 366 SkGradientShaderBase::kSqrt32Shift)]; in shadeSpan_radial_clamp() 377 SkGradientShaderBase::kSqrt32Shift)]; in shadeSpan_radial_clamp() 397 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache32Shift)]; in shadeSpan_radial() 462 *dstC++ = cache[fi >> SkGradientShaderBase::kCache32Shift]; in shadeSpan()
|
D | SkTwoPointConicalGradient.cpp | 149 (index >> SkGradientShaderBase::kCache32Shift)]; in twopoint_clamp() 166 (index >> SkGradientShaderBase::kCache32Shift)]; in twopoint_repeat() 183 (index >> SkGradientShaderBase::kCache32Shift)]; in twopoint_mirror() 200 : SkGradientShaderBase(desc) in SkTwoPointConicalGradient()
|
D | SkTwoPointRadialGradient.cpp | 125 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan_twopoint_clamp() 142 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan_twopoint_mirror() 160 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan_twopoint_repeat() 173 : SkGradientShaderBase(desc) in SkTwoPointRadialGradient() 314 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan()
|
D | SkSweepGradient.cpp | 12 : SkGradientShaderBase(desc) in SkSweepGradient()
|