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

Sync changes from mozilla-central #3769

Merged
merged 3 commits into from Oct 4, 2019
Merged

Sync changes from mozilla-central #3769

merged 3 commits into from Oct 4, 2019

Conversation

@moz-gfx
Copy link

moz-gfx commented Oct 3, 2019

This change is Reviewable

Glenn Watson added 2 commits Oct 3, 2019
Previously, picture cache tiles were added to normal batches, and drawn
via the brush_image shader. Since all content is now in picture cache
tiles, we can instead draw the tiles via a separate code path. The tiles
for all picture caches are collected into a single composite config, that
is stored in the Frame structure. These two changes provide a number of
advantages:

 * The composite shader is very simple - it doesn't need to deal with
   transforms, anti-aliasing, repetition etc.
 * Since we create the tile batches in render(), rather than in the
   backend, we can take advantage of information not available until
   the render() call. For example, Gecko will provide information here
   when the partial presentation rects need to be reset. This will be
   used to enable partial presentation parameters on Windows.
 * In future, we can access this list of tiles to be composited, and use
   them to configure the OS compositor integration, and hand the tiles
   directly to the OS compositor.
 * In future, we can apply global optimizations to the set of picture
   cache tiles (e.g. occlude background tiles on CPU to skip paying
   the z-reject cost of drawing them).
 * In future, we can take advantage of the simpler composite path
   for software rasterizer implementations.

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

[wrupdater] From https://hg.mozilla.org/mozilla-central/rev/845c92fd34a67a3924abf7341224279c02fbab24
@moz-gfx
Copy link
Author

moz-gfx commented Oct 3, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Oct 3, 2019

📌 Commit b8515d5 has been approved by moz-gfx

@bors-servo
Copy link
Contributor

bors-servo commented Oct 3, 2019

Testing commit b8515d5 with merge c314d80...

bors-servo added a commit that referenced this pull request Oct 3, 2019
Sync changes from mozilla-central
@bors-servo
Copy link
Contributor

bors-servo commented Oct 3, 2019

💔 Test failed - status-appveyor

We need to detect this code path in renderer, and call the
legacy draw_color_target method.

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

[wrupdater] From https://hg.mozilla.org/mozilla-central/rev/46c1d4bde8d44e821ad01e39aae82b4ae7f72f2d
@moz-gfx
Copy link
Author

moz-gfx commented Oct 4, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.
@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

📌 Commit d533f05 has been approved by moz-gfx

@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

Testing commit d533f05 with merge 07b3f39...

bors-servo added a commit that referenced this pull request Oct 4, 2019
Sync changes from mozilla-central

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

bors-servo commented Oct 4, 2019

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: moz-gfx
Pushing 07b3f39 to master...

@bors-servo bors-servo merged commit d533f05 into servo:master Oct 4, 2019
3 checks passed
3 checks passed
Taskcluster (pull_request) TaskGroup: success
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
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

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