FIBS Board backgammon forum

Slow graphics/rendering (hint)

Author Topic: Slow graphics/rendering (hint)  (Read 6403 times)

Offline bgspiff

  • Newbie
  • *
  • Posts: 1
Slow graphics/rendering (hint)
« on: December 25, 2009, 01:17:12 AM »
For those of you who like to keep other applications running in the background, and find that JavaFIBS graphics turn painstakingly slow, or even fail to refresh entirely, there are some java switches you can use to tweak that.

My fibs.bat looks like this (all in one line):

start javaw -jar JavaFIBS-1.0.11_JDK16.jar -Dsun.java2d.noddraw=true -Dsun.java2d.ddoffscreen=false -Dsun.java2d.ddscale=true

What this does is tell the Java interpreter to turn off DirectDraw and offscreen DirectDraw image rendering, and to enable hardware-accelerated scaling. Not all three -D options may be needed.

See http://java.sun.com/products/java-media/2D/perf_graphics.html

FIBS Board backgammon forum

Slow graphics/rendering (hint)
« on: December 25, 2009, 01:17:12 AM »

Tags:
 

TinyPortal © 2005-2018