JDK-8124600 : Disable Direct3D9Ex due to performance issues and functional bugs
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-05-13
  • Updated: 2015-06-17
  • Resolved: 2013-05-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
There are several problems with the implementation of Direct3D9Ex feature on Windows 7.

1) It has caused a serious performance regression: RT-27508

2) There are visual artifacts when coming back from a screen lock or sleep: RT-27121 (which has had several duplicate issues filed against it).

3) The native code that handles uploading the textures in 9Ex mode is unsafe in that it stores a pointer obtained from getPrimitiveArrayCritical that could (in some cases) possibly by accessed after the array is released. This is a crash waiting to happen.
Comments
Verified on 8.0b105
30-08-2013

I've found RT-32636
30-08-2013

This change just changed the default value of DirectX9Ex which was added for FX 8, but not fully debugged. Since there were functional and performance regressions we turned off the feature. It can be verified by running existing tests and observing that rendering is correct and specifically by verifying the test described in RT-27121.
30-08-2013

Could you please provide a link to the regression test that can be used to verify the fix? If a regression test is not applicable please add a noreg label as specified on http://openjdk.java.net/guide/changePlanning.html
30-08-2013

http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/2c3a6d562c74
13-05-2013