Lines Matching refs:SkShader
45 ClippedBitmapShadersGM(SkShader::TileMode mode, bool hq=false) in ClippedBitmapShadersGM()
50 SkShader::TileMode fMode;
56 case SkShader::kRepeat_TileMode: in onShortName()
59 case SkShader::kMirror_TileMode: in onShortName()
62 case SkShader::kClamp_TileMode: in onShortName()
86 paint.setShader(SkShader::MakeBitmapShader(bmp, fMode, fMode, &s)); in onDraw()
116 DEF_GM( return new ClippedBitmapShadersGM(SkShader::kRepeat_TileMode); )
117 DEF_GM( return new ClippedBitmapShadersGM(SkShader::kMirror_TileMode); )
118 DEF_GM( return new ClippedBitmapShadersGM(SkShader::kClamp_TileMode); )
120 DEF_GM( return new ClippedBitmapShadersGM(SkShader::kRepeat_TileMode, true); )
121 DEF_GM( return new ClippedBitmapShadersGM(SkShader::kMirror_TileMode, true); )
122 DEF_GM( return new ClippedBitmapShadersGM(SkShader::kClamp_TileMode, true); )