Lines Matching refs:GrTwoPointConicalGradientLayout

23         const GrTwoPointConicalGradientLayout& _outer =  in emitCode()
24 args.fFp.cast<GrTwoPointConicalGradientLayout>(); in emitCode()
94 const GrTwoPointConicalGradientLayout& _outer = in onSetData()
95 _proc.cast<GrTwoPointConicalGradientLayout>(); in onSetData()
107 GrGLSLFragmentProcessor* GrTwoPointConicalGradientLayout::onCreateGLSLInstance() const { in onCreateGLSLInstance()
110 void GrTwoPointConicalGradientLayout::onGetGLSLProcessorKey(const GrShaderCaps& caps, in onGetGLSLProcessorKey()
119 bool GrTwoPointConicalGradientLayout::onIsEqual(const GrFragmentProcessor& other) const { in onIsEqual()
120 const GrTwoPointConicalGradientLayout& that = other.cast<GrTwoPointConicalGradientLayout>(); in onIsEqual()
132 GrTwoPointConicalGradientLayout::GrTwoPointConicalGradientLayout( in GrTwoPointConicalGradientLayout() function in GrTwoPointConicalGradientLayout
133 const GrTwoPointConicalGradientLayout& src) in GrTwoPointConicalGradientLayout()
146 std::unique_ptr<GrFragmentProcessor> GrTwoPointConicalGradientLayout::clone() const { in clone()
147 return std::unique_ptr<GrFragmentProcessor>(new GrTwoPointConicalGradientLayout(*this)); in clone()
149 GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrTwoPointConicalGradientLayout);
151 std::unique_ptr<GrFragmentProcessor> GrTwoPointConicalGradientLayout::TestCreate( in TestCreate()
231 GrTwoPointConicalGradientLayout::Type convert_type(SkTwoPointConicalGradient::Type type) { in convert_type()
234 return GrTwoPointConicalGradientLayout::Type::kRadial; in convert_type()
236 return GrTwoPointConicalGradientLayout::Type::kStrip; in convert_type()
238 return GrTwoPointConicalGradientLayout::Type::kFocal; in convert_type()
241 return GrTwoPointConicalGradientLayout::Type::kRadial; in convert_type()
244 std::unique_ptr<GrFragmentProcessor> GrTwoPointConicalGradientLayout::Make( in Make()
246 GrTwoPointConicalGradientLayout::Type grType = convert_type(grad.getType()); in Make()
300 return std::unique_ptr<GrFragmentProcessor>(new GrTwoPointConicalGradientLayout( in Make()