/third_party/flutter/skia/modules/skottie/src/effects/ |
D | TransformEffect.cpp | 65 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kAnchorPoint_Index), in attachTransformEffect() 69 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kPosition_Index), in attachTransformEffect() 73 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kRotation_Index), in attachTransformEffect() 77 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kSkew_Index), in attachTransformEffect() 81 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kSkewAxis_Index), in attachTransformEffect() 86 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kUniformScale_Index), in attachTransformEffect() 90 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kScaleHeight_Index), in attachTransformEffect() 94 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kScaleWidth_Index), in attachTransformEffect() 102 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kOpacity_Index), in attachTransformEffect()
|
D | LevelsEffect.cpp | 153 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kChannel_Index), in attachLevelsEffect() 157 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kInputBlack_Index), in attachLevelsEffect() 161 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kInputWhite_Index), in attachLevelsEffect() 165 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kOutputBlack_Index), in attachLevelsEffect() 169 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kOutputWhite_Index), in attachLevelsEffect() 173 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kGamma_Index), in attachLevelsEffect() 178 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kClipToOutBlack_Index), in attachLevelsEffect() 182 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kClipToOutWhite_Index), in attachLevelsEffect()
|
D | DropShadowEffect.cpp | 72 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kShadowColor_Index), in attachDropShadowEffect() 76 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kOpacity_Index), in attachDropShadowEffect() 80 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kDirection_Index), in attachDropShadowEffect() 84 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kDistance_Index), in attachDropShadowEffect() 88 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kSoftness_Index), in attachDropShadowEffect() 92 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kShadowOnly_Index), in attachDropShadowEffect()
|
D | GradientEffect.cpp | 113 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kStartPoint_Index), in attachGradientEffect() 117 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kEndPoint_Index), in attachGradientEffect() 121 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kStartColor_Index), in attachGradientEffect() 125 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kEndColor_Index), in attachGradientEffect() 129 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kRampShape_Index), in attachGradientEffect() 133 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kBlendRatio_Index), in attachGradientEffect() 137 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kRampScatter_Index), in attachGradientEffect()
|
D | TritoneEffect.cpp | 44 fBuilder->attachColor(*locolor_prop, "v"), in attachTritoneEffect() 45 fBuilder->attachColor(*micolor_prop, "v"), in attachTritoneEffect() 46 fBuilder->attachColor(*hicolor_prop, "v") }); in attachTritoneEffect() 51 fBuilder->bindProperty<ScalarValue>((*blend_prop)["v"], in attachTritoneEffect()
|
D | MotionTileEffect.cpp | 186 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kTileCenter_Index), in attachMotionTileEffect() 190 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kTileWidth_Index), in attachMotionTileEffect() 194 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kTileHeight_Index), in attachMotionTileEffect() 198 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kOutputWidth_Index), in attachMotionTileEffect() 202 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kOutputHeight_Index), in attachMotionTileEffect() 206 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kMirrorEdges_Index), in attachMotionTileEffect() 210 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kPhase_Index), in attachMotionTileEffect() 214 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kHorizontalPhaseShift_Index), in attachMotionTileEffect()
|
D | RadialWipeEffect.cpp | 148 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kCompletion_Index), in attachRadialWipeEffect() 152 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kStartAngle_Index), in attachRadialWipeEffect() 156 fBuilder->bindProperty<VectorValue>(GetPropValue(jprops, kWipeCenter_Index), in attachRadialWipeEffect() 160 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kWipe_Index), in attachRadialWipeEffect() 164 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kFeather_Index), in attachRadialWipeEffect()
|
D | TintEffect.cpp | 43 fBuilder->attachColor(*color0_prop, "v"), in attachTintEffect() 44 fBuilder->attachColor(*color1_prop, "v")); in attachTintEffect() 49 fBuilder->bindProperty<ScalarValue>((*amount_prop)["v"], in attachTintEffect()
|
D | Effects.cpp | 18 : fBuilder(abuilder) in EffectBuilder() 86 fBuilder->log(Logger::Level::kWarning, nullptr, "Unsupported layer effect type: %d.", ty); in findBuilder() 108 const AnimationBuilder::AutoPropertyTracker apt(fBuilder, *jeffect); in attachEffects() 112 fBuilder->log(Logger::Level::kError, jeffect, "Invalid layer effect."); in attachEffects()
|
D | VenetianBlindsEffect.cpp | 149 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kCompletion_Index), in attachVenetianBlindsEffect() 153 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kDirection_Index), in attachVenetianBlindsEffect() 157 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kWidth_Index), in attachVenetianBlindsEffect() 161 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kFeather_Index), in attachVenetianBlindsEffect()
|
D | GaussianBlurEffect.cpp | 92 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kBlurriness_Index), in attachGaussianBlurEffect() 96 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kDimensions_Index), in attachGaussianBlurEffect() 100 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kRepeatEdge_Index), in attachGaussianBlurEffect()
|
D | LinearWipeEffect.cpp | 107 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kCompletion_Index), in attachLinearWipeEffect() 111 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kAngle_Index), in attachLinearWipeEffect() 115 fBuilder->bindProperty<ScalarValue>(GetPropValue(jprops, kFeather_Index), in attachLinearWipeEffect()
|
D | FillEffect.cpp | 41 sk_sp<sksg::Color> color_node = fBuilder->attachColor(*color_prop, "v"); in attachFillEffect() 46 fBuilder->bindProperty<ScalarValue>((*opacity_prop)["v"], in attachFillEffect()
|
/third_party/skia/modules/skottie/src/ |
D | SkottiePriv.h | 102 : fBuilder(builder) in AutoScope() 104 , fPrevScope(fBuilder->fCurrentAnimatorScope) { in AutoScope() 105 fBuilder->fCurrentAnimatorScope = &fCurrentScope; in AutoScope() 109 fBuilder->fCurrentAnimatorScope = fPrevScope; in release() 110 SkDEBUGCODE(fBuilder = nullptr); in release() 115 ~AutoScope() { SkASSERT(!fBuilder); } in ~AutoScope() 118 const AnimationBuilder* fBuilder; 151 : fBuilder(builder) in AutoPropertyTracker() 153 if (fBuilder->fPropertyObserver) { in AutoPropertyTracker() 156 observer->onEnterNode(fBuilder->fPropertyObserverContext, fNodeType); in AutoPropertyTracker() [all …]
|
/third_party/flutter/skia/modules/skottie/src/ |
D | SkottiePriv.h | 100 : fBuilder(builder) in AutoScope() 102 , fPrevScope(fBuilder->fCurrentAnimatorScope) { in AutoScope() 103 fBuilder->fCurrentAnimatorScope = &fCurrentScope; in AutoScope() 107 fBuilder->fCurrentAnimatorScope = fPrevScope; in release() 108 SkDEBUGCODE(fBuilder = nullptr); in release() 113 ~AutoScope() { SkASSERT(!fBuilder); } in ~AutoScope() 116 const AnimationBuilder* fBuilder; 144 : fBuilder(builder) in AutoPropertyTracker() 146 if (fBuilder->fPropertyObserver) { in AutoPropertyTracker() 152 if (fBuilder->fPropertyObserver) { in ~AutoPropertyTracker() [all …]
|
/third_party/skia/modules/skottie/src/effects/ |
D | Effects.cpp | 25 : fBuilder(abuilder) in EffectBuilder() 32 EffectBuilderT fBuilder; in findBuilder() member 74 return binfo->fBuilder; in findBuilder() 99 fBuilder->log(Logger::Level::kWarning, &jeffect, in findBuilder() 122 …const AnimationBuilder::AutoPropertyTracker apt(fBuilder, *jeffect, PropertyObserver::NodeType::EF… in attachEffects() 126 fBuilder->log(Logger::Level::kError, jeffect, "Invalid layer effect."); in attachEffects() 163 fBuilder->log(Logger::Level::kWarning, jstyle, "Unsupported layer style."); in attachStyles()
|
D | TransformEffect.cpp | 82 auto transform_adapter = TransformAdapter2D::Make(*fBuilder, in attachTransformEffect() 95 return fBuilder->attachDiscardableAdapter<TransformEffectAdapter> in attachTransformEffect() 96 (*fBuilder, in attachTransformEffect()
|
D | Effects.h | 110 const AnimationBuilder* fBuilder; variable 122 , fBuilder(abuilder) in EffectBinder() 127 fContainer->bind(fBuilder, EffectBuilder::GetPropValue(fProps, prop_index), value); in bind() 134 const AnimationBuilder& fBuilder; variable
|
/third_party/skia/tests/ |
D | SkDSLRuntimeEffectTest.cpp | 46 fBuilder.init(std::move(effect)); in end() 51 return fBuilder->uniform(SkString(name).c_str()); in uniform() 55 return fBuilder->child(SkString(name).c_str()); in child() 62 auto shader = fBuilder->makeShader(nullptr, false); in test() 95 actual[3], fBuilder->effect()->source().c_str())); in test() 108 SkTLazy<SkRuntimeShaderBuilder> fBuilder; member in DSLTestEffect
|
D | SkRuntimeEffectTest.cpp | 322 fBuilder.init(std::move(effect)); in build() 326 return fBuilder->uniform(name); in uniform() 330 return fBuilder->child(name); in child() 334 auto shader = fBuilder->makeShader(/*localMatrix=*/nullptr, /*isOpaque=*/false); in test() 347 verify_2x2_surface_results(fReporter, fBuilder->effect(), fSurface.get(), expected); in test() 357 SkTLazy<SkRuntimeShaderBuilder> fBuilder; member in TestEffect 372 fBuilder.init(std::move(effect)); in build() 376 return fBuilder->uniform(name); in uniform() 380 return fBuilder->child(name); in child() 384 auto blender = fBuilder->makeBlender(); in test() [all …]
|
/third_party/skia/bench/ |
D | TextBlobBench.cpp | 45 fBuilder.allocRunPosH(fFont, fGlyphs.count(), 10, nullptr); in makeBlob() 48 return fBuilder.make(); in makeBlob() 52 SkTextBlobBuilder fBuilder; member in SkTextBlobBench
|
/third_party/flutter/skia/bench/ |
D | TextBlobBench.cpp | 45 fBuilder.allocRunPosH(fFont, fGlyphs.count(), 10, nullptr); in makeBlob() 48 return fBuilder.make(); in makeBlob() 52 SkTextBlobBuilder fBuilder; member in SkTextBlobBench
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLVMCodeGenerator.cpp | 179 skvm::F32 f32(skvm::Val id) { SkASSERT(id != skvm::NA); return {fBuilder, id}; } in f32() 180 skvm::I32 i32(skvm::Val id) { SkASSERT(id != skvm::NA); return {fBuilder, id}; } in i32() 190 result[i] = fn({fBuilder, v[i]}); in unary() 253 skvm::Builder* fBuilder; member in SkSL::SkVMGenerator 356 , fBuilder(builder) in SkVMGenerator() 367 fConditionMask = fLoopMask = fBuilder->splat(0xffff'ffff); in writeProgram() 409 this->writeToSlot(slot + 2, fBuilder->splat(0.0f).id); in setupGlobals() 410 this->writeToSlot(slot + 3, fBuilder->splat(1.0f).id); in setupGlobals() 447 fBuilder->trace_call_enter(this->mask(), function.fLine); in writeFunction() 450 fFunctionStack.push_back({outReturn, /*returned=*/fBuilder->splat(0)}); in writeFunction() [all …]
|
/third_party/flutter/skia/src/gpu/glsl/ |
D | GrGLSLShaderBuilder.h | 143 ShaderBlock(GrGLSLShaderBuilder* builder) : fBuilder(builder) { in ShaderBlock() 145 fBuilder->codeAppend("{"); in ShaderBlock() 149 fBuilder->codeAppend("}"); in ~ShaderBlock() 152 GrGLSLShaderBuilder* fBuilder;
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLShaderBuilder.h | 169 ShaderBlock(GrGLSLShaderBuilder* builder) : fBuilder(builder) { in ShaderBlock() 171 fBuilder->codeAppend("{"); in ShaderBlock() 175 fBuilder->codeAppend("}"); in ~ShaderBlock() 178 GrGLSLShaderBuilder* fBuilder;
|