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

scroll encoding can be costly - use it more parsimoniously #3519

Closed
totaam opened this issue Apr 13, 2022 · 0 comments
Closed

scroll encoding can be costly - use it more parsimoniously #3519

totaam opened this issue Apr 13, 2022 · 0 comments
Labels
encoding enhancement New feature or request

Comments

@totaam
Copy link
Collaborator

totaam commented Apr 13, 2022

In particular, the html5 client has to use a secondary buffer to memcopy the current pixel areas without causing visual corruption. (perhaps this can be fixed?)

We can keep track of the last event time for:

  • successfully using scroll encoding
  • processing a mouse wheel event

And only trigger the scroll detection when it is more likely to succeed.
Also let the clients specify how aggressive this heuristic should be.

@totaam totaam added enhancement New feature or request encoding labels Apr 13, 2022
totaam added a commit to Xpra-org/xpra-html5 that referenced this issue Apr 13, 2022
@totaam totaam closed this as completed Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
encoding enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant