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

后端时机时机需要和RedrawRequested同步 #13

Open
Fancyflame opened this issue Oct 3, 2024 · 0 comments
Open

后端时机时机需要和RedrawRequested同步 #13

Fancyflame opened this issue Oct 3, 2024 · 0 comments

Comments

@Fancyflame
Copy link
Owner

Fancyflame commented Oct 3, 2024

如题。pixels.render()要和RedrawRequested事件同步。这个可能和后端翻新一起解决。
现在问题现象是:在irisia-backend/src/render_window/mod.rs中的window_runtime函数中接收到重绘事件后如果直接window.request_redraw会让Pixels::render导致线程阻塞

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

1 participant