Skip to content

Consider adding a stencil buffer for Skia to use on OpenGL backend #99934

@dnfield

Description

@dnfield

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

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listperf: speedPerformance issues related to (mostly rendering) speedplatform-androidAndroid applications specificallyplatform-windowsBuilding on or for Windows specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions