Searched refs:max_component (Results 1 – 5 of 5) sorted by relevance
248 int max_component; in GetMaxDownstreamComponents() local252 max_component = recomputed_component_iterator->second; in GetMaxDownstreamComponents()254 max_component = -1; in GetMaxDownstreamComponents()264 if (child_component > max_component) { in GetMaxDownstreamComponents()265 max_component = child_component; in GetMaxDownstreamComponents()268 CHECK_GE(max_component, 0); in GetMaxDownstreamComponents()269 recomputed_node_components[original_recompute_node] = max_component; in GetMaxDownstreamComponents()
310 static inline SkScalar max_component(const Sk2s& value) { in max_component() function328 SkScalar diff = max_component(Sk2s::Max(abs(p1 - p13), abs(p2 - p23))); in compute_cubic_segs()
172 static SkScalar max_component(const SkPoint3& p) { in max_component() function188 return SkPackARGB32(SkClampMax(SkScalarRoundToInt(max_component(color)), 255), in light()
170 static SkScalar max_component(const SkPoint3& p) { in max_component() function186 return SkPackARGB32(SkClampMax(SkScalarRoundToInt(max_component(color)), 255), in light()