Need to re-evaluate the BND constants set in the Pisces rasterizer for non AA shapes

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u40
    • Affects Version/s: 8u40
    • Component/s: javafx
    • None

      We need to re-evaluate the BND constants, in Renderer.java, to improve the smoothness of non AA shape once RT-39424 is fixed.

      Currently I have to tune the BND constants, in Renderer.java, to reduce the noisy jaggies. But it could simply an issue of RT-39424.

      BND constants changed from
          private static final float DEC_BND = 20f;
          private static final float INC_BND = 8f;

      to
          private static final float DEC_BND = 5f;
          private static final float INC_BND = 2f;

      We might want to revert this back once we have a more accurate center pixel sampling.
      Note: Similar is also made in the native Renderer.h for native Pisces implementation.

        1. TestNonAARasterization.java
          20 kB
          Jim Graham
        2. RasterPerf.java
          4 kB
          Jim Graham

            Assignee:
            Jim Graham
            Reporter:
            Chien Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: