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

Test updated docker image for glsl thingy #3929

Closed
wants to merge 9 commits into from
Closed

Conversation

@staktrace
Copy link
Contributor

staktrace commented Apr 22, 2020

testing testing testing

jamienicol and others added 7 commits Apr 21, 2020
Move more shader parsing code to webrender_build, so it can be used
both at runtime and build time.

At build time optimize a set of shaders and feature flag combinations,
using glslopt. Some features are skipped because they are not
supported by the gl version, because the optimizer does not support
them, or because webrender does not need them currently.

Use build-parallel to ensure the optimization is performed in parallel
using the make jobserver. Write the optimized shader source to a
hashmap to be used at runtime, in addition to the unoptimized source.

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

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/416526bbe3dac4ac5c8d299a086f252438c06020
Add a gecko pref "gfx.webrender.use-optimized-shaders". If enabled,
then when attempting to compile a webrender shader first look for the
optimized source. If the optimized source is not present, emit a
warning and fall back to the unoptimized source.

Use the optimized source by default in wrench, and add the flag
"--use-unoptimized-shaders" to override this.

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

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/37870a77af5371a9a6d80cf7814e4bc28b037533
… on default-subregion.svg and mix-blend-mode-and-filter.svg CLOSED TREE

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/84855eefe4c47deb80d3a9693f5aa7c9f5b9f03c
@staktrace staktrace force-pushed the staktrace:glsl branch from 52bd6b1 to 4691962 Apr 22, 2020
@staktrace
Copy link
Contributor Author

staktrace commented Apr 22, 2020

@staktrace staktrace closed this Apr 22, 2020
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.