Home
last modified time | relevance | path

Searched refs:fTileMode (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/effects/gradients/
DSkGradientShaderPriv.h86 fTileMode = SkShader::kClamp_TileMode; in Descriptor()
94 SkShader::TileMode fTileMode; member
212 TileMode fTileMode; variable
266 TileMode getTileMode() const { return fTileMode; } in getTileMode()
342 , fTileMode(tileMode) in CreateArgs()
349 SkShader::TileMode fTileMode; member
423 SkShader::TileMode fTileMode; member
444 SkShader::TileMode fTileMode; variable
DSkGradientShader.cpp46 SkASSERT(static_cast<uint32_t>(fTileMode) <= kTileModeMask_GSF); in flatten()
47 flags |= (fTileMode << kTileModeShift_GSF); in flatten()
97 fTileMode = (SkShader::TileMode)buffer.read32(); in unflatten()
110 fTileMode = (SkShader::TileMode)((flags >> kTileModeShift_GSF) & kTileModeMask_GSF); in unflatten()
160 SkASSERT((unsigned)desc.fTileMode < SkShader::kTileModeCount); in SkGradientShaderBase()
162 fTileMode = desc.fTileMode; in SkGradientShaderBase()
163 fTileProc = gTileProcs[desc.fTileMode]; in SkGradientShaderBase()
321 desc.fTileMode = fTileMode; in flatten()
793 info->fTileMode = fTileMode; in commonAsAGradient()
826 str->append(gTileModeName[fTileMode]); in toString()
[all …]
DSkRadialGradient.cpp69 desc.fPos, desc.fCount, desc.fTileMode, desc.fGradFlags, in CreateProc()
215 if (SkShader::kClamp_TileMode == radialGradient.fTileMode) { in shadeSpan()
217 } else if (SkShader::kMirror_TileMode == radialGradient.fTileMode) { in shadeSpan()
220 SkASSERT(SkShader::kRepeat_TileMode == radialGradient.fTileMode); in shadeSpan()
314 params.fColorCount, params.fTileMode) in TestCreate()
317 params.fTileMode); in TestCreate()
363 GrGradientEffect::CreateArgs(args.fContext, this, &matrix, fTileMode, in asFragmentProcessor()
DSkTwoPointConicalGradient.cpp243 if (SkShader::kClamp_TileMode == twoPointConicalGradient.fTileMode) { in shadeSpan()
245 } else if (SkShader::kMirror_TileMode == twoPointConicalGradient.fTileMode) { in shadeSpan()
248 SkASSERT(SkShader::kRepeat_TileMode == twoPointConicalGradient.fTileMode); in shadeSpan()
338 desc.fCount, desc.fTileMode, desc.fGradFlags, in CreateProc()
363 GrGradientEffect::CreateArgs(args.fContext, this, args.fLocalMatrix, fTileMode, in asFragmentProcessor()
DSkLinearGradient.cpp67 desc.fCount, desc.fTileMode, desc.fGradFlags, in CreateProc()
131 switch (fTileMode) { in onAppendStages()
346 if (SkShader::kClamp_TileMode == linearGradient.fTileMode && in shadeSpan()
376 } else if (SkShader::kClamp_TileMode == linearGradient.fTileMode) { in shadeSpan()
378 } else if (SkShader::kMirror_TileMode == linearGradient.fTileMode) { in shadeSpan()
381 SkASSERT(SkShader::kRepeat_TileMode == linearGradient.fTileMode); in shadeSpan()
484 params.fColorCount, params.fTileMode) : in TestCreate()
486 params.fColorCount, params.fTileMode); in TestCreate()
532 GrGradientEffect::CreateArgs(args.fContext, this, &matrix, fTileMode, in asFragmentProcessor()
DSkTwoPointConicalGradient_gpu.cpp205 params.fColorCount, params.fTileMode) : in TestCreate()
208 params.fColorCount, params.fTileMode); in TestCreate()
485 params.fColorCount, params.fTileMode) : in TestCreate()
488 params.fColorCount, params.fTileMode); in TestCreate()
690 params.fColorCount, params.fTileMode) : in TestCreate()
693 params.fColorCount, params.fTileMode); in TestCreate()
937 params.fColorCount, params.fTileMode) : in TestCreate()
940 params.fColorCount, params.fTileMode); in TestCreate()
1172 params.fColorCount, params.fTileMode) : in TestCreate()
1175 params.fColorCount, params.fTileMode); in TestCreate()
[all …]
DSk4fLinearGradient.cpp132 fIntervals.init(shader.fOrigColors, shader.fOrigPos, shader.fColorCount, shader.fTileMode, in LinearGradient4fContext()
224 switch (shader.fTileMode) { in shadePremulSpan()
DSkSweepGradient.cpp21 fTileMode = SkShader::kClamp_TileMode; in SkSweepGradient()
DSk4fGradientBase.cpp336 switch (shader.fTileMode) { in shadePremulSpan()
/external/skia/tests/
DGradientTest.cpp49 SkShader::TileMode fTileMode; member
67 REPORTER_ASSERT(reporter, fTileMode == info->fTileMode); in gradCheck()
91 buildRec.fColorCount, buildRec.fTileMode)); in linear_gradproc()
102 buildRec.fColorCount, buildRec.fTileMode)); in radial_gradproc()
130 buildRec.fTileMode)); in conical_gradproc()
178 rec.fTileMode = SkShader::kClamp_TileMode; in TestGradientShaders()
255 rec.fTileMode = static_cast<SkShader::TileMode>(mode); in TestGradientOptimization()
403 SkShader::TileMode fTileMode; in test_linear_fuzzer() member
469 config.fTileMode, in test_linear_fuzzer()
/external/skia/bench/
DHardStopGradientBench_ScaleNumColors.cpp36 fTileMode = tilemode; in HardStopGradientBench_ScaleNumColors()
89 fTileMode, in onPreDraw()
106 SkShader::TileMode fTileMode; member in HardStopGradientBench_ScaleNumColors
/external/skia/src/core/
DSkColorSpaceXformer.cpp106 gradient.fTileMode, in apply()
115 gradient.fTileMode, in apply()
134 gradient.fTileMode, in apply()
DSkColorShader.cpp86 info->fTileMode = SkShader::kRepeat_TileMode; in asAGradient()
205 info->fTileMode = SkShader::kRepeat_TileMode; in asAGradient()
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp41 , fTileMode(tileMode) in SkMatrixConvolutionImageFilter()
114 buffer.writeInt((int) fTileMode); in flatten()
231 switch (fTileMode) { in filterBorderPixels()
329 convert_tilemodes(fTileMode), in onFilterImage()
/external/skia/include/effects/
DSkMatrixConvolutionImageFilter.h93 TileMode fTileMode; variable
/external/skia/src/pdf/
DSkPDFShader.cpp370 tileModeCode(info.fTileMode, function); in linearCode()
391 tileModeCode(info.fTileMode, function); in radialCode()
503 tileModeCode(info.fTileMode, function); in twoPointConicalCode()
514 tileModeCode(info.fTileMode, function); in sweepCode()
791 info->fTileMode == SkShader::kClamp_TileMode && in make_function_shader()
1185 fInfo.fTileMode != b.fInfo.fTileMode) { in operator ==()
/external/skia/include/core/
DSkShader.h313 TileMode fTileMode; //!< The tile mode used. member
/external/skia/src/xps/
DSkXPSDevice.cpp881 HRM(gradientBrush->SetSpreadMethod(xps_spread_method(info.fTileMode)), in createXpsLinearGradient()
958 HRM(gradientBrush->SetSpreadMethod(xps_spread_method(info.fTileMode)), in createXpsRadialGradient()
/external/skia/src/utils/
DSkLua.cpp1160 setfield_string(L, "tile", mode2string(info.fTileMode)); in lshader_asAGradient()