File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JavaFX and the fly likes Javafx program not using GPU accleration. white screen graph displayed Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Reply Bookmark "Javafx program not using GPU accleration. white screen graph displayed" Watch "Javafx program not using GPU accleration. white screen graph displayed" New topic
Author

Javafx program not using GPU accleration. white screen graph displayed

bhavani krishna
Greenhorn

Joined: Oct 07, 2009
Posts: 1


Hi,

I developed a small javafx program. i ran it on linux machine(with ati drivers,phenom mother board, jogl installed, jdk latest, jre latest).
It is working fine. But it is using cpu usage. so i want to go for GPU accelaration.

so i set the java variables like

-Dsun.java2d.opengl=True
-Dsun.java2d.pmoffscreen=false

and also set the jogl path before running the program.

and i ran the program again. it is not displaying any thing.just white scene graph is getting displayed.
and a message is getting displayed like this

opengl pipeline is enabled for screen 0.

no vertex shader(s) are defined.

now what i should do?

can any one help me on this?

Is there any thing i should change in the javafx code to use GPU accleration?
 
I agree. Here's the link: http://jrebel.com/download
 
subject: Javafx program not using GPU accleration. white screen graph displayed
 
Similar Threads
Java 3d API performance
What to use for 3D graphics?
[javafx] confused on javafx status
JavaFX vs OpenGL(JOGL)? Java SE vs Java EE vs JavaFX?
JavaFX Script or JavaFX 2.0?