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

Revert using a separate draw thread #4656

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

andydotxyz
Copy link
Member

Progresses #4654

Checklist:

  • Tests included. <- this is very much the first steps and needs lots of manual testing
  • Lint and formatter run with no errors.
  • Tests all pass.
  • Any breaking changes have a deprecation path or have been discussed.

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...

@andydotxyz andydotxyz mentioned this pull request Feb 18, 2024
12 tasks
@coveralls
Copy link

coveralls commented Feb 20, 2024

Coverage Status

coverage: 64.768% (+0.01%) from 64.756%
when pulling ecb0c1f on andydotxyz:fix/mergethreads
into 3c111a2 on fyne-io:develop.

}
}
r.animationMutex.Lock()
r.animations = append(newList, r.pendingAnimations...)
Copy link
Contributor

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.

@andydotxyz
Copy link
Member Author

Putting this on hold until we begin work on 2.6

@andydotxyz andydotxyz marked this pull request as draft April 23, 2024 14:56
@andydotxyz andydotxyz added this to the "F" release, Late 2024 milestone May 23, 2024
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.

3 participants