Lines Matching refs:GrFragmentProcessor
30 class ComposeTwoFragmentProcessor : public GrFragmentProcessor {
32 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> src, in Make()
33 std::unique_ptr<GrFragmentProcessor> dst, in Make()
35 return std::unique_ptr<GrFragmentProcessor>( in Make()
55 std::unique_ptr<GrFragmentProcessor> clone() const override;
60 ComposeTwoFragmentProcessor(std::unique_ptr<GrFragmentProcessor> src, in ComposeTwoFragmentProcessor()
61 std::unique_ptr<GrFragmentProcessor> dst, in ComposeTwoFragmentProcessor()
71 static OptimizationFlags OptFlags(const GrFragmentProcessor* src, in OptFlags()
72 const GrFragmentProcessor* dst, SkBlendMode mode) { in OptFlags()
146 bool onIsEqual(const GrFragmentProcessor& other) const override { in onIsEqual()
165 typedef GrFragmentProcessor INHERITED;
183 std::unique_ptr<GrFragmentProcessor> ComposeTwoFragmentProcessor::TestCreate( in TestCreate()
186 std::unique_ptr<GrFragmentProcessor> fpA(GrProcessorUnitTest::MakeChildFP(d)); in TestCreate()
187 std::unique_ptr<GrFragmentProcessor> fpB(GrProcessorUnitTest::MakeChildFP(d)); in TestCreate()
193 return std::unique_ptr<GrFragmentProcessor>( in TestCreate()
198 std::unique_ptr<GrFragmentProcessor> ComposeTwoFragmentProcessor::clone() const { in clone()
201 return std::unique_ptr<GrFragmentProcessor>( in clone()
244 std::unique_ptr<GrFragmentProcessor> GrXfermodeFragmentProcessor::MakeFromTwoProcessors( in MakeFromTwoProcessors()
245 std::unique_ptr<GrFragmentProcessor> src, in MakeFromTwoProcessors()
246 std::unique_ptr<GrFragmentProcessor> dst, in MakeFromTwoProcessors()
263 class ComposeOneFragmentProcessor : public GrFragmentProcessor {
270 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> fp, in Make()
275 return std::unique_ptr<GrFragmentProcessor>( in Make()
296 std::unique_ptr<GrFragmentProcessor> clone() const override;
303 OptimizationFlags OptFlags(const GrFragmentProcessor* fp, SkBlendMode mode, Child child) { in OptFlags()
403 bool onIsEqual(const GrFragmentProcessor& that) const override { in onIsEqual()
422 ComposeOneFragmentProcessor(std::unique_ptr<GrFragmentProcessor> fp, SkBlendMode mode, in ComposeOneFragmentProcessor()
438 typedef GrFragmentProcessor INHERITED;
472 std::unique_ptr<GrFragmentProcessor> ComposeOneFragmentProcessor::TestCreate( in TestCreate()
477 std::unique_ptr<GrFragmentProcessor> dst(GrProcessorUnitTest::MakeChildFP(d)); in TestCreate()
485 return std::unique_ptr<GrFragmentProcessor>( in TestCreate()
494 std::unique_ptr<GrFragmentProcessor> ComposeOneFragmentProcessor::clone() const { in clone()
495 return std::unique_ptr<GrFragmentProcessor>( in clone()
507 std::unique_ptr<GrFragmentProcessor> GrXfermodeFragmentProcessor::MakeFromDstProcessor( in MakeFromDstProcessor()
508 std::unique_ptr<GrFragmentProcessor> dst, SkBlendMode mode) { in MakeFromDstProcessor()
521 std::unique_ptr<GrFragmentProcessor> GrXfermodeFragmentProcessor::MakeFromSrcProcessor( in MakeFromSrcProcessor()
522 std::unique_ptr<GrFragmentProcessor> src, SkBlendMode mode) { in MakeFromSrcProcessor()