Handle properly coordinate overflow in Marlin Renderer

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: client-libs
    • None
    • 2d
    • b114

        Marlin (like Pisces) does not check input pixel coordinates (as float) for possible overflow:
        - NaN, +/- Infinity
        - abs(x|y coord) > UPPER_BND

        Besides, it should also check that subpixel coordinates remain in the valid range too (even after applying the affine transform).

        It can lead to possibly generate artefacts.
        Moreover, it could also provide performance benefits:
        - FloatMath.ceil / floor (could skip NaN / Infinity checks)
        - avoid several overflow checks in the Marlin rendering pipeline

        See sun.dc.DuctusRenderingEngine#feedConsumer(...) for the Ductus implementation of such filter

              Assignee:
              Laurent Bourgès
              Reporter:
              Laurent Bourgès
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: