Home
last modified time | relevance | path

Searched refs:kClamp_TileMode (Results 1 – 25 of 132) sorted by relevance

123456

/external/skia/bench/
DSkLinearBitmapPipelineBench.cpp35 case SkShader::kClamp_TileMode: in tileName()
220 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode);)
224 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode);)
228 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode);)
232 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode);)
236 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode);)
240 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode);)
245 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode);)
249 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode);) in DEF_BENCH() argument
253 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode);)
[all …]
DTileBench.cpp121 DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, false, f…
129 DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, false, t…
DGradientBench.cpp164 case SkShader::kClamp_TileMode: in tilemodename()
194 SkShader::TileMode tm = SkShader::kClamp_TileMode, in GradientBench()
224 const char *tmname = tilemodename(SkShader::kClamp_TileMode); in GradientBench()
233 MakeShader(gradType, data, SkShader::kClamp_TileMode, 1.0f, force4f)); in GradientBench()
284 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kClamp_TileMode,
286 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkShader::kClamp_TileMode,
288 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2], SkShader::kClamp_TileMode,
318 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0], SkShader::kClamp_TileMode, kRec…
322 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0], SkShader::kClamp_TileMode, kOva…
388 SkShader::kClamp_TileMode); in onDraw()
/external/skia/tests/
DShaderOpacityTest.cpp21 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in test_bitmap()
31 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in test_bitmap()
39 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in test_bitmap()
47 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in test_bitmap()
62 SkShader::TileMode mode = SkShader::kClamp_TileMode; in test_gradient()
DPictureShaderTest.cpp26 nullptr, SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, nullptr, nullptr); in DEF_TEST()
37 picture.get(), SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, nullptr, nullptr); in DEF_TEST()
DFlattenableFactoryToName.cpp39 SkAutoTUnref<SkShader> shader(image->newShader(SkShader::kClamp_TileMode, in DEF_TEST()
40 SkShader::kClamp_TileMode)); in DEF_TEST()
DGradientTest.cpp22 … SkShader* s = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in test_big_grad()
151 SkShader::kClamp_TileMode)); in TestConstantGradient()
184 rec.fTileMode = SkShader::kClamp_TileMode; in TestGradientShaders()
207 SkGradientShader::CreateLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_nearly_vertical()
228 SkGradientShader::CreateLinear(pts, colors, pos, 4, SkShader::kClamp_TileMode)); in test_linear_fuzz()
DSkLinearBitmapPipelineTest.cpp38 SkLinearBitmapPipeline pipeline{invert, kNone_SkFilterQuality, SkShader::kClamp_TileMode, in DEF_TEST()
39 SkShader::kClamp_TileMode, srcPixmap}; in DEF_TEST()
/external/skia/include/gpu/
DGrTextureParams.h24 static const GrTextureParams gParams(SkShader::kClamp_TileMode, kBilerp_FilterMode); in ClampBilerp()
58 this->reset(SkShader::kClamp_TileMode, kNone_FilterMode); in reset()
73 fTileModes[0] = fTileModes[1] = SkShader::kClamp_TileMode; in setClampNoFilter()
78 fTileModes[0] = fTileModes[1] = SkShader::kClamp_TileMode; in setClamp()
92 return SkShader::kClamp_TileMode != fTileModes[0] || in isTiled()
93 SkShader::kClamp_TileMode != fTileModes[1]; in isTiled()
DGrTextureAccess.h32 SkShader::TileMode tileXAndY = SkShader::kClamp_TileMode);
37 SkShader::TileMode tileXAndY = SkShader::kClamp_TileMode);
/external/skia/gm/
Dbadpaint.cpp35 fPaints.back().setShader(SkShader::CreateBitmapShader(emptyBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
36 SkShader::kClamp_TileMode))->unref(); in onOnceBeforeDraw()
40 fPaints.back().setShader(SkShader::CreateBitmapShader(blueBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
41 SkShader::kClamp_TileMode, in onOnceBeforeDraw()
Dgiantbitmap.cpp76 case SkShader::kClamp_TileMode: in onShortName()
125 DEF_GM( return new GiantBitmapGM(SkShader::kClamp_TileMode, false, false); )
128 DEF_GM( return new GiantBitmapGM(SkShader::kClamp_TileMode, true, false); )
132 DEF_GM( return new GiantBitmapGM(SkShader::kClamp_TileMode, false, true); )
135 DEF_GM( return new GiantBitmapGM(SkShader::kClamp_TileMode, true, true); )
Dmatrixconvolution.cpp41 pts, colors, pos, 2, SkShader::kClamp_TileMode))->unref(); in makeBitmap()
91 this->draw(canvas, x, 10, kernelOffset, MCIF::kClamp_TileMode, true, &rect); in onDraw()
98 this->draw(canvas, 310, 10, kernelOffset, MCIF::kClamp_TileMode, true, &smallRect); in onDraw()
102 this->draw(canvas, 410, 10, kernelOffset, MCIF::kClamp_TileMode, false, &rect); in onDraw()
Dxfermodes2.cpp119 SkShader::kClamp_TileMode, in onOnceBeforeDraw()
120 SkShader::kClamp_TileMode)); in onOnceBeforeDraw()
133 SkShader::kClamp_TileMode, in onOnceBeforeDraw()
134 SkShader::kClamp_TileMode)); in onOnceBeforeDraw()
Dgradients.cpp122 SkShader::TileMode tm = SkShader::kClamp_TileMode; in onDraw()
183 SkShader::TileMode tm = SkShader::kClamp_TileMode; in onDraw()
292 SkShader::kClamp_TileMode); in onDraw()
338 SkShader::kClamp_TileMode); in onDraw()
383 SkShader::kClamp_TileMode); in onDraw()
438 SkShader::kClamp_TileMode, in onDraw()
443 SkShader::kClamp_TileMode, in onDraw()
487 SkShader::kClamp_TileMode)); in onOnceBeforeDraw()
524 SK_ARRAY_COUNT(gColors), SkShader::kClamp_TileMode)); in onOnceBeforeDraw()
572 SK_ARRAY_COUNT(gColors), SkShader::kClamp_TileMode)); in onOnceBeforeDraw()
[all …]
Dclippedbitmapshaders.cpp62 case SkShader::kClamp_TileMode: in onShortName()
121 DEF_GM( return new ClippedBitmapShadersGM(SkShader::kClamp_TileMode); )
125 DEF_GM( return new ClippedBitmapShadersGM(SkShader::kClamp_TileMode, true); )
Dshallowgradient.cpp16 SkShader::kClamp_TileMode); in shader_linear()
22 SkShader::kClamp_TileMode); in shader_radial()
30 SkShader::kClamp_TileMode); in shader_conical()
Drectangletexture.cpp46 SkShader::kClamp_TileMode))->unref(); in fillPixels()
52 SkShader::kClamp_TileMode))->unref(); in fillPixels()
167 clampPaint.setShader(rectImg->newShader(SkShader::kClamp_TileMode, in onDraw()
168 SkShader::kClamp_TileMode))->unref(); in onDraw()
Dperspshaders.cpp50 SkShader::kClamp_TileMode, in onOnceBeforeDraw()
51 SkShader::kClamp_TileMode)); in onOnceBeforeDraw()
67 SkShader::kClamp_TileMode)); in onOnceBeforeDraw()
70 SkShader::kClamp_TileMode)); in onOnceBeforeDraw()
DSkLinearBitmapPipelineGM.cpp64 SkShader* shader = image->newShader(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in draw_rect_orig()
122 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, pmsrc}; in draw_rect_fp()
/external/skia/samplecode/
DSampleShaders.cpp33 …ader* shaderA = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_bitmapfade()
36 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in make_bitmapfade()
63 …ader* shaderA = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in ShaderView()
69 …ader* shaderB = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in ShaderView()
DSampleCamera.cpp43 SkShader::kClamp_TileMode, in CameraView()
44 SkShader::kClamp_TileMode, in CameraView()
/external/skia/src/core/
DSkBitmapProcState.cpp156 bool clampClamp = SkShader::kClamp_TileMode == fTileModeX && in chooseProcs()
157 SkShader::kClamp_TileMode == fTileModeY; in chooseProcs()
501 if (SkShader::kClamp_TileMode != s.fTileModeX || in S32_D32_constX_shaderproc()
502 SkShader::kClamp_TileMode != s.fTileModeY) { in S32_D32_constX_shaderproc()
513 case SkShader::kClamp_TileMode: in S32_D32_constX_shaderproc()
531 (SkShader::kClamp_TileMode != s.fTileModeX || in S32_D32_constX_shaderproc()
532 SkShader::kClamp_TileMode != s.fTileModeY)) { in S32_D32_constX_shaderproc()
539 case SkShader::kClamp_TileMode: in S32_D32_constX_shaderproc()
637 if (SkShader::kClamp_TileMode == tx && SkShader::kClamp_TileMode == ty) { in chooseShaderProc32()
DSkBitmapProcState_matrixProcs.cpp191 if (SkShader::kClamp_TileMode == m) { in choose_tile_proc()
210 if (SkShader::kClamp_TileMode == m) { in choose_tile_lowbits_proc()
251 if (SkShader::kClamp_TileMode == tm) in choose_int_tile_proc()
491 case SkShader::kClamp_TileMode: in chooseMatrixProc()
510 if (SkShader::kClamp_TileMode == fTileModeX && SkShader::kClamp_TileMode == fTileModeY) { in chooseMatrixProc()
/external/skia/src/gpu/effects/
DGrBicubicEffect.h38 static const SkShader::TileMode kTileModes[] = { SkShader::kClamp_TileMode,
39 SkShader::kClamp_TileMode };

123456