Home
last modified time | relevance | path

Searched refs:tmx (Results 1 - 20 of 20) sorted by relevance

/third_party/skia/tests/
H A DShaderTest.cpp45 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 DImage.java52 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 Dtimestatus.c121 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 DImage.cpp46 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 DSkPictureShader.cpp38 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 DSkImageShader.h18 SkTileMode tmx,
36 SkTileMode tmx,
H A DSkBitmapProcShader.cpp79 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 DSkBitmapProcShader.h19 static Context* MakeContext(const SkShaderBase&, SkTileMode tmx, SkTileMode tmy,
H A DSkImageShader.cpp70 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 DSkShader.cpp154 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 DSkPicture.h219 * @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 DSkBitmap.h1119 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 DSkImage.h672 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 Dpictureshader.cpp28 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 Dtilemodes_scaled.cpp53 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 Dtilemodes.cpp50 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 DSkBitmapProcState.h30 SkBitmapProcState(const SkImage_Base* image, SkTileMode tmx, SkTileMode tmy);
H A DSkBitmapProcState.cpp141 SkBitmapProcState::SkBitmapProcState(const SkImage_Base* image, SkTileMode tmx, SkTileMode tmy)
143 , fTileModeX(tmx)
/third_party/skia/src/image/
H A DSkImage.cpp144 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 DSkXPSDevice.cpp624 static XPS_TILE_MODE SkToXpsTileMode(SkTileMode tmx, SkTileMode tmy) { in SkToXpsTileMode() argument
625 return gSkToXpsTileMode[(unsigned)tmx][(unsigned)tmy]; in SkToXpsTileMode()

Completed in 18 milliseconds