/third_party/skia/tests/ |
H A 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/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
H A 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/lame/frontend/ |
H A D | timestatus.c | 121 double tmx, delta; in timestatus() local 139 tmx = GetRealTime(); in timestatus() 140 delta = tmx - real_time->last_time; in timestatus() 144 real_time->last_time = tmx; in timestatus() 147 tmx = GetCPUTime(); in timestatus() 148 delta = tmx - proc_time->last_time; in timestatus() 152 proc_time->last_time = tmx; in timestatus()
|
/third_party/skia/modules/androidkit/src/ |
H A 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/ |
H A 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()
|
H A D | SkImageShader.h | 18 SkTileMode tmx, 36 SkTileMode tmx,
|
H A D | SkBitmapProcShader.cpp | 79 const SkShaderBase& shader, SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, in MakeContext() 88 SkBitmapProcState* state = alloc->make<SkBitmapProcState>(image, tmx, tmy); in MakeContext() 78 MakeContext( const SkShaderBase& shader, SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, const SkImage_Base* image, const ContextRec& rec, SkArenaAlloc* alloc) MakeContext() argument
|
H A D | SkBitmapProcShader.h | 19 static Context* MakeContext(const SkShaderBase&, SkTileMode tmx, SkTileMode tmy,
|
H A D | SkImageShader.cpp | 70 SkTileMode tmx, SkTileMode tmy, in SkImageShader() 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() 266 new SkImageShader(image, tmx, tmy, options, localMatrix, clampAsIfUnpremul) in Make() 312 SkTileMode tmx, SkTileMode tmy, in SkMakeBitmapShaderForPaint() 316 tmx, tmy, sampling, localMatrix); in SkMakeBitmapShaderForPaint() 69 SkImageShader(sk_sp<SkImage> img, SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, const SkMatrix* localMatrix, bool clampAsIfUnpremul) SkImageShader() argument 249 Make(sk_sp<SkImage> image, SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& options, const SkMatrix* localMatrix, bool clampAsIfUnpremul) Make() argument 311 SkMakeBitmapShaderForPaint(const SkPaint& paint, const SkBitmap& src, SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, const SkMatrix* localMatrix, SkCopyPixelsMode mode) SkMakeBitmapShaderForPaint() argument
|
H A D | SkShader.cpp | 154 sk_sp<SkShader> SkBitmap::makeShader(SkTileMode tmx, SkTileMode tmy, in makeShader() argument 161 tmx, tmy, sampling, lm); in makeShader()
|
/third_party/skia/include/core/ |
H A D | SkPicture.h | 219 * @param tmx The tiling mode to use when sampling in the x-direction. 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()
|
H A 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()
|
H A D | SkImage.h | 672 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions&, 675 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, in makeShader() argument 677 return this->makeShader(tmx, tmy, sampling, &lm); in makeShader()
|
/third_party/skia/gm/ |
H A 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()
|
H A D | tilemodes_scaled.cpp | 53 SkTileMode tmx, SkTileMode tmy) { in setup() 54 paint->setShader(bm.makeShader(tmx, tmy, sampling)); in setup() 52 setup(SkPaint* paint, const SkBitmap& bm, const SkSamplingOptions& sampling, SkTileMode tmx, SkTileMode tmy) setup() argument
|
H A D | tilemodes.cpp | 50 SkTileMode tmx, SkTileMode tmy) { in setup() 51 paint->setShader(bm.makeShader(tmx, tmy, SkSamplingOptions(fm))); in setup() 49 setup(SkPaint* paint, const SkBitmap& bm, SkFilterMode fm, SkTileMode tmx, SkTileMode tmy) setup() argument
|
/third_party/skia/src/core/ |
H A D | SkBitmapProcState.h | 30 SkBitmapProcState(const SkImage_Base* image, SkTileMode tmx, SkTileMode tmy);
|
H A D | SkBitmapProcState.cpp | 141 SkBitmapProcState::SkBitmapProcState(const SkImage_Base* image, SkTileMode tmx, SkTileMode tmy) 143 , fTileModeX(tmx)
|
/third_party/skia/src/image/ |
H A D | SkImage.cpp | 144 sk_sp<SkShader> SkImage::makeShader(SkTileMode tmx, SkTileMode tmy, in makeShader() argument 147 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tmx, tmy, in makeShader()
|
/third_party/skia/src/xps/ |
H A D | SkXPSDevice.cpp | 624 static XPS_TILE_MODE SkToXpsTileMode(SkTileMode tmx, SkTileMode tmy) { in SkToXpsTileMode() argument 625 return gSkToXpsTileMode[(unsigned)tmx][(unsigned)tmy]; in SkToXpsTileMode()
|