Home | History | Annotate | Download | only in shaders

Lines Matching refs:TileMode

23 static SkShader::TileMode optimize(SkShader::TileMode tm, int dimension) {
35 TileMode tmx, TileMode tmy,
49 const TileMode tx = (TileMode)buffer.readUInt();
50 const TileMode ty = (TileMode)buffer.readUInt();
136 SkImage* SkImageShader::onIsAImage(SkMatrix* texM, TileMode xy[]) const {
141 xy[0] = (TileMode)fTileModeX;
142 xy[1] = (TileMode)fTileModeY;
148 TileMode tx, TileMode ty,
168 static GrSamplerState::WrapMode tile_mode_to_wrap_mode(const SkShader::TileMode tileMode) {
169 switch (tileMode) {
170 case SkShader::TileMode::kClamp_TileMode:
172 case SkShader::TileMode::kRepeat_TileMode:
174 case SkShader::TileMode::kMirror_TileMode:
261 sk_sp<SkShader> SkMakeBitmapShader(const SkBitmap& src, SkShader::TileMode tmx,
262 SkShader::TileMode tmy, const SkMatrix* localMatrix,