Home
last modified time | relevance | path

Searched refs:make_grad (Results 1 – 4 of 4) sorted by relevance

/external/skia/gm/
Dgradtext.cpp15 static sk_sp<SkShader> make_grad(SkScalar width) { in make_grad() function
141 paint.setShader(make_grad(SkIntToScalar(80))); in onDraw()
Dtilemodes_scaled.cpp170 static sk_sp<SkShader> make_grad(SkShader::TileMode tx, SkShader::TileMode ty) { in make_grad() function
269 DEF_GM( return new ScaledTiling2GM(make_grad, "gradient"); )
Dtilemodes.cpp167 static sk_sp<SkShader> make_grad(SkShader::TileMode tx, SkShader::TileMode ty) { in make_grad() function
265 DEF_GM( return new Tiling2GM(make_grad, "gradient"); )
/external/skia/samplecode/
DSampleBigGradient.cpp14 static sk_sp<SkShader> make_grad(SkScalar w, SkScalar h) { in make_grad() function
37 p.setShader(make_grad(this->width(), this->height())); in onDrawContent()