Skip to content

Fix a BlobImageRasterizer race condition. #3387

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

Merged
merged 1 commit into from
Dec 6, 2018

Conversation

nical
Copy link
Contributor

@nical 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
Contributor Author

nical commented Dec 5, 2018

r? @kvark

@kvark
Copy link
Member

kvark commented Dec 6, 2018

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 094d296 has been approved by kvark

@bors-servo
Copy link
Contributor

⌛ Testing commit 094d296 with merge 8a6a538...

bors-servo pushed 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

☀️ 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
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 blob-race-1 branch December 6, 2018 21:23
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
bhearsum pushed a commit to mozilla-releng/staging-firefox that referenced this pull request May 1, 2025
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