Home
last modified time | relevance | path

Searched refs:kClamp (Results 1 – 25 of 251) sorted by relevance

1234567891011

/external/skia/bench/
DHardStopGradientBench_ScaleNumColors.cpp104 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kClamp, 3);)
105 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kClamp, 4);)
106 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kClamp, 5);)
107 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kClamp, 10);)
108 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kClamp, 25);)
109 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kClamp, 50);)
110 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkTileMode::kClamp, 100);)
DTileBench.cpp117 DEF_BENCH(return new ConstXTileBench(SkTileMode::kClamp, SkTileMode::kClamp, gNN, false, false))
125 DEF_BENCH(return new ConstXTileBench(SkTileMode::kClamp, SkTileMode::kClamp, gNN, true, false))
/external/skqp/include/gpu/
DGrSamplerState.h19 enum class WrapMode : uint8_t { kClamp, kRepeat, kMirrorRepeat, kClampToBorder }; enumerator
23 return GrSamplerState(WrapMode::kClamp, Filter::kBilerp); in ClampBilerp()
26 constexpr GrSamplerState() : GrSamplerState(WrapMode::kClamp, Filter::kNearest) {} in GrSamplerState()
54 return (WrapMode::kClamp != fWrapModes[0] && WrapMode::kClampToBorder != fWrapModes[0]) || in isRepeated()
55 (WrapMode::kClamp != fWrapModes[1] && WrapMode::kClampToBorder != fWrapModes[1]); in isRepeated()
/external/skia/tests/
DGradientTest.cpp28 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kClamp)); in test_big_grad()
148 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in TestConstantGradient()
178 rec.fTileMode = SkTileMode::kClamp; in TestGradientShaders()
245 SkTileMode::kClamp, SkTileMode::kRepeat, SkTileMode::kMirror, in TestGradientOptimization()
250 if (gProcInfo[i].fIsClampRestricted && mode != SkTileMode::kClamp) { in TestGradientOptimization()
264 if (!gTests[t].fRequiresNonClamp || mode != SkTileMode::kClamp) { in TestGradientOptimization()
283 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in test_nearly_vertical()
295 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in test_vertical()
312 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 4, SkTileMode::kClamp)); in test_linear_fuzz()
329 colors, nullptr, SK_ARRAY_COUNT(colors), SkTileMode::kClamp)); in test_two_point_conical_zero_radius()
[all …]
/external/skia/gm/
Dgiantbitmap.cpp84 case SkTileMode::kClamp: in onShortName()
136 DEF_GM( return new GiantBitmapGM(SkTileMode::kClamp, false, false); )
139 DEF_GM( return new GiantBitmapGM(SkTileMode::kClamp, true, false); )
143 DEF_GM( return new GiantBitmapGM(SkTileMode::kClamp, false, true); )
146 DEF_GM( return new GiantBitmapGM(SkTileMode::kClamp, true, true); )
Dgradients.cpp200 SkTileMode tm = SkTileMode::kClamp; in onDraw()
257 SkTileMode tm = SkTileMode::kClamp; in onDraw()
309 SkTileMode tm = SkTileMode::kClamp; in onDraw()
409 SkTileMode::kClamp)); in onDraw()
450 SkTileMode::kClamp));
482 SkTileMode::kClamp)); in onDraw()
515 SkTileMode::kClamp)); in onDraw()
561 SkTileMode::kClamp, in onDraw()
565 SkTileMode::kClamp, in onDraw()
606 SkTileMode::kClamp); in onOnceBeforeDraw()
[all …]
Dmatrixconvolution.cpp62 pts, fColors, pos, 2, SkTileMode::kClamp)); in makeBitmap()
120 this->draw(canvas, x, 10, kernelOffset, SkTileMode::kClamp, true, &rect); in onDraw()
127 this->draw(canvas, 310, 10, kernelOffset, SkTileMode::kClamp, true, &smallRect); in onDraw()
131 this->draw(canvas, 410, 10, kernelOffset, SkTileMode::kClamp, false, &rect); in onDraw()
Dhighcontrastfilter.cpp93 SK_ARRAY_COUNT(colors), SkTileMode::kClamp)); in draw_scene()
100 SK_ARRAY_COUNT(colors2), SkTileMode::kClamp)); in draw_scene()
119 SkTileMode::kClamp); in onOnceBeforeDraw()
122 SkTileMode::kClamp); in onOnceBeforeDraw()
Dclippedbitmapshaders.cpp71 case SkTileMode::kClamp: in onShortName()
124 DEF_GM( return new ClippedBitmapShadersGM(SkTileMode::kClamp); )
128 DEF_GM( return new ClippedBitmapShadersGM(SkTileMode::kClamp, true); )
Dimageblurclampmode.cpp87 filter = SkImageFilters::Blur(sigma, 0.0f, SkTileMode::kClamp, nullptr); in onDraw()
92 filter = SkImageFilters::Blur(0.0f, sigma, SkTileMode::kClamp, nullptr); in onDraw()
97 filter = SkImageFilters::Blur(sigma, sigma, SkTileMode::kClamp, nullptr); in onDraw()
Dtilemodes.cpp46 SkTileMode::kClamp)); in makebm()
106 SkTileMode::kClamp, SkTileMode::kRepeat, SkTileMode::kMirror }; in onDraw()
217 SkTileMode::kClamp, SkTileMode::kRepeat, SkTileMode::kMirror in onDraw()
307 { SkTileMode::kClamp, SkTileMode::kClamp },
308 { SkTileMode::kClamp, SkTileMode::kDecal },
309 { SkTileMode::kDecal, SkTileMode::kClamp },
Dshallowgradient.cpp26 return SkGradientShader::MakeLinear(pts, colors, nullptr, count, SkTileMode::kClamp); in shader_linear()
32 SkTileMode::kClamp); in shader_radial()
38 colors, nullptr, count, SkTileMode::kClamp); in shader_conical()
/external/skqp/src/gpu/effects/
DGrSimpleTextureEffect.fp28 … GrSamplerState(GrSamplerState::WrapMode::kClamp, GrSamplerState::Filter::kNearest)));
37 GrSamplerState(GrSamplerState::WrapMode::kClamp, filter)));
66 wrapModes[0] = GrSamplerState::WrapMode::kClamp;
67 wrapModes[1] = GrSamplerState::WrapMode::kClamp;
/external/skia/src/core/
DSkBitmapProcState.cpp214 if (fTileModeX != SkTileMode::kClamp || fTileModeY != SkTileMode::kClamp) { in init()
285 && SkTileMode::kClamp == fTileModeX in chooseProcs()
286 && SkTileMode::kClamp == fTileModeY in chooseProcs()
445 if (SkTileMode::kClamp != s.fTileModeX || SkTileMode::kClamp != s.fTileModeY) { in S32_D32_constX_shaderproc()
454 case SkTileMode::kClamp: in S32_D32_constX_shaderproc()
472 (SkTileMode::kClamp != s.fTileModeX || SkTileMode::kClamp != s.fTileModeY)) { in S32_D32_constX_shaderproc()
479 case SkTileMode::kClamp: in S32_D32_constX_shaderproc()
568 if (SkTileMode::kClamp == tx && SkTileMode::kClamp == ty) { in chooseShaderProc32()
/external/skia/src/pdf/
DSkPDFShader.cpp140 if (tileModesX == SkTileMode::kClamp || tileModesY == SkTileMode::kClamp) { in make_image_shader()
148 if (tileModesX == SkTileMode::kClamp && tileModesY == SkTileMode::kClamp) { in make_image_shader()
165 if (tileModesX == SkTileMode::kClamp) { in make_image_shader()
208 if (tileModesY == SkTileMode::kClamp) { in make_image_shader()
316 SkTileMode::kClamp, SkTileMode::kClamp, in make_fallback_shader()
/external/skia/docs/examples/
DDst_Over.cpp11 SkTileMode::kClamp)); in draw()
17 SkTileMode::kClamp)); in draw()
DScreen.cpp11 SkTileMode::kClamp)); in draw()
17 SkTileMode::kClamp)); in draw()
DSrc_Atop.cpp11 SkTileMode::kClamp)); in draw()
17 SkTileMode::kClamp)); in draw()
DSrc_Out.cpp11 SkTileMode::kClamp)); in draw()
17 SkTileMode::kClamp)); in draw()
DDst_Out.cpp11 SkTileMode::kClamp)); in draw()
17 SkTileMode::kClamp)); in draw()
DSrc_In.cpp11 SkTileMode::kClamp)); in draw()
17 SkTileMode::kClamp)); in draw()
DOverlay.cpp11 SkTileMode::kClamp)); in draw()
17 SkTileMode::kClamp)); in draw()
DDst_Atop.cpp11 SkTileMode::kClamp)); in draw()
17 SkTileMode::kClamp)); in draw()
DDst_In.cpp11 SkTileMode::kClamp)); in draw()
17 SkTileMode::kClamp)); in draw()
DSrc_Over.cpp11 SkTileMode::kClamp)); in draw()
17 SkTileMode::kClamp)); in draw()

1234567891011