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

Jeremy duke at openjdk.org
Tue Feb 4 08:05:11 UTC 2025


On Tue, 4 Feb 2025 00:07:48 GMT, anass baya <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?)

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

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


More information about the client-libs-dev mailing list