[OpenJDK 2D-Dev] <AWT Dev>  Request for review: 8000629 [macosx] Blurry rendering with Java 7 on Retina display
Sergey.Bylokhov at oracle.com
Wed Mar 27 15:15:19 UTC 2013
On 3/27/13 4:12 PM, Denis S. Fokin wrote:
> Hi Sergey,
> why we do not use Math.round() here?
> 153 return (int) Math.floor(newv + 0.5);
Just because it one additional call.
> Thank you,
> On 3/26/2013 7:33 PM, Sergey Bylokhov wrote:
>> Please review the fix for jdk 8.
>> Change adds initial support of hidpi(mostly on 2d side). In the fix
>> scale was added to the surface data/CGraphicsDevice /CGLLayer. This
>> scale factor maps virtual coordinates to physical pixels.
>> This change doesn't add support of hidpi to aqua l&f and doesn't add
>> support of dynamic change of scale factor.
>> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8000629
>> Webrev can be found at:
>> Best regards, Sergey.
Best regards, Sergey.
More information about the 2d-dev