Skip to content

Conversation

@Zoxc
Copy link

@Zoxc Zoxc commented Oct 7, 2023

This adds a pending frame list to GlobalFrameView. It's used if the lock for the FrameView is not available at the moment. This may happen if puffin_egui is rendering while new_frame is called on a different thread. In that case, this change prevents the puffin_egui from blocking the other thread.

puffin_egui also currently deadlocks as it holds the lock for the FrameView while also having profiling scopes, making a cycle with the GlobalProfiler. This change removes that deadlock.

@Zoxc Zoxc requested review from TimonPost and emilk as code owners October 7, 2023 10:02
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

Successfully merging this pull request may close these issues.

1 participant