JDK-8134841 : Almost Native Graphics Layer Engine RFE
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u60
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_8
  • CPU: x86
  • Submitted: 2015-09-01
  • Updated: 2017-05-18
  • Resolved: 2017-05-18
Related Reports
Duplicate :  
Description
A DESCRIPTION OF THE REQUEST :
JavaFX could make use of the ANGLE library which allows OpenGL ES to run on Microsoft Windows platforms using a DirectX abstraction layer. The API is primarily used in the Chrome and Firefox web browsers. This could be used to provide compliant support for WebGL in the web engine and view as well as a fall back for glass.

https://code.google.com/p/angleproject/
https://en.wikipedia.org/wiki/ANGLE_%28software%29

JUSTIFICATION :
A number of frameworks have adopted this library including the Qt Framework. Cocos2D also makes extensive use of ANGLE for cross-platform game programming. It could solve many of the problems regarding hardware accelerated graphics support in the Java platform complementary to JOGL but not as a replacement.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Not necessarily an expected behavior but it would be nice to better performance and support for web standard graphics and hardware accelerated graphics in general.
ACTUAL -
There has been a history of problems related to graphics abstraction in the Java platform. There has either been a lack of robust graphics support or it has performed poorly on certain platforms.

CUSTOMER SUBMITTED WORKAROUND :
The current solution these days is to do the graphics wrapping by yourself by making extensive use of native code, which a lot of projects typically do. Either that or people go with third party libraries with or without a wrapper or write their own, such as OGRE or maybe Irrlicht.


Comments
There is already an RFE for WebGL, so I will close this as a duplicate of that.
18-05-2017