• 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>,
73 static std::unique_ptr<GrFragmentProcessor> PremulInput(std::unique_ptr<GrFragmentProcessor>);
79 static std::unique_ptr<GrFragmentProcessor> SwizzleOutput(std::unique_ptr<GrFragmentProcessor>,
90 static std::unique_ptr<GrFragmentProcessor> RunInSeries(std::unique_ptr<GrFragmentProcessor>*,
97 virtual std::unique_ptr<GrFragmentProcessor> clone() const = 0;
123 const GrFragmentProcessor& childProcessor(int index) const { return *fChildProcessors[index]; } in childProcessor()
176 bool isEqual(const GrFragmentProcessor& that) const;
184 explicit Iter(const GrFragmentProcessor* fp) { fFPStack.push_back(fp); } in Iter()
187 const GrFragmentProcessor* next();
190 SkSTArray<4, const GrFragmentProcessor*, true> fFPStack;
198 template <typename T, int (GrFragmentProcessor::*COUNT)() const,
199 const T& (GrFragmentProcessor::*GET)(int)const>
202 explicit FPItemIter(const GrFragmentProcessor* fp) in FPItemIter()
230 const GrFragmentProcessor* fCurrFP;
232 GrFragmentProcessor::Iter fFPIter;
236 &GrFragmentProcessor::numCoordTransforms,
237 &GrFragmentProcessor::coordTransform>;
240 &GrFragmentProcessor::numTextureSamplers,
241 &GrFragmentProcessor::textureSampler>;
285 GrFragmentProcessor(ClassID classID, OptimizationFlags optimizationFlags) in GrFragmentProcessor() function
296 static OptimizationFlags ProcessorOptimizationFlags(const GrFragmentProcessor* fp) { in ProcessorOptimizationFlags()
305 static SkPMColor4f ConstantOutputForConstantInput(const GrFragmentProcessor& fp, in ConstantOutputForConstantInput()
339 int registerChildProcessor(std::unique_ptr<GrFragmentProcessor> child);
376 virtual bool onIsEqual(const GrFragmentProcessor&) const = 0;
380 bool hasSameTransforms(const GrFragmentProcessor&) const;
393 SkSTArray<1, std::unique_ptr<GrFragmentProcessor>, true> fChildProcessors;
403 class GrFragmentProcessor::TextureSampler {
457 const GrFragmentProcessor::TextureSampler& GrFragmentProcessor::IthTextureSampler(int i) { in IthTextureSampler()
463 GR_MAKE_BITFIELD_OPS(GrFragmentProcessor::OptimizationFlags)