/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 __anon97ebb8310102() 60 …return img->makeShader(SkSamplingOptions())->makeWithLocalMatrix(inner)->makeWithLocalMatrix(outer… in __anon97ebb8310202() 67 img->makeShader(SkSamplingOptions(), inner)) in __anon97ebb8310302() 75 … img->makeShader(SkSamplingOptions())->makeWithLocalMatrix(inner)) in __anon97ebb8310402() 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));
|
D | tilemodes.cpp | 51 paint->setShader(bm.makeShader(tmx, tmy, SkSamplingOptions(fm))); in setup() 171 return bm.makeShader(tx, ty, SkSamplingOptions()); in make_bm() 275 paint->setShader(img->makeShader(tx, ty, SkSamplingOptions(SkFilterMode::kNearest))); in __anonc08a24c00202() 279 paint->setShader(img->makeShader(tx, ty, SkSamplingOptions(SkFilterMode::kLinear))); in __anonc08a24c00302() 283 … paint->setShader(img->makeShader(tx, ty, SkSamplingOptions(SkCubicResampler::Mitchell()))); in __anonc08a24c00402()
|
D | filterbug.cpp | 70 p1.setShader(fTop->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onDraw() 93 p3.setShader(fBot->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onDraw()
|
D | complexclip.cpp | 213 auto sh = img->makeShader(SkSamplingOptions()); 240 canvas->clipShader(img->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, 250 auto sh = img->makeShader(SkSamplingOptions()); 395 auto imgShader = img->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in __anon043bd41a0302() 451 auto shader = image->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat,
|
D | rectangletexture.cpp | 176 clampPaint.setShader(fGradImgs[i]->makeShader(s)); in onDraw() 182 repeatPaint.setShader(fGradImgs[i]->makeShader(SkTileMode::kRepeat, in onDraw() 224 paint.setShader(fSmallImg->makeShader(static_cast<SkTileMode>(tx), in onDraw()
|
D | composeshader.cpp | 177 fColorBitmapShader = fColorBitmap.makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onOnceBeforeDraw() 179 fAlpha8BitmapShader = fAlpha8Bitmap.makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onOnceBeforeDraw() 279 skMaskImage->makeShader(SkSamplingOptions()), 280 skSrc->makeShader(SkSamplingOptions())));
|
D | gradient_matrix.cpp | 79 sk_sp<SkShader> (*makeShader)(const SkPoint[2], const SkMatrix&), in draw_gradients() 101 paint.setShader(makeShader(*ptsArray, shaderMat)); in draw_gradients()
|
D | pictureshader.cpp | 171 auto pictureShader = fPicture->makeShader(kTileConfigs[tileMode].tmx, in drawScene() 183 auto bitmapShader = fBitmap.makeShader(kTileConfigs[tileMode].tmx, in drawScene() 235 p.setShader(picture->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat,
|
/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 | 671 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions&, 674 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, in makeShader() function 676 return this->makeShader(tmx, tmy, sampling, &lm); in makeShader() 678 sk_sp<SkShader> makeShader(const SkSamplingOptions& sampling, const SkMatrix& lm) const { in makeShader() function 679 return this->makeShader(SkTileMode::kClamp, SkTileMode::kClamp, sampling, &lm); in makeShader() 681 sk_sp<SkShader> makeShader(const SkSamplingOptions& sampling, 683 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()
|
D | ShaderTest.cpp | 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()
|
/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()
|
/third_party/skia/bench/ |
D | ShaderMaskFilterBench.cpp | 24 return surface->makeImageSnapshot()->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in make_bitmap_shader() 36 return recorder.finishRecordingAsPicture()->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in make_picture_shader()
|
/third_party/skia/modules/androidkit/src/ |
D | Image.cpp | 53 ? image->makeShader(tmx, tmy, sampling, lm->asM33()) in Image_MakeShader() 54 : image->makeShader(tmx, tmy, sampling); in Image_MakeShader()
|