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

Fix a BlobImageRasterizer race condition. #3387

Merged
merged 1 commit into from Dec 6, 2018
Merged

Conversation

@nical
Copy link
Collaborator

nical commented Dec 5, 2018

We can only make a blob image rasterizer the render backend thread's current rasterizer after it went through the scene builder thread, otherwise the rastirezer might race ahead of other rasterizers that are on going through the scene builder thread.

We also need to make sure that if there is a blob image update, we don't skip the scene builder thread.


This change is Reviewable

We can only make a blob image rasterizer the render backend thread's current rasterizer after it went through the scene builder thread, otherwise the rastirezer might race ahead of other rasterizers that are on going through the scene builder thread.

We also need to make sure that if there is a blob image update, we don't skip the scene builder thread.
@nical
Copy link
Collaborator Author

nical commented Dec 5, 2018

r? @kvark

@kvark
kvark approved these changes Dec 6, 2018
@kvark
Copy link
Member

kvark commented Dec 6, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Dec 6, 2018

📌 Commit 094d296 has been approved by kvark

@bors-servo
Copy link
Contributor

bors-servo commented Dec 6, 2018

Testing commit 094d296 with merge 8a6a538...

bors-servo added a commit that referenced this pull request Dec 6, 2018
Fix a BlobImageRasterizer race condition.

We can only make a blob image rasterizer the render backend thread's current rasterizer after it went through the scene builder thread, otherwise the rastirezer might race ahead of other rasterizers that are on going through the scene builder thread.

We also need to make sure that if there is a blob image update, we don't skip the scene builder thread.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/3387)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 6, 2018

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: kvark
Pushing 8a6a538 to master...

@bors-servo bors-servo merged commit 094d296 into servo:master Dec 6, 2018
3 checks passed
3 checks passed
Taskcluster (pull_request) TaskGroup: success
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Dec 6, 2018
…f4023ee10d51 (WR PR #3387). r=kats

servo/webrender#3387

Differential Revision: https://phabricator.services.mozilla.com/D13893

--HG--
extra : moz-landing-system : lando
mykmelez pushed a commit to mykmelez/gecko that referenced this pull request Dec 6, 2018
@nical nical deleted the nical:blob-race-1 branch Dec 6, 2018
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
…f4023ee10d51 (WR PR #3387). r=kats

servo/webrender#3387

Differential Revision: https://phabricator.services.mozilla.com/D13893

UltraBlame original commit: ea5869ddc7dc02086e3c36e48af7b9e8a26678ca
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
…f4023ee10d51 (WR PR #3387). r=kats

servo/webrender#3387

Differential Revision: https://phabricator.services.mozilla.com/D13893

UltraBlame original commit: ea5869ddc7dc02086e3c36e48af7b9e8a26678ca
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 3, 2019
…f4023ee10d51 (WR PR #3387). r=kats

servo/webrender#3387

Differential Revision: https://phabricator.services.mozilla.com/D13893

UltraBlame original commit: ea5869ddc7dc02086e3c36e48af7b9e8a26678ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.