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

Shape clip should use identity transform for drawing clip spans

    Details

    • Subcomponent:
      2d
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      Clip spans are rendered using identify transform in OpenGL, whereas in Metal, last set transform is used. This results in erroneous clip in some scenarios.

      Metal does not have pushMatrix and popMatrix equivalent APIs. Hence, the transformation matrix needs to be saved and restored using a temporary MTLTransform object.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: