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

Cleanup in the D3D native pipeline

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx20
    • jfx11, jfx12
    • javafx
    • b15

      The native code has several places that could use a cleanup:

      1. D3DLight defines the unused functions setColor and setPosition.

      2. The HLSL files' parameter names are confusing, better names should be chosen for readability.

      3. D3DMeshView constructor has a line
          ZeroMemory(lights, sizeof(D3DLight) * 3);
      which is very possibly a cause for memory leak.

            nlisker Nir Lisker
            nlisker Nir Lisker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: