-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Revert using a separate draw thread #4656
base: develop
Are you sure you want to change the base?
Conversation
} | ||
} | ||
r.animationMutex.Lock() | ||
r.animations = append(newList, r.pendingAnimations...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The runner can get a whole lot cleaner once we assume the new threading model. While Start and Stop can still be called when invoking user code within a Tick, we will know they won't be called elsewhere, so we can do some simplification and cleanup around the synchronization between Start, Stop and Tick. That can be a follow-up PR though.
Putting this on hold until we begin work on 2.6 |
Progresses #4654
Checklist:
Notice that on macOS the UI will stop drawing if we resize. This is the reason draw thread was added and we will need to find another solution...