This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JavaFX
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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Javafx program not using GPU accleration. white screen graph displayed
 
Similar Threads
Java 3d API performance
JavaFX vs OpenGL(JOGL)? Java SE vs Java EE vs JavaFX?
JavaFX Script or JavaFX 2.0?
What to use for 3D graphics?
[javafx] confused on javafx status