/external/skia/bench/ |
D | HardStopGradientBench_ScaleNumColors.cpp | 104 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);)
|
D | TileBench.cpp | 117 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/ |
D | GrSamplerState.h | 19 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/ |
D | GradientTest.cpp | 28 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/ |
D | giantbitmap.cpp | 84 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); )
|
D | gradients.cpp | 200 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 …]
|
D | matrixconvolution.cpp | 62 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()
|
D | highcontrastfilter.cpp | 93 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()
|
D | clippedbitmapshaders.cpp | 71 case SkTileMode::kClamp: in onShortName() 124 DEF_GM( return new ClippedBitmapShadersGM(SkTileMode::kClamp); ) 128 DEF_GM( return new ClippedBitmapShadersGM(SkTileMode::kClamp, true); )
|
D | imageblurclampmode.cpp | 87 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()
|
D | tilemodes.cpp | 46 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 },
|
D | shallowgradient.cpp | 26 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/ |
D | GrSimpleTextureEffect.fp | 28 … 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/ |
D | SkBitmapProcState.cpp | 214 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/ |
D | SkPDFShader.cpp | 140 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/ |
D | Dst_Over.cpp | 11 SkTileMode::kClamp)); in draw() 17 SkTileMode::kClamp)); in draw()
|
D | Screen.cpp | 11 SkTileMode::kClamp)); in draw() 17 SkTileMode::kClamp)); in draw()
|
D | Src_Atop.cpp | 11 SkTileMode::kClamp)); in draw() 17 SkTileMode::kClamp)); in draw()
|
D | Src_Out.cpp | 11 SkTileMode::kClamp)); in draw() 17 SkTileMode::kClamp)); in draw()
|
D | Dst_Out.cpp | 11 SkTileMode::kClamp)); in draw() 17 SkTileMode::kClamp)); in draw()
|
D | Src_In.cpp | 11 SkTileMode::kClamp)); in draw() 17 SkTileMode::kClamp)); in draw()
|
D | Overlay.cpp | 11 SkTileMode::kClamp)); in draw() 17 SkTileMode::kClamp)); in draw()
|
D | Dst_Atop.cpp | 11 SkTileMode::kClamp)); in draw() 17 SkTileMode::kClamp)); in draw()
|
D | Dst_In.cpp | 11 SkTileMode::kClamp)); in draw() 17 SkTileMode::kClamp)); in draw()
|
D | Src_Over.cpp | 11 SkTileMode::kClamp)); in draw() 17 SkTileMode::kClamp)); in draw()
|