Is there any video card related dependency in JavaFX? The main issue is that I am getting an error on my application whenever I am trying to process a large images. We turned verbose logging on for Prism, and discovered that the reason for this discrepancy is that Prism fails to load Direct3D when run inside a Windows service, and is forced to fall back on its software rendering pipeline instead of using hardware acceleration.
Here's the relevant part of the log:
Direct3D initialization failed
Adapter validation failed for all adapters
(X) Got class = class com.sun.prism.d3d.D3DPipeline
GraphicsPipeline.createPipeline: error initializing pipeline com.sun.prism.d3d.D3DPipeline *** Fallback to Prism SW pipeline