mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: add docs about shared texture mode osr (#45670)
* docs: add docs about shared texture mode osr * docs: add docs about shared texture mode osr * docs: fix dot * 更新 web-contents.md Co-authored-by: Sam Maddock <samuel.maddock@gmail.com> --------- Co-authored-by: Sam Maddock <samuel.maddock@gmail.com>
This commit is contained in:
@@ -36,7 +36,8 @@ setting.
|
||||
This is an advanced feature requiring a native node module to work with your own code.
|
||||
The frames are directly copied in GPU textures, thus this mode is very fast because
|
||||
there's no CPU-GPU memory copies overhead, and you can directly import the shared
|
||||
texture to your own rendering program.
|
||||
texture to your own rendering program. You can read more details at
|
||||
[here](https://github.com/electron/electron/blob/main/shell/browser/osr/README.md).
|
||||
|
||||
2. Use CPU shared memory bitmap
|
||||
|
||||
|
||||
Reference in New Issue
Block a user