1 2 3 /************************************************************************************************** 4 *** This file was autogenerated from GrSectionDumpInfo.fp; do not modify. 5 **************************************************************************************************/ 6 #ifndef GrSectionDumpInfo_DEFINED 7 #define GrSectionDumpInfo_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 GrSectionDumpInfo : public GrFragmentProcessor { 16 public: Make()17 static std::unique_ptr<GrFragmentProcessor> Make() { 18 return std::unique_ptr<GrFragmentProcessor>(new GrSectionDumpInfo()); 19 } 20 GrSectionDumpInfo(const GrSectionDumpInfo& src); 21 std::unique_ptr<GrFragmentProcessor> clone() const override; name()22 const char* name() const override { return "SectionDumpInfo"; } 23 private: GrSectionDumpInfo()24 GrSectionDumpInfo() 25 : INHERITED(kGrSectionDumpInfo_ClassID, kNone_OptimizationFlags) { 26 } 27 std::unique_ptr<GrGLSLFragmentProcessor> onMakeProgramImpl() const override; 28 void onGetGLSLProcessorKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const override; 29 bool onIsEqual(const GrFragmentProcessor&) const override; 30 #if GR_TEST_UTILS 31 SkString onDumpInfo() const override; 32 #endif 33 GR_DECLARE_FRAGMENT_PROCESSOR_TEST 34 using INHERITED = GrFragmentProcessor; 35 }; 36 #endif 37