feat: paint event move texture data to handle, add colorSpace (#47315)

* feat: paint event move shared texture to handle, add color space

* feat: add breaking change

* fix: properties.

* fix: remove utf8 bom
This commit is contained in:
reito
2025-08-08 16:13:56 +08:00
committed by GitHub
parent 095e622a6a
commit 9dcdec5015
7 changed files with 60 additions and 27 deletions

View File

@@ -54,6 +54,12 @@ webContents.setWindowOpenHandler((details) => {
})
```
### Behavior Changed: shared texture OSR `paint` event data structure
When using shared texture offscreen rendering feature, the `paint` event now emits a more structured object.
It moves the `sharedTextureHandle`, `planes`, `modifier` into a unified `handle` property.
See [here](https://www.electronjs.org/docs/latest/api/structures/offscreen-shared-texture) for more details.
## Planned Breaking API Changes (37.0)
### Utility Process unhandled rejection behavior change