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

Merged
merged 16 commits into from Nov 27, 2019
Merged

Sync changes from mozilla-central #3802

merged 16 commits into from Nov 27, 2019

Conversation

@moz-gfx
Copy link

moz-gfx commented Nov 26, 2019

No description provided.

nical added 12 commits Nov 26, 2019
This chanes the shader parsing code to only inject #included shader sources once (the first time) if they are included multiple times.
This will allow some extra flexibility needed by the multi-brush shader.

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

[wrupdater] From https://hg.mozilla.org/mozilla-central/rev/6762aab1845925b804e4f116cb169a5e614844fc
This is an experiment with only image and solid to see what the infrastructure can be like.
If it works out I'll extend the it with more brush types. More work will be needed to get text rendering in there as well.

The multi-brush shader includes all brushes that it potentially needs suport for. Which brushes actually get compiled in is then specified via WR_FEATURE defines.
Since brushes can't have the same names for their entry points, they specify the function to use via a macros (WR_BRUSH_VS_FUNCTION and WR_BRUSH_FS_FUNCTION).

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

[wrupdater] From https://hg.mozilla.org/mozilla-central/rev/550591122788f2adb78902e63a885f34e41fed49
…ings. r=gw

The 'multi-brush' shader will have to dynamically switch between different brushes. In order to support that without needing the sum of all brush varying locations, allow aliasing a number of generic slots.
This patch makes the assumption that one a vec2 and a vec4 cost the same amount of varying register space, which is suggested by the glsl specification about shader locations. If it is not the case we can add more granularity to the varying slots which are all vec4 at the moment. This also assumes that an unused varying is always optimized out.

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

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

moz-gfx commented Nov 26, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 26, 2019

📌 Commit 73416db has been approved by moz-gfx

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

bors-servo commented Nov 26, 2019

Testing commit 73416db with merge 627b92c...

@bors-servo
Copy link
Contributor

bors-servo commented Nov 26, 2019

💔 Test failed - status-taskcluster

nical and others added 3 commits Nov 27, 2019
….list . CLOSED TREE

Backed out changeset 651a7556124b (bug 1596086)
Backed out changeset ab2e0e2a9048 (bug 1596086)
Backed out changeset 00ccdb940ea2 (bug 1596086)
Backed out changeset 57869dbf0a8b (bug 1596086)

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

moz-gfx commented Nov 27, 2019

@bors-servo
Copy link
Contributor

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

📌 Commit c9e9625 has been approved by moz-gfx

@bors-servo
Copy link
Contributor

bors-servo commented Nov 27, 2019

Testing commit c9e9625 with merge 681a067...

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

bors-servo commented Nov 27, 2019

💔 Test failed - status-taskcluster

…ns a=backout

Backed out changeset 39f51911efa8 (bug 1594128)
Backed out changeset a8ee6dbf146b (bug 1594128)
Backed out changeset beeeb1889588 (bug 1594128)
Backed out changeset 84e767a37637 (bug 1594128)
Backed out changeset 54efcc9976cf (bug 1594128)
Backed out changeset 5768997fb391 (bug 1594128)
Backed out changeset 0d89ea8665df (bug 1594128)
Backed out changeset ba4668d01dc5 (bug 1594128)
Backed out changeset e5f6739f790d (bug 1594128)
Backed out changeset 550591122788 (bug 1594128)
Backed out changeset 6386aa316da9 (bug 1594128)
Backed out changeset 6762aab18459 (bug 1594128)

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

moz-gfx commented Nov 27, 2019

@bors-servo
Copy link
Contributor

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

📌 Commit 317c40e has been approved by moz-gfx

@bors-servo
Copy link
Contributor

bors-servo commented Nov 27, 2019

Testing commit 317c40e with merge afde2be...

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

bors-servo commented Nov 27, 2019

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

@bors-servo bors-servo merged commit 317c40e into servo:master Nov 27, 2019
3 checks passed
3 checks passed
Community-TC (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

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