• Post Reply Bookmark Topic Watch Topic
  • New Topic

Javafx program not using GPU accleration. white screen graph displayed

 
bhavani krishna
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!