i remember reading somewhere that the new java plugin will allow the java gfx pipeline to be switchable on the fly, from d3d, opengl and software mode, was this implemented?
if so how would you do it?
Yes, this support is present. To try it, add the following to your applet tag (for example):
<PARAM NAME="java_arguments" VALUE="-Dsun.java2d.noddraw=true"></PARAM>
The new plug-in will detect this and launch a new JVM instance as appropriate which satisfies the specification of these command line arguments.
More documentation on this new feature is coming.
thanks for your reply, would just like to clarify that in almost all the documentation examples the follwing is used
I was under the impression that direct draw was removed from the Java N, does it still need to be disabled?
I would like to use just software mode, how would i achieve this?
Would I have to disable Direct3D/OpenGL etc individually with their parameters, or is there a single parameter I can specify that will allow software mode on all platforms?
> I was under the impression that direct draw was removed from the Java N, does it still need to be disabled?
The noddraw=true option was a defacto "disable all default hw acceleration" option on
Windows. It remains in this role in 6uN - even though the current pipeline is
So, if you want a "backwards compatible" way to disable any default hw
acceleration on windows, noddraw=true would do the trick.
This flag doesn't have any effect on other platforms.
On unix there isn't really a default hw-accelerated pipeline - unless you count
the support for caching managed images and residing VolatileImages
in X server Pixmaps. If you want to disable that, you'll need to use -Dsun.java2d.pmoffscreen=false .
This flag doesn't have any effect on Windows.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.