-
Notifications
You must be signed in to change notification settings - Fork 649
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
Use Workers to do tile decompression and unpremultiply #9208
Open
Cwiiis
wants to merge
3
commits into
CollaboraOnline:master
Choose a base branch
from
Cwiiis:messing-with-workers
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for opening this pull request! Things that will help get your PR across the finish line:
|
3430ea8
to
f6b9b8e
Compare
f6b9b8e
to
c6f8206
Compare
c6f8206
to
22547e4
Compare
Signed-off-by: Chris Lord <[email protected]> Change-Id: Idb46053e78fb44225f3f1b2a86b7ccaaf52310b2
22547e4
to
f77b5bb
Compare
Signed-off-by: Chris Lord <[email protected]> Change-Id: I67a3a400009f03c7a87fb17040c224f8e6c9ded9
f77b5bb
to
d3912ac
Compare
This removes unpremultiply from the retained allocations profile. This doesn't necessarily help with memory usage, but at least makes it easier to track. Signed-off-by: Chris Lord <[email protected]> Change-Id: I8d4a81ec6a9e771d6a37c293e3a130da0b6637d9
672568b
to
823be3a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Two patches; the first fixes a bug where if we receive new keyframe tiledata and need to ensure the canvas, we end up decompressing/unpremultiplying/putting the old data unnecessarily (I think). The second uses a worker to offload the majority of tile image data decompression and unpremultiplying from the main thread and improves response during large update operations (such as scrolling through a document).
The code is not properly formatted yet, I'm opening this PR now and will update it with fixes once I figure out what those fixes are...
Checklist
make check
make run
and manually verified that everything looks okay