Home
last modified time | relevance | path

Searched refs:tmy (Results 1 – 25 of 50) sorted by relevance

12

/external/skia/tests/
DShaderTest.cpp46 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()
/external/skqp/tests/
DShaderTest.cpp46 const SkShader::TileMode tmy = SkShader::kMirror_TileMode; in DEF_TEST() local
48 auto shader0 = SkShader::MakeBitmapShader(bm, 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()
/external/skia/include/core/
DSkPicture.h230 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()
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()
DSkImage.h663 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions&,
666 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, in makeShader() argument
668 return this->makeShader(tmx, tmy, sampling, &lm); in makeShader()
/external/skia/src/shaders/
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
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()
DSkImageShader.h22 SkTileMode tmy,
40 SkTileMode tmy,
DSkBitmapProcShader.cpp79 const SkShaderBase& shader, SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, in MakeContext() argument
88 SkBitmapProcState* state = alloc->make<SkBitmapProcState>(image, tmx, tmy); in MakeContext()
DSkImageShader.cpp67 SkTileMode tmx, SkTileMode tmy, in SkImageShader() argument
75 , fTileModeY(optimize(tmy, fImage->height())) in SkImageShader()
99 auto tmy = buffer.read32LE<SkTileMode>(SkTileMode::kLastTileMode); in PreSamplingCreate() local
134 return img ? SkImageShader::Make(std::move(img), tmx, tmy, op, &localMatrix) : nullptr; in PreSamplingCreate()
146 auto tmy = buffer.read32LE<SkTileMode>(SkTileMode::kLastTileMode); in CreateProc() local
167 return SkImageShader::Make(std::move(img), tmx, tmy, sampling, &localMatrix); in CreateProc()
293 SkTileMode tmx, SkTileMode tmy, in Make() argument
309 new SkImageShader(image, tmx, tmy, options, localMatrix, clampAsIfUnpremul) in Make()
358 SkTileMode tmx, SkTileMode tmy, in SkMakeBitmapShaderForPaint() argument
362 tmx, tmy, sampling, localMatrix); in SkMakeBitmapShaderForPaint()
DSkBitmapProcShader.h19 static Context* MakeContext(const SkShaderBase&, SkTileMode tmx, SkTileMode tmy,
DSkShader.cpp141 sk_sp<SkShader> SkBitmap::makeShader(SkTileMode tmx, SkTileMode tmy, in makeShader() argument
148 tmx, tmy, sampling, lm); in makeShader()
/external/skqp/src/shaders/
DSkShader.cpp138 sk_sp<SkShader> SkShader::MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, in MakeBitmapShader() argument
143 return SkMakeBitmapShader(src, tmx, tmy, localMatrix, kIfMutable_SkCopyPixelsMode); in MakeBitmapShader()
146 sk_sp<SkShader> SkShader::MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy, in MakePictureShader() argument
151 return SkPictureShader::Make(std::move(src), tmx, tmy, localMatrix, tile); in MakePictureShader()
DSkBitmapProcShader.cpp96 const SkShaderBase& shader, TileMode tmx, TileMode tmy, in MakeContext() argument
105 SkBitmapProcState* state = alloc->make<SkBitmapProcState>(provider, tmx, tmy); in MakeContext()
DSkPictureShader.cpp109 SkPictureShader::SkPictureShader(sk_sp<SkPicture> picture, TileMode tmx, TileMode tmy, in SkPictureShader() argument
116 , fTmy(tmy) in SkPictureShader()
127 sk_sp<SkShader> SkPictureShader::Make(sk_sp<SkPicture> picture, TileMode tmx, TileMode tmy, in Make() argument
132 return sk_sp<SkShader>(new SkPictureShader(std::move(picture), tmx, tmy, localMatrix, tile, in Make()
DSkBitmapProcShader.h19 static Context* MakeContext(const SkShaderBase&, TileMode tmx, TileMode tmy,
DSkImageShader.cpp35 TileMode tmx, TileMode tmy, in SkImageShader() argument
41 , fTileModeY(optimize(tmy, fImage->height())) in SkImageShader()
262 SkShader::TileMode tmy, const SkMatrix* localMatrix, in SkMakeBitmapShader() argument
265 tmx, tmy, localMatrix); in SkMakeBitmapShader()
/external/skqp/src/core/
DSkBitmapProcState.h32 SkBitmapProcInfo(const SkBitmapProvider&, SkShader::TileMode tmx, SkShader::TileMode tmy);
58 SkBitmapProcState(const SkBitmapProvider& prov, SkShader::TileMode tmx, SkShader::TileMode tmy) in SkBitmapProcState()
59 : SkBitmapProcInfo(prov, tmx, tmy) {} in SkBitmapProcState()
/external/skqp/include/core/
DSkShader.h243 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy,
262 static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
/external/skqp/gm/
Dpictureshader.cpp19 SkShader::TileMode tmy; member
155 kTileConfigs[tileMode].tmy, in drawScene()
168 kTileConfigs[tileMode].tmy, in drawScene()
Dtilemodes_scaled.cpp38 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup() argument
39 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
/external/skia/gm/
Dpictureshader.cpp29 SkTileMode tmy; member
165 kTileConfigs[tileMode].tmy, in drawScene()
177 kTileConfigs[tileMode].tmy, in drawScene()
Dtilemodes_scaled.cpp47 SkTileMode tmx, SkTileMode tmy) { in setup() argument
48 paint->setShader(bm.makeShader(tmx, tmy, SkSamplingOptions(filter_level))); in setup()
/external/skqp/samplecode/
DSampleTiling.cpp45 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup() argument
46 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
/external/icu/icu4c/source/tools/tzcode/
Dzdump.c782 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()
/external/llvm-project/llvm/test/CodeGen/SystemZ/
Dint-cmp-48.ll163 ; CHECK: tmy 4096(%r2), 1
177 ; CHECK: tmy 524287(%r2), 1
206 ; CHECK: tmy -524288(%r2), 1

12