/external/skia/gm/ |
D | runtimeshader.cpp | 77 p.setShader(builder.makeShader(&localM, true)); in onDraw() 86 return img->makeShader(SkSamplingOptions(), scale); 118 return surf->makeImageSnapshot()->makeShader(SkSamplingOptions()); in make_threshold() 167 paint.setShader(builder.makeShader(nullptr, true)); in onDraw() 213 paint.setShader(builder.makeShader(nullptr, true)); in onDraw() 251 builder.child("input") = fMandrill->makeShader(sampling); in onDraw() 254 paint.setShader(builder.makeShader(nullptr, true)); in onDraw() 321 builder.child("input") = fMandrill->makeShader(sampling); in onDraw() 329 builder.child("color_cube") = fIdentityCube->makeShader(sampling, normalize); in onDraw() 330 paint.setShader(builder.makeShader(nullptr, true)); in onDraw() [all …]
|
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 | localmatrixshader.cpp | 55 return img->makeShader(SkSamplingOptions(), inner)->makeWithLocalMatrix(outer); in __anonbb83141a0102() 60 …return img->makeShader(SkSamplingOptions())->makeWithLocalMatrix(inner)->makeWithLocalMatrix(outer… in __anonbb83141a0202() 67 img->makeShader(SkSamplingOptions(), inner)) in __anonbb83141a0302() 75 … img->makeShader(SkSamplingOptions())->makeWithLocalMatrix(inner)) in __anonbb83141a0402() 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 | 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 | 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 | 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 | filterbug.cpp | 71 p1.setShader(fTop->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onDraw() 94 p3.setShader(fBot->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onDraw()
|
D | tilemodes.cpp | 52 paint->setShader(bm.makeShader(tmx, tmy, SkSamplingOptions(fm))); in setup() 173 return bm.makeShader(tx, ty, SkSamplingOptions()); in make_bm() 277 paint->setShader(img->makeShader(tx, ty, SkSamplingOptions(kNone_SkFilterQuality))); in __anondb7ca7a90202() 281 paint->setShader(img->makeShader(tx, ty, SkSamplingOptions(kLow_SkFilterQuality))); in __anondb7ca7a90302() 285 paint->setShader(img->makeShader(tx, ty, SkSamplingOptions(kHigh_SkFilterQuality))); in __anondb7ca7a90402()
|
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 | rectangletexture.cpp | 180 clampPaint.setShader(fGradImgs[i]->makeShader(s)); in onDraw() 186 repeatPaint.setShader(fGradImgs[i]->makeShader(SkTileMode::kRepeat, in onDraw() 221 paint.setShader(fSmallImg->makeShader(static_cast<SkTileMode>(tx), in onDraw()
|
D | complexclip.cpp | 214 auto sh = img->makeShader(SkSamplingOptions()); 241 canvas->clipShader(img->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, 251 auto sh = img->makeShader(SkSamplingOptions()); 396 auto imgShader = img->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in __anona5dab5430302() 452 auto shader = image->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat,
|
D | runtimeintrinsics.cpp | 130 draw_shader(canvas, builder.makeShader(/*localMatrix=*/nullptr, /*isOpaque=*/false)); in plot() 352 draw_shader(canvas, builder.makeShader(/*localMatrix=*/nullptr, /*isOpaque=*/false)); in plot_matrix_comp_mult() 390 draw_shader(canvas, builder.makeShader(/*localMatrix=*/nullptr, /*isOpaque=*/false)); in plot_matrix_inverse() 478 effect->makeShader(uniforms, in plot_bvec()
|
/external/skqp/gm/ |
D | localmatriximageshader.cpp | 30 sk_sp<SkShader> redImageShader = redImage->makeShader(&translate); 39 sk_sp<SkShader> blueImageShader = blueImage->makeShader(&rotate); 52 paint.setShader(image->makeShader(mode[0], mode[1], &matrix)); 55 paint.setShader(image->makeShader(mode[0], mode[1], &matrix)); 66 p.setShader(image->makeShader()->makeWithLocalMatrix(m));
|
D | localmatrixshader.cpp | 42 return img->makeShader(&inner)->makeWithLocalMatrix(outer); in __anon1a544d110102() 47 return img->makeShader()->makeWithLocalMatrix(inner)->makeWithLocalMatrix(outer); in __anon1a544d110202() 53 img->makeShader(&inner), in __anon1a544d110302() 61 img->makeShader()->makeWithLocalMatrix(inner), in __anon1a544d110402()
|
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()
|
/external/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 | SkRuntimeEffectTest.cpp | 281 auto shader = fBuilder->makeShader(nullptr, false); in test() 339 return bmp.makeShader(SkSamplingOptions()); in make_RGBW_shader() 451 auto shader_0 = b.makeShader(nullptr, false); in DEF_TEST() 454 auto shader_1 = b.makeShader(nullptr, true); in DEF_TEST() 483 auto shader = b.makeShader(nullptr, false); in DEF_TEST() 534 sk_sp<SkShader> child = childEffect->makeShader(/*uniforms=*/nullptr, &nullChild, in test_RuntimeEffectStructNameReuse()
|
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()
|
/external/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 | 663 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions&, 666 sk_sp<SkShader> makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions& sampling, in makeShader() function 668 return this->makeShader(tmx, tmy, sampling, &lm); in makeShader() 670 sk_sp<SkShader> makeShader(const SkSamplingOptions& sampling, const SkMatrix& lm) const { in makeShader() function 671 return this->makeShader(SkTileMode::kClamp, SkTileMode::kClamp, sampling, &lm); in makeShader() 673 sk_sp<SkShader> makeShader(const SkSamplingOptions& sampling, 675 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()
|
/external/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()
|
/external/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()
|