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 #3794

Merged
merged 21 commits into from Nov 8, 2019
Merged

Sync changes from mozilla-central #3794

merged 21 commits into from Nov 8, 2019

Conversation

@moz-gfx
Copy link

moz-gfx commented Nov 6, 2019

No description provided.

nical and others added 8 commits Nov 6, 2019
First patch in of series that will rearrange the layout of the glyph instance attributes so that it matches brush instances.
This will be needed to add a unified shader that can render the most common alpha pass primitives, including text.

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

[wrupdater] From https://hg.mozilla.org/mozilla-central/rev/570d5ec05d035d9fb156c8cc336ad66885b21de6
…rce_address. r=gw

This user_data field is currently only used as an address for some shader-specific resource in the gpu cache. We can always rename it back to something generic if we ever need to use the bits differently in other shaders in the future.

Depends on D51884

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

[wrupdater] From https://hg.mozilla.org/mozilla-central/rev/cd13f04835f4d9ebdfccd14b5f4afe6a8a8a2dbe
…y. r=lsalzman

The glyph pixel space in which we rasterized glyphs differed from how we
rendered the rasterized glyphs in the shader. They need to be in
agreement because the glyph subpixel offset selected during
rasterization depends on it. This patch should make the paths consistent
with each other.

Additionally, during animations, we now snap the reference frame
relative offset ignoring the impact of any animated transforms. This
helps with minimizing glyph wiggling during the transition.

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

[wrupdater] From https://hg.mozilla.org/mozilla-central/rev/1e12f9b1812772fee75f80a38fd27b5fff8cffbc
…nical

Invalidate_rendered_frame expects full rendering in next WR rendering. Then when invalidate_rendered_frame is requested, we need to request force redraw. Otherwise, SwapChain might skip present call during partial present.

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

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

moz-gfx commented Nov 6, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 6, 2019

📌 Commit 52cfe18 has been approved by moz-gfx

@community-tc-integration

This comment has been minimized.

Copy link

community-tc-integration bot commented on 52cfe18 Nov 6, 2019

Submitting the task to Taskcluster failed. Details

Taskcluster-GitHub attempted to create a task for this event with the following scopes:

[
  "assume:repo:github.com/servo/webrender:pull-request",
  "queue:route:statuses",
  "queue:scheduler-id:taskcluster-github"
]

The expansion of these scopes is not sufficient to create the task, leading to the following:

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AllOf": [
    "queue:route:index.garbage.webrender.ci.moz-gfx.wrupdater.linux-release",
    {
      "AnyOf": [
        {
          "AnyOf": [
            "queue:create-task:highest:aws-provisioner-v1/github-worker",
            "queue:create-task:very-high:aws-provisioner-v1/github-worker",
            "queue:create-task:high:aws-provisioner-v1/github-worker",
            "queue:create-task:medium:aws-provisioner-v1/github-worker",
            "queue:create-task:low:aws-provisioner-v1/github-worker",
            "queue:create-task:very-low:aws-provisioner-v1/github-worker",
            "queue:create-task:lowest:aws-provisioner-v1/github-worker"
          ]
        },
        {
          "AnyOf": [
            "queue:create-task:aws-provisioner-v1/github-worker",
            {
              "AllOf": [
                "queue:define-task:aws-provisioner-v1/github-worker",
                "queue:task-group-id:taskcluster-github/JBafT5ZyRCCDmoq37XBqtQ",
                "queue:schedule-task:taskcluster-github/JBafT5ZyRCCDmoq37XBqtQ/GJTn_dLUROCqLpQIcQzHxA"
              ]
            }
          ]
        }
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AllOf": [
    "queue:route:index.garbage.webrender.ci.moz-gfx.wrupdater.linux-release",
    "queue:route:statuses",
    {
      "AnyOf": [
        {
          "AllOf": [
            "queue:scheduler-id:taskcluster-github",
            {
              "AnyOf": [
                "queue:create-task:highest:aws-provisioner-v1/github-worker",
                "queue:create-task:very-high:aws-provisioner-v1/github-worker",
                "queue:create-task:high:aws-provisioner-v1/github-worker",
                "queue:create-task:medium:aws-provisioner-v1/github-worker",
                "queue:create-task:low:aws-provisioner-v1/github-worker",
                "queue:create-task:very-low:aws-provisioner-v1/github-worker",
                "queue:create-task:lowest:aws-provisioner-v1/github-worker"
              ]
            }
          ]
        },
        {
          "AnyOf": [
            "queue:create-task:aws-provisioner-v1/github-worker",
            {
              "AllOf": [
                "queue:define-task:aws-provisioner-v1/github-worker",
                "queue:task-group-id:taskcluster-github/JBafT5ZyRCCDmoq37XBqtQ",
                "queue:schedule-task:taskcluster-github/JBafT5ZyRCCDmoq37XBqtQ/GJTn_dLUROCqLpQIcQzHxA"
              ]
            }
          ]
        }
      ]
    }
  ]
}

  • method: createTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2019-11-06T22:03:36.242Z
@bors-servo
Copy link
Contributor

bors-servo commented Nov 6, 2019

Testing commit 52cfe18 with merge a65441c...

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

bors-servo commented Nov 7, 2019

💥 Test timed out

Glenn Watson and others added 7 commits Nov 7, 2019
…t occluded r=nical

Tiles that are occluded are generally never seen, or only seen
occasionally. To reduce the number of compositor surfaces:

 * Defer native surface allocation until after occlusion culling occurs.
 * If a tile has a native surface, then becomes occluded, drop the surface.

With this scheme, the number of unused native surfaces will always be 0
on a page that doesn't have scrolling. For a page that has a scrollable
region, there will be a small number of unused tiles retained. The unused
tiles are those that are (a) not occluded (b) not currently visible (c) are
in the display port. We retain these for a small amount of time in case
they get scrolled back on screen.

This makes the allocation patterns for native surfaces match the way
that picture cache surfaces are allocated for simple compositing mode.

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

[wrupdater] From https://hg.mozilla.org/mozilla-central/rev/70442369cd48e37b05d2982f4109622cf8209bc6
Whilst pinch zooming, every picture cache tile gets completely
invalidated every frame. It is therefore a waste of memory bandwidth
to render in to picture cache tiles then composite those to the
screen. This change dynamically disables picture caching for frames in
which we are pinch zooming. The exception is if we are using a native
compositor, in which case picture caching will remain enabled, because
it relies on picture caching to work, and does not waste memory
bandwidth.

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

[wrupdater] From https://hg.mozilla.org/mozilla-central/rev/dd0e1c0d6acc4b7cb8b8b251aa3da7984f8b496f
…ilure in adb wait-for-device shell cat /sys/class/power_supply/battery/input_suspend 2>/dev/null. CLOSED TREE

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

moz-gfx commented Nov 7, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 7, 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 Nov 7, 2019

📌 Commit b998c39 has been approved by moz-gfx

@bors-servo
Copy link
Contributor

bors-servo commented Nov 7, 2019

Testing commit b998c39 with merge d3670f7...

bors-servo added a commit that referenced this pull request Nov 7, 2019
Sync changes from mozilla-central
@jdm
Copy link
Member

jdm commented Nov 7, 2019

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Nov 7, 2019

Testing commit b998c39 with merge b842e10...

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

jrmuizel commented Nov 7, 2019

This got broke by rust 1.39 which just so happened to come out now.

@bors-servo
Copy link
Contributor

bors-servo commented Nov 7, 2019

💔 Test failed - status-appveyor

@moz-gfx
Copy link
Author

moz-gfx commented Nov 8, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 8, 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 Nov 8, 2019

📌 Commit 3313bb3 has been approved by moz-gfx

@bors-servo
Copy link
Contributor

bors-servo commented Nov 8, 2019

Testing commit 3313bb3 with merge 6e056a2...

bors-servo added a commit that referenced this pull request Nov 8, 2019
Sync changes from mozilla-central
@SimonSapin
Copy link
Member

SimonSapin commented Nov 8, 2019

Temporarily removing RUSTFLAGS='--deny warnings' in CI configuration could be a way to unblock this until a proper fix lands in https://bugzilla.mozilla.org/show_bug.cgi?id=1564873

@petemoore
Copy link
Contributor

petemoore commented Nov 8, 2019

Temporarily removing RUSTFLAGS='--deny warnings' in CI configuration could be a way to unblock this until a proper fix lands in https://bugzilla.mozilla.org/show_bug.cgi?id=1564873

Thanks @SimonSapin!

I'm landing https://lando.services.mozilla.com/D52360/ (currently queued), so hopefully it should get merged back here soon.

@moz-gfx
Copy link
Author

moz-gfx commented Nov 8, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 8, 2019

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

  • This pull request is currently being tested. If there's no response from the continuous integration service, you may use retry to trigger a build again.
@bors-servo
Copy link
Contributor

bors-servo commented Nov 8, 2019

📌 Commit 81159b7 has been approved by moz-gfx

@bors-servo
Copy link
Contributor

bors-servo commented Nov 8, 2019

Testing commit 81159b7 with merge a27d2cf...

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

petemoore commented Nov 8, 2019

Note, when https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=c61c05f3707767aaf77f7cffa741c86ef44ace2d completes, I'm hoping the Community-TC (pull request) task will pass.

…=nical

This change is a temporary fix to not set RUSTFLAGS='--deny warnings'
in order to unblock https://bugzil.la/1575648 (which is time-critical).
The longer term solution for this is https://bugzil.la/1564873.

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

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

moz-gfx commented Nov 8, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 8, 2019

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

  • This pull request is currently being tested. If there's no response from the continuous integration service, you may use retry to trigger a build again.
@bors-servo
Copy link
Contributor

bors-servo commented Nov 8, 2019

📌 Commit 7971c99 has been approved by moz-gfx

@bors-servo
Copy link
Contributor

bors-servo commented Nov 8, 2019

Testing commit 7971c99 with merge ec4f5e7...

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

bors-servo commented Nov 8, 2019

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

@bors-servo bors-servo merged commit 7971c99 into servo:master Nov 8, 2019
2 of 3 checks passed
2 of 3 checks passed
Community-TC (pull_request) TaskGroup: failure
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

You can’t perform that action at this time.