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

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: