opt: readme
This commit is contained in:
parent
5f45a113dc
commit
0a97c09233
3 changed files with 16 additions and 3 deletions
12
README.md
12
README.md
|
|
@ -7,8 +7,18 @@ A texture helper which brings a high level api to handle RGBA data. No frame cop
|
|||
|
||||
## Platform Support
|
||||
|
||||
The plugin aims to provide opengl impl for the texture, which bring a better performance instead of `FFI` + `CustomPainter`.
|
||||
|
||||
- [x] Linux
|
||||
- [x] Windows (No gpu acceleration yet, copy required currently.)
|
||||
- [x] Windows (No gpu acceleration yet due to the limitation of Flutter.)
|
||||
|
||||
```c++
|
||||
// The available texture variants.
|
||||
// Only PixelBufferTexture is currently implemented.
|
||||
// Other variants are expected to be added in the future.
|
||||
typedef std::variant<PixelBufferTexture, GpuSurfaceTexture> TextureVariant;
|
||||
```
|
||||
|
||||
- [ ] MacOS (not implemented yet.)
|
||||
|
||||
## Getting Started
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue