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

Move clearQuad method to BaseShaderGraphics superclass

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: openjfx11, openjfx17
    • Fix Version/s: openjfx18
    • Component/s: javafx
    • Labels:

      Description

      After the fix for JDK-8090547 the clearQuad methods in D3DGraphics and ES2Graphics are identical, which should have been the case all along. The fact that they weren't identical was the source of a bug that was only discovered during the testing of JDK-8090547 on the es2 pipeline.

      The clearQuad method should be moved to the BaseShaderGraphics superclass to get rid of the unnecessary code duplication. This will be helpful when implementing the metal pipeline as well.

      This fix can be backported to 17u and 11u, even though there is no plan to backport the fix for JDK-8090547.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcr Kevin Rushforth
              Reporter:
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: