#49608: fix: handle out of order recording errors in skia graphite
Merged
Description of Change
Refs https://issues.chromium.org/issues/458722690
Skia graphite is the new rasterization backend currently enabled on macOS since M135.
There are scenarios where the recorder will go into unrecoverable mode when the recordings are inserted out of order leading to broken rendering of the application until the gpu process restarts. Refs microsoft/vscode#263554
The chromium change in this CL requires a corresponding change in skia https://skia-review.googlesource.com/c/skia/+/1143598 which is already available in main and 41-x-y branches. I will open a separate PR that backports for 40-x-y and 39-x-y
Release Notes
Notes: Fixed rendering glitches on macOS.
Backports
Semver Impact
Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron