/external/skia/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/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/skia/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…
|
/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…
|
/external/skia/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/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/skia/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 | 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()
|
/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 | 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 | 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()
|
/external/skia/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/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/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/skia/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 …]
|