<Swing Dev> [8] Request for review: 8004866 [macosx] HiDPI support in Aqua L&F

Mike Swingler swingler at apple.com
Sun Apr 7 16:13:53 UTC 2013


It may be beneficial to put up a Q&A page on the Mac OS X Port project wiki to answer common questions like this.

As an example, I wrote up a Q&A explaining the decision making process that went into the new graphics stack for Java 7:
<https://wikis.oracle.com/display/OpenJDK/Java2D+Graphics+Design+Plan>

Having something similar for HiDPI would be very helpful to point people to when they want to know how to do X, or knowing if a certain technique is going to work.

~Mike

On Apr 5, 2013, at 4:29 AM, Marco Dinacci <marco.dinacci at gmail.com> wrote:

> Hi,
> 
> thanks a lot for this work, this is indeed something many developers including myself were looking for.
> 
> Is there any plan to backport all changes related to hi-dpi support to OpenJDK 7 ?
> 
> Best,
> Marco
> 
> 
> On 4 April 2013 19:02, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
> Hello,
> Please review the fix for jdk 8. Change adds support of hidpi to Aqua l&f.
> Change description:
> - AquaPainter takes into account scale, when creates image.
> - ImageCache now use scale factor as a key.
> - CGContext also scaled to a ratio of image/control width/height
> - Cleanup
> 
> Note that this fix depends from the:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8000629
> 
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8004866
> Webrev can be found at: http://cr.openjdk.java.net/~serb/8004866/webrev.00
> 
> -- 
> Best regards, Sergey.
> 
> 
> 
> 
> -- 
> www.intransitione.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20130407/02fb87f2/attachment.html>


More information about the swing-dev mailing list