Appunti sull'impostazione del file di configurazione di JSup (JSup.cfg) (Bozza) |
|
|
Vedere [http://java.sun.com/j2se/1.5.0/docs/guide/2d/flags.html#win|System Properties for Java2D]
Possibili opzioni attivabili per ottimizzare D3D:
Disabilitazione completa dell'utilizzo, da parte di Java 2D, di DirectDraw e Direct3D.
Sembra che su macchine con CPU veloce (un Dell Precision M4300 with NVIDIA Quadro FX 360M and Intel Core2 Duo CPU T9300 @ 2.50 GHz) permetta di ottenere un movimento più fluido della planimetria 2d/3d... strano ma vero.
-Dsun.java2d.noddraw=true
To determine how many copies from managed images will occur before a VRAM version of the image is automatically created.
-Dsun.java2d.accthreshold=1
To turn off the Java 2D system's use of Direct3D
-Dsun.java2d.d3d=false
To specify whether translucent images should be hardware-accelerated when the DirectDraw/Direct3D pipeline is in use.
-Dsun.java2d.translaccel=true
To specify that accelerated surfaces for managed or translucent images should be in 16-bit (4444) format, which saves VRAM and system memory but at the cost of decreased quality. To turn on 4444 format, set this property to 16.
-Dsun.java2d.d3dtexbpp=32
To specify whether VolatileImages should be kept in VRAM
-Dsun.java2d.ddforcevram=false in 1.4; as of 1.5 Beta 1,
true if translaccel is true,
and otherwise false
To turn off the Java 2D system's use of DirectDraw and Direct3D for offscreen surfaces such as the Swing back buffer. Setting this flag to false turns off DirectDraw offscreen surfaces acceleration.
-Dsun.java2d.ddoffscreen=true
To turn on hardware-accelerated scaling when the DirectDraw/Direct3D pipeline is in use.
-Dsun.java2d.ddscale=false
OpenGL
To disable the use of DirectDraw blit operations. To receive verbose console output about whether the OpenGL pipeline is initialized successfully for a particular screen, set the option to True (note the uppercase T)
-Dsun.java2d.ddblit=false
-Dsun.java2d.opengl=true
|