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

[D3D] Re-enable DirectX 9Ex to avoid losing textures when surface lost

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u20
    • 8u20
    • javafx
    • None

      Using D3D9Ex was originally done for RT-23704 but was subsequently disabled for RT-30352.

      Benefits of doing this are:

      1) Having persistent textures will help solve the Canvas OOM problem when the surface is lost. See RT-23312.

      2) We can avoid the per-frame overhead of reading back the texture for each Canvas node. See RT-23074.

      3) We can possibly use this to accelerate transparent rendering in the future (although this is unconfirmed). See RT-17510.


      The following problems will need to be resolved before it can be re-enabled:

      1) There were rendering problems when the surface was lost. See RT-27121.

      2) There was a significant performance hit for certain cases of updating textures. See RT-27508.

      3) It was never fully debugged for 3D (no bug ID).

            vadim Vadim Pakhnushev
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: