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

32412 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange 5c1e861efd Bug 1521644 - Add a layer property that indicates async zoom container layers. r=mattwoodrow
MozReview-Commit-ID: 6qkFXhRDFs

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

--HG--
extra : moz-landing-system : lando
2019-02-01 18:29:11 +00:00
Paul Rouget 934225357e Bug 1519035 - Add dedicated browser state for Servo. r=kip 2019-02-01 03:24:00 +02:00
Oana Pop Rus fa24444292 Merge autoland to mozilla-central. a=merge 2019-02-01 11:32:06 +02:00
Noemi Erli b74da84051 Backed out changeset e6f1ffb7119f (bug 1523882) per dev's request for causing major perf regression a=backout 2019-02-01 08:56:22 +02:00
shindli d6dd350c66 Merge inbound to mozilla-central. a=merge 2019-02-01 05:56:53 +02:00
Kartikaya Gupta 597f660d81 Bug 1524353 - Add a reftest to prevent regression. r=jrmuizel
The Google weather search result widget has an SVG inside a transform,
inside a scrollframe. The patch in bug 1523776 broke the clipping in
that the SVG elements would not get clipped by the scrollframe. This
reftest exercises that scenario.

Differential Revision: https://phabricator.services.mozilla.com/D18273
2019-01-31 19:40:54 -05:00
Kartikaya Gupta 25b9f0ae02 Bug 1524261 - Add a reftest to prevent regression. r=jrmuizel
WhatsApp Web has emojis in divs with border-radius, inside a transform,
inside a scrollframe. The patch in bug 1523776 broke the clipping in
that scrolling the scrollframe would make the emoji visible outside the
scrollframe. This reftest replicates that scenario.

Differential Revision: https://phabricator.services.mozilla.com/D18272
2019-01-31 19:38:36 -05:00
Jeff Gilbert ac012b5064 Bug 1522018 - Implement webgl draft ext EXT_float_blend. r=lsalzman,qdot
Differential Revision: https://phabricator.services.mozilla.com/D17336

--HG--
rename : dom/canvas/WebGLExtensionBase.cpp => dom/canvas/WebGLExtensions.cpp
extra : moz-landing-system : lando
2019-01-31 23:39:12 +00:00
shindli 309ab51f7d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-01 06:04:59 +02:00
Dzmitry Malyshau 63d7fc4dcd Bug 1515932 - WR fix establish_raster_root boolean on a picture r=gw
This is a follow-up to https://phabricator.services.mozilla.com/D18258
which updates establish_raster_root boolean. It affects the perspective interpolation
of brushes.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 02:23:15 +00:00
shindli dc35f3b972 Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
extra : rebase_source : 44b5c3aa6b6562ada42dd6c60e3522a8bc97993b
2019-01-31 23:51:27 +02:00
Dzmitry Malyshau e43c96e640 Bug 1515932 - WR rasterization root fall-back r=gw
This is a follow-up to https://phabricator.services.mozilla.com/D16560

Previously, we had a conservative estimation of the local size based on the footprint
of the screen onto the potential raster root. This was too conservative in general,
and in some cases it wasn't conservative enough, since with filters we can have areas
needed in local space that don't necessarily project on the screen.

This change is doing an exact check for the surface size after we compute it, and
falls back to the parent raster root accordingly.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 21:30:32 +00:00
Bas Schouten 5382fe49af Bug 1521368 - Part 2: Ensure destination DT is valid when replaying SourceSurfaceCapture. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D18239

--HG--
extra : rebase_source : 5b3422070eae74e795cacd48cd401a5c02ce27d5
2019-01-31 17:28:46 +01:00
Ryan VanderMeulen 8ebae7be15 Bug 1524102 - Update HarfBuzz to version 2.3.1. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D18170

--HG--
extra : moz-landing-system : lando
2019-01-31 12:01:26 +00:00
Cosmin Sabou 2bcf67572f Backed out changeset b67d5ecb31b3 (bug 1524261) for reftest failures on 1524261.html 2019-02-01 01:17:34 +02:00
Cosmin Sabou 033c6df6fc Backed out changeset 0cd1b2fd6e27 (bug 1524353) for reftest failures on 1524353.html 2019-02-01 01:04:22 +02:00
Jeff Muizelaar 4a9308c0a7 Bug 1524284. Enable WebRender by default on modern Intel desktop gpus. r=kats
This enables WebRender on a small subset of modern Intel gpus.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 19:56:04 +00:00
Glenn Watson e23265ad97 Bug 1523882 - Rework snapping logic in clip mask generate to fix uneven box shadows. r=kvark,nical
Differential Revision: https://phabricator.services.mozilla.com/D18060

--HG--
extra : moz-landing-system : lando
2019-01-31 20:18:18 +00:00
shindli 4db94822bd Backed out changeset 86daa5d406b6 (bug 1523882) for wrench bustage in reftests/boxshadow/box-shadow-huge-radius.png CLOSED TREE 2019-01-31 22:02:27 +02:00
Glenn Watson 165f400dbd Bug 1523882 - Rework snapping logic in clip mask generate to fix uneven box shadows. r=kvark,nical
Differential Revision: https://phabricator.services.mozilla.com/D18060

--HG--
extra : moz-landing-system : lando
2019-01-31 19:39:02 +00:00
Jamie Nicol 74e9823383 Bug 1496540 - Handle overlapping border corners in webrender r=gw
When some of a border's corners have a border-radius, and that radius
is larger than the sum of the border width and element size, then it
results in the corners of the border overlapping. Webrender draws
borders by rasterizing each segment individually in to the cache, then
compositing them together. In this overlapping case, this has 2
problems:

a) we composite overlapping segments on top of eachother
b) corner segments are not correctly clipped to the curve of the
   overlapping adjacent corners

This patch allows corner segments to be clipped by their adjacent
corners. We provide the outer corner position and radii of the
adjacent corners to the border shader, which then applies those clips,
if required, along with the segment's own corner clip when rasterizing
the segment.

As the adjacent corners now affect the result of the cached segment,
they are added to the cache key.

We continue to rasterize the entire segment in to the cache as before,
but now modify the local rect and texel rect of the BrushSegment so
that it only composites the subportion of the corner segment which
does not overlap with the opposite edges of the border.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 18:31:47 +00:00
Eitan Isaacson b1600d426e Bug 1515774 - Store window's screen offset in APZ and use it for gesture interpretation. r=botond
In Android the embedded GeckoView can be in a scrolling parent, and move
along with the user's finger. In order to intepret touch movements for
gestures, we need to account for the device position of each touch.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 18:04:49 +00:00
Eitan Isaacson da315919ab Bug 1515774 - Introduce mScreenOffset for pinch and multitouch events. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D17043

--HG--
extra : moz-landing-system : lando
2019-01-31 16:46:10 +00:00
Eitan Isaacson 186e2cc4ca Bug 1515774 - Use Screen pixels for gesture detection. r=botond
We currently use ParentLayer pixels in GestureEventListener, it should
be Screen pixels because we care about physical distances and
thresholds, not layer-relative ones.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 16:45:53 +00:00
Oana Pop Rus 707db23fae Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-31 12:00:53 +02:00
Narcis Beleuzu 8707bfb5f2 Backed out changeset 25ca68e7836e (bug 1523882) for wrench bustages on boxshadow-spread-only-ref.png. CLOSED TREE 2019-01-31 11:49:12 +02:00
Oana Pop Rus 6e3cc15356 Merge inbound to mozilla-central. a=merge
--HG--
rename : toolkit/components/passwordmgr/test/test_xml_load.html => toolkit/components/passwordmgr/test/mochitest/test_xml_load.html
2019-01-31 11:37:38 +02:00
Glenn Watson 8844b8b1c8 Bug 1523882 - Rework snapping logic in clip mask generate to fix uneven box shadows. r=kvark,nical
Differential Revision: https://phabricator.services.mozilla.com/D18060

--HG--
extra : moz-landing-system : lando
2019-01-31 09:02:41 +00:00
Narcis Beleuzu 5555771b75 Backed out changeset 869fbaef1042 (bug 1524117) for wrench bustages on canvas.yaml. CLOSED TREE 2019-01-31 10:22:54 +02:00
sotaro f9b03cbc21 Bug 1462885 - Fix iteration in ImageBridgeParent::NotifyImageComposites() r=mattwoodrow
Iteration becomes wrong when ImageBridgeParent::GetInstance() fails in NotifyImageComposites().

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

--HG--
extra : moz-landing-system : lando
2019-01-31 06:57:41 +00:00
Matt Woodrow 681aa6716a Bug 1494408 - Clip groups to the transform clip to avoid bounds changes. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17983

--HG--
extra : moz-landing-system : lando
2019-01-31 07:17:45 +00:00
Matt Woodrow 61569917d1 Bug 1524117 - Skip mix-blend mode operators in WebRender if we're sure they won't have any effect. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D18157

--HG--
extra : moz-landing-system : lando
2019-01-31 06:59:07 +00:00
Glenn Watson 6df4e561ff Bug 1524149 - Fix origin when adding tiled clip masks. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D18173

--HG--
extra : moz-landing-system : lando
2019-01-31 04:14:24 +00:00
Dzmitry Malyshau 5a351be647 Bug 1521656 - WR switch image UV quad coordinates into homogeneous space r=gw
For screen-space rasterized images, we provide the shader with the
    UV corners of an image. The shaders then interpolate between the corners
    as an intermediate step of finding their UV to assign to a vertex.

    When the transformation is perspective, the corners stop being
    representative in real screen space, and the old code didn't handle the
    case of a corner being out of the positive hemisphere. This change
    doesn't do perspective division on Rust side and defers this to the
    shader, which can do division *after* interpolation between corners.

    This change makes us handle the near plane better and resolves clipping
    problems with perspective-interpolated images that occured due to
    precision issues of perspective divided corners.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 02:50:38 +00:00
Hiroyuki Ikezoe 359dd0e426 Bug 1520077 - Use the minimum scale size even if no overflow:hidden is specified. r=botond
There are two mochitests need to be changed.  Both of contents have very large
element (5000px, 5000px), to avoid expanding the layout viewport to the large
size we restrict the minimum scale to 1.0 so that we can still check the layout
scroll range.

Also with this minimum scale size usage change, no-zoom-ref.html doesn't render
the horizontal scrollbar on _desktops_ for some reasons (presumably
reftest-async-zoom affects it, and possibly the reasons are the same as bug
1385145 or bug 1269739).  Instead of fixing the issue on desktops, I am going to
take a workaround to add explicit minimum-scale value here, it somehow renders
the scrollbar on desktops too.

Note that the reftest added in this commit fails without this fix.

Depends on D18041

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

--HG--
extra : moz-landing-system : lando
2019-01-31 03:21:22 +00:00
Hiroyuki Ikezoe 87130e6c5e Bug 1520077 - Set dom.meta-viewport.enabled true for all test cases of test_group_touch_events. r=botond
All helper htmls define a viewport meta tag, we should set the pref for safety.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 03:23:28 +00:00
Kartikaya Gupta 3a44308a01 Bug 1524353 - Add a reftest to prevent regression. r=jrmuizel
The Google weather search result widget has an SVG inside a transform,
inside a scrollframe. The patch in bug 1523776 broke the clipping in
that the SVG elements would not get clipped by the scrollframe. This
reftest exercises that scenario.

Differential Revision: https://phabricator.services.mozilla.com/D18273
2019-01-31 16:57:37 -05:00
Kartikaya Gupta 0d86d135a8 Bug 1524261 - Add a reftest to prevent regression. r=jrmuizel
WhatsApp Web has emojis in divs with border-radius, inside a transform,
inside a scrollframe. The patch in bug 1523776 broke the clipping in
that scrolling the scrollframe would make the emoji visible outside the
scrollframe. This reftest replicates that scenario.

Differential Revision: https://phabricator.services.mozilla.com/D18272
2019-01-31 16:56:54 -05:00
Kartikaya Gupta 2030952357 Back out two changesets from bug 1523776 for causing multiple regressions. r=backout 2019-01-31 14:44:33 -05:00
Kartikaya Gupta c8c588bf80 Bug 1523776 - Don't set the parent link when creating a new clip chain. r=kvark
It turns out that setting the parent link on a clip chain is no longer
needed (and probably hasn't been since WR started applying a stacking
context's clip to the SC's contents). In fact it can produce incorrect
behaviour in some cases, because it doesn't match the semantics of
Gecko's clip chains. This removes the parent link on the Gecko side and
adds a test for this scenario.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 21:39:38 +00:00
Daniel Varga 26142ed106 Backed out changeset e245d8fe0c6d (bug 1494408) for reftest failure at builds/worker/workspace/build/tests/reftest/tests/layout/reftests/invalidation on a CLOSED TREE
--HG--
extra : amend_source : e40d36a925b0a75570a900dca671f8ff68d273cc
2019-01-31 00:30:33 +02:00
Matt Woodrow 9da66b0f20 Bug 1494408 - Clip groups to the transform clip to avoid bounds changes. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17983

--HG--
extra : moz-landing-system : lando
2019-01-30 19:32:07 +00:00
Dan Glastonbury 3ae3119574 Bug 1522218 - An assortment of scaled border wrench reftests. r=gw
Depends on D17456

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

--HG--
extra : moz-landing-system : lando
2019-01-30 09:02:16 +00:00
Dan Glastonbury 2a84ee8b7c Bug 1522218 - Incorporate layout to world scaling for borders. r=gw,mattwoodrow
Implement scaling of borders using the same scale extraction and clamping to
nearest power of two that gecko uses in FrameLayerBuilder::ChooseScale.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 04:08:23 +00:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Bobby Holley 06c9ebf4d3 Bug 1512287 - Support incremental invalidation tests in wrench. r=gw
Note that the dirty rect assertions don't seem to quite work yet, but
Glenn is going to take over that last piece.

Depends on D17995

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

--HG--
extra : moz-landing-system : lando
2019-01-30 17:18:09 +00:00
Bobby Holley eb9412b5fb Bug 1512287 - Don't recalculate root_clip_rect if in the root pipeline. r=gw
The current code panics with an out-of-bounds access here if picture
caching is used outside an iframe.

Depends on D17994

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

--HG--
extra : moz-landing-system : lando
2019-01-30 08:59:04 +00:00
Bobby Holley 44128c7c85 Bug 1512287 - Enable picture caching after 1 frame of identical content, rather than two, and expose constant. r=gw
Per discussion with gw, the current behavior is an oversight. We also
want to expose this to wrench.

Depends on D17993

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

--HG--
extra : moz-landing-system : lando
2019-01-30 08:58:40 +00:00
Bobby Holley f12e716db2 Bug 1512287 - Use smaller tiles during testing. r=gw
Depends on D17992

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

--HG--
extra : moz-landing-system : lando
2019-01-30 08:57:52 +00:00
Bobby Holley d9c60f139c Bug 1512287 - Expose dirty regions to wrench. r=gw
Depends on D17991

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

--HG--
extra : moz-landing-system : lando
2019-01-30 08:57:37 +00:00