Skip to content
  • Ivan Yossi's avatar
    Vectorize Soft Rect Mask Generator · 2565a74b
    Ivan Yossi authored
    Current implementation is only 3x faster than Scalar
    as currently the slowest operation is getting the values
    from the dataCurve. Math is not very heavy on this mask
    type
    
    Vectorization code works exactly a scalar method, which
    inherits some bugs from the original implementation.
    
    - SoftRect does not generate a proper rect unless a very
    particular curve is drawn. However the mask becomes very small
    
    - Curve does not alter the mask as expected, ie. the same as
    circular soft. instead it generates smaller squares.
    
    ref T9133
    2565a74b