Hi,

Please review my fix for the issue described below at:
http://cr.openjdk.java.net/~ceisserer/fix13/webrev.00/

Problem description:
Phil found an issue with TransformedPaintTest, where the center point
of radial gradients was stuck at (0,0) with the xrender-pipeline
enabled.
The center-point was indeed set to (0,0) and offset of the
center-point was applied using the source transform.
However, when the source transformation of the gradient surface was
re-validated later on (XRSurfaceData.validateAsSource()) this
translation is lost again.

Fix description:
This patch sets the center-point now explicitly.
It also cleans up the API a bit (there were two completly unused
Point2D-objects) and removes unnescessary/dead code.

Thanks, Clemens

Reply via email to