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

Mark picture cached tiles as opaque. #3396

Merged
merged 1 commit into from Dec 12, 2018
Merged

Conversation

@gw3583
Copy link
Collaborator

gw3583 commented Dec 9, 2018

We know that all picture cache tiles are opaque, for now, due to
the background color of the content frame being opaque. This
gives a good performance win by putting these tiles into the
opaque pass.

If we ever decide we want to support non-opaque tiles, we can
add the logic to handle this correctly at that time, making use
of the segment batching logic to draw the cached tiles.


This change is Reviewable

We know that all picture cache tiles are opaque, for now, due to
the background color of the content frame being opaque. This
gives a good performance win by putting these tiles into the
opaque pass.

If we ever decide we want to support non-opaque tiles, we can
add the logic to handle this correctly at that time, making use
of the segment batching logic to draw the cached tiles.
@gw3583
Copy link
Collaborator Author

gw3583 commented Dec 9, 2018

r? @kvark or anyone

@nical
Copy link
Collaborator

nical commented Dec 12, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Dec 12, 2018

📌 Commit bee2deb has been approved by nical

@bors-servo
Copy link
Contributor

bors-servo commented Dec 12, 2018

Testing commit bee2deb with merge 7006af2...

bors-servo added a commit that referenced this pull request Dec 12, 2018
Mark picture cached tiles as opaque.

We know that all picture cache tiles are opaque, for now, due to
the background color of the content frame being opaque. This
gives a good performance win by putting these tiles into the
opaque pass.

If we ever decide we want to support non-opaque tiles, we can
add the logic to handle this correctly at that time, making use
of the segment batching logic to draw the cached tiles.

<!-- 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/3396)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 12, 2018

💔 Test failed - status-taskcluster

@staktrace
Copy link
Contributor

staktrace commented Dec 12, 2018

sccache failure, mozilla/sccache#344

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Dec 12, 2018

Testing commit bee2deb with merge 12e108d...

bors-servo added a commit that referenced this pull request Dec 12, 2018
Mark picture cached tiles as opaque.

We know that all picture cache tiles are opaque, for now, due to
the background color of the content frame being opaque. This
gives a good performance win by putting these tiles into the
opaque pass.

If we ever decide we want to support non-opaque tiles, we can
add the logic to handle this correctly at that time, making use
of the segment batching logic to draw the cached tiles.

<!-- 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/3396)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 12, 2018

💔 Test failed - status-taskcluster

@staktrace
Copy link
Contributor

staktrace commented Dec 12, 2018

@bors-servo retry

If this keeps happening I might just disable sccache because it's hurting more than helping right now.

@bors-servo
Copy link
Contributor

bors-servo commented Dec 12, 2018

Testing commit bee2deb with merge 597a1ef...

bors-servo added a commit that referenced this pull request Dec 12, 2018
Mark picture cached tiles as opaque.

We know that all picture cache tiles are opaque, for now, due to
the background color of the content frame being opaque. This
gives a good performance win by putting these tiles into the
opaque pass.

If we ever decide we want to support non-opaque tiles, we can
add the logic to handle this correctly at that time, making use
of the segment batching logic to draw the cached tiles.

<!-- 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/3396)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 12, 2018

💔 Test failed - status-taskcluster

@staktrace
Copy link
Contributor

staktrace commented Dec 12, 2018

@bors-servo retry

Landed sccache disabling in #3402 so it should work better now.

@bors-servo
Copy link
Contributor

bors-servo commented Dec 12, 2018

Testing commit bee2deb with merge bf98e0c...

bors-servo added a commit that referenced this pull request Dec 12, 2018
Mark picture cached tiles as opaque.

We know that all picture cache tiles are opaque, for now, due to
the background color of the content frame being opaque. This
gives a good performance win by putting these tiles into the
opaque pass.

If we ever decide we want to support non-opaque tiles, we can
add the logic to handle this correctly at that time, making use
of the segment batching logic to draw the cached tiles.

<!-- 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/3396)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 12, 2018

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: nical
Pushing bf98e0c to master...

@bors-servo bors-servo merged commit bee2deb into servo:master Dec 12, 2018
2 of 3 checks passed
2 of 3 checks passed
Taskcluster (pull_request) TaskGroup: failure
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Dec 13, 2018
…39e1dc4f080f (WR PR #3396). r=kats

servo/webrender#3396

Differential Revision: https://phabricator.services.mozilla.com/D14311

--HG--
extra : moz-landing-system : lando
mykmelez pushed a commit to mykmelez/gecko that referenced this pull request Dec 13, 2018
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.

None yet

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