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

xrender artifacts caused by different interpretation of SRC operator

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7, 8
    • Fix Version/s: 8-pool
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      linux

      Description

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      Because of the different interpretation of the SRC-operator between java2d and xrender, several artifacts appear with AlphaComposite.Src when rendering to a surface without alpha:

      - Text renders glyphs with black areas where the glyph has no coverage.
      - Solid operations render the premultiplied values, when a Color with alpha is used

      Because of the differences, the xrender pipeline should switch to SRC_OVER in cases where possible, and fall back to software-routines otherwise.


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                prr Philip Race
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: