1 /*#pragma settings NoInline*/ 2 3 /************************************************************************************************** 4 *** This file was autogenerated from GrNestedCall.fp; do not modify. 5 **************************************************************************************************/ 6 #ifndef GrNestedCall_DEFINED 7 #define GrNestedCall_DEFINED 8 9 #include "include/core/SkM44.h" 10 #include "include/core/SkTypes.h" 11 12 13 #include "src/gpu/GrFragmentProcessor.h" 14 15 class GrNestedCall : public GrFragmentProcessor { 16 public: Make(std::unique_ptr<GrFragmentProcessor> fp)17 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> fp) { 18 return std::unique_ptr<GrFragmentProcessor>(new GrNestedCall(std::move(fp))); 19 } 20 GrNestedCall(const GrNestedCall& src); 21 std::unique_ptr<GrFragmentProcessor> clone() const override; name()22 const char* name() const override { return "NestedCall"; } 23 private: GrNestedCall(std::unique_ptr<GrFragmentProcessor> fp)24 GrNestedCall(std::unique_ptr<GrFragmentProcessor> fp) 25 : INHERITED(kGrNestedCall_ClassID, kNone_OptimizationFlags) { 26 this->registerChild(std::move(fp), SkSL::SampleUsage::PassThrough()); 27 } 28 std::unique_ptr<GrGLSLFragmentProcessor> onMakeProgramImpl() const override; 29 void onGetGLSLProcessorKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const override; 30 bool onIsEqual(const GrFragmentProcessor&) const override; 31 #if GR_TEST_UTILS 32 SkString onDumpInfo() const override; 33 #endif 34 GR_DECLARE_FRAGMENT_PROCESSOR_TEST 35 using INHERITED = GrFragmentProcessor; 36 }; 37 #endif 38