Home
last modified time | relevance | path

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

123456

/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);
Dcomplexclip.cpp240 canvas->clipShader(img->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat,
270 2, SkTileMode::kRepeat, 0, nullptr);
392 SkTileMode::kRepeat, 0, in __anon043bd41a0302()
395 auto imgShader = img->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in __anon043bd41a0302()
451 auto shader = image->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat,
Dclippedbitmapshaders.cpp64 case SkTileMode::kRepeat: in onShortName()
121 DEF_GM( return new ClippedBitmapShadersGM(SkTileMode::kRepeat); )
125 DEF_GM( return new ClippedBitmapShadersGM(SkTileMode::kRepeat, true); )
Dbug6643.cpp33 SkTileMode::kRepeat, SkTileMode::kRepeat,
Dtiledscaledbitmap.cpp67 paint.setShader(fBitmap.makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onDraw()
Dmatrixconvolution.cpp122 this->draw(canvas, x, 210, kernelOffset, SkTileMode::kRepeat, true, &rect); in onDraw()
129 this->draw(canvas, 310, 210, kernelOffset, SkTileMode::kRepeat, true, &smallRect); in onDraw()
133 this->draw(canvas, 410, 210, kernelOffset, SkTileMode::kRepeat, false, &rect); in onDraw()
/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.cc47 const int kRepeat = 50; variable
94 for (int i = 0; i < kRepeat; i++) { in Helper1()
117 EXPECT_CALL(foo, Baz(_, "b")).Times(kRepeat).WillRepeatedly(Return('a')); in TestConcurrentCallsOnSameObject()
132 EXPECT_EQ(kRepeat, count1 + count2); in TestConcurrentCallsOnSameObject()
142 for (int i = 0; i < kRepeat; i++) { in Helper2()
160 .Times(2 * kRepeat) in TestPartiallyOrderedExpectationsWithThreads()
163 EXPECT_CALL(foo, Bar(3)).Times(2 * kRepeat).InSequence(s2); in TestPartiallyOrderedExpectationsWithThreads()
210 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/vk-gl-cts/external/amber/src/src/
Dsampler.h35 kRepeat = 0, enumerator
103 AddressMode address_mode_u_ = AddressMode::kRepeat;
104 AddressMode address_mode_v_ = AddressMode::kRepeat;
105 AddressMode address_mode_w_ = AddressMode::kRepeat;
/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/
Dskpaint_bitmap_shader.cpp11 paint.setShader(image->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in draw()
Dskew_x_animated.cpp14 SkTileMode::kRepeat, in draw()
15 SkTileMode::kRepeat, in draw()
Dupscale_checkerboard.cpp11 paint.setShader(img->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in draw()
Ddraw_vertices.cpp18 p.setShader(image->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, SkSamplingOptions())); in draw()
D50_percent_srgb.cpp10 return surf->makeImageSnapshot()->makeShader(SkTileMode::kRepeat, in make()
11 SkTileMode::kRepeat, in make()
/third_party/skia/modules/svg/src/
DSkSVGGradient.cpp83 static_assert(static_cast<SkTileMode>(SkSVGSpreadMethod::Type::kRepeat) == in onAsPaint()
84 SkTileMode::kRepeat, "SkSVGSpreadMethod::Type is out of sync"); in onAsPaint()
108 { SkSVGSpreadMethod::Type::kRepeat , "repeat" }, in parse()
/third_party/skia/src/gpu/
DGrSamplerState.h25 kRepeat, enumerator
62 return fWrapModes[0] == WrapMode::kRepeat || fWrapModes[0] == WrapMode::kMirrorRepeat; in isRepeatedX()
66 return fWrapModes[1] == WrapMode::kRepeat || fWrapModes[1] == WrapMode::kMirrorRepeat; in isRepeatedY()

123456