JDK-8102180 : Replace existing pixel manipulation methods on Canvas GraphicsContext with methods compatible with PixelWriter
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 7u6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-05-21
  • Updated: 2015-06-16
  • 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 :  
Description
The javafx.scene.canvas APIs developed for RT-17407 were released with a preliminary (and Deprecated) API for performing pixel manipulations.  They are intended to be replaced with new methods that are compatible with the mechanisms created for RT-17409.

The intended new method would be "GraphicsContext.getPixelWriter()"
Comments
verified in 2.2.0b16
12-07-2012

This issues is for a performance tweak, not a bug fix, so there are no regression unit tests.
05-06-2012

Please provide unit tests information as specified in http://wiki.se.oracle.com/display/JPGC/How+to+specify+unit+tests+for+a+resolved+issue
05-06-2012

Fixed with the following changesets: In rt repository: changeset: 1107:49481ac33509 date: Tue May 22 10:00:37 2012 -0700 summary: Fix RT-21687: Align pixel manipulation methods of GraphicsContext with PixelWriter. In rt-closed repository: changeset: 16111:d1552920f669 date: Tue May 22 09:59:59 2012 -0700 summary: Fix RT-21687: Align pixel manipulation methods of GraphicsContext with PixelWriter. New API is to delete the ImageData inner class from GraphicsContext and all methods that used it and to add the one method GraphicsContext.getPixelWriter().
22-05-2012