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

使用 ui::Control对象渲染GIF,内存暴涨 #45

Open
binson1015 opened this issue Sep 16, 2020 · 1 comment
Open

使用 ui::Control对象渲染GIF,内存暴涨 #45

binson1015 opened this issue Sep 16, 2020 · 1 comment

Comments

@binson1015
Copy link

binson1015 commented Sep 16, 2020

使用 ui::Control 的对象,SetBkImage(path), path是一个本地的gif路径(如C:/123.gif)。
一个会话中,连续有多个bubble_image展示gif(每张gif大概2-3兆),就会很卡顿,并且任务管理器中查看内存占用高达4-5百兆。
普通图片渲染是正常的。

@cqu227hk
Copy link
Contributor

使用 ui::Control 的对象,SetBkImage(path), path是一个本地的gif路径(如C:/123.gif)。
一个会话中,连续有多个bubble_image展示gif(每张gif大概2-3兆),就会很卡顿,并且任务管理器中查看内存占用高达4-5百兆。
普通图片渲染是正常的。

可以把图片发给我们吗?

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