• Home
  • Raw
  • Download

Lines Matching refs:GrFragmentProcessor

27 class GrFragmentProcessor : public GrProcessor {
39 static std::unique_ptr<GrFragmentProcessor> MulChildByInputAlpha(
40 std::unique_ptr<GrFragmentProcessor> child);
48 static std::unique_ptr<GrFragmentProcessor> MulInputByChildAlpha(
49 std::unique_ptr<GrFragmentProcessor> child);
57 static std::unique_ptr<GrFragmentProcessor> MakeInputPremulAndMulByOutput(
58 std::unique_ptr<GrFragmentProcessor>);
65 static std::unique_ptr<GrFragmentProcessor> OverrideInput(std::unique_ptr<GrFragmentProcessor>,
72 static std::unique_ptr<GrFragmentProcessor> PremulInput(std::unique_ptr<GrFragmentProcessor>);
78 static std::unique_ptr<GrFragmentProcessor> SwizzleOutput(std::unique_ptr<GrFragmentProcessor>,
89 static std::unique_ptr<GrFragmentProcessor> RunInSeries(std::unique_ptr<GrFragmentProcessor>*,
96 virtual std::unique_ptr<GrFragmentProcessor> clone() const = 0;
122 const GrFragmentProcessor& childProcessor(int index) const { return *fChildProcessors[index]; } in childProcessor()
177 bool isEqual(const GrFragmentProcessor& that) const;
185 explicit Iter(const GrFragmentProcessor* fp) { fFPStack.push_back(fp); } in Iter()
188 const GrFragmentProcessor* next();
191 SkSTArray<4, const GrFragmentProcessor*, true> fFPStack;
199 template <typename T, int (GrFragmentProcessor::*COUNT)() const,
200 const T& (GrFragmentProcessor::*GET)(int)const>
203 explicit FPItemIter(const GrFragmentProcessor* fp) in FPItemIter()
231 const GrFragmentProcessor* fCurrFP;
233 GrFragmentProcessor::Iter fFPIter;
237 &GrFragmentProcessor::numCoordTransforms,
238 &GrFragmentProcessor::coordTransform>;
241 &GrFragmentProcessor::numTextureSamplers,
242 &GrFragmentProcessor::textureSampler>;
286 GrFragmentProcessor(ClassID classID, OptimizationFlags optimizationFlags) in GrFragmentProcessor() function
301 static SkPMColor4f ConstantOutputForConstantInput(const GrFragmentProcessor& fp, in ConstantOutputForConstantInput()
335 int registerChildProcessor(std::unique_ptr<GrFragmentProcessor> child);
373 virtual bool onIsEqual(const GrFragmentProcessor&) const = 0;
377 bool hasSameTransforms(const GrFragmentProcessor&) const;
390 SkSTArray<1, std::unique_ptr<GrFragmentProcessor>, true> fChildProcessors;
400 class GrFragmentProcessor::TextureSampler {
460 const GrFragmentProcessor::TextureSampler& GrFragmentProcessor::IthTextureSampler(int i) { in IthTextureSampler()
466 GR_MAKE_BITFIELD_OPS(GrFragmentProcessor::OptimizationFlags)