Searched refs:fColorOffsets (Results 1 – 17 of 17) sorted by relevance
/external/skqp/src/pdf/ |
D | SkPDFGradientShader.h | 49 && SkPackedArrayEqual(u.fColorOffsets, v.fColorOffsets, u.fColorCount); 54 SkASSERT(u.fInfo.fColorOffsets == u.fStops.get()); 56 SkASSERT(v.fInfo.fColorOffsets == v.fStops.get());
|
D | SkPDFGradientShader.cpp | 23 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()
|
D | SkPDFDevice.cpp | 1516 gradientInfo.fColorOffsets = nullptr; in populate_graphic_state_entry_from_paint()
|
/external/skia/src/pdf/ |
D | SkPDFGradientShader.h | 49 && SkPackedArrayEqual(u.fColorOffsets, v.fColorOffsets, u.fColorCount); 54 SkASSERT(u.fInfo.fColorOffsets == u.fStops.get()); 56 SkASSERT(v.fInfo.fColorOffsets == v.fStops.get());
|
D | SkPDFGradientShader.cpp | 23 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()
|
D | SkPDFDevice.cpp | 1163 gradientInfo.fColorOffsets = nullptr; in populate_graphic_state_entry_from_paint()
|
/external/skia/include/core/ |
D | SkShader.h | 103 SkScalar* fColorOffsets; //!< The unit offset for color transitions. member
|
/external/skqp/include/core/ |
D | SkShader.h | 141 SkScalar* fColorOffsets; //!< The unit offset for color transitions. member
|
/external/skia/src/xps/ |
D | SkXPSDevice.cpp | 837 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/ |
D | SkXPSDevice.cpp | 840 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/ |
D | GradientTest.cpp | 58 info->fColorOffsets = posStorage.get(); in gradCheck() 65 !memcmp(info->fColorOffsets, fPos, fColorCount * sizeof(SkScalar))); in gradCheck()
|
/external/skia/tests/ |
D | GradientTest.cpp | 60 info->fColorOffsets = posStorage.get(); in gradCheck() 67 !memcmp(info->fColorOffsets, fPos, fColorCount * sizeof(SkScalar))); in gradCheck()
|
/external/skqp/src/svg/ |
D | SkSVGDevice.cpp | 357 grInfo.fColorOffsets = grOffsets.get(); in addGradientShaderResources() 558 stop.addAttribute("offset", info.fColorOffsets[i]); in addLinearGradientDef()
|
/external/skqp/src/shaders/gradients/ |
D | SkGradientShader.cpp | 483 if (info->fColorOffsets) { in commonAsAGradient() 485 info->fColorOffsets[i] = this->getPos(i); in commonAsAGradient()
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 416 grInfo.fColorOffsets = grOffsets.get(); in addGradientShaderResources() 600 stop.addAttribute("offset", info.fColorOffsets[i]); in addLinearGradientDef()
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 657 if (info->fColorOffsets) { in commonAsAGradient() 659 info->fColorOffsets[i] = this->getPos(i); in commonAsAGradient()
|
/external/skqp/src/utils/ |
D | SkLua.cpp | 1069 info.fColorOffsets = pos.get(); in lshader_asAGradient()
|