Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6434670
Votes 0
Synopsis OGL: use new AffineTransform methods in OGLRenderer.Gradient.enableGradientPaint()
Category java:classes_2d
Reported Against
Release Fixed mustang(b92)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs
Submit Date 06-JUN-2006
Description
The OGL gradient rendering code could leverage two methods added to AffineTransform
in Mustang.  Instead of at.rotate(atan2(y, x)) we can now simply call at.rotate(x, y).
Also, instead of at=at.createInverse() we can use the in-place at.invert() method.
Posted Date : 2006-06-06 17:15:14.0
Work Around
N/A
Evaluation
As described.
Posted Date : 2006-06-06 17:15:14.0

This was fixed as part of the putback for 6434670.  I was able to measure some
very small performance gains with this fix, on the order of 1-3% depending
on the operation (see J2DBench logs attached to 6434670).  The most obvious
benefit is in avoiding unnecessary garbage generation.
Posted Date : 2006-06-28 06:43:23.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang