[OpenJDK 2D-Dev] RFR: 8250658: Performance of ClipFlatOval Renderperf test is very low
Ajit Ghaisas
aghaisas at openjdk.java.net
Wed May 12 06:05:57 UTC 2021
On Tue, 11 May 2021 16:06:09 GMT, Alexey Ushakov <avu at 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
More information about the 2d-dev
mailing list