[OpenJDK 2D-Dev] <AWT Dev>  Request for review: 8000629 [macosx] Blurry rendering with Java 7 on Retina display
Sergey.Bylokhov at oracle.com
Mon Apr 8 13:10:21 UTC 2013
Hi, Phil, JIm.
New version of the fix:
- Assumption that we should scale all native surfaces was wrong. In
case of managed Bufferedimage we shouldn't scale native surface, because
they are copies 1-1.(CGLSurfaceData.java:60).
- BufferedContext is not always updates current Paint, because it
checks transX/transY from sg2d, which is not maintained in the scale mode.
Also I found a problem in the sg2d.getTransform(), where invScale does
not apply to constrainX/Y.
On 4/5/13 10:00 PM, Phil Race wrote:
> SFAIK you haven't fixed the problem with TexturePaint I pointed out
> last week.
> That needs to be fixed before you push.
> On 4/5/2013 9:54 AM, Sergey Bylokhov wrote:
>> Hi, Jim.
>> I assume, that you haven't additional comments? Can I consider you as
>> the second reviewer?
>> Note that I plan push it to awt-dev because, my other fixes depend on
>> On 3/26/13 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.
Best regards, Sergey.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the 2d-dev