RFR: 8303904: [macos]Transparent Windows Paint Wrong (Opaque, Pixelated) w/o Volatile Buffering

anass baya duke at openjdk.org
Tue Feb 4 10:16:11 UTC 2025


On Tue, 4 Feb 2025 08:02:08 GMT, Jeremy <duke at openjdk.org> wrote:

>> The PR includes two fix : 
>> 1 - The first fix targets proper rendering of the transparent image.
>> 2 - The second fix ensures the image is painted at the correct resolution to avoid pixelation.
>
> src/java.desktop/macosx/classes/sun/java2d/metal/MTLGraphicsConfig.java line 260:
> 
>> 258:             }
>> 259:         };
>> 260:     }
> 
> This may be outside the scope of this ticket, but I'm seeing similar code in Win32GraphicsConfig#createAcceleratedImage(..), X11GraphicsConfig#createAcceleratedImage(..), and GLXGraphicsConfig#createAcceleratedImage(..) .
> 
> Should those be looked at, or is there another ticket to explore those? (That is: are they also going to be opaque and the wrong resolution?)

Hello @mickleness,
The problem is not reproduced on windows !! I can see it only on mac

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/23430#discussion_r1940881969


More information about the client-libs-dev mailing list