Home
last modified time | relevance | path

Searched refs:SkImageShader (Results 1 – 22 of 22) sorted by relevance

/external/skqp/src/shaders/
DSkImageShader.cpp34 SkImageShader::SkImageShader(sk_sp<SkImage> img, in SkImageShader() function in SkImageShader
48 sk_sp<SkFlattenable> SkImageShader::CreateProc(SkReadBuffer& buffer) { in CreateProc()
57 return SkImageShader::Make(std::move(img), tx, ty, &localMatrix); in CreateProc()
60 void SkImageShader::flatten(SkWriteBuffer& buffer) const { in flatten()
68 bool SkImageShader::isOpaque() const { in isOpaque()
95 SkShaderBase::Context* SkImageShader::onMakeContext(const ContextRec& rec, in onMakeContext()
136 SkImage* SkImageShader::onIsAImage(SkMatrix* texM, TileMode xy[]) const { in onIsAImage()
147 sk_sp<SkShader> SkImageShader::Make(sk_sp<SkImage> image, in Make()
154 return sk_sp<SkShader>{ new SkImageShader(image, tx,ty, localMatrix, clampAsIfUnpremul) }; in Make()
183 std::unique_ptr<GrFragmentProcessor> SkImageShader::asFragmentProcessor( in asFragmentProcessor()
[all …]
DSkImageShader.h16 class SkImageShader : public SkShaderBase {
31 SK_FLATTENABLE_HOOKS(SkImageShader)
33 SkImageShader(sk_sp<SkImage>,
DSkBitmapProcShader.h17 friend class SkImageShader;
DSkPictureShader.cpp80 return sizeof(fKey) + sizeof(SkImageShader); in bytesUsed()
/external/skia/src/shaders/
DSkImageShader.cpp27 SkM44 SkImageShader::CubicResamplerMatrix(float B, float C) { in CubicResamplerMatrix()
66 SkImageShader::SkImageShader(sk_sp<SkImage> img, in SkImageShader() function in SkImageShader
95 sk_sp<SkFlattenable> SkImageShader::PreSamplingCreate(SkReadBuffer& buffer) { in PreSamplingCreate()
134 return img ? SkImageShader::Make(std::move(img), tmx, tmy, op, &localMatrix) : nullptr; in PreSamplingCreate()
140 sk_sp<SkFlattenable> SkImageShader::CreateProc(SkReadBuffer& buffer) { in CreateProc()
167 return SkImageShader::Make(std::move(img), tmx, tmy, sampling, &localMatrix); in CreateProc()
170 void SkImageShader::flatten(SkWriteBuffer& buffer) const { in flatten()
181 bool SkImageShader::isOpaque() const { in isOpaque()
219 SkShaderBase::Context* SkImageShader::onMakeContext(const ContextRec& rec, in onMakeContext()
281 SkImage* SkImageShader::onIsAImage(SkMatrix* texM, SkTileMode xy[]) const { in onIsAImage()
[all …]
DSkImageShader.h18 class SkImageShader : public SkShaderBase {
36 SK_FLATTENABLE_HOOKS(SkImageShader)
38 SkImageShader(sk_sp<SkImage>,
DSkBitmapProcShader.h17 friend class SkImageShader;
DSkShader.cpp147 return SkImageShader::Make(SkMakeImageFromRasterBitmap(*this, kIfMutable_SkCopyPixelsMode), in makeShader()
/external/skqp/gm/
Dfilterbug.cpp59 p1.setShader(SkImageShader::Make(fTop, in onDraw()
85 p3.setShader(SkImageShader::Make(fBot, in onDraw()
/external/skia/site/docs/user/
Dsksl.md62 `SkImageShader`, and sample that shader... the resulting colors will be
93 corner. Normally, this is exactly what you want. If you're sampling an `SkImageShader` with
/external/skia/src/gpu/effects/
DGrBicubicEffect.cpp113 pdm.setSkM44(fCoefficientUni, SkImageShader::CubicResamplerMatrix(fKernel.B, fKernel.C)); in onSetData()
/external/skqp/src/core/
DSkPixmap.cpp218 sk_sp<SkShader> shader = SkImageShader::Make(SkImage::MakeFromBitmap(bitmap), in scalePixels()
/external/skqp/src/image/
DSkImage.cpp97 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tileX, tileY, localMatrix); in makeShader()
/external/skqp/tests/
DSVGDeviceTest.cpp184 paint->setShader(SkImageShader::Make(surface->makeImageSnapshot(), xTile, yTile, nullptr)); in SetImageShader()
/external/skia/gn/
Dcore.gni449 "$_src/shaders/SkImageShader.cpp",
450 "$_src/shaders/SkImageShader.h",
/external/skqp/gn/
Dcore.gni341 "$_src/shaders/SkImageShader.cpp",
342 "$_src/shaders/SkImageShader.h",
/external/skia/src/core/
DSkPixmap.cpp239 sk_sp<SkShader> shader = SkImageShader::Make(bitmap.asImage(), in scalePixels()
/external/skqp/experimental/canvaskit/
Dcanvaskit_bindings.cpp556 return SkImageShader::Make(img, tx, ty, nullptr, clampAsIfUnpremul); in EMSCRIPTEN_BINDINGS()
563 return SkImageShader::Make(img, tx, ty, &localMatrix, clampAsIfUnpremul); in EMSCRIPTEN_BINDINGS()
/external/skia/src/image/
DSkImage.cpp149 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tmx, tmy, in makeShader()
/external/skia/tests/
DImageTest.cpp1515 diff(SkImageShader::CubicResamplerMatrix(1.0f/3, 1.0f/3), gMitchellNetravali); in DEF_TEST()
1517 diff(SkImageShader::CubicResamplerMatrix(0, 1.0f/2), gCentripetalCatmulRom); in DEF_TEST()
/external/skqp/
DAndroid.bp1168 "src/shaders/SkImageShader.cpp",
/external/skia/
DAndroid.bp782 "src/shaders/SkImageShader.cpp",
1278 "src/shaders/SkImageShader.cpp",