/external/skqp/src/gpu/gradients/ |
D | GrUnrolledBinaryGradientColorizer.cpp | 23 const GrUnrolledBinaryGradientColorizer& _outer = in emitCode() local 25 (void)_outer; in emitCode() 26 auto intervalCount = _outer.intervalCount(); in emitCode() 28 auto scale0_1 = _outer.scale0_1(); in emitCode() 30 auto scale2_3 = _outer.scale2_3(); in emitCode() 32 auto scale4_5 = _outer.scale4_5(); in emitCode() 34 auto scale6_7 = _outer.scale6_7(); in emitCode() 36 auto scale8_9 = _outer.scale8_9(); in emitCode() 38 auto scale10_11 = _outer.scale10_11(); in emitCode() 40 auto scale12_13 = _outer.scale12_13(); in emitCode() [all …]
|
D | GrTwoPointConicalGradientLayout.cpp | 23 const GrTwoPointConicalGradientLayout& _outer = in emitCode() local 25 (void)_outer; in emitCode() 26 auto gradientMatrix = _outer.gradientMatrix(); in emitCode() 28 auto type = _outer.type(); in emitCode() 30 auto isRadiusIncreasing = _outer.isRadiusIncreasing(); in emitCode() 32 auto isFocalOnCircle = _outer.isFocalOnCircle(); in emitCode() 34 auto isWellBehaved = _outer.isWellBehaved(); in emitCode() 36 auto isSwapped = _outer.isSwapped(); in emitCode() 38 auto isNativelyFocal = _outer.isNativelyFocal(); in emitCode() 40 auto focalParams = _outer.focalParams(); in emitCode() [all …]
|
D | GrClampedGradientEffect.cpp | 23 const GrClampedGradientEffect& _outer = args.fFp.cast<GrClampedGradientEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto leftBorderColor = _outer.leftBorderColor(); in emitCode() 27 auto rightBorderColor = _outer.rightBorderColor(); in emitCode() 29 auto makePremul = _outer.makePremul(); in emitCode() 31 auto colorsAreOpaque = _outer.colorsAreOpaque(); in emitCode() 44 (_outer.childProcessor(1).preservesOpaqueInput() ? "true" : "false"), in emitCode() 53 (_outer.makePremul() ? "true" : "false"), args.fOutputColor, in emitCode() 60 const GrClampedGradientEffect& _outer = _proc.cast<GrClampedGradientEffect>(); in onSetData() local 62 const SkPMColor4f& leftBorderColorValue = _outer.leftBorderColor(); in onSetData() [all …]
|
D | GrDualIntervalGradientColorizer.cpp | 23 const GrDualIntervalGradientColorizer& _outer = in emitCode() local 25 (void)_outer; in emitCode() 26 auto scale01 = _outer.scale01(); in emitCode() 28 auto bias01 = _outer.bias01(); in emitCode() 30 auto scale23 = _outer.scale23(); in emitCode() 32 auto bias23 = _outer.bias23(); in emitCode() 34 auto threshold = _outer.threshold(); in emitCode() 60 const GrDualIntervalGradientColorizer& _outer = in onSetData() local 63 const SkPMColor4f& scale01Value = _outer.scale01(); in onSetData() 68 const SkPMColor4f& bias01Value = _outer.bias01(); in onSetData() [all …]
|
D | GrTiledGradientEffect.cpp | 23 const GrTiledGradientEffect& _outer = args.fFp.cast<GrTiledGradientEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto mirror = _outer.mirror(); in emitCode() 27 auto makePremul = _outer.makePremul(); in emitCode() 29 auto colorsAreOpaque = _outer.colorsAreOpaque(); in emitCode() 42 (_outer.childProcessor(1).preservesOpaqueInput() ? "true" : "false"), in emitCode() 43 args.fOutputColor, (_outer.mirror() ? "true" : "false")); in emitCode() 49 (_outer.makePremul() ? "true" : "false"), args.fOutputColor, in emitCode()
|
D | GrSingleIntervalGradientColorizer.cpp | 23 const GrSingleIntervalGradientColorizer& _outer = in emitCode() local 25 (void)_outer; in emitCode() 26 auto start = _outer.start(); in emitCode() 28 auto end = _outer.end(); in emitCode() 43 const GrSingleIntervalGradientColorizer& _outer = in onSetData() local 46 const SkPMColor4f& startValue = _outer.start(); in onSetData() 51 const SkPMColor4f& endValue = _outer.end(); in onSetData()
|
/external/skia/src/gpu/gradients/ |
D | GrUnrolledBinaryGradientColorizer.cpp | 23 const GrUnrolledBinaryGradientColorizer& _outer = in emitCode() local 25 (void)_outer; in emitCode() 26 auto intervalCount = _outer.intervalCount(); in emitCode() 28 auto scale0_1 = _outer.scale0_1(); in emitCode() 30 auto scale2_3 = _outer.scale2_3(); in emitCode() 32 auto scale4_5 = _outer.scale4_5(); in emitCode() 34 auto scale6_7 = _outer.scale6_7(); in emitCode() 36 auto scale8_9 = _outer.scale8_9(); in emitCode() 38 auto scale10_11 = _outer.scale10_11(); in emitCode() 40 auto scale12_13 = _outer.scale12_13(); in emitCode() [all …]
|
D | GrTwoPointConicalGradientLayout.cpp | 23 const GrTwoPointConicalGradientLayout& _outer = in emitCode() local 25 (void)_outer; in emitCode() 26 auto gradientMatrix = _outer.gradientMatrix(); in emitCode() 28 auto type = _outer.type(); in emitCode() 30 auto isRadiusIncreasing = _outer.isRadiusIncreasing(); in emitCode() 32 auto isFocalOnCircle = _outer.isFocalOnCircle(); in emitCode() 34 auto isWellBehaved = _outer.isWellBehaved(); in emitCode() 36 auto isSwapped = _outer.isSwapped(); in emitCode() 38 auto isNativelyFocal = _outer.isNativelyFocal(); in emitCode() 40 auto focalParams = _outer.focalParams(); in emitCode() [all …]
|
D | GrClampedGradientEffect.cpp | 23 const GrClampedGradientEffect& _outer = args.fFp.cast<GrClampedGradientEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto leftBorderColor = _outer.leftBorderColor(); in emitCode() 27 auto rightBorderColor = _outer.rightBorderColor(); in emitCode() 29 auto makePremul = _outer.makePremul(); in emitCode() 31 auto colorsAreOpaque = _outer.colorsAreOpaque(); in emitCode() 38 this->emitChild(_outer.gradLayout_index(), &_child1, args); in emitCode() 43 (_outer.childProcessor(_outer.gradLayout_index()).preservesOpaqueInput() ? "true" in emitCode() 50 this->emitChild(_outer.colorizer_index(), _input0.c_str(), &_child0, args); in emitCode() 53 (_outer.makePremul() ? "true" : "false"), args.fOutputColor, in emitCode() [all …]
|
D | GrTiledGradientEffect.cpp | 23 const GrTiledGradientEffect& _outer = args.fFp.cast<GrTiledGradientEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto mirror = _outer.mirror(); in emitCode() 27 auto makePremul = _outer.makePremul(); in emitCode() 29 auto colorsAreOpaque = _outer.colorsAreOpaque(); in emitCode() 32 this->emitChild(_outer.gradLayout_index(), &_child1, args); in emitCode() 40 (_outer.childProcessor(_outer.gradLayout_index()).preservesOpaqueInput() ? "true" in emitCode() 42 args.fOutputColor, (_outer.mirror() ? "true" : "false")); in emitCode() 45 this->emitChild(_outer.colorizer_index(), _input0.c_str(), &_child0, args); in emitCode() 48 (_outer.makePremul() ? "true" : "false"), args.fOutputColor, in emitCode()
|
D | GrDualIntervalGradientColorizer.cpp | 23 const GrDualIntervalGradientColorizer& _outer = in emitCode() local 25 (void)_outer; in emitCode() 26 auto scale01 = _outer.scale01(); in emitCode() 28 auto bias01 = _outer.bias01(); in emitCode() 30 auto scale23 = _outer.scale23(); in emitCode() 32 auto bias23 = _outer.bias23(); in emitCode() 34 auto threshold = _outer.threshold(); in emitCode() 60 const GrDualIntervalGradientColorizer& _outer = in onSetData() local 63 const SkPMColor4f& scale01Value = _outer.scale01(); in onSetData() 68 const SkPMColor4f& bias01Value = _outer.bias01(); in onSetData() [all …]
|
D | GrSingleIntervalGradientColorizer.cpp | 23 const GrSingleIntervalGradientColorizer& _outer = in emitCode() local 25 (void)_outer; in emitCode() 26 auto start = _outer.start(); in emitCode() 28 auto end = _outer.end(); in emitCode() 42 const GrSingleIntervalGradientColorizer& _outer = in onSetData() local 45 const SkPMColor4f& startValue = _outer.start(); in onSetData() 50 const SkPMColor4f& endValue = _outer.end(); in onSetData()
|
/external/skia/src/gpu/effects/ |
D | GrOverrideInputFragmentProcessor.cpp | 26 const GrOverrideInputFragmentProcessor& _outer = in emitCode() local 28 (void)_outer; in emitCode() 29 auto useUniform = _outer.useUniform; in emitCode() 31 auto uniformColor = _outer.uniformColor; in emitCode() 33 auto literalColor = _outer.literalColor; in emitCode() 42 (_outer.useUniform ? "true" : "false"), in emitCode() 45 _outer.literalColor.fR, _outer.literalColor.fG, _outer.literalColor.fB, in emitCode() 46 _outer.literalColor.fA); in emitCode() 49 this->emitChild(_outer.fp_index, _input0.c_str(), &_child0, args); in emitCode() 56 const GrOverrideInputFragmentProcessor& _outer = in onSetData() local [all …]
|
D | GrCircleEffect.cpp | 23 const GrCircleEffect& _outer = args.fFp.cast<GrCircleEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto edgeType = _outer.edgeType(); in emitCode() 27 auto center = _outer.center(); in emitCode() 29 auto radius = _outer.radius(); in emitCode() 41 prevRadius, (int)_outer.edgeType(), (int)_outer.edgeType(), in emitCode() 47 args.fUniformHandler->getUniformCStr(fCircleVar), (int)_outer.edgeType(), in emitCode() 48 (int)_outer.edgeType(), (int)_outer.edgeType(), args.fOutputColor, in emitCode() 55 const GrCircleEffect& _outer = _proc.cast<GrCircleEffect>(); in onSetData() local 56 auto edgeType = _outer.edgeType(); in onSetData() [all …]
|
D | GrMagnifierEffect.cpp | 23 const GrMagnifierEffect& _outer = args.fFp.cast<GrMagnifierEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto bounds = _outer.bounds(); in emitCode() 27 auto srcRect = _outer.srcRect(); in emitCode() 29 auto xInvZoom = _outer.xInvZoom(); in emitCode() 31 auto yInvZoom = _outer.yInvZoom(); in emitCode() 33 auto xInvInset = _outer.xInvInset(); in emitCode() 35 auto yInvInset = _outer.yInvInset(); in emitCode() 76 const GrMagnifierEffect& _outer = _proc.cast<GrMagnifierEffect>(); in onSetData() local 78 pdman.set1f(fXInvZoomVar, (_outer.xInvZoom())); in onSetData() [all …]
|
D | GrMixerEffect.cpp | 23 const GrMixerEffect& _outer = args.fFp.cast<GrMixerEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto weight = _outer.weight(); in emitCode() 31 this->emitChild(_outer.fp0_index(), _input0.c_str(), &_child0, args); in emitCode() 35 if (_outer.fp1_index() >= 0) { in emitCode() 36 this->emitChild(_outer.fp1_index(), _input1.c_str(), &_child1, args); in emitCode() 41 _outer.fp1_index() >= 0 ? "true" : "false", _child1.c_str(), in emitCode() 49 const GrMixerEffect& _outer = _proc.cast<GrMixerEffect>(); in onSetData() local 50 { pdman.set1f(fWeightVar, (_outer.weight())); } in onSetData()
|
D | GrYUVtoRGBEffect.cpp | 104 const GrYUVtoRGBEffect& _outer = args.fFp.cast<GrYUVtoRGBEffect>(); in emitCode() local 105 (void)_outer; in emitCode() 107 auto colorSpaceMatrix = _outer.colorSpaceMatrix(); in emitCode() 133 _outer.yuvaIndex(0).fIndex, kChannelToChar[(int)_outer.yuvaIndex(0).fChannel], in emitCode() 134 _outer.yuvaIndex(1).fIndex, kChannelToChar[(int)_outer.yuvaIndex(1).fChannel], in emitCode() 135 _outer.yuvaIndex(2).fIndex, kChannelToChar[(int)_outer.yuvaIndex(2).fChannel], in emitCode() 139 if (_outer.yuvaIndex(3).fIndex >= 0) { in emitCode() 141 "half a = tmp%d.%c;", _outer.yuvaIndex(3).fIndex, in emitCode() 142 kChannelToChar[(int)_outer.yuvaIndex(3).fChannel]); in emitCode() 155 const GrYUVtoRGBEffect& _outer = _proc.cast<GrYUVtoRGBEffect>(); in onSetData() local [all …]
|
D | GrAARectEffect.cpp | 23 const GrAARectEffect& _outer = args.fFp.cast<GrAARectEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto edgeType = _outer.edgeType(); in emitCode() 27 auto rect = _outer.rect(); in emitCode() 44 (int)_outer.edgeType(), in emitCode() 54 (int)_outer.edgeType(), in emitCode() 55 (int)_outer.edgeType(), in emitCode() 63 const GrAARectEffect& _outer = _proc.cast<GrAARectEffect>(); in onSetData() local 64 auto edgeType = _outer.edgeType(); in onSetData() 66 auto rect = _outer.rect(); in onSetData()
|
D | GrEllipseEffect.cpp | 23 const GrEllipseEffect& _outer = args.fFp.cast<GrEllipseEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto edgeType = _outer.edgeType(); in emitCode() 27 auto center = _outer.center(); in emitCode() 29 auto radii = _outer.radii(); in emitCode() 59 (int)_outer.edgeType(), args.fOutputColor, args.fInputColor); in emitCode() 65 const GrEllipseEffect& _outer = _proc.cast<GrEllipseEffect>(); in onSetData() local 66 auto edgeType = _outer.edgeType(); in onSetData() 68 auto center = _outer.center(); in onSetData() 70 auto radii = _outer.radii(); in onSetData()
|
/external/skqp/src/gpu/effects/ |
D | GrCircleEffect.cpp | 23 const GrCircleEffect& _outer = args.fFp.cast<GrCircleEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto edgeType = _outer.edgeType(); in emitCode() 27 auto center = _outer.center(); in emitCode() 29 auto radius = _outer.radius(); in emitCode() 41 prevRadius, (int)_outer.edgeType(), (int)_outer.edgeType(), in emitCode() 47 args.fUniformHandler->getUniformCStr(fCircleVar), (int)_outer.edgeType(), in emitCode() 48 (int)_outer.edgeType(), (int)_outer.edgeType(), args.fOutputColor, in emitCode() 55 const GrCircleEffect& _outer = _proc.cast<GrCircleEffect>(); in onSetData() local 56 auto edgeType = _outer.edgeType(); in onSetData() [all …]
|
D | GrMagnifierEffect.cpp | 23 const GrMagnifierEffect& _outer = args.fFp.cast<GrMagnifierEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto bounds = _outer.bounds(); in emitCode() 27 auto srcRect = _outer.srcRect(); in emitCode() 29 auto xInvZoom = _outer.xInvZoom(); in emitCode() 31 auto yInvZoom = _outer.yInvZoom(); in emitCode() 33 auto xInvInset = _outer.xInvInset(); in emitCode() 35 auto yInvInset = _outer.yInvInset(); in emitCode() 78 const GrMagnifierEffect& _outer = _proc.cast<GrMagnifierEffect>(); in onSetData() local 80 pdman.set1f(fXInvZoomVar, (_outer.xInvZoom())); in onSetData() [all …]
|
D | GrYUVtoRGBEffect.cpp | 94 const GrYUVtoRGBEffect& _outer = args.fFp.cast<GrYUVtoRGBEffect>(); in emitCode() local 95 (void)_outer; in emitCode() 97 auto colorSpaceMatrix = _outer.colorSpaceMatrix(); in emitCode() 123 _outer.yuvaIndex(0).fIndex, kChannelToChar[(int)_outer.yuvaIndex(0).fChannel], in emitCode() 124 _outer.yuvaIndex(1).fIndex, kChannelToChar[(int)_outer.yuvaIndex(1).fChannel], in emitCode() 125 _outer.yuvaIndex(2).fIndex, kChannelToChar[(int)_outer.yuvaIndex(2).fChannel], in emitCode() 129 if (_outer.yuvaIndex(3).fIndex >= 0) { in emitCode() 131 "float a = tmp%d.%c;", _outer.yuvaIndex(3).fIndex, in emitCode() 132 kChannelToChar[(int)_outer.yuvaIndex(3).fChannel]); in emitCode() 145 const GrYUVtoRGBEffect& _outer = _proc.cast<GrYUVtoRGBEffect>(); in onSetData() local [all …]
|
D | GrAARectEffect.cpp | 23 const GrAARectEffect& _outer = args.fFp.cast<GrAARectEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto edgeType = _outer.edgeType(); in emitCode() 27 auto rect = _outer.rect(); in emitCode() 44 (int)_outer.edgeType(), in emitCode() 54 (int)_outer.edgeType(), in emitCode() 55 (int)_outer.edgeType(), in emitCode() 63 const GrAARectEffect& _outer = _proc.cast<GrAARectEffect>(); in onSetData() local 64 auto edgeType = _outer.edgeType(); in onSetData() 66 auto rect = _outer.rect(); in onSetData()
|
D | GrEllipseEffect.cpp | 23 const GrEllipseEffect& _outer = args.fFp.cast<GrEllipseEffect>(); in emitCode() local 24 (void)_outer; in emitCode() 25 auto edgeType = _outer.edgeType(); in emitCode() 27 auto center = _outer.center(); in emitCode() 29 auto radii = _outer.radii(); in emitCode() 52 (int)_outer.edgeType()); in emitCode() 64 const GrEllipseEffect& _outer = _proc.cast<GrEllipseEffect>(); in onSetData() local 65 auto edgeType = _outer.edgeType(); in onSetData() 67 auto center = _outer.center(); in onSetData() 69 auto radii = _outer.radii(); in onSetData()
|
D | GrRRectBlurEffect.cpp | 62 const GrRRectBlurEffect& _outer = args.fFp.cast<GrRRectBlurEffect>(); in emitCode() local 63 (void)_outer; in emitCode() 64 auto sigma = _outer.sigma(); in emitCode() 66 auto rect = _outer.rect(); in emitCode() 68 auto cornerRadius = _outer.cornerRadius(); in emitCode() 102 const GrRRectBlurEffect& _outer = _proc.cast<GrRRectBlurEffect>(); in onSetData() local 103 { pdman.set1f(fCornerRadiusVar, (_outer.cornerRadius())); } in onSetData() 104 auto sigma = _outer.sigma(); in onSetData() 106 auto rect = _outer.rect(); in onSetData() 110 GrSurfaceProxy& ninePatchSamplerProxy = *_outer.textureSampler(0).proxy(); in onSetData()
|