Commit Graph

1204 Commits

Author SHA1 Message Date
Andrew Osmond
b04c5a5091 Bug 1501195 - Fix snapping issues caused by translation only transforms. r=jrmuizel
In nsDisplayTransform::CreateWebRenderCommands we should be rounding the
translation from the reference frame if there is no other transformation
to better match non-WebRender which performs similar rounding in
ChooseScaleAndSetTransform.

Differential Revision: https://phabricator.services.mozilla.com/D14265
2019-01-23 12:15:41 -05:00
Andrew Osmond
dbc1b3ebee Bug 1494062 - Part 1. Add new crashtest reproducing the blob image wraplist clipping crash. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16879
2019-01-18 07:59:56 -05:00
Ehsan Akhgari
e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Dzmitry Malyshau
1ab11075de Bug 1520301 - Fix scroll frame default positioning r=jrmuizel
When scroll frames are created, and no explicit parent is provided,
the old code used to take the ClipID from the c/s stack. The stack
has been removed on WR side, and this parent assignment got lost.

This change takes the SpatialID from the top of the stack on Gecko
side to replicate the old behavior.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 16:43:08 +00:00
Cosmin Sabou
d28e15a531 Backed out changeset d4b7dbc0379f (bug 1520301) for reftest failures on gfx/tests/reftest/1519754.html. 2019-01-17 02:40:32 +02:00
Dzmitry Malyshau
ce39249b85 Bug 1520301 - Fix scroll frame default positioning r=jrmuizel
When scroll frames are created, and no explicit parent is provided,
the old code used to take the ClipID from the c/s stack. The stack
has been removed on WR side, and this parent assignment got lost.

This change takes the SpatialID from the top of the stack on Gecko
side to replicate the old behavior.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 21:00:05 +00:00
Dzmitry Malyshau
75e5c0c1d0 Bug 1505934 - WR: Don't establish a raster root in pictures with sufficiently large local bounds (take 2) r=jrmuizel
re-open of D16335, which got backed out due to Wrench test failing.
The test was failing because of different AA on a plane-splitting case, which isn't guaranteed anyway.
This revision updates the test.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 15:23:28 +00:00
Narcis Beleuzu
0e42fd473e Backed out changeset 58ebeaf27cf6 (bug 1505934) for wrench bustages. CLOSED TREE 2019-01-14 21:57:30 +02:00
Dzmitry Malyshau
afdaf603bf Bug 1505934 - WR: Don't establish a raster root in pictures with sufficiently large local bounds r=gw
Differential Revision: https://phabricator.services.mozilla.com/D16335

--HG--
extra : moz-landing-system : lando
2019-01-14 19:29:53 +00:00
Christoph Kerschbaumer
6756032512 Bug 1513241: Update frontend consumers of loadURI and pass loadURIOptions dictionary. r=gijs 2019-01-11 12:44:20 +01:00
Razvan Maries
665c57df8d Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-09 05:55:28 +02:00
Kartikaya Gupta
271033048d Bug 1513133 - Guard against creating an excessively large drawtarget. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D15254

--HG--
extra : moz-landing-system : lando
2019-01-09 01:41:47 +00:00
Jeff Muizelaar
fbf8ff4b88 Bug 1513017. Add crash test. 2019-01-08 18:39:26 -05:00
Kartikaya Gupta
f25b1be3f5 Bug 1509123 - Add crashtest. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D15461

--HG--
extra : moz-landing-system : lando
2018-12-28 16:09:58 +00:00
Mark Banner
ce668e4afd Bug 1515942 - Enable ESLint for gfx/ (manual fixes). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D15206

--HG--
extra : moz-landing-system : lando
2018-12-27 09:45:01 +00:00
Mark Banner
4388f2968a Bug 1515942 - Enable ESLint for gfx/ (automatic fixes). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D15205

--HG--
extra : moz-landing-system : lando
2018-12-27 09:44:38 +00:00
Kartikaya Gupta
09dccca832 Bug 1496194 - Ensure the inner sticky rect stays inside the outer sticky rect. r=botond
Depends on D15136

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

--HG--
extra : moz-landing-system : lando
2018-12-21 22:37:28 +00:00
Kartikaya Gupta
b184eedbf0 Bug 1496194 - Add a RectAbsolute implementation for MoveInsideAndClamp. r=botond
Depends on D15135

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

--HG--
extra : moz-landing-system : lando
2018-12-21 22:31:55 +00:00
Boris Chiou
c35f47093e Bug 1322780 - Part 2: Support unprefixed min-content and max-content. r=mats,emilio
Support unprefixed min-content and max-content and treat the prefixed
version as aliases for
1. width, min-width, max-width if inline-axis is horizontal, and
2. height, min-height, max-height if inline-axis is vertical, and
3. inline-size, min-inline-size, max-inline-size, and
4. flex-basis.

Besides, update the test cases to use unprefixed max-content and
min-content.

Depends on D7535

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

--HG--
extra : moz-landing-system : lando
2018-12-18 18:47:37 +00:00
Bobby Holley
53a7fef91f Bug 1509099 - Crashtest. r=me 2018-12-13 13:57:39 -08:00
Mark Banner
8c00ef3f30 Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13746

--HG--
extra : moz-landing-system : lando
2018-12-11 13:15:08 +00:00
Bobby Holley
aa6f44ee39 Bug 1512799 - Update expected status in test_pref_rollout_workaround.py. r=kats 2018-12-10 13:35:53 -08:00
Matt Woodrow
e3453844bf Bug 1510853 - Introduce VsyncId and VsyncEvent for identifying vsyncs without timestamp comparisons. r=jrmuizel
MozReview-Commit-ID: 6TO6hYOdJYo

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

--HG--
extra : moz-landing-system : lando
2018-12-07 23:27:28 +00:00
Ciure Andrei
22c96f2cb4 Backed out 4 changesets (bug 1510853) for TelemetryHistogramEnums.h build bustages CLOSED TREE
Backed out changeset 80baa7b09930 (bug 1510853)
Backed out changeset d1ef6db7fc28 (bug 1510853)
Backed out changeset ae190948ad73 (bug 1510853)
Backed out changeset 0ade0aa77b2f (bug 1510853)
2018-12-07 19:38:47 +02:00
Matt Woodrow
6c3cd9bd00 Bug 1510853 - Introduce VsyncId and VsyncEvent for identifying vsyncs without timestamp comparisons. r=jrmuizel
MozReview-Commit-ID: 6TO6hYOdJYo

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

--HG--
extra : moz-landing-system : lando
2018-12-07 17:06:11 +00:00
Ciure Andrei
ed617be144 Backed out 2 changesets (bug 1512052)for causing build bustages CLOSED TREE
Backed out changeset 4773a3f46c22 (bug 1512052)
Backed out changeset 2f48c5afbe57 (bug 1512052)

--HG--
rename : browser/components/attribution/test/xpcshell/.eslintrc.js => browser/components/attribution/test/.eslintrc.js
2018-12-05 05:47:39 +02:00
Mark Banner
8256078237 Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
Depends on D13745

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

--HG--
extra : moz-landing-system : lando
2018-12-04 22:27:35 +00:00
Jonathan Kew
09aff89697 Bug 1458364 - Re-enable test_font_whitelist.asan on Windows/ASAN, as it no longer seems to fail there. r=dmajor 2018-12-01 15:29:10 +00:00
Sylvestre Ledru
265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Kartikaya Gupta
573d3aec36 Bug 1508822 - Guard against trying to create an oversized DrawTargetRecording with WebRender. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D12950

--HG--
extra : moz-landing-system : lando
2018-11-26 18:14:59 +00:00
Kartikaya Gupta
bc812d01bd Bug 1508811 - Guard against trying to create an oversized DrawTargetRecording with WebRender. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D12677

--HG--
extra : moz-landing-system : lando
2018-11-23 16:43:48 +00:00
Chris Pearce
16512588df Bug 1503776 - Add marionette-gpu job. r=jmaher
In order to reduce the cost of running marionette tests on a virtual machine
with a GPU, add a marionette-gpu job, and run the WebRender rollout test added
in the previous patch in this new job.

Depends on D10528

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

--HG--
extra : moz-landing-system : lando
2018-11-22 21:36:46 +00:00
Chris Pearce
f67b247a62 Bug 1503776 - Add test to verify WR qualified pref default value saved and respected on restart. r=bryce
Add test that when we restart the browser with a default value set on
gfx.webrender.all.qualified, Firefox saves that value and checks respects
the saved value when initializing WebRender.

Depends on D10527

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

--HG--
extra : moz-landing-system : lando
2018-11-22 21:36:16 +00:00
Lee Salzman
7db9336472 Bug 1505426 - initialize SkMaskFilter flattenables. r=rhunt 2018-11-20 15:19:33 -05:00
Jeff Muizelaar
3654ccade6 Bug 1507686 - Record LayerManager URL for each paint so that we can correlate it with slow paints. r=mattwoodrow
MozReview-Commit-ID: 2RUWkboAOJz

--HG--
extra : rebase_source : 397fd432b4e9cba37a1ebca9dcc5a949f290c9d0
2018-11-19 20:55:28 +13:00
Ciure Andrei
d4102b2e26 Backed out changeset 01aa0dc6d098 (bug 1505426) for skia bustages CLOSED TREE 2018-11-20 07:03:08 +02:00
Lee Salzman
95c55ba47c Bug 1505426 - initialize SkMaskFilter flattenables. r=rhunt 2018-11-19 23:00:51 -05:00
Joel Maher
65cec285ac Bug 1507161 - adjust fuzzy-if statements for win10 tests that are failing on new windows10 ami image. r=ahal
adjust fuzzy-if statements for win10 tests that are fialing on new windows 10 ami image

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

--HG--
extra : moz-landing-system : lando
2018-11-14 18:37:30 +00:00
Kartikaya Gupta
17eea57296 Bug 1466613 - Robustify DrawTargetRecording codepaths that create new drawtargets. r=mstange
Badly-behaved consumers of DrawTargetRecording can trigger recording of
draw calls that will fail to allocate required draw targets when the
recording is replayed. This patch tries to guard against this by
detecting these situations at record-time rather than crashing at
replay-time. When such a situation is detected, it will crash (for
content processes, to catch such scenarios) or gracefully fail (for
other processes).

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:39:02 +00:00
Lee Salzman
0be53a4c8c Bug 1490704 - check rect size in RectIsInt32Safe. r=mattwoodrow 2018-11-12 17:09:12 -05:00
Csoregi Natalia
62d62e3e66 Backed out 2 changesets (bug 1503776) for marionette failures on gfx\tests\marionette\test_pref_rollout_workaround.py. CLOSED TREE
Backed out changeset 56f6234b17fc (bug 1503776)
Backed out changeset 838d9917f028 (bug 1503776)
2018-11-12 07:35:56 +02:00
Chris Pearce
581b7d4e3b Bug 1503776 - Add test to verify WR qualified pref default value saved and respected on restart. r=mattwoodrow,r=bryce
Add test that when we shutdown the browser with a default value set on
gfx.webrender.all.qualified, Firefox saves that value and checks respects
the saved value on startup when initializing WebRender.

Normandy sets default prefs when rolling out a pref change, but
gfx starts up before Normandy can set the pref's default value. So gfx can't
observe the pref's new value before it has to decide whether to turn on
WebRender. So we save the default value on shutdown, and check it on startup.

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

--HG--
extra : rebase_source : 93ca0760067abbb7c1f09b5a41e3a8c06bbec796
extra : amend_source : fd318d0d195c8ea43eb48646111e62675b00a86a
2018-11-01 14:36:15 +13:00
Jonathan Kingston
4248b4c554 Bug 1490257 - Pass triggeringPrincipal to test code. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10882

--HG--
extra : moz-landing-system : lando
2018-11-05 14:05:47 +00:00
Ryan Hunt
2226bcc8a3 Bug 1504220 - Move ScrollableLayerGuid, ViewID, ZoomConstraints from FrameMetrics.h r=botond
This commit attempts to lower the pain of modifying FrameMetrics.h.

It looks like most includes really only want ViewID or
ScrollableLayerGuid, so this commit factors them out into a separate
header. In the process FrameMetrics::ViewID is changed to
ScrollableLayerGuid::ViewID, which personally seems like a better
place for it now that we have RepaintRequest. Unfortunately that
requires a lot of places to be updated.

After this commit there are still a couple of major places that
FrameMetrics is included.
 * nsDisplayList.h
 * nsIScrollableFrame.h
 * Layers.h

Those are going to be more tricky or impossible to fix so they're
not in this commit.

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

--HG--
rename : gfx/layers/FrameMetrics.h => gfx/layers/ScrollableLayerGuid.h
rename : gfx/layers/FrameMetrics.h => gfx/layers/ZoomConstraints.h
extra : rebase_source : 29ac79f91460a181bf7437af5c371207e22858e2
extra : source : c2e70e531075493fc6e374dcec862827f0bc6e77
2018-11-01 15:15:46 -05:00
Lee Salzman
8bd7519985 Bug 1503986 - register Skia flattenables. r=rhunt 2018-11-02 14:34:07 -04:00
Gurzau Raul
424b125b93 Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout 2018-11-01 15:27:30 +02:00
Jonathan Kingston
873b26107e Bug 1490257 - Add asserts into loadURI where we imply SystemPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10221

--HG--
extra : moz-landing-system : lando
2018-10-31 18:00:40 +00:00
Bobby Holley
a60f34a042 Bug 1501518 - Crashtest. r=kvark 2018-10-24 11:09:02 -07:00
Dorel Luca
451e26f0c6 Backed out changeset 8d7987ea4fb1 (bug 1490257) for causing android failures. CLOSED TREE 2018-10-15 14:39:00 +03:00
Jonathan Kingston
8bcd10a7ab Bug 1490257 - Add asserts and remove implied system triggering principal code r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8368

--HG--
extra : moz-landing-system : lando
2018-10-15 06:29:45 +00:00