/external/skqp/src/shaders/ |
D | SkImageShader.cpp | 34 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 …]
|
D | SkImageShader.h | 16 class SkImageShader : public SkShaderBase { 31 SK_FLATTENABLE_HOOKS(SkImageShader) 33 SkImageShader(sk_sp<SkImage>,
|
D | SkBitmapProcShader.h | 17 friend class SkImageShader;
|
D | SkPictureShader.cpp | 80 return sizeof(fKey) + sizeof(SkImageShader); in bytesUsed()
|
/external/skia/src/shaders/ |
D | SkImageShader.cpp | 27 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 …]
|
D | SkImageShader.h | 18 class SkImageShader : public SkShaderBase { 36 SK_FLATTENABLE_HOOKS(SkImageShader) 38 SkImageShader(sk_sp<SkImage>,
|
D | SkBitmapProcShader.h | 17 friend class SkImageShader;
|
D | SkShader.cpp | 147 return SkImageShader::Make(SkMakeImageFromRasterBitmap(*this, kIfMutable_SkCopyPixelsMode), in makeShader()
|
/external/skqp/gm/ |
D | filterbug.cpp | 59 p1.setShader(SkImageShader::Make(fTop, in onDraw() 85 p3.setShader(SkImageShader::Make(fBot, in onDraw()
|
/external/skia/site/docs/user/ |
D | sksl.md | 62 `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/ |
D | GrBicubicEffect.cpp | 113 pdm.setSkM44(fCoefficientUni, SkImageShader::CubicResamplerMatrix(fKernel.B, fKernel.C)); in onSetData()
|
/external/skqp/src/core/ |
D | SkPixmap.cpp | 218 sk_sp<SkShader> shader = SkImageShader::Make(SkImage::MakeFromBitmap(bitmap), in scalePixels()
|
/external/skqp/src/image/ |
D | SkImage.cpp | 97 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tileX, tileY, localMatrix); in makeShader()
|
/external/skqp/tests/ |
D | SVGDeviceTest.cpp | 184 paint->setShader(SkImageShader::Make(surface->makeImageSnapshot(), xTile, yTile, nullptr)); in SetImageShader()
|
/external/skia/gn/ |
D | core.gni | 449 "$_src/shaders/SkImageShader.cpp", 450 "$_src/shaders/SkImageShader.h",
|
/external/skqp/gn/ |
D | core.gni | 341 "$_src/shaders/SkImageShader.cpp", 342 "$_src/shaders/SkImageShader.h",
|
/external/skia/src/core/ |
D | SkPixmap.cpp | 239 sk_sp<SkShader> shader = SkImageShader::Make(bitmap.asImage(), in scalePixels()
|
/external/skqp/experimental/canvaskit/ |
D | canvaskit_bindings.cpp | 556 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/ |
D | SkImage.cpp | 149 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tmx, tmy, in makeShader()
|
/external/skia/tests/ |
D | ImageTest.cpp | 1515 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/ |
D | Android.bp | 1168 "src/shaders/SkImageShader.cpp",
|
/external/skia/ |
D | Android.bp | 782 "src/shaders/SkImageShader.cpp", 1278 "src/shaders/SkImageShader.cpp",
|