-
Notifications
You must be signed in to change notification settings - Fork 282
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
Red flicker fix/workaround #2280
Conversation
@glennw try appears green (minus some sporadic errors unrelated to WR) |
Wow, that's an unfortunate bug :( Are there any comments you could add to that workaround bool with links to further information (I guess the bugzilla bug, or is there anything known on the angle bug list etc?). @bors-servo r+ |
📌 Commit 94250b3 has been approved by |
There is no simplified use-case yet, and no associated Angle issue. I'll make sure to correct the comment when we know more... |
Red flicker fix/workaround Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1421696 ~~TODO:~~ gecko try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=27240e664f521285aa3d3ae76fce18886eba46c1&selectedJob=155374418 PR contains 3 things: 1. extensive validation of the render target list state with assertions. Note: none of those were triggered by the bug, but it's good to have them anyway for the future. 2. fixed reset to the previous FBO in `update_texture_storage` (this may fix some other issues, technically) 3. `WORK_AROUND_TEX_IMAGE ` fix, which resets a render target before trying to re-initialize it <!-- 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/2280) <!-- Reviewable:end -->
💔 Test failed - status-travis |
OSX Travis is having a moment... |
Red flicker fix/workaround Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1421696 ~~TODO:~~ gecko try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=27240e664f521285aa3d3ae76fce18886eba46c1&selectedJob=155374418 PR contains 3 things: 1. extensive validation of the render target list state with assertions. Note: none of those were triggered by the bug, but it's good to have them anyway for the future. 2. fixed reset to the previous FBO in `update_texture_storage` (this may fix some other issues, technically) 3. `WORK_AROUND_TEX_IMAGE ` fix, which resets a render target before trying to re-initialize it <!-- 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/2280) <!-- Reviewable:end -->
@bors-servo r+ force retry |
// Apparently, in some cases calling `glTexImage3D` with | ||
// similar parameters that the texture already has confuses | ||
// Angle when running with optimizations. | ||
const WORK_AROUND_TEX_IMAGE: bool = cfg!(windows); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💥 Test timed out |
@bors-servo retry |
Red flicker fix/workaround Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1421696 ~~TODO:~~ gecko try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=27240e664f521285aa3d3ae76fce18886eba46c1&selectedJob=155374418 PR contains 3 things: 1. extensive validation of the render target list state with assertions. Note: none of those were triggered by the bug, but it's good to have them anyway for the future. 2. fixed reset to the previous FBO in `update_texture_storage` (this may fix some other issues, technically) 3. `WORK_AROUND_TEX_IMAGE ` fix, which resets a render target before trying to re-initialize it <!-- 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/2280) <!-- Reviewable:end -->
💔 Test failed - status-travis |
@bors-servo retry |
Red flicker fix/workaround Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1421696 ~~TODO:~~ gecko try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=27240e664f521285aa3d3ae76fce18886eba46c1&selectedJob=155374418 PR contains 3 things: 1. extensive validation of the render target list state with assertions. Note: none of those were triggered by the bug, but it's good to have them anyway for the future. 2. fixed reset to the previous FBO in `update_texture_storage` (this may fix some other issues, technically) 3. `WORK_AROUND_TEX_IMAGE ` fix, which resets a render target before trying to re-initialize it <!-- 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/2280) <!-- Reviewable:end -->
💔 Test failed - status-travis |
@bors-servo retry |
Red flicker fix/workaround Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1421696 ~~TODO:~~ gecko try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=27240e664f521285aa3d3ae76fce18886eba46c1&selectedJob=155374418 PR contains 3 things: 1. extensive validation of the render target list state with assertions. Note: none of those were triggered by the bug, but it's good to have them anyway for the future. 2. fixed reset to the previous FBO in `update_texture_storage` (this may fix some other issues, technically) 3. `WORK_AROUND_TEX_IMAGE ` fix, which resets a render target before trying to re-initialize it <!-- 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/2280) <!-- Reviewable:end -->
💔 Test failed - status-travis |
@bors-servo retry |
Red flicker fix/workaround Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1421696 ~~TODO:~~ gecko try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=27240e664f521285aa3d3ae76fce18886eba46c1&selectedJob=155374418 PR contains 3 things: 1. extensive validation of the render target list state with assertions. Note: none of those were triggered by the bug, but it's good to have them anyway for the future. 2. fixed reset to the previous FBO in `update_texture_storage` (this may fix some other issues, technically) 3. `WORK_AROUND_TEX_IMAGE ` fix, which resets a render target before trying to re-initialize it <!-- 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/2280) <!-- Reviewable:end -->
☀️ Test successful - status-appveyor, status-travis |
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1421696
TODO:gecko try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=27240e664f521285aa3d3ae76fce18886eba46c1&selectedJob=155374418PR contains 3 things:
update_texture_storage
(this may fix some other issues, technically)WORK_AROUND_TEX_IMAGE
fix, which resets a render target before trying to re-initialize itThis change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)