Home
last modified time | relevance | path

Searched refs:kRepeat (Results 1 – 25 of 246) sorted by relevance

12345678910

/third_party/skia/gm/
Dlocalmatrixshader.cpp159 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())
189 SkTileMode::kRepeat, 0, &scale);
195 SkTileMode::kRepeat, 0, &persp)
202 SkTileMode::kRepeat, 0, &perspScale);
208 SkTileMode::kRepeat)
Dgiantbitmap.cpp86 case SkTileMode::kRepeat: in onShortName()
133 DEF_GM( return new GiantBitmapGM(SkTileMode::kRepeat, false, false); )
136 DEF_GM( return new GiantBitmapGM(SkTileMode::kRepeat, true, false); )
140 DEF_GM( return new GiantBitmapGM(SkTileMode::kRepeat, false, true); )
143 DEF_GM( return new GiantBitmapGM(SkTileMode::kRepeat, true, true); )
Dfilterbug.cpp70 p1.setShader(fTop->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onDraw()
93 p3.setShader(fBot->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onDraw()
Dpictureshader.cpp31 { SkTileMode::kRepeat, SkTileMode::kRepeat },
32 { SkTileMode::kRepeat, SkTileMode::kClamp },
33 { SkTileMode::kMirror, SkTileMode::kRepeat },
235 p.setShader(picture->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat,
Dimageblurrepeatmode.cpp105 SkImageFilters::Blur(sigma, 0.0f, SkTileMode::kRepeat, nullptr)); in onDraw()
109 filter = SkImageFilters::Blur(0.0f, sigma, SkTileMode::kRepeat, nullptr); in onDraw()
113 filter = SkImageFilters::Blur(sigma, sigma, SkTileMode::kRepeat, nullptr); in onDraw()
152 auto filter = SkImageFilters::Blur(0, 10, SkTileMode::kRepeat, nullptr);
Dclippedbitmapshaders.cpp64 case SkTileMode::kRepeat: in onShortName()
121 DEF_GM( return new ClippedBitmapShadersGM(SkTileMode::kRepeat); )
125 DEF_GM( return new ClippedBitmapShadersGM(SkTileMode::kRepeat, true); )
/third_party/flutter/skia/bench/
DHardStopGradientBench_ScaleNumColors.cpp113 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 3);)
114 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 4);)
115 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 5);)
116 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 10);)
117 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 25);)
118 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 50);)
119 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 100);)
DShaderMaskFilterBench.cpp24 return surface->makeImageSnapshot()->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat); in make_bitmap_shader()
35 … return recorder.finishRecordingAsPicture()->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat); in make_picture_shader()
DTileBench.cpp121 DEF_BENCH(return new ConstXTileBench(SkTileMode::kRepeat, SkTileMode::kRepeat, true, false, false))
129 DEF_BENCH(return new ConstXTileBench(SkTileMode::kRepeat, SkTileMode::kRepeat, true, true, false))
/third_party/skia/bench/
DHardStopGradientBench_ScaleNumColors.cpp113 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 3);)
114 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 4);)
115 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 5);)
116 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 10);)
117 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 25);)
118 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 50);)
119 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kRepeat, 100);)
DShaderMaskFilterBench.cpp24 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()
DTileBench.cpp128 DEF_BENCH(return new ConstXTileBench(SkTileMode::kRepeat, SkTileMode::kRepeat, gLI, false, false))
136 DEF_BENCH(return new ConstXTileBench(SkTileMode::kRepeat, SkTileMode::kRepeat, gLI, true, false))
/third_party/googletest/googlemock/test/
Dgmock_stress_test.cc48 const int kRepeat = 50; variable
100 for (int i = 0; i < kRepeat; i++) { in Helper1()
125 .Times(kRepeat) in TestConcurrentCallsOnSameObject()
141 EXPECT_EQ(kRepeat, count1 + count2); in TestConcurrentCallsOnSameObject()
151 for (int i = 0; i < kRepeat; i++) { in Helper2()
170 .Times(2*kRepeat) in TestPartiallyOrderedExpectationsWithThreads()
174 .Times(2*kRepeat) in TestPartiallyOrderedExpectationsWithThreads()
223 const int kExpectedFailures = (3*kRepeat + 1)*kCopiesOfEachRoutine; in TEST()
/third_party/skia/tests/
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()
89 SkTileMode::kClamp, SkTileMode::kRepeat, SkTileMode::kRepeat, SkTileMode::kDecal in DEF_TEST()
DImageNewShaderTest.cpp45 SkTileMode::kRepeat, SkTileMode::kRepeat, SkSamplingOptions()); in run_shader_test()
70 SkTileMode::kRepeat, in run_shader_test()
71 SkTileMode::kRepeat, in run_shader_test()
/third_party/flutter/skia/tests/
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()
DImageNewShaderTest.cpp45 SkTileMode::kRepeat, in run_shader_test()
46 SkTileMode::kRepeat); in run_shader_test()
71 SkTileMode::kRepeat, in run_shader_test()
72 SkTileMode::kRepeat, in run_shader_test()
/third_party/flutter/skia/gm/
Dgiantbitmap.cpp87 case SkTileMode::kRepeat: in onShortName()
135 DEF_GM( return new GiantBitmapGM(SkTileMode::kRepeat, false, false); )
138 DEF_GM( return new GiantBitmapGM(SkTileMode::kRepeat, true, false); )
142 DEF_GM( return new GiantBitmapGM(SkTileMode::kRepeat, false, true); )
145 DEF_GM( return new GiantBitmapGM(SkTileMode::kRepeat, true, true); )
Dfilterbug.cpp72 p1.setShader(fTop->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, &localMat)); in onDraw()
96 p3.setShader(fBot->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, &localMat)); in onDraw()
Dpictureshader.cpp31 { SkTileMode::kRepeat, SkTileMode::kRepeat },
32 { SkTileMode::kRepeat, SkTileMode::kClamp },
33 { SkTileMode::kMirror, SkTileMode::kRepeat },
226 p.setShader(picture->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat));
Dclippedbitmapshaders.cpp65 case SkTileMode::kRepeat: in onShortName()
123 DEF_GM( return new ClippedBitmapShadersGM(SkTileMode::kRepeat); )
127 DEF_GM( return new ClippedBitmapShadersGM(SkTileMode::kRepeat, true); )
/third_party/skia/tests/graphite/
DProgramCacheTest.cpp26 Combination c1 { ShaderCombo::ShaderType::kNone, SkTileMode::kRepeat, SkBlendMode::kSrc }; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
38 Combination c2 { ShaderCombo::ShaderType::kNone, SkTileMode::kRepeat, SkBlendMode::kSrc }; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
52 SkTileMode::kRepeat, in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
/third_party/skia/docs/examples/
Dskew_x_animated.cpp14 SkTileMode::kRepeat, in draw()
15 SkTileMode::kRepeat, in draw()
Dskpaint_bitmap_shader.cpp11 paint.setShader(image->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in draw()
Dupscale_checkerboard.cpp11 paint.setShader(img->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in draw()

12345678910