Home
last modified time | relevance | path

Searched refs:fColorOffsets (Results 1 – 17 of 17) sorted by relevance

/external/skqp/src/pdf/
DSkPDFGradientShader.h49 && SkPackedArrayEqual(u.fColorOffsets, v.fColorOffsets, u.fColorCount);
54 SkASSERT(u.fInfo.fColorOffsets == u.fStops.get());
56 SkASSERT(v.fInfo.fColorOffsets == v.fStops.get());
DSkPDFGradientShader.cpp23 SkOpts::hash(v.fColorOffsets, v.fColorCount * sizeof(SkScalar)), in hash()
167 if (info.fColorOffsets[i] == info.fColorOffsets[i - 1]) { in gradient_function_code()
173 SkPDFUtils::AppendScalar(info.fColorOffsets[i], result); in gradient_function_code()
175 if (info.fColorOffsets[i - 1] != 0) { in gradient_function_code()
176 SkPDFUtils::AppendScalar(info.fColorOffsets[i - 1], result); in gradient_function_code()
180 interpolate_color_code(info.fColorOffsets[i] - info.fColorOffsets[i - 1], in gradient_function_code()
228 std::vector<SkScalar> colorOffsets(info.fColorOffsets, info.fColorOffsets + colorCount); in gradientStitchCode()
809 clone.fInfo.fColorOffsets = clone.fStops.get(); in clone_key()
811 clone.fInfo.fColorOffsets[i] = k.fInfo.fColorOffsets[i]; in clone_key()
889 key.fInfo.fColorOffsets = key.fStops.get(); in make_key()
DSkPDFDevice.cpp1516 gradientInfo.fColorOffsets = nullptr; in populate_graphic_state_entry_from_paint()
/external/skia/src/pdf/
DSkPDFGradientShader.h49 && SkPackedArrayEqual(u.fColorOffsets, v.fColorOffsets, u.fColorCount);
54 SkASSERT(u.fInfo.fColorOffsets == u.fStops.get());
56 SkASSERT(v.fInfo.fColorOffsets == v.fStops.get());
DSkPDFGradientShader.cpp23 SkOpts::hash(v.fColorOffsets, v.fColorCount * sizeof(SkScalar)), in hash()
167 if (info.fColorOffsets[i] == info.fColorOffsets[i - 1]) { in gradient_function_code()
173 SkPDFUtils::AppendScalar(info.fColorOffsets[i], result); in gradient_function_code()
175 if (info.fColorOffsets[i - 1] != 0) { in gradient_function_code()
176 SkPDFUtils::AppendScalar(info.fColorOffsets[i - 1], result); in gradient_function_code()
180 interpolate_color_code(info.fColorOffsets[i] - info.fColorOffsets[i - 1], in gradient_function_code()
228 std::vector<SkScalar> colorOffsets(info.fColorOffsets, info.fColorOffsets + colorCount); in gradientStitchCode()
808 clone.fInfo.fColorOffsets = clone.fStops.get(); in clone_key()
810 clone.fInfo.fColorOffsets[i] = k.fInfo.fColorOffsets[i]; in clone_key()
888 key.fInfo.fColorOffsets = key.fStops.get(); in make_key()
DSkPDFDevice.cpp1163 gradientInfo.fColorOffsets = nullptr; in populate_graphic_state_entry_from_paint()
/external/skia/include/core/
DSkShader.h103 SkScalar* fColorOffsets; //!< The unit offset for color transitions. member
/external/skqp/include/core/
DSkShader.h141 SkScalar* fColorOffsets; //!< The unit offset for color transitions. member
/external/skia/src/xps/
DSkXPSDevice.cpp837 transform_offsets(info.fColorOffsets, info.fColorCount, in createXpsLinearGradient()
846 info.fColorOffsets[0], in createXpsLinearGradient()
851 info.fColorOffsets[1], in createXpsLinearGradient()
872 info.fColorOffsets[i], in createXpsLinearGradient()
895 info.fColorOffsets[0], in createXpsRadialGradient()
900 info.fColorOffsets[1], in createXpsRadialGradient()
949 info.fColorOffsets[i], in createXpsRadialGradient()
978 info.fColorOffsets = nullptr; in createXpsBrush()
1003 info.fColorOffsets = colorOffsets.get(); in createXpsBrush()
/external/skqp/src/xps/
DSkXPSDevice.cpp840 transform_offsets(info.fColorOffsets, info.fColorCount, in createXpsLinearGradient()
849 info.fColorOffsets[0], in createXpsLinearGradient()
854 info.fColorOffsets[1], in createXpsLinearGradient()
875 info.fColorOffsets[i], in createXpsLinearGradient()
898 info.fColorOffsets[0], in createXpsRadialGradient()
903 info.fColorOffsets[1], in createXpsRadialGradient()
952 info.fColorOffsets[i], in createXpsRadialGradient()
981 info.fColorOffsets = nullptr; in createXpsBrush()
1006 info.fColorOffsets = colorOffsets.get(); in createXpsBrush()
/external/skqp/tests/
DGradientTest.cpp58 info->fColorOffsets = posStorage.get(); in gradCheck()
65 !memcmp(info->fColorOffsets, fPos, fColorCount * sizeof(SkScalar))); in gradCheck()
/external/skia/tests/
DGradientTest.cpp60 info->fColorOffsets = posStorage.get(); in gradCheck()
67 !memcmp(info->fColorOffsets, fPos, fColorCount * sizeof(SkScalar))); in gradCheck()
/external/skqp/src/svg/
DSkSVGDevice.cpp357 grInfo.fColorOffsets = grOffsets.get(); in addGradientShaderResources()
558 stop.addAttribute("offset", info.fColorOffsets[i]); in addLinearGradientDef()
/external/skqp/src/shaders/gradients/
DSkGradientShader.cpp483 if (info->fColorOffsets) { in commonAsAGradient()
485 info->fColorOffsets[i] = this->getPos(i); in commonAsAGradient()
/external/skia/src/svg/
DSkSVGDevice.cpp416 grInfo.fColorOffsets = grOffsets.get(); in addGradientShaderResources()
600 stop.addAttribute("offset", info.fColorOffsets[i]); in addLinearGradientDef()
/external/skia/src/shaders/gradients/
DSkGradientShader.cpp657 if (info->fColorOffsets) { in commonAsAGradient()
659 info->fColorOffsets[i] = this->getPos(i); in commonAsAGradient()
/external/skqp/src/utils/
DSkLua.cpp1069 info.fColorOffsets = pos.get(); in lshader_asAGradient()