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

Move clearQuad method to BaseShaderGraphics superclass

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: