/third_party/flutter/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 | 118 DEF_BENCH(return new ConstXTileBench(SkTileMode::kClamp, SkTileMode::kClamp, false, false, false)) 126 DEF_BENCH(return new ConstXTileBench(SkTileMode::kClamp, SkTileMode::kClamp, false, true, false))
|
/third_party/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 | 125 DEF_BENCH(return new ConstXTileBench(SkTileMode::kClamp, SkTileMode::kClamp, gNN, false, false)) 133 DEF_BENCH(return new ConstXTileBench(SkTileMode::kClamp, SkTileMode::kClamp, gNN, true, false))
|
/third_party/flutter/skia/src/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()
|
/third_party/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 …]
|
/third_party/flutter/skia/tests/ |
D | GradientTest.cpp | 25 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kClamp)); in test_big_grad() 145 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in TestConstantGradient() 175 rec.fTileMode = SkTileMode::kClamp; in TestGradientShaders() 242 SkTileMode::kClamp, SkTileMode::kRepeat, SkTileMode::kMirror, in TestGradientOptimization() 247 if (gProcInfo[i].fIsClampRestricted && mode != SkTileMode::kClamp) { in TestGradientOptimization() 261 if (!gTests[t].fRequiresNonClamp || mode != SkTileMode::kClamp) { in TestGradientOptimization() 280 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in test_nearly_vertical() 292 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in test_vertical() 309 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 4, SkTileMode::kClamp)); in test_linear_fuzz() 326 colors, nullptr, SK_ARRAY_COUNT(colors), SkTileMode::kClamp)); in test_two_point_conical_zero_radius() [all …]
|
/third_party/flutter/skia/gm/ |
D | giantbitmap.cpp | 84 case SkTileMode::kClamp: in onShortName() 134 DEF_GM( return new GiantBitmapGM(SkTileMode::kClamp, false, false); ) 137 DEF_GM( return new GiantBitmapGM(SkTileMode::kClamp, true, false); ) 141 DEF_GM( return new GiantBitmapGM(SkTileMode::kClamp, false, true); ) 144 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 | 55 pts, fColors, pos, 2, SkTileMode::kClamp)); in makeBitmap() 100 this->draw(canvas, x, 10, kernelOffset, SkTileMode::kClamp, true, &rect); in onDraw() 107 this->draw(canvas, 310, 10, kernelOffset, SkTileMode::kClamp, true, &smallRect); in onDraw() 111 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 HighContrastFilterGM() 122 SkTileMode::kClamp); in HighContrastFilterGM()
|
D | clippedbitmapshaders.cpp | 71 case SkTileMode::kClamp: in onShortName() 125 DEF_GM( return new ClippedBitmapShadersGM(SkTileMode::kClamp); ) 129 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()
|
/third_party/skia/gm/ |
D | giantbitmap.cpp | 83 case SkTileMode::kClamp: in onShortName() 132 DEF_GM( return new GiantBitmapGM(SkTileMode::kClamp, false, false); ) 135 DEF_GM( return new GiantBitmapGM(SkTileMode::kClamp, true, false); ) 139 DEF_GM( return new GiantBitmapGM(SkTileMode::kClamp, false, true); ) 142 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()
|
/third_party/flutter/skia/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;
|
D | GrBicubicEffect.h | 52 GrSamplerState::WrapMode::kClamp, GrSamplerState::WrapMode::kClamp}; in Make() 100 GrSamplerState::WrapMode::kClamp, GrSamplerState::WrapMode::kClamp}; in Make()
|
/third_party/skia/src/core/ |
D | SkBitmapProcState.cpp | 213 if (fTileModeX != SkTileMode::kClamp || fTileModeY != SkTileMode::kClamp) { in init() 284 && SkTileMode::kClamp == fTileModeX in chooseProcs() 285 && SkTileMode::kClamp == fTileModeY in chooseProcs() 444 if (SkTileMode::kClamp != s.fTileModeX || SkTileMode::kClamp != s.fTileModeY) { in S32_D32_constX_shaderproc() 453 case SkTileMode::kClamp: in S32_D32_constX_shaderproc() 471 (SkTileMode::kClamp != s.fTileModeX || SkTileMode::kClamp != s.fTileModeY)) { in S32_D32_constX_shaderproc() 478 case SkTileMode::kClamp: in S32_D32_constX_shaderproc() 567 if (SkTileMode::kClamp == tx && SkTileMode::kClamp == ty) { in chooseShaderProc32()
|
/third_party/flutter/skia/samplecode/ |
D | SampleShaders.cpp | 28 SkTileMode::kClamp)); in make_bitmapfade() 39 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kClamp); in make_blend_shader() 45 auto shaderB = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kClamp); in make_blend_shader()
|
/third_party/flutter/skia/src/core/ |
D | SkBitmapProcState.cpp | 198 if (fTileModeX != SkTileMode::kClamp || fTileModeY != SkTileMode::kClamp) { in init() 273 && SkTileMode::kClamp == fTileModeX) { in chooseProcs() 432 if (SkTileMode::kClamp != s.fTileModeX || SkTileMode::kClamp != s.fTileModeY) { in S32_D32_constX_shaderproc() 443 case SkTileMode::kClamp: in S32_D32_constX_shaderproc() 461 (SkTileMode::kClamp != s.fTileModeX || SkTileMode::kClamp != s.fTileModeY)) { in S32_D32_constX_shaderproc() 468 case SkTileMode::kClamp: in S32_D32_constX_shaderproc() 561 if (SkTileMode::kClamp == tx && SkTileMode::kClamp == ty) { in chooseShaderProc32()
|
/third_party/flutter/skia/src/shaders/ |
D | SkImageShader.cpp | 30 return dimension == 1 ? SkTileMode::kClamp : tm; in optimize() 176 case SkTileMode::kClamp: in tile_mode_to_wrap_mode() 177 return GrSamplerState::WrapMode::kClamp; in tile_mode_to_wrap_mode() 207 wrapModes[0] = GrSamplerState::WrapMode::kClamp; in asFragmentProcessor() 211 wrapModes[1] = GrSamplerState::WrapMode::kClamp; in asFragmentProcessor() 408 case SkTileMode::kClamp: /* The gather_xxx stage will clamp for us. */ break; in doStages() 414 case SkTileMode::kClamp: /* The gather_xxx stage will clamp for us. */ break; in doStages() 491 && fTileModeX == SkTileMode::kClamp && fTileModeY == SkTileMode::kClamp) { in doStages() 518 && fTileModeX == SkTileMode::kClamp && fTileModeY == SkTileMode::kClamp) { in doStages()
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFShader.cpp | 139 if (tileModesX == SkTileMode::kClamp || tileModesY == SkTileMode::kClamp) { in make_image_shader() 147 if (tileModesX == SkTileMode::kClamp && tileModesY == SkTileMode::kClamp) { in make_image_shader() 164 if (tileModesX == SkTileMode::kClamp) { in make_image_shader() 207 if (tileModesY == SkTileMode::kClamp) { in make_image_shader() 315 SkTileMode::kClamp, SkTileMode::kClamp, in make_fallback_shader()
|
/third_party/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()
|