JDK-8238954 : Improve performance of tiled snapshot rendering
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: openjfx14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-02-12
  • Updated: 2020-07-01
  • Resolved: 2020-07-01
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
openjfx15Fixed
Related Reports
Relates :  
Relates :  
Description
Issue JDK-8088198, where an exception would be thrown when trying to capture a snapshot whose final dimensions would be larger than the running platform's maximum supported texture size, was addressed in openjfx14.
The fix, based around the idea of capturing as many tiles of the maximum possible size and re-compositing the final snapshot out of these, is currently only attempted after the original, non-tiled, strategy has already failed.
This was decided to avoid any risk of regressions, either in terms of performances and correctness, while still offering some relief to the original issue. 

This follow-on issue aims to propose a fix to the original issue, that is able to correctly decide on the best snapshot strategy (tiled or not) to adopt before applying it and ensure best performances possible when tiling is necessary while still introducing no regressions compared to the original solution.
Comments
Changeset: 32584dba Author: Frederic Thevenet <thevenet.fred@free.fr> Committer: Kevin Rushforth <kcr@openjdk.org> Date: 2020-07-01 18:50:59 +0000 URL: https://git.openjdk.java.net/jfx/commit/32584dba
01-07-2020