Lines Matching refs:CircularRRectEffect
26 class CircularRRectEffect : public GrFragmentProcessor { class
51 ~CircularRRectEffect() override {} in ~CircularRRectEffect()
64 CircularRRectEffect(GrClipEdgeType, uint32_t circularCornerFlags, const SkRRect&);
81 std::unique_ptr<GrFragmentProcessor> CircularRRectEffect::Make(GrClipEdgeType edgeType, in Make()
88 new CircularRRectEffect(edgeType, circularCornerFlags, rrect)); in Make()
91 CircularRRectEffect::CircularRRectEffect(GrClipEdgeType edgeType, uint32_t circularCornerFlags, in CircularRRectEffect() function in CircularRRectEffect
99 std::unique_ptr<GrFragmentProcessor> CircularRRectEffect::clone() const { in clone()
101 new CircularRRectEffect(fEdgeType, fCircularCornerFlags, fRRect)); in clone()
104 bool CircularRRectEffect::onIsEqual(const GrFragmentProcessor& other) const { in onIsEqual()
105 const CircularRRectEffect& crre = other.cast<CircularRRectEffect>(); in onIsEqual()
112 GR_DEFINE_FRAGMENT_PROCESSOR_TEST(CircularRRectEffect);
115 std::unique_ptr<GrFragmentProcessor> CircularRRectEffect::TestCreate(GrProcessorTestData* d) { in TestCreate()
152 const CircularRRectEffect& crre = args.fFp.cast<CircularRRectEffect>(); in emitCode()
192 case CircularRRectEffect::kAll_CornerFlags: in emitCode()
198 case CircularRRectEffect::kTopLeft_CornerFlag: in emitCode()
208 case CircularRRectEffect::kTopRight_CornerFlag: in emitCode()
219 case CircularRRectEffect::kBottomRight_CornerFlag: in emitCode()
229 case CircularRRectEffect::kBottomLeft_CornerFlag: in emitCode()
240 case CircularRRectEffect::kLeft_CornerFlags: in emitCode()
249 case CircularRRectEffect::kTop_CornerFlags: in emitCode()
258 case CircularRRectEffect::kRight_CornerFlags: in emitCode()
267 case CircularRRectEffect::kBottom_CornerFlags: in emitCode()
287 const CircularRRectEffect& crre = processor.cast<CircularRRectEffect>(); in GenKey()
294 const CircularRRectEffect& crre = processor.cast<CircularRRectEffect>(); in onSetData()
300 case CircularRRectEffect::kAll_CornerFlags: in onSetData()
306 case CircularRRectEffect::kTopLeft_CornerFlag: in onSetData()
313 case CircularRRectEffect::kTopRight_CornerFlag: in onSetData()
320 case CircularRRectEffect::kBottomRight_CornerFlag: in onSetData()
327 case CircularRRectEffect::kBottomLeft_CornerFlag: in onSetData()
334 case CircularRRectEffect::kLeft_CornerFlags: in onSetData()
341 case CircularRRectEffect::kTop_CornerFlags: in onSetData()
348 case CircularRRectEffect::kRight_CornerFlags: in onSetData()
355 case CircularRRectEffect::kBottom_CornerFlags: in onSetData()
374 void CircularRRectEffect::onGetGLSLProcessorKey(const GrShaderCaps& caps, in onGetGLSLProcessorKey()
379 GrGLSLFragmentProcessor* CircularRRectEffect::onCreateGLSLInstance() const { in onCreateGLSLInstance()
690 return CircularRRectEffect::Make(edgeType, CircularRRectEffect::kAll_CornerFlags, in Make()
733 case CircularRRectEffect::kAll_CornerFlags: in Make()
737 case CircularRRectEffect::kTopLeft_CornerFlag: in Make()
738 case CircularRRectEffect::kTopRight_CornerFlag: in Make()
739 case CircularRRectEffect::kBottomRight_CornerFlag: in Make()
740 case CircularRRectEffect::kBottomLeft_CornerFlag: in Make()
741 case CircularRRectEffect::kLeft_CornerFlags: in Make()
742 case CircularRRectEffect::kTop_CornerFlags: in Make()
743 case CircularRRectEffect::kRight_CornerFlags: in Make()
744 case CircularRRectEffect::kBottom_CornerFlags: { in Make()
749 return CircularRRectEffect::Make(edgeType, cornerFlags, *rr); in Make()
751 case CircularRRectEffect::kNone_CornerFlags: in Make()