Home
last modified time | relevance | path

Searched refs:makeShader (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/third_party/skia/gm/
Druntimeshader.cpp80 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 …]
Dlocalmatrixshader.cpp55 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())
Dlocalmatriximageshader.cpp39 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()))
Dbitmapshader.cpp78 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,
Dxfermodes2.cpp113 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()
Dbadpaint.cpp42 fPaints.back().setShader(emptyBmp.makeShader(SkSamplingOptions())); in onOnceBeforeDraw()
46 fPaints.back().setShader(blueBmp.makeShader(SkSamplingOptions(), badMatrix)); in onOnceBeforeDraw()
Dsubsetshader.cpp41 paint.setShader(leftBitmap.makeShader(tm, tm, SkSamplingOptions(), matrix));
43 paint.setShader(rightBitmap.makeShader(tm, tm, SkSamplingOptions(), matrix));
/third_party/flutter/skia/gm/
Dlocalmatriximageshader.cpp40 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));
Dgamma.cpp125 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));
Dlocalmatrixshader.cpp52 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()
Dbitmapshader.cpp78 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));
Dxfermodes2.cpp113 fBG = bg.makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, &lm); in onOnceBeforeDraw()
126 fSrc = srcBmp.makeShader(); in onOnceBeforeDraw()
138 fDst = dstBmp.makeShader(); in onOnceBeforeDraw()
Dbadpaint.cpp42 fPaints.back().setShader(emptyBmp.makeShader()); in onOnceBeforeDraw()
46 fPaints.back().setShader(blueBmp.makeShader(&badMatrix)); in onOnceBeforeDraw()
Dsubsetshader.cpp41 paint.setShader(leftBitmap.makeShader(tm, tm, &matrix));
43 paint.setShader(rightBitmap.makeShader(tm, tm, &matrix));
Dtilemodes.cpp52 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/
DSkBitmap.h1119 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()
DSkImage.h669 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);
DSkPicture.h230 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/
DShaderOpacityTest.cpp24 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()
DPictureShaderTest.cpp33 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/
DShaderOpacityTest.cpp21 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()
DPictureShaderTest.cpp31 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/
DImage.java52 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/
DSkRuntimeImageFilter.cpp58 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/
DUnpremulGPU.cpp29 paint.setShader(premulImage->makeShader(tile, tile, SkSamplingOptions())); in draw()
32 paint.setShader(unpremulImage->makeShader(tile, tile, SkSamplingOptions())); in draw()

12345678910>>...12