HomeSort by relevance Sort by last modified time
    Searched refs:premul (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /external/skia/src/shaders/gradients/
Sk4fGradientPriv.h 47 // - store() Store one Sk4f to dest. Optionally handles premul, color space
54 template <typename dst, ApplyPremul premul>
57 template <ApplyPremul premul>
58 struct DstTraits<SkPMColor, premul> {
59 using PM = PremulTraits<premul>;
61 // For L32, prescaling by 255 saves a per-pixel multiplication when premul is not needed.
63 return premul == ApplyPremul::False
69 if (premul == ApplyPremul::False) {
88 if (premul == ApplyPremul::False) {
101 return premul == ApplyPremul::False ? bias : 0
    [all...]
Sk4fLinearGradient.h 28 template <typename dstType, ApplyPremul premul>
31 template <typename dstType, ApplyPremul premul, SkShader::TileMode tileMode>
Sk4fLinearGradient.cpp 16 template<typename dstType, ApplyPremul premul>
24 Sk4f c0 = c + DstTraits<dstType, premul>::pre_lerp_bias(bias0),
25 c1 = c + dc + DstTraits<dstType, premul>::pre_lerp_bias(bias1),
30 DstTraits<dstType, premul>::store4x(c0, c1, c2, c3, dst, bias0, bias1);
40 DstTraits<dstType, premul>::store(c0, dst++, bias0);
41 DstTraits<dstType, premul>::store(c1, dst++, bias1);
45 DstTraits<dstType, premul>::store(c0, dst, bias0);
170 // In premul interpolation mode, components are pre-scaled by 255 and the store
199 template<typename dstType, ApplyPremul premul>
209 this->shadeSpanInternal<dstType, premul, kClamp_TileMode >(x, y, dst, count, bias0, bias1)
    [all...]
Sk4fGradientBase.cpp 14 Sk4f pack_color(const SkColor4f& c4f, bool premul, const Sk4f& component_scale) {
15 const Sk4f pm4f = premul
16 ? c4f.premul().to4f()
  /external/skqp/src/shaders/gradients/
Sk4fGradientPriv.h 47 // - store() Store one Sk4f to dest. Optionally handles premul, color space
54 template <typename dst, ApplyPremul premul>
57 template <ApplyPremul premul>
58 struct DstTraits<SkPMColor, premul> {
59 using PM = PremulTraits<premul>;
61 // For L32, prescaling by 255 saves a per-pixel multiplication when premul is not needed.
63 return premul == ApplyPremul::False
69 if (premul == ApplyPremul::False) {
88 if (premul == ApplyPremul::False) {
101 return premul == ApplyPremul::False ? bias : 0
    [all...]
Sk4fLinearGradient.h 28 template <typename dstType, ApplyPremul premul>
31 template <typename dstType, ApplyPremul premul, SkShader::TileMode tileMode>
Sk4fLinearGradient.cpp 16 template<typename dstType, ApplyPremul premul>
24 Sk4f c0 = c + DstTraits<dstType, premul>::pre_lerp_bias(bias0),
25 c1 = c + dc + DstTraits<dstType, premul>::pre_lerp_bias(bias1),
30 DstTraits<dstType, premul>::store4x(c0, c1, c2, c3, dst, bias0, bias1);
40 DstTraits<dstType, premul>::store(c0, dst++, bias0);
41 DstTraits<dstType, premul>::store(c1, dst++, bias1);
45 DstTraits<dstType, premul>::store(c0, dst, bias0);
170 // In premul interpolation mode, components are pre-scaled by 255 and the store
199 template<typename dstType, ApplyPremul premul>
206 this->shadeSpanInternal<dstType, premul, kClamp_TileMode >(x, y, dst, count, bias0, bias1)
    [all...]
Sk4fGradientBase.cpp 14 Sk4f pack_color(const SkColor4f& c4f, bool premul, const Sk4f& component_scale) {
15 const Sk4f pm4f = premul
16 ? c4f.premul().to4f()
  /external/skia/src/gpu/effects/
GrPremulInputFragmentProcessor.fp 19 return input.premul();
GrPremulInputFragmentProcessor.h 20 return input.premul();
  /external/skqp/src/gpu/effects/
GrPremulInputFragmentProcessor.fp 19 return input.premul();
GrPremulInputFragmentProcessor.h 20 return input.premul();
  /external/skia/tools/gdb/
bitmap.py 37 premul = 2 variable in class:AlphaType
69 elif alpha_type == AlphaType.premul.value:
  /external/skqp/tools/gdb/
bitmap.py 37 premul = 2 variable in class:AlphaType
69 elif alpha_type == AlphaType.premul.value:
  /external/skia/tests/
SkColor4fTest.cpp 49 // First just test opaque colors, so that the premul should be exact
53 SkPM4f pm4 = c4.premul();
59 // We compare with a tolerance, in case our premul multiply is implemented at slightly
62 pm4 = c4.premul();
Float16Test.cpp 51 SkPM4f origpm4 = c4.premul();
  /external/skqp/tests/
SkColor4fTest.cpp 49 // First just test opaque colors, so that the premul should be exact
53 SkPM4f pm4 = c4.premul();
59 // We compare with a tolerance, in case our premul multiply is implemented at slightly
62 pm4 = c4.premul();
Float16Test.cpp 51 SkPM4f origpm4 = c4.premul();
  /external/skia/src/shaders/
SkColorShader.cpp 59 fPM4f = c4.premul();
175 fPM4f = c4.premul();
222 return GrConstColorProcessor::Make(color.premul(),
260 rec.fAlloc, to_colorspace(fColor4, fColorSpace.get(), rec.fDstCS).premul());
  /external/skqp/src/shaders/
SkColorShader.cpp 59 fPM4f = c4.premul();
175 fPM4f = c4.premul();
222 return GrConstColorProcessor::Make(color.premul(),
260 rec.fAlloc, to_colorspace(fColor4, fColorSpace.get(), rec.fDstCS).premul());
  /external/skia/include/core/
SkColor.h 188 SkPM4f premul() const;
  /external/skia/src/gpu/text/
GrTextUtils.cpp 25 fFilteredPremulColor = filteredColor.premul().toGrColor();
  /external/skqp/include/core/
SkColor.h 188 SkPM4f premul() const;
  /external/skia/src/core/
SkColorFilter.cpp 68 SkPM4f dst, src = c.premul();
248 p->append(SkRasterPipeline::premul);
  /external/skqp/src/core/
SkColorFilter.cpp 68 SkPM4f dst, src = c.premul();
251 p->append(SkRasterPipeline::premul);

Completed in 530 milliseconds

1 2 3 4