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

Anass Baya abaya at openjdk.org
Tue Mar 18 13:49:10 UTC 2025


On Wed, 26 Feb 2025 18:35:31 GMT, Jeremy Wood <duke at openjdk.org> wrote:

>> Anass Baya has updated the pull request incrementally with three additional commits since the last revision:
>> 
>>  - Enhancment step 3
>>  - Enhancement - step 2
>>  - enhancement - step 1
>
> src/java.desktop/macosx/classes/sun/lwawt/LWComponentPeer.java line 983:
> 
>> 981:         Image img = getLWGC().createAcceleratedImage(getTarget(), scaledWidth, scaledHeight);
>> 982:         if(ScaleX == 1 || ScaleY == 1)
>> 983:             return img;
> 
> Should this be `&&` instead of `||`?

Yes It should

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

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


More information about the client-libs-dev mailing list