<AWT Dev> [8] Request for review: 8000629 [macosx] Blurry rendering with Java 7 on Retina display
Denis S. Fokin
denis.fokin at oracle.com
Thu Mar 28 02:04:15 PDT 2013
Hi Sergey,
actually, the round function has a little bit more complicated
implementation because of 6430675.
Thank you,
Denis.
On 3/27/2013 7:15 PM, Sergey Bylokhov wrote:
> On 3/27/13 4:12 PM, Denis S. Fokin wrote:
>> Hi Sergey,
>>
>> why we do not use Math.round() here?
>> Region.java:
>> 153 return (int) Math.floor(newv + 0.5);
> Just because it one additional call.
>>
>> Thank you,
>> Denis.
>>
>>
>> On 3/26/2013 7:33 PM, Sergey Bylokhov wrote:
>>> Hello,
>>> 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:
>>> http://cr.openjdk.java.net/~serb/8000629/webrev.06
>>>
>>> --
>>> Best regards, Sergey.
>>>
>>
>
>
More information about the awt-dev
mailing list