On Tue, 11 May 2021 16:06:09 GMT, Alexey Ushakov <a...@openjdk.org> wrote:
>> src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLClip.h line 52: >> >>> 50: @property (readonly) id<MTLTexture> stencilTextureRef; >>> 51: @property (readonly) BOOL stencilMaskGenerationInProgress; >>> 52: @property (readwrite ) BOOL stencilMaskGenerationStarted; >> >> Is 'stencilMaskGenerationStarted' property needed? >> I don't see it being used anywhere to compare. > > It is used here > src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/EncoderManager.m > (430) > > The main goal of the property is to continue clip generation. Sometimes we're > unable to produce all the scanlines at once Ah.. I wonder- how did I miss it? Thanks for pointing out. ------------- PR: https://git.openjdk.java.net/jdk/pull/3929