<AWT Dev> RFR: 8266079: Lanai: AlphaComposite shows differences on Metal compared to OpenGL
Sergey Bylokhov
serb at openjdk.java.net
Tue Aug 3 19:56:29 UTC 2021
On Tue, 3 Aug 2021 19:51:30 GMT, Alexey Ushakov <avu at openjdk.org> wrote:
>> Yes, sounds reasonable. Moreover, It was my initial attempt but I faced with some regressions in SwingSet2 demo. In some cases background of tree nodes become black and this artifact was reproducible only if some other tabs were clicked before. It was hot time for jdk17 so I decided not to fight with this regression. Now we have more time, so I can spend more time on this.
>
> Looks like making MTLLayer opaque by default require much more time that I expected. I tried different things to resolve artefacts that I mentioned before but nothing seems to work. So, I suggest to stick with my latest approach. It passes all the tests and don't break SwingSet2.
>
>> BTW Probably implementation of LWWindowPeer.setTextured() should call the updateOpaque() as well.
>
> I'll add this change
How to reproduce that artifact?
-------------
PR: https://git.openjdk.java.net/jdk/pull/4946
More information about the awt-dev
mailing list