#include "include/core/SkData.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkString.h"
#include "include/effects/SkRuntimeEffect.h"
#include "include/private/base/SkAssert.h"
#include "modules/skottie/src/Adapter.h"
#include "modules/skottie/src/SkottiePriv.h"
#include "modules/skottie/src/SkottieValue.h"
#include "modules/skottie/src/effects/Effects.h"
#include "modules/sksg/include/SkSGColorFilter.h"
#include "modules/sksg/include/SkSGRenderNode.h"
#include <cstddef>
#include <utility>
namespace skjson {
class ArrayValue;
}
namespace skottie::internal {
namespace {
static constexpr char gThresholdSkSL[] = …
;
static sk_sp<SkRuntimeEffect> threshold_effect() { … }
class ThresholdAdapter final : public DiscardableAdapterBase<ThresholdAdapter,
sksg::ExternalColorFilter> { … };
}
sk_sp<sksg::RenderNode> EffectBuilder::attachThresholdEffect(const skjson::ArrayValue& jprops,
sk_sp<sksg::RenderNode> layer) const { … }
}