/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
D | Image.java | 52 public Shader makeShader(TileMode tmx, TileMode tmy, SamplingOptions sampling) { in makeShader() argument 53 return makeShader(tmx, tmy, sampling, null); in makeShader() 56 public Shader makeShader(TileMode tmx, TileMode tmy, SamplingOptions sampling, in makeShader() argument 59 return new Shader(nMakeShader(mNativeInstance, tmx.nativeInt, tmy.nativeInt, in makeShader() 92 private static native long nMakeShader(long nativeInstance, int tmx, int tmy, int samplingDesc, in nMakeShader() argument
|
/third_party/flutter/skia/tests/ |
D | ShaderTest.cpp | 45 const SkTileMode tmx = SkTileMode::kRepeat; in DEF_TEST() local 48 auto shader0 = bm.makeShader(tmx, tmy, &localM); in DEF_TEST() 49 auto shader1 = SkImage::MakeFromBitmap(bm)->makeShader(tmx, tmy, &localM); in DEF_TEST() 51 check_isaimage(reporter, shader0.get(), W, H, tmx, tmy, localM); in DEF_TEST() 52 check_isaimage(reporter, shader1.get(), W, H, tmx, tmy, localM); in DEF_TEST()
|
/third_party/skia/tests/ |
D | ShaderTest.cpp | 45 const SkTileMode tmx = SkTileMode::kRepeat; in DEF_TEST() local 48 auto shader0 = bm.makeShader(tmx, tmy, SkSamplingOptions(), localM); in DEF_TEST() 49 auto shader1 = bm.asImage()->makeShader(tmx, tmy, SkSamplingOptions(), localM); in DEF_TEST() 51 check_isaimage(reporter, shader0.get(), W, H, tmx, tmy, localM); in DEF_TEST() 52 check_isaimage(reporter, shader1.get(), W, H, tmx, tmy, localM); in DEF_TEST()
|
/third_party/flutter/skia/src/shaders/ |
D | SkPictureShader.cpp | 31 sk_sp<SkShader> SkPicture::makeShader(SkTileMode tmx, SkTileMode tmy, const SkMatrix* localMatrix, in makeShader() argument 36 return SkPictureShader::Make(sk_ref_sp(this), tmx, tmy, localMatrix, tile); in makeShader() 39 sk_sp<SkShader> SkPicture::makeShader(SkTileMode tmx, SkTileMode tmy, in makeShader() argument 41 return this->makeShader(tmx, tmy, localMatrix, nullptr); in makeShader() 121 SkPictureShader::SkPictureShader(sk_sp<SkPicture> picture, SkTileMode tmx, SkTileMode tmy, in SkPictureShader() argument 126 , fTmx(tmx) in SkPictureShader() 137 sk_sp<SkShader> SkPictureShader::Make(sk_sp<SkPicture> picture, SkTileMode tmx, SkTileMode tmy, in Make() argument 142 return sk_sp<SkShader>(new SkPictureShader(std::move(picture), tmx, tmy, localMatrix, tile)); in Make() 164 auto tmx = buffer.read32LE(SkTileMode::kLastTileMode); in CreateProc() local 175 return SkPictureShader::Make(picture, tmx, tmy, &lm, &tile); in CreateProc()
|
D | SkImageShader.cpp | 35 SkTileMode tmx, SkTileMode tmy, in SkImageShader() argument 40 , fTileModeX(optimize(tmx, fImage->width())) in SkImageShader() 49 auto tmx = buffer.read32LE<SkTileMode>(SkTileMode::kLastTileMode); in CreateProc() local 57 return SkImageShader::Make(std::move(img), tmx, tmy, &localMatrix); in CreateProc() 153 SkTileMode tmx, SkTileMode tmy, in Make() argument 159 return sk_sp<SkShader>{ new SkImageShader(image, tmx, tmy, localMatrix, clampAsIfUnpremul) }; in Make() 270 sk_sp<SkShader> SkMakeBitmapShader(const SkBitmap& src, SkTileMode tmx, SkTileMode tmy, in SkMakeBitmapShader() argument 273 tmx, tmy, localMatrix); in SkMakeBitmapShader() 277 SkTileMode tmx, SkTileMode tmy, in SkMakeBitmapShaderForPaint() argument 279 auto s = SkMakeBitmapShader(src, tmx, tmy, localMatrix, mode); in SkMakeBitmapShaderForPaint()
|
D | SkImageShader.h | 21 SkTileMode tmx, 36 SkTileMode tmx,
|
D | SkBitmapProcShader.cpp | 95 const SkShaderBase& shader, SkTileMode tmx, SkTileMode tmy, in MakeContext() argument 104 SkBitmapProcState* state = alloc->make<SkBitmapProcState>(image, tmx, tmy); in MakeContext()
|
D | SkBitmapProcShader.h | 19 static Context* MakeContext(const SkShaderBase&, SkTileMode tmx, SkTileMode tmy,
|
D | SkShader.cpp | 138 sk_sp<SkShader> SkBitmap::makeShader(SkTileMode tmx, SkTileMode tmy, const SkMatrix* lm) const { in makeShader() argument 142 return SkMakeBitmapShader(*this, tmx, tmy, lm, kIfMutable_SkCopyPixelsMode); in makeShader()
|
/third_party/skia/modules/androidkit/src/ |
D | Image.cpp | 46 const auto tmx = androidkit::utils::TileMode(jtmx), in Image_MakeShader() local 53 ? image->makeShader(tmx, tmy, sampling, lm->asM33()) in Image_MakeShader() 54 : image->makeShader(tmx, tmy, sampling); in Image_MakeShader()
|
/third_party/skia/src/shaders/ |
D | SkPictureShader.cpp | 38 sk_sp<SkShader> SkPicture::makeShader(SkTileMode tmx, SkTileMode tmy, SkFilterMode filter, in makeShader() argument 43 return SkPictureShader::Make(sk_ref_sp(this), tmx, tmy, filter, localMatrix, tile); in makeShader() 109 SkPictureShader::SkPictureShader(sk_sp<SkPicture> picture, SkTileMode tmx, SkTileMode tmy, in SkPictureShader() argument 114 , fTmx(tmx) in SkPictureShader() 118 sk_sp<SkShader> SkPictureShader::Make(sk_sp<SkPicture> picture, SkTileMode tmx, SkTileMode tmy, in Make() argument 123 return sk_sp<SkShader>(new SkPictureShader(std::move(picture), tmx, tmy, filter, lm, tile)); in Make() 129 auto tmx = buffer.read32LE(SkTileMode::kLastTileMode); in CreateProc() local 153 return SkPictureShader::Make(picture, tmx, tmy, filter, &lm, &tile); in CreateProc()
|
D | SkImageShader.h | 18 SkTileMode tmx, 36 SkTileMode tmx,
|
D | SkBitmapProcShader.cpp | 79 const SkShaderBase& shader, SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, in MakeContext() argument 88 SkBitmapProcState* state = alloc->make<SkBitmapProcState>(image, tmx, tmy); in MakeContext()
|
D | SkBitmapProcShader.h | 19 static Context* MakeContext(const SkShaderBase&, SkTileMode tmx, SkTileMode tmy,
|
D | SkImageShader.cpp | 70 SkTileMode tmx, SkTileMode tmy, in SkImageShader() argument 77 , fTileModeX(optimize(tmx, fImage->width())) in SkImageShader() 102 auto tmx = buffer.read32LE<SkTileMode>(SkTileMode::kLastTileMode); in CreateProc() local 124 return SkImageShader::Make(std::move(img), tmx, tmy, sampling, &localMatrix); in CreateProc() 250 SkTileMode tmx, SkTileMode tmy, in Make() argument 266 new SkImageShader(image, tmx, tmy, options, localMatrix, clampAsIfUnpremul) in Make() 312 SkTileMode tmx, SkTileMode tmy, in SkMakeBitmapShaderForPaint() argument 316 tmx, tmy, sampling, localMatrix); in SkMakeBitmapShaderForPaint()
|
/third_party/skia/include/core/ |
D | SkPicture.h | 230 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, SkFilterMode mode, 233 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, SkFilterMode mode) const { in makeShader() argument 234 return this->makeShader(tmx, tmy, mode, nullptr, nullptr); in makeShader()
|
D | SkBitmap.h | 1119 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions&, 1122 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, in makeShader() argument 1124 return this->makeShader(tmx, tmy, sampling, &localMatrix); in makeShader()
|
D | SkImage.h | 668 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions&, 671 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, in makeShader() argument 673 return this->makeShader(tmx, tmy, sampling, &lm); in makeShader()
|
/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | image_shader.cc | 34 SkTileMode tmx, in initWithImage() argument 43 image->image()->makeShader(tmx, tmy, &sk_matrix))); in initWithImage()
|
D | image_shader.h | 31 SkTileMode tmx,
|
/third_party/flutter/skia/src/core/ |
D | SkBitmapProcState.h | 31 SkBitmapProcInfo(const SkImage_Base*, SkTileMode tmx, SkTileMode tmy); 57 SkBitmapProcState(const SkImage_Base* image, SkTileMode tmx, SkTileMode tmy) in SkBitmapProcState() 58 : SkBitmapProcInfo(image, tmx, tmy) {} in SkBitmapProcState()
|
/third_party/flutter/skia/include/core/ |
D | SkPicture.h | 211 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, 213 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy,
|
/third_party/flutter/skia/gm/ |
D | pictureshader.cpp | 28 SkTileMode tmx; member 164 auto pictureShader = fPicture->makeShader(kTileConfigs[tileMode].tmx, in drawScene() 176 kTileConfigs[tileMode].tmx, in drawScene()
|
/third_party/skia/gm/ |
D | pictureshader.cpp | 28 SkTileMode tmx; member 171 auto pictureShader = fPicture->makeShader(kTileConfigs[tileMode].tmx, in drawScene() 183 auto bitmapShader = fBitmap.makeShader(kTileConfigs[tileMode].tmx, in drawScene()
|
D | tilemodes_scaled.cpp | 53 SkTileMode tmx, SkTileMode tmy) { in setup() argument 54 paint->setShader(bm.makeShader(tmx, tmy, sampling)); in setup()
|