/third_party/skia/gm/ |
D | runtimeshader.cpp | 80 p.setShader(builder.makeShader(&localM, true)); in onDraw() 89 return img->makeShader(SkSamplingOptions(), scale); 121 return surf->makeImageSnapshot()->makeShader(SkSamplingOptions()); in make_threshold() 170 paint.setShader(builder.makeShader(nullptr, true)); in onDraw() 216 paint.setShader(builder.makeShader(nullptr, true)); in onDraw() 254 builder.child("child") = fMandrill->makeShader(sampling); in onDraw() 257 paint.setShader(builder.makeShader(nullptr, true)); in onDraw() 324 builder.child("child") = fMandrill->makeShader(sampling); in onDraw() 332 builder.child("color_cube") = fIdentityCube->makeShader(sampling, normalize); in onDraw() 333 paint.setShader(builder.makeShader(nullptr, true)); in onDraw() [all …]
|
D | localmatrixshader.cpp | 55 return img->makeShader(SkSamplingOptions(), inner)->makeWithLocalMatrix(outer); in __anoneeba54430102() 60 …return img->makeShader(SkSamplingOptions())->makeWithLocalMatrix(inner)->makeWithLocalMatrix(outer… in __anoneeba54430202() 67 img->makeShader(SkSamplingOptions(), inner)) in __anoneeba54430302() 75 … img->makeShader(SkSamplingOptions())->makeWithLocalMatrix(inner)) in __anoneeba54430402() 159 auto s1 = image->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, 165 auto s2 = image->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, 171 auto s3 = image->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, 176 auto s4 = image->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, SkSamplingOptions())
|
D | localmatriximageshader.cpp | 39 sk_sp<SkShader> redImageShader = redImage->makeShader(SkSamplingOptions(), &translate); 48 sk_sp<SkShader> blueImageShader = blueImage->makeShader(SkSamplingOptions(), &rotate); 61 paint.setShader(image->makeShader(mode[0], mode[1], SkSamplingOptions(), &matrix)); 64 paint.setShader(image->makeShader(mode[0], mode[1], SkSamplingOptions(), &matrix)); 74 p.setShader(image->makeShader(SkSamplingOptions(SkCubicResampler::Mitchell()))
|
D | bitmapshader.cpp | 78 paint.setShader(fImage->makeShader(SkSamplingOptions(), s)); in onDraw() 100 paint.setShader(fMask->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onDraw() 138 paint.setShader(bitmap.makeShader(SkTileMode::kMirror, SkTileMode::kMirror,
|
D | xfermodes2.cpp | 113 fBG = bg.makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, SkSamplingOptions(), lm); in onOnceBeforeDraw() 126 fSrc = srcBmp.makeShader(SkSamplingOptions()); in onOnceBeforeDraw() 138 fDst = dstBmp.makeShader(SkSamplingOptions()); in onOnceBeforeDraw()
|
D | badpaint.cpp | 42 fPaints.back().setShader(emptyBmp.makeShader(SkSamplingOptions())); in onOnceBeforeDraw() 46 fPaints.back().setShader(blueBmp.makeShader(SkSamplingOptions(), badMatrix)); in onOnceBeforeDraw()
|
D | subsetshader.cpp | 41 paint.setShader(leftBitmap.makeShader(tm, tm, SkSamplingOptions(), matrix)); 43 paint.setShader(rightBitmap.makeShader(tm, tm, SkSamplingOptions(), matrix));
|
/third_party/flutter/skia/gm/ |
D | localmatriximageshader.cpp | 40 sk_sp<SkShader> redImageShader = redImage->makeShader(&translate); 49 sk_sp<SkShader> blueImageShader = blueImage->makeShader(&rotate); 62 paint.setShader(image->makeShader(mode[0], mode[1], &matrix)); 65 paint.setShader(image->makeShader(mode[0], mode[1], &matrix)); 76 p.setShader(image->makeShader()->makeWithLocalMatrix(m));
|
D | gamma.cpp | 125 p.setShader(ditherBmp.makeShader(rpt, rpt)); 134 p.setShader(ditherBmp.makeShader(rpt, rpt, &offsetMatrix)); 140 p.setShader(ditherBmp.makeShader(rpt, rpt, &scaleMatrix)); 146 p.setShader(mipmapBmp.makeShader(rpt, rpt, &scaleMatrix)); 209 p.setShader(linearGreyBmp.makeShader(rpt, rpt)); 214 p.setShader(srgbGreyBmp.makeShader(rpt, rpt));
|
D | localmatrixshader.cpp | 52 return img->makeShader(&inner)->makeWithLocalMatrix(outer); in __anon8449b0f80102() 57 return img->makeShader()->makeWithLocalMatrix(inner)->makeWithLocalMatrix(outer); in __anon8449b0f80202() 64 img->makeShader(&inner)) in __anon8449b0f80302() 72 img->makeShader()->makeWithLocalMatrix(inner)) in __anon8449b0f80402()
|
D | bitmapshader.cpp | 78 paint.setShader(fBitmap.makeShader(&s)); in onDraw() 100 paint.setShader(fMask.makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, &s)); in onDraw() 138 paint.setShader(bitmap.makeShader(SkTileMode::kMirror, SkTileMode::kMirror));
|
D | xfermodes2.cpp | 113 fBG = bg.makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, &lm); in onOnceBeforeDraw() 126 fSrc = srcBmp.makeShader(); in onOnceBeforeDraw() 138 fDst = dstBmp.makeShader(); in onOnceBeforeDraw()
|
D | badpaint.cpp | 42 fPaints.back().setShader(emptyBmp.makeShader()); in onOnceBeforeDraw() 46 fPaints.back().setShader(blueBmp.makeShader(&badMatrix)); in onOnceBeforeDraw()
|
D | subsetshader.cpp | 41 paint.setShader(leftBitmap.makeShader(tm, tm, &matrix)); 43 paint.setShader(rightBitmap.makeShader(tm, tm, &matrix));
|
D | tilemodes.cpp | 52 paint->setShader(bm.makeShader(tmx, tmy)); in setup() 174 return bm.makeShader(tx, ty); in make_bm() 278 paint->setShader(img->makeShader(tx, ty)); in __anon949b46870202() 283 paint->setShader(img->makeShader(tx, ty)); in __anon949b46870302() 288 paint->setShader(img->makeShader(tx, ty)); in __anon949b46870402()
|
/third_party/skia/include/core/ |
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() function 1124 return this->makeShader(tmx, tmy, sampling, &localMatrix); in makeShader() 1127 sk_sp<SkShader> makeShader(const SkSamplingOptions& sampling, 1129 return this->makeShader(SkTileMode::kClamp, SkTileMode::kClamp, sampling, localMatrix); 1132 sk_sp<SkShader> makeShader(const SkSamplingOptions& sampling, in makeShader() function 1134 return this->makeShader(sampling, &localMatrix); in makeShader()
|
D | SkImage.h | 669 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions&, 672 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, in makeShader() function 674 return this->makeShader(tmx, tmy, sampling, &lm); in makeShader() 676 sk_sp<SkShader> makeShader(const SkSamplingOptions& sampling, const SkMatrix& lm) const { in makeShader() function 677 return this->makeShader(SkTileMode::kClamp, SkTileMode::kClamp, sampling, &lm); in makeShader() 679 sk_sp<SkShader> makeShader(const SkSamplingOptions& sampling, 681 return this->makeShader(SkTileMode::kClamp, SkTileMode::kClamp, sampling, lm);
|
D | SkPicture.h | 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() function 234 return this->makeShader(tmx, tmy, mode, nullptr, nullptr); in makeShader()
|
/third_party/skia/tests/ |
D | ShaderOpacityTest.cpp | 24 auto shader = bmp.makeShader(SkSamplingOptions()); in test_bitmap() 32 shader = bmp.makeShader(SkSamplingOptions()); in test_bitmap() 38 shader = bmp.makeShader(SkSamplingOptions()); in test_bitmap() 44 shader = bmp.makeShader(SkSamplingOptions()); in test_bitmap()
|
D | PictureShaderTest.cpp | 33 paint.setShader(picture->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in DEF_TEST() 44 paint.setShader(makePicture()->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in DEF_TEST() 92 paint.setShader(picture->makeShader(m, m, SkFilterMode::kNearest)); in DEF_TEST()
|
/third_party/flutter/skia/tests/ |
D | ShaderOpacityTest.cpp | 21 auto shader = bmp.makeShader(SkTileMode::kClamp, SkTileMode::kClamp); in test_bitmap() 29 shader = bmp.makeShader(); in test_bitmap() 35 shader = bmp.makeShader(); in test_bitmap() 41 shader = bmp.makeShader(); in test_bitmap()
|
D | PictureShaderTest.cpp | 31 paint.setShader(picture->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat)); in DEF_TEST() 41 paint.setShader(makePicture()->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat)); in DEF_TEST()
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
D | Image.java | 52 public Shader makeShader(TileMode tmx, TileMode tmy, SamplingOptions sampling) { in makeShader() method in Image 53 return makeShader(tmx, tmy, sampling, null); in makeShader() 56 public Shader makeShader(TileMode tmx, TileMode tmy, SamplingOptions sampling, in makeShader() method in Image
|
/third_party/skia/src/effects/imagefilters/ |
D | SkRuntimeImageFilter.cpp | 58 auto shader = effect->makeShader(uniforms, &child, 1, nullptr, false); in SkMakeRuntimeImageFilter() 119 input->asImage()->makeShader(SkSamplingOptions(SkFilterMode::kLinear), &localM); in onFilterImage() 122 auto shader = fEffect->makeShader(fUniforms, &inputShader, 1, nullptr, false); in onFilterImage()
|
/third_party/skia/docs/examples/ |
D | UnpremulGPU.cpp | 29 paint.setShader(premulImage->makeShader(tile, tile, SkSamplingOptions())); in draw() 32 paint.setShader(unpremulImage->makeShader(tile, tile, SkSamplingOptions())); in draw()
|