On Android, we set the EGL_STENCIL_SIZE to 0. On Windows, we set it to 8.
However, we tell skia to avoid stencil buffers. This was added in flutter/engine#4362.
We should stop telling Skia to avoid stencil buffers and make sure android provides one as well. That should avoid the performance overlay regression, and allow Skia to perform better on Android and Windows.
I suspect this could also help #97334
@chinmaygarde @jonahwilliams @brianosman fyi
On Android, we set the
EGL_STENCIL_SIZEto 0. On Windows, we set it to 8.However, we tell skia to avoid stencil buffers. This was added in flutter/engine#4362.
We should stop telling Skia to avoid stencil buffers and make sure android provides one as well. That should avoid the performance overlay regression, and allow Skia to perform better on Android and Windows.
I suspect this could also help #97334
@chinmaygarde @jonahwilliams @brianosman fyi