jogl sun.java2d.noddraw



The “sun.java2d.noddraw” property disables Java 2D’s use of DirectDraw on
Windows. This avoid any nasty interactions between DirectDraw and OpenGL, which
can cause application crashes, poor performance, and flickering. The property is only
needed if you’re working on a Windows platform.
Another useful command line option is “-Dsun.java2d.opengl=true” which switches
on the Java2D OpenGL pipeline. The pipeline provides hardware acceleration for
many Java 2D rendering operations (e.g. text, images, lines, fills, complex transforms,
composites, clips). It’s essential when JOGL’s GLJPanel class is employed as a
drawing surface (as explained below).


0 条评论。


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>