Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8092682

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u40
    • 8u40
    • javafx
    • None

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: