Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

问题: 这个会不会很耗cpu #13

Open
wujin1989 opened this issue Sep 17, 2023 · 1 comment
Open

问题: 这个会不会很耗cpu #13

wujin1989 opened this issue Sep 17, 2023 · 1 comment

Comments

@wujin1989
Copy link

wujin1989 commented Sep 17, 2023

我理解的这种方式在使用硬件加速的情况下有两次拷贝:
1 一次是硬解后的数据需要从gpu 拷贝到内存
2 一次是从内存再拷贝到flutter texture

想问下是这样?

@Kingtous
Copy link
Owner

Kingtous commented Dec 5, 2023

目前插件是这样的,这个是比较通用的解决方案,而且可以在flutter上调用,虽然不是性能最优的办法。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants