• Home
  • Raw
  • Download

Lines Matching refs:unique_ptr

35 using GrFPResult = std::tuple<bool /*success*/, std::unique_ptr<GrFragmentProcessor>>;
52 static std::unique_ptr<GrFragmentProcessor> MakeColor(SkPMColor4f color);
59 static std::unique_ptr<GrFragmentProcessor> MulInputByChildAlpha(
60 std::unique_ptr<GrFragmentProcessor> child);
66 static std::unique_ptr<GrFragmentProcessor> ApplyPaintAlpha(
67 std::unique_ptr<GrFragmentProcessor> child);
74 static std::unique_ptr<GrFragmentProcessor> ModulateRGBA(
75 std::unique_ptr<GrFragmentProcessor> child, const SkPMColor4f& color);
82 static std::unique_ptr<GrFragmentProcessor> OverrideInput(std::unique_ptr<GrFragmentProcessor>,
90 static std::unique_ptr<GrFragmentProcessor> DisableCoverageAsAlpha(
91 std::unique_ptr<GrFragmentProcessor>);
98 static std::unique_ptr<GrFragmentProcessor> UseDestColorAsInput(
99 std::unique_ptr<GrFragmentProcessor>);
105 static std::unique_ptr<GrFragmentProcessor> SwizzleOutput(std::unique_ptr<GrFragmentProcessor>,
112 static std::unique_ptr<GrFragmentProcessor> ClampOutput(std::unique_ptr<GrFragmentProcessor>);
119 static std::unique_ptr<GrFragmentProcessor> Compose(std::unique_ptr<GrFragmentProcessor> f,
120 std::unique_ptr<GrFragmentProcessor> g);
126 static std::unique_ptr<GrFragmentProcessor> ColorMatrix(
127 std::unique_ptr<GrFragmentProcessor> child,
137 static std::unique_ptr<GrFragmentProcessor> SurfaceColor();
143 static std::unique_ptr<GrFragmentProcessor> DeviceSpace(std::unique_ptr<GrFragmentProcessor>);
150 static std::unique_ptr<GrFragmentProcessor> Rect(std::unique_ptr<GrFragmentProcessor>,
154 static GrFPResult Circle(std::unique_ptr<GrFragmentProcessor>,
159 static GrFPResult Ellipse(std::unique_ptr<GrFragmentProcessor>,
169 static std::unique_ptr<GrFragmentProcessor> HighPrecision(std::unique_ptr<GrFragmentProcessor>);
175 virtual std::unique_ptr<GrFragmentProcessor> clone() const = 0;
180 std::unique_ptr<ProgramImpl> makeProgramImpl() const;
385 void registerChild(std::unique_ptr<GrFragmentProcessor> child,
427 virtual std::unique_ptr<ProgramImpl> onMakeProgramImpl() const = 0;
456 SkSTArray<1, std::unique_ptr<GrFragmentProcessor>, true> fChildProcessors;
613 Iter(std::unique_ptr<ProgramImpl> fps[], int cnt);
642 SkTArray<std::unique_ptr<ProgramImpl>, true> fChildProcessors;
651 static inline GrFPResult GrFPFailure(std::unique_ptr<GrFragmentProcessor> fp) { in SK_MAKE_BITFIELD_OPS()
654 static inline GrFPResult GrFPSuccess(std::unique_ptr<GrFragmentProcessor> fp) { in GrFPSuccess()