JDK-8098094 : Super Shader
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-05-29
  • Updated: 2015-06-12
  • Resolved: 2013-09-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Description
The idea of a super shader is to be able to render images (cached regions) and text using the same shader program. Since controls are usually made up of regions (cached) and text, the super shader can be used to draw severals controls with one single draw call (as there is no need to change graphics state anymore).
Another good application of the super shader is to render table views, where it can render all its cell with a single draw call (which is a huge improvement compare to the current implementation where for each cell the graphics states has to be set to render the background and set again to render the text content).

The super shader depends on:
- Super texture (all regions need to be cached to the same texture)
- Text support on NGRegion (not mandatory, the super shader could be used by NGText too)


Comments
Closed as not verified
11-02-2014