/external/skqp/tests/ |
D | ShaderOpacityTest.cpp | 22 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in test_bitmap() 31 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in test_bitmap() 38 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in test_bitmap() 45 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in test_bitmap() 57 SkShader::TileMode mode = SkShader::kClamp_TileMode; in test_gradient()
|
D | GradientTest.cpp | 26 SkShader::kClamp_TileMode)); in test_big_grad() 146 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in TestConstantGradient() 176 rec.fTileMode = SkShader::kClamp_TileMode; in TestGradientShaders() 243 SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode, SkShader::kMirror_TileMode, in TestGradientOptimization() 248 if (gProcInfo[i].fIsClampRestricted && mode != SkShader::kClamp_TileMode) { in TestGradientOptimization() 262 if (!gTests[t].fRequiresNonClamp || mode != SkShader::kClamp_TileMode) { in TestGradientOptimization() 281 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_nearly_vertical() 293 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_vertical() 310 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 4, SkShader::kClamp_TileMode)); in test_linear_fuzz() 327 colors, nullptr, SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode)); in test_two_point_conical_zero_radius() [all …]
|
D | PictureShaderTest.cpp | 28 nullptr, SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, nullptr, nullptr)); in DEF_TEST() 37 SkShader::kClamp_TileMode, in DEF_TEST() 38 SkShader::kClamp_TileMode, nullptr, nullptr)); in DEF_TEST()
|
/external/skqp/bench/ |
D | HardStopGradientBench_ScaleNumColors.cpp | 19 case SkShader::kClamp_TileMode: in get_tilemode_name() 115 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 3);) 116 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 4);) 117 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 5);) 118 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 10);) 119 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 25);) 120 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 50);) 121 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 100);)
|
D | TileBench.cpp | 118 DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, false, f… 126 DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, false, t…
|
D | GradientBench.cpp | 160 case SkShader::kClamp_TileMode: in tilemodename() 190 SkShader::TileMode tm = SkShader::kClamp_TileMode, in GradientBench() 214 const char *tmname = tilemodename(SkShader::kClamp_TileMode); in GradientBench() 223 fPaint.setShader(MakeShader(gradType, data, SkShader::kClamp_TileMode, 1.0f)); in GradientBench() 287 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0], SkShader::kClamp_TileMode, kRec… 291 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0], SkShader::kClamp_TileMode, kOva… 357 SkShader::kClamp_TileMode)); in onDraw()
|
/external/skqp/gm/ |
D | badpaint.cpp | 35 fPaints.back().setShader(SkShader::MakeBitmapShader(emptyBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw() 36 SkShader::kClamp_TileMode)); in onOnceBeforeDraw() 40 fPaints.back().setShader(SkShader::MakeBitmapShader(blueBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw() 41 SkShader::kClamp_TileMode, &badMatrix)); in onOnceBeforeDraw()
|
D | giantbitmap.cpp | 76 case SkShader::kClamp_TileMode: in onShortName() 123 DEF_GM( return new GiantBitmapGM(SkShader::kClamp_TileMode, false, false); ) 126 DEF_GM( return new GiantBitmapGM(SkShader::kClamp_TileMode, true, false); ) 130 DEF_GM( return new GiantBitmapGM(SkShader::kClamp_TileMode, false, true); ) 133 DEF_GM( return new GiantBitmapGM(SkShader::kClamp_TileMode, true, true); )
|
D | matrixconvolution.cpp | 42 pts, fColors, pos, 2, SkShader::kClamp_TileMode)); in makeBitmap() 95 this->draw(canvas, x, 10, kernelOffset, MCIF::kClamp_TileMode, true, &rect); in onDraw() 102 this->draw(canvas, 310, 10, kernelOffset, MCIF::kClamp_TileMode, true, &smallRect); in onDraw() 106 this->draw(canvas, 410, 10, kernelOffset, MCIF::kClamp_TileMode, false, &rect); in onDraw()
|
D | lightingshader2.cpp | 84 fOpaqueDiffuse = SkShader::MakeBitmapShader(opaqueDiffuseMap, SkShader::kClamp_TileMode, in onOnceBeforeDraw() 85 SkShader::kClamp_TileMode, &matrix); in onOnceBeforeDraw() 93 SkShader::kClamp_TileMode, in onOnceBeforeDraw() 94 SkShader::kClamp_TileMode, &matrix); in onOnceBeforeDraw() 97 fNormalMapShader = SkShader::MakeBitmapShader(normalMap, SkShader::kClamp_TileMode, in onOnceBeforeDraw() 98 SkShader::kClamp_TileMode, &matrix); in onOnceBeforeDraw()
|
D | xfermodes2.cpp | 112 fSrc = SkShader::MakeBitmapShader(srcBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw() 113 SkShader::kClamp_TileMode); in onOnceBeforeDraw() 125 fDst = SkShader::MakeBitmapShader(dstBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw() 126 SkShader::kClamp_TileMode); in onOnceBeforeDraw()
|
D | lightingshader.cpp | 103 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, &matrix); in drawRect() 105 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, &matrix); in drawRect()
|
D | highcontrastfilter.cpp | 76 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode)); in draw_scene() 83 SK_ARRAY_COUNT(colors2), SkShader::kClamp_TileMode)); in draw_scene() 102 SkShader::kClamp_TileMode); in HighContrastFilterGM() 105 SkShader::kClamp_TileMode); in HighContrastFilterGM()
|
D | gradients.cpp | 189 SkShader::TileMode tm = SkShader::kClamp_TileMode; in onDraw() 245 SkShader::TileMode tm = SkShader::kClamp_TileMode; in onDraw() 303 SkShader::TileMode tm = SkShader::kClamp_TileMode; in onDraw() 410 SkShader::kClamp_TileMode)); in onDraw() 454 SkShader::kClamp_TileMode)); 490 SkShader::kClamp_TileMode)); in onDraw() 532 SkShader::kClamp_TileMode)); in onDraw() 584 SkShader::kClamp_TileMode, in onDraw() 588 SkShader::kClamp_TileMode, in onDraw() 629 SkShader::kClamp_TileMode); in onOnceBeforeDraw() [all …]
|
D | imageblurclampmode.cpp | 74 SkBlurImageFilter::kClamp_TileMode); in onDraw() 80 SkBlurImageFilter::kClamp_TileMode); in onDraw() 86 SkBlurImageFilter::kClamp_TileMode); in onDraw()
|
D | clippedbitmapshaders.cpp | 62 case SkShader::kClamp_TileMode: in onShortName() 118 DEF_GM( return new ClippedBitmapShadersGM(SkShader::kClamp_TileMode); ) 122 DEF_GM( return new ClippedBitmapShadersGM(SkShader::kClamp_TileMode, true); )
|
D | tilemodes.cpp | 34 SkShader::kClamp_TileMode)); in makebm() 95 SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode, SkShader::kMirror_TileMode }; in onDraw() 210 SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode, SkShader::kMirror_TileMode in onDraw() 307 { SkShader::kClamp_TileMode, SkShader::kClamp_TileMode }, 308 { SkShader::kClamp_TileMode, SkShader::kDecal_TileMode }, 309 { SkShader::kDecal_TileMode, SkShader::kClamp_TileMode },
|
D | p3.cpp | 202 SkShader::kClamp_TileMode)); 229 SkShader::kClamp_TileMode, 257 SkShader::kClamp_TileMode)); 284 SkShader::kClamp_TileMode, 312 SkShader::kClamp_TileMode, 347 as_shader.setShader(SkShader::MakeBitmapShader(bm, SkShader::kClamp_TileMode 348 , SkShader::kClamp_TileMode));
|
D | shallowgradient.cpp | 15 return SkGradientShader::MakeLinear(pts, colors, nullptr, count, SkShader::kClamp_TileMode); in shader_linear() 21 SkShader::kClamp_TileMode); in shader_radial() 27 colors, nullptr, count, SkShader::kClamp_TileMode); in shader_conical()
|
D | perspshaders.cpp | 48 fBitmapShader = SkShader::MakeBitmapShader(fBitmap, SkShader::kClamp_TileMode, in onOnceBeforeDraw() 49 SkShader::kClamp_TileMode); in onOnceBeforeDraw() 64 SkShader::kClamp_TileMode); in onOnceBeforeDraw() 66 SkShader::kClamp_TileMode); in onOnceBeforeDraw()
|
/external/skqp/samplecode/ |
D | SampleShaders.cpp | 30 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_bitmapfade() 33 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in make_bitmapfade() 53 … auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in ShaderView() 59 … auto shaderB = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in ShaderView()
|
D | SampleLighting.cpp | 42 SkShader::kClamp_TileMode, in LightingView() 43 SkShader::kClamp_TileMode, in LightingView() 52 SkShader::kClamp_TileMode, in LightingView() 53 SkShader::kClamp_TileMode, in LightingView()
|
/external/skqp/src/pdf/ |
D | SkPDFShader.cpp | 67 if (tileModes[0] != SkShader::kClamp_TileMode || in make_image_shader() 68 tileModes[1] != SkShader::kClamp_TileMode) { in make_image_shader() 122 if (tileModes[0] == SkShader::kClamp_TileMode || in make_image_shader() 123 tileModes[1] == SkShader::kClamp_TileMode) { in make_image_shader() 134 if (tileModes[0] == SkShader::kClamp_TileMode && in make_image_shader() 135 tileModes[1] == SkShader::kClamp_TileMode) { in make_image_shader() 169 if (tileModes[0] == SkShader::kClamp_TileMode) { in make_image_shader() 208 if (tileModes[1] == SkShader::kClamp_TileMode) { in make_image_shader() 273 {SkShader::kClamp_TileMode, SkShader::kClamp_TileMode}, in make_fallback_shader() 347 {SkShader::kClamp_TileMode, SkShader::kClamp_TileMode}, in SkPDFMakeShader()
|
/external/skqp/docs/ |
D | SkBlendMode_Reference.bmh | 246 colors, nullptr, SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode)); 314 SkShader::kClamp_TileMode)); 320 SkShader::kClamp_TileMode)); 338 SkShader::kClamp_TileMode)); 344 SkShader::kClamp_TileMode)); 362 SkShader::kClamp_TileMode)); 368 SkShader::kClamp_TileMode)); 387 SkShader::kClamp_TileMode)); 393 SkShader::kClamp_TileMode)); 412 SkShader::kClamp_TileMode)); [all …]
|
/external/skqp/src/core/ |
D | SkBitmapProcState.cpp | 199 if (fTileModeX != SkShader::kClamp_TileMode || in init() 200 fTileModeY != SkShader::kClamp_TileMode) { in init() 275 && SkShader::kClamp_TileMode == fTileModeX) { in chooseProcs() 434 if (SkShader::kClamp_TileMode != s.fTileModeX || in S32_D32_constX_shaderproc() 435 SkShader::kClamp_TileMode != s.fTileModeY) { in S32_D32_constX_shaderproc() 446 case SkShader::kClamp_TileMode: in S32_D32_constX_shaderproc() 464 (SkShader::kClamp_TileMode != s.fTileModeX || in S32_D32_constX_shaderproc() 465 SkShader::kClamp_TileMode != s.fTileModeY)) { in S32_D32_constX_shaderproc() 472 case SkShader::kClamp_TileMode: in S32_D32_constX_shaderproc() 565 if (SkShader::kClamp_TileMode == tx && SkShader::kClamp_TileMode == ty) { in chooseShaderProc32()
|