[OpenJDK 2D-Dev] RFR: 8251558 J2DBench should support shaped and translucent windows
Alexey Ushakov
alexey.ushakov at jetbrains.com
Tue Aug 18 10:14:01 UTC 2020
Hi Sergey,
The changes looks good.
> BTW does anybody use the NetBeans project or ant file to build J2DBench.jar? probably
> we can delete them and use the makefile instead?
We don’t use Netbeans project but ant is quite useful, especially on windows.
Best Regards,
Alexey
> On 14 Aug 2020, at 10:29, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
>
> Hello.
> Please review the fix for jdk/client.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8251558
> Fix: http://cr.openjdk.java.net/~serb/8251558/webrev.00
>
> The 3 additional options are added to the J2DBench:
> - Rendering to the shaped frame
> - Rendering to the translucent frame
> - Rendering to the shaped and translucent frame
>
> Note that the old "global.dest.screen" option is replaced by the
> "global.dest.frame.defaultframe" so old configuration files should
> be updated.
>
> I have found that on windows the difference in performance rendering between
> normal and shaped window are huge(x70!!).
>
> I have checked that the jdk1.4 still be able to run this version when compiled by the jdk7.
>
> Additional updates:
> - Location of the frame is tweaked, so it will not be placed out of the screen
> - "suffix.equals" is replaced back to "suffix.isEmpty"(which is supported by the jdk1.4)
>
>
> BTW does anybody use the NetBeans project or ant file to build J2DBench.jar? probably
> we can delete them and use the makefile instead?
>
>
> --
> Best regards, Sergey.
More information about the lanai-dev
mailing list