On Tue, 11 May 2021 14:14:02 GMT, Ajit Ghaisas <aghai...@openjdk.org> wrote:
>> Implemented indirect rendering (via stencil texture attachment) to stencil >> texture > > 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 ------------- PR: https://git.openjdk.java.net/jdk/pull/3929