opt: readme
This commit is contained in:
parent
5f45a113dc
commit
0a97c09233
3 changed files with 16 additions and 3 deletions
2
.github/workflows/pub.yaml
vendored
2
.github/workflows/pub.yaml
vendored
|
|
@ -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
|
||||
|
|
@ -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.
|
||||
|
|
|
|||
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