JDK-8089112 : Need to handle the case of a failed texture load when rendering large images
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 7u6
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2012-06-19
  • 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 :  
Relates :  
Relates :  
Relates :  
Description
When rendering a large image, we need to handle the case of a failed texture load by backing off to a successively smaller texture. Currently we will just fail with an NPE in the renderer.

The fix for RT-21998 clamps the maximum texture size to 4096 in order to reduce the possibility of failing to load a texture due to resource limitations. However, there is no guarantee that we can allocate a 4K x 4K texture, either, so it is more of a workaround for the actual problem.

Comments
We should consider fixing this for Lombard.
19-06-2012