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

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

    Details

    • Subcomponent:
      2d
    • CPU:
      x86_64
    • OS:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: