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

XOR mode rendering option does not work with Texture paint and Gradient Paint

    XMLWordPrintable

Details

    • 2d
    • x86_64
    • os_x

    Description

      Simple program to fill a rectangle with texture paint or gradient paint results in visual artifacts if XOR composite mode is set.

      Looking at the debug log hints at this is implemented at java level to break down area into small tiles and call surface_to_sw blit.

      As of now surface to sw blit is not implemented in Metal.
      This bug needs to be checked after we implement it.

      Also, I think, in metal, we can do it in shader.
      In that case, we may need to diverge code paths for this workflow at java level.

      Attachments

        Issue Links

          Activity

            People

              aghaisas Ajit Ghaisas
              aghaisas Ajit Ghaisas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: