by philip142au » Sat Jul 05, 2014 7:27 am
Hi there,
I made some progress today splitting Java Cef render handling into three parts, AWT, OpenGL (these two already existed) and ByteBuffer (new). The AWT and OpenGL were not so cleanly separated conceptually.
So in my code base it can render to a ByteBuffer without a window displaying on the screen, BUT its not headless, the application still has to run as a JFrame. No Window is created to show on the screen and no image is displayed on the screen which is close to what I want, but it seems like some C++ code needs my application to be a JFrame as when I switch it to just be a Java main it crashes.
So its nearly headless, it renders to a ByteBuffer and no window is shown on the screen. Can anyone suggest why its not happen to me to get rid of the JFrame?
I'll place my code in git when I clean it up a little.
Philip