[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-awt-dev
Subject: Re: <AWT Dev> Translucency support in Swing with OpenGL
From: Sergey Bylokhov <Sergey.Bylokhov () oracle ! com>
Date: 2020-02-06 20:19:29
Message-ID: 280006fa-2851-fde0-e160-f592d7380213 () oracle ! com
[Download RAW message or body]
Hi, Christophe.
That looks like a bug, can you please file it here:
https://bugs.java.com/bugdatabase
BTW the patch for the bug are welcome.
On 2/6/20 2:08 am, Christophe LAFOLET wrote:
> Hello,
>
> we have detected the problem using the demo program from Oracle and
> -Dsun.java2d.opengl=true
> https://docs.oracle.com/javase/tutorial/displayCode.html?code=https://docs.oracle.co \
> m/javase/tutorial/uiswing/examples/misc/GradientTranslucentWindowDemoProject/src/misc/GradientTranslucentWindowDemo.java
>
> The problem is in file sun/java2d/opengl/GLXGraphicsConfig.c
> In the method GLXGC_InitFBConfig(), a score is computed to select a visual
> with the minimal Vram usage but it do not take into account the alpha.
> According to the list of visuals, if the visuals with alpha are at the
> beginning of the list, they can be selected, if they are at the end of the
> list (our case), they are never selected.
>
> Christophe
>
>
>
>
>
> --
> Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-AWT-Development-f82211.html
>
--
Best regards, Sergey.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic