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

36128 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta da7fb5e460 Bug 1583956 - Re-enable test_group_pointerevents on GeckoView. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D64464

--HG--
extra : moz-landing-system : lando
2020-02-27 14:42:05 +00:00
Kartikaya Gupta 32bca2a570 Bug 1583956 - Dispatch tap events to Gecko on the same message loop that Android widget uses. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D64463

--HG--
extra : moz-landing-system : lando
2020-02-27 14:41:58 +00:00
Kartikaya Gupta ec89b023d1 Bug 1583956 - Add additional APZ logging. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D64462

--HG--
extra : moz-landing-system : lando
2020-02-27 14:41:55 +00:00
Kartikaya Gupta f3211c441b Bug 1583956 - Downgrade some APZC logging from debug to verbose. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D64461

--HG--
extra : moz-landing-system : lando
2020-02-27 14:41:48 +00:00
Jeff Muizelaar 22e0df6b0b Bug 1611710. Don't restrict the draw target to the visible area.
Sometimes the painting code will look at the clip which is derived
from the intial size of the surface and not draw if things if they
are outside of it. We want to draw the entire item so use dtRect
instead of visibleRect.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 03:47:09 +00:00
Dorel Luca 3b4b507cac Backed out 4 changesets (bug 1583956) for Build bustage in gfx/layers/apz/util/ChromeProcessController.cpp. CLOSED TREE
Backed out changeset f787e3e4a31c (bug 1583956)
Backed out changeset c8eadb4b6301 (bug 1583956)
Backed out changeset 78dfbab51db6 (bug 1583956)
Backed out changeset 7d0e2d6cfaeb (bug 1583956)
2020-02-27 14:13:09 +02:00
Kartikaya Gupta 2db7e52d87 Bug 1583956 - Re-enable test_group_pointerevents on GeckoView. r=botond
Depends on D64463

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

--HG--
extra : moz-landing-system : lando
2020-02-26 22:44:17 +00:00
Kartikaya Gupta 1497a3bf00 Bug 1583956 - Dispatch tap events to Gecko on the same message loop that Android widget uses. r=snorp
Depends on D64462

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

--HG--
extra : moz-landing-system : lando
2020-02-26 22:36:05 +00:00
Kartikaya Gupta 4a2d909b35 Bug 1583956 - Add additional APZ logging. r=botond
Depends on D64461

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

--HG--
extra : moz-landing-system : lando
2020-02-26 22:44:04 +00:00
Kartikaya Gupta ecf9bfd3d4 Bug 1583956 - Downgrade some APZC logging from debug to verbose. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D64461

--HG--
extra : moz-landing-system : lando
2020-02-26 22:43:11 +00:00
Hiroyuki Ikezoe 1f0f5d6c7d Bug 1510030 - Implement WebRender backend to run background color animations on the compositor. r=gw,boris
Differential Revision: https://phabricator.services.mozilla.com/D63604

--HG--
extra : moz-landing-system : lando
2020-02-27 08:43:06 +00:00
Hiroyuki Ikezoe 46d186c5a9 Bug 1510030 - Make prepare_prim_for_render private. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63603

--HG--
extra : moz-landing-system : lando
2020-02-27 08:41:41 +00:00
Hiroyuki Ikezoe e613c8db33 Bug 1510030 - Fix the comment for OpacityBinding::update(). r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63601

--HG--
extra : moz-landing-system : lando
2020-02-27 08:41:28 +00:00
Hiroyuki Ikezoe 945e7ee0c9 Bug 1510030 - Don't return the current opacity value from update_opacity_binding. r=gw
The return value is not used at all.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 08:41:13 +00:00
Ciure Andrei 00dd87f6f4 Backed out changeset d407a28318e6 (bug 1609815) for causing windows ming bustages CLOSED TREE
--HG--
extra : histedit_source : b2c748e31e0f6ba8fcf9960a336e0bbd361b07e6
2020-02-27 07:05:19 +02:00
Mike Hommey d747b65211 Bug 1617794 - Wrap Windows tools with Wine on cross builds. r=dmajor
Windows programs run via Wine don't like Unix absolute paths (they look
like command line arguments), so we need to use relative paths.

Mingw already run fxc2 via wine, but for some reason it doesn't care
about the Unix absolute paths. genshaders does need some adjustements to
run properly with the real fxc.

Now, on actual Windows, because the temporary directory where
tempfile.NamedTemporaryFile creates files by default is not necessarily
on the same drive as where the command runs from, a relative path can't
be constructed. So we also force the temporary file to be created in the
current (obj) directory.

There is no similar concern for other files because we only go from
objdir to srcdir, and the build system already doesn't support both
being on a separate drive.

While here, flush stdout when the genshared script writes to it, so that
the messages are printed out immediately rather than randomly, later,
after output from subprocesses.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 04:42:57 +00:00
Andrew McCreight b197e1f783 Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
Patch by bhackett and jlaster. Also reviewed by mccr8.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 04:43:48 +00:00
Bogdan Tara 0ed6b9ff60 Backed out 6 changesets (bug 1510030) for test_running_on_compositor.html failures CLOSED TREE
Backed out changeset a14a131ca731 (bug 1510030)
Backed out changeset a75359516fec (bug 1510030)
Backed out changeset a2be11cbe3f2 (bug 1510030)
Backed out changeset b37ce2b87ac7 (bug 1510030)
Backed out changeset 781cd96dd9a2 (bug 1510030)
Backed out changeset b3dfa17c6305 (bug 1510030)
2020-02-27 06:28:31 +02:00
Hiroyuki Ikezoe 28f8909e89 Bug 1510030 - Implement WebRender backend to run background color animations on the compositor. r=gw,boris
Differential Revision: https://phabricator.services.mozilla.com/D63604

--HG--
extra : moz-landing-system : lando
2020-02-27 03:47:21 +00:00
Hiroyuki Ikezoe cb65216c78 Bug 1510030 - Make prepare_prim_for_render private. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63603

--HG--
extra : moz-landing-system : lando
2020-02-27 03:47:08 +00:00
Hiroyuki Ikezoe b04993947c Bug 1510030 - Fix the comment for OpacityBinding::update(). r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63601

--HG--
extra : moz-landing-system : lando
2020-02-27 03:46:50 +00:00
Hiroyuki Ikezoe cf5b8449b8 Bug 1510030 - Don't return the current opacity value from update_opacity_binding. r=gw
The return value is not used at all.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 03:46:38 +00:00
Bogdan Tara a6ca41945c Backed out 6 changesets (bug 1510030) for webrender bustages CLOSED TREE
Backed out changeset 28a2fba71977 (bug 1510030)
Backed out changeset 1700b3a416cd (bug 1510030)
Backed out changeset 087518046b0c (bug 1510030)
Backed out changeset 6b3af91a7ce6 (bug 1510030)
Backed out changeset 737f4bc3afd3 (bug 1510030)
Backed out changeset 921116ca67a5 (bug 1510030)
2020-02-27 04:45:04 +02:00
Hiroyuki Ikezoe 16884039b4 Bug 1510030 - Implement WebRender backend to run background color animations on the compositor. r=gw,boris
Differential Revision: https://phabricator.services.mozilla.com/D63604

--HG--
extra : moz-landing-system : lando
2020-02-27 02:05:10 +00:00
Hiroyuki Ikezoe e82e30903f Bug 1510030 - Make prepare_prim_for_render private. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63603

--HG--
extra : moz-landing-system : lando
2020-02-27 02:04:52 +00:00
Hiroyuki Ikezoe eaecfc15ba Bug 1510030 - Fix the comment for OpacityBinding::update(). r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63601

--HG--
extra : moz-landing-system : lando
2020-02-27 02:04:39 +00:00
Hiroyuki Ikezoe b63099423f Bug 1510030 - Don't return the current opacity value from update_opacity_binding. r=gw
The return value is not used at all.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 02:04:21 +00:00
Cosmin Sabou 074eb7c67b Backed out 6 changesets (bug 1510030) for causing build bustages. CLOSED TREE
Backed out changeset 1bf2a082ca62 (bug 1510030)
Backed out changeset 8b0fd12a063b (bug 1510030)
Backed out changeset ec9c6b79ea42 (bug 1510030)
Backed out changeset cd729f8b0220 (bug 1510030)
Backed out changeset c3e6c17ba7b0 (bug 1510030)
Backed out changeset edc3c212be1f (bug 1510030)
2020-02-27 02:50:40 +02:00
Hiroyuki Ikezoe 36b296aee4 Bug 1510030 - Implement WebRender backend to run background color animations on the compositor. r=gw,boris
Differential Revision: https://phabricator.services.mozilla.com/D63604

--HG--
extra : moz-landing-system : lando
2020-02-26 09:51:25 +00:00
Hiroyuki Ikezoe 4dc0f32fb9 Bug 1510030 - Make prepare_prim_for_render private. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63603

--HG--
extra : moz-landing-system : lando
2020-02-26 09:25:43 +00:00
Hiroyuki Ikezoe 2f103360b0 Bug 1510030 - Fix the comment for OpacityBinding::update(). r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63601

--HG--
extra : moz-landing-system : lando
2020-02-26 09:25:31 +00:00
Hiroyuki Ikezoe 1257dfdd43 Bug 1510030 - Don't return the current opacity value from update_opacity_binding. r=gw
The return value is not used at all.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 09:25:13 +00:00
Kartikaya Gupta bf91ffa8b9 Bug 1617998 - Add a test to exercise APZ hit-testing robustness. r=botond
This test is primarily to ensure that the APZ+WR hit-testing codepath
maintains the proper invariants (see
https://bugzilla.mozilla.org/show_bug.cgi?id=1617998#c0). However we can run
it in non-WR as well just to catch any random regressions.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 21:34:20 +00:00
Glenn Watson b41469cef3 Bug 1579235 - Part 5 - Support compositor surfaces for draw compositor mode. r=Bert
This patch adds support for YUV images to be promoted to compositor
surfaces when using the simple (draw) compositor mode. A follow up
to this will extend support to native compositor implementations.

We rely on only promoting compositor surfaces that are opaque
primitives. With this assumption, the tile(s) that intersect the
compositor surface get a 'cutout' in the location where the
compositor surface exists, allowing that tile to be drawn as
an overlay after the compositor surface.

Tiles are only drawn in overlay mode if there is content that
exists on top of the compositor surface. Otherwise, we can draw
the tiles in the normal fast path before the compositor surface
is drawn.

The patch also introduces a new subpixel AA mode, which allows
subpixel rendering to be enabled conditionally as long as the
text run does not intersect some number of excluded rectangle
regions. In this way, subpixel text remains on most of the page,
but is disabled for elements that are drawn into transparent
regions of the tile where the compositor surface exists.

This allows video playback to be composited directly into the
framebuffer, without invalidation of content tiles, which can
save a significant amount of battery power and improve performance.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 20:41:25 +00:00
Botond Ballo 1e7c3bd30f Bug 1613195 - Initialize LayersId::mId to 0. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D63987

--HG--
extra : moz-landing-system : lando
2020-02-25 19:34:15 +00:00
Simon Giesecke aaf6cb4e75 Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63899

--HG--
extra : moz-landing-system : lando
2020-02-25 17:03:36 +00:00
Martin Stransky a37d672244 Bug 1617575 [Wayland] Don't pass invalid file descriptors to SurfaceDescriptorDMABuf, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D63850

--HG--
extra : moz-landing-system : lando
2020-02-25 13:48:39 +00:00
Andrew Osmond fbaa72bc71 Bug 1617493 - Rasterize SVG patterns in content process into a shared surface for WebRender. r=jrmuizel
In DrawTargetRecording::CreateSimilarDrawTarget, we would originally
create a new DrawTargetRecording. For resources that are shared, such as
SVG patterns, we would do the same work for each blob image tile. This
can get expensive if the pattern is large. Now we check a size
threshold, and if passed, we create a DrawTargetSkia backed by a
SourceSurfaceSharedData. When we want a snapshot, we now try to get the
shared surface instead if available. The recording infrastructure
already knows how to handle the lifetimes and use of external IDs for
shared surfaces, so now we rasterize the pattern once for all the blob
tiles. In an ideal world we would do this in the compositor process
once, but that requires more changes, and this is useful as a stopgap in
the meantime.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 13:56:23 +00:00
Simon Giesecke 32c9aeaad4 Bug 1617542 - Remove nsRefPtrHashtable::Put overload accepting already_AddRefed and adapt all uses. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63865

--HG--
extra : moz-landing-system : lando
2020-02-25 09:36:12 +00:00
Andreea Pavel 1f0dedc29d Backed out 2 changesets (bug 1596513) for webrender wrench bustages on a CLOSED TREE
Backed out changeset 49e61b566da1 (bug 1596513)
Backed out changeset 889cee140af8 (bug 1596513)
2020-02-25 09:37:45 +02:00
cbrewster b11401a6e1 Bug 1596513: Part 2: Allow for floating point dx/dy on feDropShadow attributes r=nical
WebRender expects drop shadow dx/dy to be in user space, which is a floating point value.
Before this, a dx/dy such as (0.2, 0.2) was truncated to (0, 0) resulting in no offset of the shadow.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 06:05:36 +00:00
cbrewster 049a3f19c3 Bug 1596513: Part 1: Take scale factors into account when rendering drop shadows in WebRender r=gfx-reviewers,kvark
Differential Revision: https://phabricator.services.mozilla.com/D63441

--HG--
extra : moz-landing-system : lando
2020-02-25 06:02:59 +00:00
Dzmitry Malyshau 5437a922a7 Bug 1614702 - WebGPU textures, texture views, and samplers r=jgilbert,webidl,smaug
this change adds an ability to create WebGPU textures, views, and samplers

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

--HG--
extra : source : 8f51a5fac21cb52e2ddb647f0b99a9bfccb41f6a
2020-02-24 20:12:16 +00:00
Miko Mynttinen 5a00de3d66 Bug 1616422 - Part 2: Update display item cache state after call to CreateWebRenderCommands() r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D63276

--HG--
extra : moz-landing-system : lando
2020-02-25 00:08:19 +00:00
Miko Mynttinen 69f1544841 Bug 1616422 - Part 1: Refactor WR display item caching and add additional checks r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D63275

--HG--
extra : moz-landing-system : lando
2020-02-25 00:07:07 +00:00
Daniel Varga b8dccd6369 Backed out 2 changesets (bug 1616422) for causing webrender-lint-tidy failures
CLOSED TREE

Backed out changeset 3d44ebc7aed0 (bug 1616422)
Backed out changeset d17dbf82cdd0 (bug 1616422)
2020-02-25 01:33:21 +02:00
Miko Mynttinen 30b1a8c63f Bug 1616419 - Add nsPaintedDisplayItem::CanBeCached() to allow finer control of when display items can be cached r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D63274

--HG--
extra : moz-landing-system : lando
2020-02-24 23:17:28 +00:00
Miko Mynttinen 2d36bc960e Bug 1616422 - Part 2: Update display item cache state after call to CreateWebRenderCommands() r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D63276

--HG--
extra : moz-landing-system : lando
2020-02-24 23:01:12 +00:00
Miko Mynttinen e8234095c0 Bug 1616422 - Part 1: Refactor WR display item caching and add additional checks r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D63275

--HG--
extra : moz-landing-system : lando
2020-02-24 23:00:34 +00:00
Jim Blandy 5ea7b962f8 Bug 1617747: Fix doc comments for LinearGradientKey and RadialGradientKey. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63965

--HG--
extra : moz-landing-system : lando
2020-02-24 23:02:55 +00:00