RFR: 8261891: sanity/client/SwingSet/src/EditorPaneDemoTest.java fails with Metal API Validation

Jayathirth D V jdv at openjdk.java.net
Wed Feb 24 03:32:59 UTC 2021


On Tue, 23 Feb 2021 18:12:04 GMT, Alexey Ushakov <avu at openjdk.org> wrote:

> Refactored AA shader usage. Performed end of AAshader encoder for incompatible rendering modes

src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/EncoderManager.m line 370:

> 368:   if (_encoder != nil) {
> 369:     if (_destination != dest || renderOptions->isAA != _encoderStates.aa ||
> 370:             renderOptions->isAAShader != _encoderStates.aaShader) {

Hi Alexey,

Is there any performance impact because of ending the encoder on switch?

Thanks,
Jay

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

PR: https://git.openjdk.java.net/lanai/pull/201


More information about the lanai-dev mailing list