Граф коммитов

144 Коммитов

Автор SHA1 Сообщение Дата
Jeff Muizelaar 6613f1b6b7 Bug 1646741 - Update gleam to 0.12. r=kvark
For stride calculation and SSBOs

Differential Revision: https://phabricator.services.mozilla.com/D80191
2020-06-18 18:11:13 +00:00
Bert Peers e05f202e2b Bug 1641704 - vendor tracy 0.1.1 (gfx/wr, bindings) r=gw
Differential Revision: https://phabricator.services.mozilla.com/D78100
2020-06-03 20:33:05 +00:00
Dzmitry Malyshau 5fd43ff44d Bug 1634439 - Update RON dependency to 0.5 r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D73291
2020-05-04 18:49:46 +00:00
Jamie Nicol 1af6f33ce1 Bug 1634275 - Update glslopt to 0.1.2 to remove dependency on bindgen. r=jrmuizel,kats
Differential Revision: https://phabricator.services.mozilla.com/D73198
2020-04-30 12:25:17 +00:00
Dzmitry Malyshau 8f221fe39d Bug 1633553 - Update dwrote to 0.11 r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D72748
2020-04-27 21:47:21 +00:00
Jamie Nicol f548e9a284 Bug 1604615 - Optimize webrender shaders at build time. r=gw
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
2020-04-21 10:32:03 +00:00
Jamie Nicol b3f0dc3a6a Bug 1604615 - Add glslopt and build-parallel as build dependencies of webrender. r=jrmuizel
Update Cargo.lock files and vendor sources in to tree.

Differential Revision: https://phabricator.services.mozilla.com/D70030
2020-04-21 10:31:46 +00:00
Glenn Watson f276147e7f Bug 1630480 - Update gleam GL bindings to 0.11.0 r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D71133

--HG--
extra : moz-landing-system : lando
2020-04-16 02:13:31 +00:00
Dzmitry Malyshau 0e42a4799d Bug 1628772 - Update core-foundation dependency to 0.7 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70432

--HG--
extra : moz-landing-system : lando
2020-04-11 20:14:41 +00:00
Nicolas Silva 430e8ef7b4 Bug 1625220 - Use euclid 0.20.8. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D68469

--HG--
extra : moz-landing-system : lando
2020-03-31 12:41:52 +00:00
Stefan Hindli 73e4464101 Backed out 3 changesets (bug 1625220) for causing wrench bustages CLOSED TREE
Backed out changeset fbeb908b3513 (bug 1625220)
Backed out changeset 793808082134 (bug 1625220)
Backed out changeset 17bf8121665a (bug 1625220)
2020-03-31 12:59:52 +03:00
Nicolas Silva 70311638fb Bug 1625220 - Use euclid 0.20.8. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D68469

--HG--
extra : moz-landing-system : lando
2020-03-31 09:36:39 +00:00
Bert Peers 230b649038 Bug 1625030 - Wrench `perf` fixes and improvements r=gw
Differential Revision: https://phabricator.services.mozilla.com/D68289

--HG--
extra : moz-landing-system : lando
2020-03-26 20:15:59 +00:00
Lee Salzman 7fe8ae3ba8 Bug 1624396 - update SWGL to use the centralized WR shader list. r=jrmuizel
Depends on D67958

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

--HG--
extra : moz-landing-system : lando
2020-03-24 19:13:49 +00:00
Lee Salzman 9cb73ab9c6 Bug 1624396 - implement centralized shader features list management for WebRender. r=gw,jrmuizel,jnicol
Differential Revision: https://phabricator.services.mozilla.com/D67958

--HG--
extra : moz-landing-system : lando
2020-03-24 22:21:25 +00:00
Glenn Watson 1d0e9e389a Bug 1622720 - Add support for the tracy frame profiler to webrender. r=nical,jrmuizel
This patch removes the old thread_profiler bindings, and adds
support for profiling WR with the tracy profiler, which is a
much more advanced frame profiler.

Since it's very lightweight, and only instruments annotated CPU
and GPU zones, it can retain very large profiles, allowing
fine grained analysis of thread interactions, CPU spikes etc.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 22:24:33 +00:00
Lee Salzman 739b23d170 Bug 1612941 - vendor SWGL's rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65617

--HG--
extra : moz-landing-system : lando
2020-03-13 18:24:40 +00:00
=?UTF-8?q?Felix=20Sch=C3=BCtt?= b9f75b4710 Bug 1621026 - Remove sha256 from dependencies r=nical
[import_pr] From https://github.com/servo/webrender/pull/3875

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

--HG--
extra : moz-landing-system : lando
2020-03-11 09:06:53 +00:00
shindli 8a8793039d Backed out 12 changesets (bug 1612941) for webrender linting bustage CLOSED TREE
Backed out changeset bbb8ec38f354 (bug 1612941)
Backed out changeset cd798d2a0433 (bug 1612941)
Backed out changeset c02c4c5bf7f7 (bug 1612941)
Backed out changeset 2e0c9b9bd507 (bug 1612941)
Backed out changeset ec0fffd12dec (bug 1612941)
Backed out changeset 2d6f65fe6ec0 (bug 1612941)
Backed out changeset dd1a92041bb4 (bug 1612941)
Backed out changeset 3cae17a5ec80 (bug 1612941)
Backed out changeset edfca5676513 (bug 1612941)
Backed out changeset f94d5c7cee41 (bug 1612941)
Backed out changeset 67bba000daba (bug 1612941)
Backed out changeset 60151122db4d (bug 1612941)
2020-03-11 14:28:55 +02:00
Lee Salzman d2ae8dbd06 Bug 1612941 - vendor SWGL's rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65617

--HG--
extra : moz-landing-system : lando
2020-03-11 12:16:26 +00:00
Jeff Muizelaar 712f029470 Bug 1621371 - Update servo-fontconfig-sys to avoid intermittent build errors. r=kvark
The lack of https://github.com/servo/libfontconfig/pull/42 in 4.0.4
broke rust CI

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

--HG--
extra : moz-landing-system : lando
2020-03-10 18:18:29 +00:00
Nicolas Silva 6d4a857a53 Bug 1616804 - Update image to 0.23 in WebRender. r=jrmuizel
Original patch by Josh Mattews in https://github.com/servo/webrender/pull/3854

Also run mach vendor rust.

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

--HG--
extra : moz-landing-system : lando
2020-02-24 15:56:22 +00:00
Jeff Muizelaar efa59f1e9f Bug 1615694. Declare our render targets up front to ANGLE. r=kvark
This should remove the allocation and copy in
TextureD3D::ensureRenderTarget() in some situations.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 18:33:48 +00:00
Arthur Iakab e352a29c70 Backed out changeset 106776ac6c20 (bug 1615694) for tidy build bustages.
CLOSED TREE
2020-02-18 18:27:23 +02:00
Jeff Muizelaar 260a5680ee Bug 1615694. Declare our render targets up front to ANGLE. r=kvark
This should remove the allocation and copy in
TextureD3D::ensureRenderTarget() in some situations.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 14:59:03 +00:00
Nicolas Silva 2c4937a4cf Bug 1612437 - Remove ipc-channel from WebRender. r=gw
Original patch from Josh Mattews

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

--HG--
extra : moz-landing-system : lando
2020-02-05 11:09:43 +00:00
Bert Peers 05e00eed63 Bug 1605283 - Improve support for invalidation debugging and testing r=gw a=reland CLOSED TREE
Third iteration:

Fix broken scrolling (and incorrect positioning of quad tree lines) by
serializing the SpaceMapper(-transform) from take_context, and using it
to transform the primitive rects (instead of the previous translation
based on unclipped.origin);
Note: this is done at visualization time and not at export time to
distinguish actually moving elements from merely-scrolling ones.

Serialize the entire UpdateList, so we get the data (Keys) that's being
added; add it to the overview;

Move the static CSS code into tilecache_base.css; add this and the .js
file to the binary, write them as part of output (instead of manual
copy); clean up CSS a bit;

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

--HG--
extra : source : 535ae1d4818a3f0af64d61846035135751352bd1
extra : histedit_source : bf9a8f830ec7db4c2d1fcb6deaaf72949d6b69ed
2020-01-28 20:05:38 +00:00
Csoregi Natalia 25b1fb82cf Backed out changeset 535ae1d4818a (bug 1605283) for cargo related bustage. CLOSED TREE 2020-01-28 22:56:27 +02:00
Bert Peers cd0e366e52 Bug 1605283 - Improve support for invalidation debugging and testing r=gw
Third iteration:

Fix broken scrolling (and incorrect positioning of quad tree lines) by
serializing the SpaceMapper(-transform) from take_context, and using it
to transform the primitive rects (instead of the previous translation
based on unclipped.origin);
Note: this is done at visualization time and not at export time to
distinguish actually moving elements from merely-scrolling ones.

Serialize the entire UpdateList, so we get the data (Keys) that's being
added; add it to the overview;

Move the static CSS code into tilecache_base.css; add this and the .js
file to the binary, write them as part of output (instead of manual
copy); clean up CSS a bit;

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

--HG--
extra : moz-landing-system : lando
2020-01-28 20:05:38 +00:00
Bert Peers 242db56cbf Bug 1605283 - Improve support for invalidation debugging and testing r=gw
Optionally serialize N frames into a circular memory buffer, and save
them as part of wr-capture into tilecache/.

The new tile_view utility reads the folder and converts the frames to
svg for easier visualization, with a few extra features:
- color code each primitive based on which slice it is on;
- highlight new or moving primitives in red (brute force diff);
- print all invalidated tiles at the top and the invalidation reason;
- overlay the tile quadtree to visualize splitting & merging;
- HTML and JS wrappers for animation playback, timeline scrubbing;

Positioning of the tiles on the screen is a bit broken still; especially
during scrolling and "special" pages (like about:config).

Interning info is not used yet.

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

--HG--
extra : moz-landing-system : lando
2020-01-18 08:22:51 +00:00
Ciure Andrei df04a415d6 Backed out changeset 05c1456103ea (bug 1605283) for webrender bustages CLOSED TREE 2020-01-17 20:55:02 +02:00
Bert Peers 52377ec04a Bug 1605283 - Improve support for invalidation debugging and testing r=gw
Optionally serialize N frames into a circular memory buffer, and save
them as part of wr-capture into tilecache/.

The new tile_view utility reads the folder and converts the frames to
svg for easier visualization, with a few extra features:
- color code each primitive based on which slice it is on;
- highlight new or moving primitives in red (brute force diff);
- print all invalidated tiles at the top and the invalidation reason;
- overlay the tile quadtree to visualize splitting & merging;
- HTML and JS wrappers for animation playback, timeline scrubbing;

Positioning of the tiles on the screen is a bit broken still; especially
during scrolling and "special" pages (like about:config).

Interning info is not used yet.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 18:41:50 +00:00
Csoregi Natalia d55e0a5916 Backed out changeset 53cce741bb46 (bug 1605283) for bustage related to cargo-lock. CLOSED TREE 2020-01-17 02:42:35 +02:00
Bert Peers b6fdcb621c Bug 1605283 - Improve support for invalidation debugging and testing r=gw
Optionally serialize N frames into a circular memory buffer, and save
them as part of wr-capture into tilecache/.

The new tile_view utility reads the folder and converts the frames to
svg for easier visualization, with a few extra features:
- color code each primitive based on which slice it is on;
- highlight new or moving primitives in red (brute force diff);
- print all invalidated tiles at the top and the invalidation reason;
- overlay the tile quadtree to visualize splitting & merging;
- HTML and JS wrappers for animation playback, timeline scrubbing;

Positioning of the tiles on the screen is a bit broken still; especially
during scrolling and "special" pages (like about:config).

Interning info is not used yet.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 00:21:17 +00:00
Nicolas Silva 33d2c54400 Bug 1609049 - WebRender version bump. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D59840

--HG--
extra : moz-landing-system : lando
2020-01-14 13:07:05 +00:00
Emilio Cobos Álvarez dbce8ec6b5 Bug 1587468 - follow-up: Update webrender's lockfile in a CLOSED TREE.
MANUAL PUSH: bustage
2019-12-06 00:15:34 +01:00
Glenn Watson 9127bd83e9 Bug 1599671 - Remove lazy_static dependency from wrench. r=kvark,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D54870

--HG--
extra : moz-landing-system : lando
2019-11-27 20:47:54 +00:00
Jeff Muizelaar f348496d48 Bug 1594747. Update bitflags in WebRender to 1.2. r=kvark
This will help with some warnings about try!

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

--HG--
extra : moz-landing-system : lando
2019-11-07 16:57:15 +00:00
Glenn Watson a457606700 Bug 1589512 - Part 2 - Add example DirectComposite webrender integration. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D49869

--HG--
extra : moz-landing-system : lando
2019-10-23 20:35:55 +00:00
Alex Touchet 501ce471f9 Bug 1590553 - Dedupe synstructure r=jrmuizel
[import_pr] From https://github.com/servo/webrender/pull/3779

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

--HG--
extra : moz-landing-system : lando
2019-10-22 23:29:01 +00:00
Emilio Cobos Álvarez 54404e676b Bug 1590060 - Update unicode-xid in peek-poke-derive. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D49893

--HG--
extra : moz-landing-system : lando
2019-10-21 13:04:54 +00:00
Emilio Cobos Álvarez 3a4be043a8 Bug 1587468 - Update syn / quote / synstructure in peek-poke-derive. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D48732

--HG--
extra : moz-landing-system : lando
2019-10-09 17:10:12 +00:00
Jamie Nicol ffd7f50dee Bug 1581628 - Update wrench jobs to work with NDK r20. r=jrmuizel
To support NDK r20, wrench needs to be built with a more recent, upstream
(though still unpublished) version of cargo-apk. This has some consequences
which have been adjusted for:
 * Gradle is no longer required to build wrench.
 * The output apk file paths have changed.
 * The apks are now signed automatically.
 * The default activity name has changed.
 * Android permissions must be explicitly requested.
 * We must ensure winit is built with a matching version of android_glue.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 13:50:43 +00:00
Jeff Muizelaar 4db1b2ef19 Bug 1582217. Drop unneeded image dependencies. r=kvark
We only use the png codec so let's save some link time by not including
the other codecs.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 22:04:47 +00:00
Dzmitry Malyshau 9c34641992 Bug 1582198 - Remove nix dependency from Wrench r=jrmuizel
https://github.com/servo/webrender/pull/3736

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

--HG--
extra : moz-landing-system : lando
2019-09-18 17:51:27 +00:00
Jeff Muizelaar 55f24d593c Bug 1581549. Update to mozangle 0.3.1 to solve build time issues. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D46031

--HG--
extra : source : 5fe4ede89388a6d193c9ab482d6e98eeb50fce52
2019-09-16 15:30:32 +00:00
Cosmin Sabou 514c7c5e05 Backed out changeset 5fe4ede89388 (bug 1581549) for causing SM bustages. CLOSED TREE 2019-09-16 19:28:08 +03:00
Jeff Muizelaar 7389ffb35c Bug 1581549. Update to mozangle 0.3.1 to solve build time issues. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D46031

--HG--
extra : moz-landing-system : lando
2019-09-16 15:30:32 +00:00
Bastien Orivel d843925e5f Bug 1580908 - Part 7: Update serde_bytes to 0.11. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D45716

--HG--
extra : moz-landing-system : lando
2019-09-12 21:46:21 +00:00
Glenn Watson c873e19b84 Bug 1580677 - Update plane-split dependency to 0.15.0 r=nical
Differential Revision: https://phabricator.services.mozilla.com/D45628

--HG--
extra : moz-landing-system : lando
2019-09-12 12:46:41 +00:00