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

Rendering glitches/flickering for rotating element #2590

Closed
Zirro opened this issue Mar 29, 2018 · 3 comments
Closed

Rendering glitches/flickering for rotating element #2590

Zirro opened this issue Mar 29, 2018 · 3 comments

Comments

@Zirro
Copy link

@Zirro Zirro commented Mar 29, 2018

This test case includes an element with border-radius and a dotted border. When its rotated using the rotate()-transform in an animation, significant rendering glitches appear.

I can reproduce this in Firefox Nightly with WebRender enabled, as well as the latest nightly build of Servo. This is on a MacBook Pro (Early 2013) with Intel HD Graphics 4000 and a NVIDIA GeForce GT 650M, with both GPUs displaying the glitches.

Here's a screen recording showing the issue (caution - includes rapid flickering): https://bug1449904.bmoattachments.org/attachment.cgi?id=8963546

Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1449904

@Darkspirit
Copy link

@Darkspirit Darkspirit commented Mar 29, 2018

screenshot_20180329_151246
Regression range: e3dd853...b7714b1 (wr update)
Thin cross + sporadically appearing flickering white boxes.

Partial fix range: 1142dfc...a422f90 (wr update)
The thin cross went away.

Screencast: main profile, dark theme, Radeon RX480: It looks like a black(?) rotating rectangle is drawn on the penultimate tab, hiding parts of the tab title.
The reporter's screencast shows something similar on the right side of the location bar.

@Zirro
Copy link
Author

@Zirro Zirro commented Mar 29, 2018

https://rawgit.com/Zirro/03f0e2d19b087db29b1f069e014e3ee5/raw/0f32535d70e56185e01e4f9be860afc4dc4fec79/fireworks.html - This case looks like another manifestation of the same issue, while displaying the behaviour more clearly.

The glitches seem to appear when the transformation places parts of the element outside the viewport. In the original test case, the flickering boxes don't show up if the element is given some margin to move it away from the viewport edge.

@Zirro
Copy link
Author

@Zirro Zirro commented Jun 12, 2018

I can no longer reproduce these issues in either of the test cases with latest WebRender 🎉
Presumably due to the merging of #2795.

@Zirro Zirro closed this Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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