/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 | 46 const SkTileMode tmy = SkTileMode::kMirror; 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 | 46 const SkTileMode tmy = SkTileMode::kMirror; 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 127 , fTmy(tmy) 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() 165 auto tmy = 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 41 , fTileModeY(optimize(tmy, fImage->height())) in SkImageShader() 50 auto tmy = 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 | 22 SkTileMode tmy, 37 SkTileMode tmy,
|
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 | 47 tmy = androidkit::utils::TileMode(jtmy); 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 115 , fTmy(tmy) 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() 130 auto tmy = buffer.read32LE(SkTileMode::kLastTileMode); in CreateProc() local 153 return SkPictureShader::Make(picture, tmx, tmy, filter, &lm, &tile); in CreateProc()
|
D | SkImageShader.h | 19 SkTileMode tmy, 37 SkTileMode tmy,
|
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 78 , fTileModeY(optimize(tmy, fImage->height())) in SkImageShader() 103 auto tmy = 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 | 35 SkTileMode tmy, in initWithImage() argument 43 image->image()->makeShader(tmx, tmy, &sk_matrix))); in initWithImage()
|
D | image_shader.h | 32 SkTileMode tmy,
|
/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 | 29 SkTileMode tmy; member 165 kTileConfigs[tileMode].tmy, in drawScene() 177 kTileConfigs[tileMode].tmy, in drawScene()
|
/third_party/skia/gm/ |
D | pictureshader.cpp | 29 SkTileMode tmy; member 172 kTileConfigs[tileMode].tmy, in drawScene() 184 kTileConfigs[tileMode].tmy, in drawScene()
|
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
D | zdump.c | 782 register int tmy; in delta() local 787 for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy) in delta() 788 result += DAYSPERNYEAR + isleap_sum(tmy, TM_YEAR_BASE); in delta()
|