Posted by MikeORC on Jan 13, 2020; 5:59pm URL: https://forum.jogamp.org/NEWTCanvasJFX-Resize-tp4040254p4040261.html
Yes the new JFX thing that was implemented is the WritableImage class now takes a PixelBuffer as a constructor argument.
So a ByteBuffer can be allocated, given to a PixelBuffer then put into a WritableImage, however it is still necessary to glReadPixels the framebuffer into the ByteBuffer. The improvement is that one less copy is necessary in JavaFX 13 where before there was an additional copy that had to be made after the glReadPixels the data had to be copied into the WritableImage.