JDK-8090771 : Reuse region cache to also cache images, textures and node caches
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2013-06-05
  • Updated: 2018-09-05
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.
Other
tbdUnresolved
Related Reports
Blocks :  
Blocks :  
Blocks :  
Description
This is further development of RT-30923 to reduce number of context changes during rendering.

There is draft/proof of the concept implementation but it needs to be tuned with regards to how which images should go into cache and which shouldn't. Putting every image into cache quickly overflows it which leads to either too many textures to be created or "valuable" caches being too often discarded.
Comments
The cache_rt_30924.diff was tested on iPad with the attached benchmark. It brought approximately 20% fps increase. This might be better on a VM with JIT.
26-11-2013

This file (cache_rt_30924.diff) contains experimental changes to CacheFilter.java. When applied all cached nodes (nodes that have property cache=true) will use the same texture as a backing storage. The patch has two known limitations: 1. exceeding shared texture capacity is not handled; 2. rendering already cached node into the cache is not handled as well.
26-11-2013

Changing the issue type to Tweak. We should not use the deprecated Optimization type.
05-06-2013