opt: readme

This commit is contained in:
Kingtous 2023-02-17 14:00:18 +08:00
parent 5f45a113dc
commit 0a97c09233
3 changed files with 16 additions and 3 deletions

View file

@ -7,6 +7,6 @@ on:
jobs:
publish:
uses: dart-lang/setup-dart/.github/workflows/publish.yml
uses: dart-lang/setup-dart/.github/workflows/publish.yml@main
# with:
# working-directory: path/to/package/within/repository

View file

@ -1,3 +1,6 @@
## 0.0.3
* Initial pixel based rgba render for Windows. Note that we use the buffer directly without copy, which may have some memory corrupt.
## 0.0.2
* Initial Hardware accelerated rgba render.
* Initial Hardware accelerated rgba render for Linux.

View file

@ -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