JDK-8097740 : Prism: consider compressing vertices
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2011-06-09
  • Updated: 2015-06-12
  • Resolved: 2014-12-16
Description
According to Blast results: jfxsrc.us.oracle.com//sandbox/javafx/presidio/blast/presentations/Blast1.pdf using floats for vertex data is expensive both in terms of RAM usage and GPU performance - consider using short/byte where appropriate.

As long as the data can be normalized, it can be compressed from floats to short/byte, unless the range requirement is enormous (ie. Prism drawing to screen resolution windows should fit the requirements for vertex compression).

Attaching the relevant slide from the Blast1 presentation.
Comments
No plan to pursue this.
16-12-2014

It will not help at all. Our VertexShader load is very low, we issue few vertices during JavaFX rendering.
14-11-2011

This project is domain-specific to graphics area, so moving to Runtime accordingly.
08-11-2011