<AWT Dev> Review Request: JDK-8144735 [hidpi] javax/swing/JWindow/ShapedAndTranslucentWindows/TranslucentPerPixelTranslucentGradient.java fails

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Thu Aug 4 12:53:01 UTC 2016


On 8/3/2016 10:04 AM, Prem Balakrishnan wrote:
>
> Hi,
>
> Please review fix for JDK9,
>
> *Bug:*https://bugs.openjdk.java.net/browse/JDK-8144735
>
> *Webrev:*http://cr.openjdk.java.net/~pkbalakr/8144735/webrev.00/ 
> <http://cr.openjdk.java.net/%7Epkbalakr/8144735/webrev.00/>
>
> *Issue:*
>
> javax/swing/JWindow/ShapedAndTranslucentWindows/TranslucentPerPixelTranslucentGradient.java 
> fails
>
> *Cause:*
>
> While creating Transparent VolatileImage, width and height was NOT 
> hidpi scaled.
>
> *Fix: *VolatileImage width and height are scaled.
>

    I believe this is an issue in AWT and needs to be discussed on 
awt-dev alias.

    Should the backbuffer width and height be also scaled for the 
BIWindowPainter?

   Thanks,
   Alexandr.

> Thanks,
>
> Prem
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20160804/a2ecd0be/attachment-0001.html>


More information about the awt-dev mailing list