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

Don't optimize display list for projective transforms #16795

Merged
merged 1 commit into from May 17, 2017

Conversation

@mrobinson
Copy link
Member

mrobinson commented May 10, 2017

There are situations where elements are transformed from outside the
display list. With projective transforms it's currently difficult to
detect these. In those cases we just don't optimize the display list,
so that they will always be shown.

Fixes #13822.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #13822 (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because _____

This change is Reviewable

There are situations where elements are transformed from outside the
display list. With projective transforms it's currently difficult to
detect these. In those cases we just don't optimize the display list,
so that they will always be shown.

Fixes #13822.
@highfive
Copy link

highfive commented May 10, 2017

Heads up! This PR modifies the following files:

  • @emilio: components/layout/display_list_builder.rs
@mrobinson mrobinson requested a review from glennw May 10, 2017
@glennw
glennw approved these changes May 16, 2017
@glennw
Copy link
Member

glennw commented May 16, 2017

@bors-servo
Copy link
Contributor

bors-servo commented May 16, 2017

📌 Commit 3236611 has been approved by glennw

@highfive highfive assigned glennw and unassigned mbrubeck May 16, 2017
@bors-servo
Copy link
Contributor

bors-servo commented May 17, 2017

Testing commit 3236611 with merge fada0eb...

bors-servo added a commit that referenced this pull request May 17, 2017
Don't optimize display list for projective transforms

There are situations where elements are transformed from outside the
display list. With projective transforms it's currently difficult to
detect these. In those cases we just don't optimize the display list,
so that they will always be shown.

Fixes #13822.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #13822 (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

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

bors-servo commented May 17, 2017

💔 Test failed - linux-dev

@glennw
Copy link
Member

glennw commented May 17, 2017

@bors-servo retry

  • Infra says: LLVM ERROR: Invalid data was encountered while parsing the file
@bors-servo
Copy link
Contributor

bors-servo commented May 17, 2017

Previous build results for android, arm32, arm64, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-wpt1, windows-msvc-dev are reusable. Rebuilding only linux-dev, mac-rel-css, mac-rel-wpt2...

@bors-servo
Copy link
Contributor

bors-servo commented May 17, 2017

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev
Approved by: glennw
Pushing fada0eb to master...

@bors-servo bors-servo merged commit 3236611 into servo:master May 17, 2017
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
@mrobinson mrobinson deleted the mrobinson:out-of-viewport-transform branch May 18, 2017
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.

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