Skip to content

Comments

Support transforms for display list optimization. Prevents clipping in #6643.#6983

Merged
bors-servo merged 1 commit intoservo:masterfrom
glennw:tf2
Aug 5, 2015
Merged

Support transforms for display list optimization. Prevents clipping in #6643.#6983
bors-servo merged 1 commit intoservo:masterfrom
glennw:tf2

Conversation

@glennw
Copy link
Member

@glennw glennw commented Aug 5, 2015

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 5, 2015
@glennw
Copy link
Member Author

glennw commented Aug 5, 2015

r? @pcwalton

@pcwalton
Copy link
Contributor

pcwalton commented Aug 5, 2015

Why is DL optimization needed to clip properly?

@glennw
Copy link
Member Author

glennw commented Aug 5, 2015

When I say clipping, I'm referring to items being culled incorrectly from some tiles without this change, which gives the appearance that an item is being clipped at tile boundaries. If that makes it clearer?

@pcwalton
Copy link
Contributor

pcwalton commented Aug 5, 2015

Ah, I see. So we were not taking transforms into account but were attempting to optimize anyway.

@glennw
Copy link
Member Author

glennw commented Aug 5, 2015

Yep, that's right.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a slight optimization - the if checks below previously excluded them anyway, this just avoids adding them to the smallvec at all.

@pcwalton
Copy link
Contributor

pcwalton commented Aug 5, 2015

@bors-servo: r+

@bors-servo
Copy link
Contributor

📌 Commit 11b1c19 has been approved by pcwalton

@jdm jdm added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Aug 5, 2015
@bors-servo
Copy link
Contributor

⌛ Testing commit 11b1c19 with merge 315c4f5...

bors-servo pushed a commit that referenced this pull request Aug 5, 2015
Support transforms for display list optimization. Prevents clipping in #6643.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6983)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - android, gonk, linux1, linux2, linux3, mac1, mac2, mac3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants