This change removes the old DirectDraw and Direct3D 7-based accelerated pipelines
on Windows and replaces them with a more modern pipeline based on Direct3D 9.
The new D3D9 pipeline is *enabled* by default on Windows platforms (i586/x64),
assuming DirectX 9 and adequate graphics hardware support is available.
However, the D3D9 pipeline is currently *disabled* by default on configurations
with one or more Nvidia GPUs; this is a temporary measure due to some
Nvidia-specific bugs (e.g. 6588384, 6587863) that will be fixed in an upcoming
To find out whether the D3D9 pipeline is enabled for a particular configuration,
set J2D_TRACE_LEVEL=4 (environment variable) prior to launching any graphical
If the D3D9 pipeline is being disabled automatically for some reason (e.g. on
Nvidia hardware, as described above) but you would still like to test the new
pipeline, you can force enable the pipeline via the -Dsun.java2d.d3d=[T,t]rue
If any problems are encountered with the new D3D9 pipeline, it can be disabled
via the -Dsun.java2d.d3d=false system property (the old -Dsun.java2d.noddraw=true
property will continue to do the same trick as well). In case new issues are
found, please file bugs against java/java/classes_2d and be sure to include
the output from having set J2D_TRACE_LEVEL=4 prior to startup (as described above).