Search code examples
javajavafx-2hardware-acceleration

Is there a way to detect if Java FX is using hardware acceleration?


And related to that, is there a way to force Java FX to use hardware acceleration and bomb if it is unable to?


Solution

  • Just found out:

    You can run with -Dprism.verbose=true which will print what graphics pipeline it uses. "sw" or "j2d" for software and "d3d" or "es2" for hardware accelerated.