/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()
|
/external/skia/src/gpu/gradients/generated/ |
D | GrUnrolledBinaryGradientColorizer.cpp | 24 const GrUnrolledBinaryGradientColorizer& _outer = in emitCode() local 26 (void)_outer; in emitCode() 27 auto intervalCount = _outer.intervalCount; in emitCode() 29 auto scale0_1 = _outer.scale0_1; in emitCode() 31 auto scale2_3 = _outer.scale2_3; in emitCode() 33 auto scale4_5 = _outer.scale4_5; in emitCode() 35 auto scale6_7 = _outer.scale6_7; in emitCode() 37 auto scale8_9 = _outer.scale8_9; in emitCode() 39 auto scale10_11 = _outer.scale10_11; in emitCode() 41 auto scale12_13 = _outer.scale12_13; in emitCode() [all …]
|
D | GrClampedGradientEffect.cpp | 24 const GrClampedGradientEffect& _outer = args.fFp.cast<GrClampedGradientEffect>(); in emitCode() local 25 (void)_outer; in emitCode() 26 auto leftBorderColor = _outer.leftBorderColor; in emitCode() 28 auto rightBorderColor = _outer.rightBorderColor; in emitCode() 30 auto makePremul = _outer.makePremul; in emitCode() 32 auto colorsAreOpaque = _outer.colorsAreOpaque; in emitCode() 39 _sample1099 = this->invokeChild(_outer.gradLayout_index, args); in emitCode() 44 (_outer.childProcessor(_outer.gradLayout_index).preservesOpaqueInput() ? "true" in emitCode() 51 _sample1767 = this->invokeChild(_outer.colorizer_index, _input1767.c_str(), args); in emitCode() 54 (_outer.makePremul ? "true" : "false"), args.fOutputColor, in emitCode() [all …]
|
D | GrTwoPointConicalGradientLayout.cpp | 24 const GrTwoPointConicalGradientLayout& _outer = in emitCode() local 26 (void)_outer; in emitCode() 27 auto gradientMatrix = _outer.gradientMatrix; in emitCode() 29 auto type = _outer.type; in emitCode() 31 auto isRadiusIncreasing = _outer.isRadiusIncreasing; in emitCode() 33 auto isFocalOnCircle = _outer.isFocalOnCircle; in emitCode() 35 auto isWellBehaved = _outer.isWellBehaved; in emitCode() 37 auto isSwapped = _outer.isSwapped; in emitCode() 39 auto isNativelyFocal = _outer.isNativelyFocal; in emitCode() 41 auto focalParams = _outer.focalParams; in emitCode() [all …]
|
D | GrTiledGradientEffect.cpp | 24 const GrTiledGradientEffect& _outer = args.fFp.cast<GrTiledGradientEffect>(); in emitCode() local 25 (void)_outer; in emitCode() 26 auto mirror = _outer.mirror; in emitCode() 28 auto makePremul = _outer.makePremul; in emitCode() 30 auto colorsAreOpaque = _outer.colorsAreOpaque; in emitCode() 33 _sample453 = this->invokeChild(_outer.gradLayout_index, args); in emitCode() 41 (_outer.childProcessor(_outer.gradLayout_index).preservesOpaqueInput() ? "true" in emitCode() 43 args.fOutputColor, (_outer.mirror ? "true" : "false")); in emitCode() 46 _sample1464 = this->invokeChild(_outer.colorizer_index, _input1464.c_str(), args); in emitCode() 49 (_outer.makePremul ? "true" : "false"), args.fOutputColor, in emitCode()
|
D | GrDualIntervalGradientColorizer.cpp | 24 const GrDualIntervalGradientColorizer& _outer = in emitCode() local 26 (void)_outer; in emitCode() 27 auto scale01 = _outer.scale01; in emitCode() 29 auto bias01 = _outer.bias01; in emitCode() 31 auto scale23 = _outer.scale23; in emitCode() 33 auto bias23 = _outer.bias23; in emitCode() 35 auto threshold = _outer.threshold; in emitCode() 61 const GrDualIntervalGradientColorizer& _outer = in onSetData() local 64 const SkPMColor4f& scale01Value = _outer.scale01; in onSetData() 69 const SkPMColor4f& bias01Value = _outer.bias01; in onSetData() [all …]
|
D | GrSingleIntervalGradientColorizer.cpp | 24 const GrSingleIntervalGradientColorizer& _outer = in emitCode() local 26 (void)_outer; in emitCode() 27 auto start = _outer.start; in emitCode() 29 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/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 | 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 | 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 | 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()
|
/external/skia/src/gpu/effects/generated/ |
D | GrCircleEffect.cpp | 24 const GrCircleEffect& _outer = args.fFp.cast<GrCircleEffect>(); in emitCode() local 25 (void)_outer; in emitCode() 26 auto edgeType = _outer.edgeType; in emitCode() 28 auto center = _outer.center; in emitCode() 30 auto radius = _outer.radius; in emitCode() 41 prevRadius, (int)_outer.edgeType, (int)_outer.edgeType, in emitCode() 47 args.fUniformHandler->getUniformCStr(circleVar), (int)_outer.edgeType, in emitCode() 48 (int)_outer.edgeType, (int)_outer.edgeType, args.fOutputColor, args.fInputColor, in emitCode() 55 const GrCircleEffect& _outer = _proc.cast<GrCircleEffect>(); in onSetData() local 56 auto edgeType = _outer.edgeType; in onSetData() [all …]
|
D | GrOverrideInputFragmentProcessor.cpp | 24 const GrOverrideInputFragmentProcessor& _outer = in emitCode() local 26 (void)_outer; in emitCode() 27 auto useUniform = _outer.useUniform; in emitCode() 29 auto uniformColor = _outer.uniformColor; in emitCode() 31 auto literalColor = _outer.literalColor; in emitCode() 40 (_outer.useUniform ? "true" : "false"), in emitCode() 43 _outer.literalColor.fR, _outer.literalColor.fG, _outer.literalColor.fB, in emitCode() 44 _outer.literalColor.fA); in emitCode() 47 _sample1992 = this->invokeChild(_outer.fp_index, _input1992.c_str(), args); in emitCode() 54 const GrOverrideInputFragmentProcessor& _outer = in onSetData() local [all …]
|
D | GrComposeLerpEffect.cpp | 24 const GrComposeLerpEffect& _outer = args.fFp.cast<GrComposeLerpEffect>(); in emitCode() local 25 (void)_outer; in emitCode() 26 auto weight = _outer.weight; in emitCode() 31 if (_outer.child1_index >= 0) { in emitCode() 32 _sample290 = this->invokeChild(_outer.child1_index, args); in emitCode() 37 if (_outer.child2_index >= 0) { in emitCode() 38 _sample358 = this->invokeChild(_outer.child2_index, args); in emitCode() 43 args.fOutputColor, _outer.child1_index >= 0 ? "true" : "false", in emitCode() 45 _outer.child2_index >= 0 ? "true" : "false", _sample358.c_str(), in emitCode() 52 const GrComposeLerpEffect& _outer = _proc.cast<GrComposeLerpEffect>(); in onSetData() local [all …]
|
D | GrColorMatrixFragmentProcessor.cpp | 24 const GrColorMatrixFragmentProcessor& _outer = in emitCode() local 26 (void)_outer; in emitCode() 27 auto m = _outer.m; in emitCode() 29 auto v = _outer.v; in emitCode() 31 auto unpremulInput = _outer.unpremulInput; in emitCode() 33 auto clampRGBOutput = _outer.clampRGBOutput; in emitCode() 35 auto premulOutput = _outer.premulOutput; in emitCode() 45 args.fInputColor, (_outer.unpremulInput ? "true" : "false"), args.fOutputColor, in emitCode() 48 (_outer.clampRGBOutput ? "true" : "false"), args.fOutputColor, args.fOutputColor, in emitCode() 49 args.fOutputColor, args.fOutputColor, (_outer.premulOutput ? "true" : "false"), in emitCode() [all …]
|
D | GrMagnifierEffect.cpp | 24 const GrMagnifierEffect& _outer = args.fFp.cast<GrMagnifierEffect>(); in emitCode() local 25 (void)_outer; in emitCode() 26 auto bounds = _outer.bounds; in emitCode() 28 auto srcRect = _outer.srcRect; in emitCode() 30 auto xInvZoom = _outer.xInvZoom; in emitCode() 32 auto yInvZoom = _outer.yInvZoom; in emitCode() 34 auto xInvInset = _outer.xInvInset; in emitCode() 36 auto yInvInset = _outer.yInvInset; in emitCode() 81 const GrMagnifierEffect& _outer = _proc.cast<GrMagnifierEffect>(); in onSetData() local 83 pdman.set1f(xInvZoomVar, (_outer.xInvZoom)); in onSetData() [all …]
|
D | GrComposeLerpRedEffect.cpp | 24 const GrComposeLerpRedEffect& _outer = args.fFp.cast<GrComposeLerpRedEffect>(); in emitCode() local 25 (void)_outer; in emitCode() 27 if (_outer.child1_index >= 0) { in emitCode() 28 _sample292 = this->invokeChild(_outer.child1_index, args); in emitCode() 33 if (_outer.child2_index >= 0) { in emitCode() 34 _sample360 = this->invokeChild(_outer.child2_index, args); in emitCode() 39 _sample411 = this->invokeChild(_outer.lerp_index, args); in emitCode() 41 _outer.child1_index >= 0 ? "true" : "false", _sample292.c_str(), in emitCode() 42 args.fInputColor, _outer.child2_index >= 0 ? "true" : "false", in emitCode()
|
D | GrMixerEffect.cpp | 24 const GrMixerEffect& _outer = args.fFp.cast<GrMixerEffect>(); in emitCode() local 25 (void)_outer; in emitCode() 26 auto weight = _outer.weight; in emitCode() 32 _sample1278 = this->invokeChild(_outer.fp0_index, _input1278.c_str(), args); in emitCode() 36 if (_outer.fp1_index >= 0) { in emitCode() 37 _sample1335 = this->invokeChild(_outer.fp1_index, _input1335.c_str(), args); in emitCode() 42 _outer.fp1_index >= 0 ? "true" : "false", _sample1335.c_str(), in emitCode() 50 const GrMixerEffect& _outer = _proc.cast<GrMixerEffect>(); in onSetData() local 51 { pdman.set1f(weightVar, (_outer.weight)); } in onSetData()
|
D | GrAARectEffect.cpp | 24 const GrAARectEffect& _outer = args.fFp.cast<GrAARectEffect>(); in emitCode() local 25 (void)_outer; in emitCode() 26 auto edgeType = _outer.edgeType; in emitCode() 28 auto rect = _outer.rect; in emitCode() 45 (int)_outer.edgeType, in emitCode() 55 (int)_outer.edgeType, in emitCode() 56 (int)_outer.edgeType, in emitCode() 64 const GrAARectEffect& _outer = _proc.cast<GrAARectEffect>(); in onSetData() local 65 auto edgeType = _outer.edgeType; in onSetData() 67 auto rect = _outer.rect; in onSetData()
|
D | GrEllipseEffect.cpp | 24 const GrEllipseEffect& _outer = args.fFp.cast<GrEllipseEffect>(); in emitCode() local 25 (void)_outer; in emitCode() 26 auto edgeType = _outer.edgeType; in emitCode() 28 auto center = _outer.center; in emitCode() 30 auto radii = _outer.radii; in emitCode() 60 (int)_outer.edgeType, args.fOutputColor, args.fInputColor); in emitCode() 66 const GrEllipseEffect& _outer = _proc.cast<GrEllipseEffect>(); in onSetData() local 67 auto edgeType = _outer.edgeType; in onSetData() 69 auto center = _outer.center; in onSetData() 71 auto radii = _outer.radii; in onSetData()
|