JDK-8126634 : Need to update snapshot feature to use new Image Ops API
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 7u6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-05-16
  • Updated: 2015-06-17
  • Resolved: 2012-05-22
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 7
7u6Fixed
Related Reports
Blocks :  
Blocks :  
Relates :  
Description
The snapshot API takes an existing Image, which if non-null, should be updated with the result of the snapshot. This is not functional in the existing version since the implementation relies upon Image Ops (RT-17409). Once that feature is in, we will need to use it to properly update the image (currently a new Image is returned with the correct data, but the existing image is unmodified).

Based on the current proposal for Image Ops, the snapshot API will need to be slightly modified as well. The parameter and return value of the 4 snapshot methods will change to taking a WritableImage subclass of Image (for type safety).


Comments
verified in b14
28-06-2012

http://jfxsrc.us.oracle.com/javafx/2.2/scrum/graphics/rt/rev/5843e77aab79
22-05-2012

Webrev: http://jfx.us.oracle.com/shared-webrev/kcr/rt-21570/
19-05-2012