Refact/stride align (#8)

* rename row_align_bytes  to stride_align

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* trivail changes

Signed-off-by: fufesou <shuanglongchen@yeah.net>

---------

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-03-03 09:46:33 +08:00 • committed by GitHub
parent 873919902e
commit 8d66a7c55e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 26 additions and 26 deletions

View file

@ -24,9 +24,9 @@ class TextureRgbaRenderer {
/// Provide the rgba data to the texture.
Future<bool> onRgba(
int key, Uint8List data, int height, int width, int row_align_bytes) {
int key, Uint8List data, int height, int width, int stride_align) {
return TextureRgbaRendererPlatform.instance
.onRgba(key, data, height, width, row_align_bytes);
.onRgba(key, data, height, width, stride_align);
}
Future<int> getTexturePtr(int key) {