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

31852 Коммитов

Автор SHA1 Сообщение Дата
WR Updater Bot 3200c589ee Bug 1510222 - Update webrender to commit ea8f4a922b2aa38c40de137d7f0ab6598d53e29a (WR PR #3353). r=kats
https://github.com/servo/webrender/pull/3353

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

--HG--
extra : moz-landing-system : lando
2018-11-27 12:15:46 +00:00
WR Updater Bot 347e5a041c Bug 1510074 - Update webrender to commit 604c69a40920e34bb1b8fa3f02bca6e5edfe73f4 (WR PR #3352). r=kats
https://github.com/servo/webrender/pull/3352

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

--HG--
extra : moz-landing-system : lando
2018-11-27 12:11:06 +00:00
WR Updater Bot 623aa5ffe4 Bug 1510091 - Update webrender to commit 235273012e08230c07a214e907175c535206098d (WR PR #3356). r=kats
https://github.com/servo/webrender/pull/3356

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

--HG--
extra : moz-landing-system : lando
2018-11-27 02:56:23 +00:00
WR Updater Bot ad33bb6ed7 Bug 1510090 - Update webrender to commit 05d4eccfa6dd7f667a1f74b12134257a85bea047 (WR PR #3350). r=kats
https://github.com/servo/webrender/pull/3350

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

--HG--
extra : moz-landing-system : lando
2018-11-27 02:55:31 +00:00
Hiroyuki Ikezoe 7943d48803 Bug 1504065 - Support background-color animations on the compositor for nsIDOMWindowUtils::GetOMTAValue. r=birtles
Depends on D13001

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

--HG--
extra : moz-landing-system : lando
2018-11-27 09:27:22 +00:00
Hiroyuki Ikezoe 212fa4884a Bug 1504065 - Run background-color animations on the compositor. r=birtles
Changes for nsIDOMWindowUtils.getOMTAValue is in the next commit with come test
cases.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 09:26:51 +00:00
WR Updater Bot c9ba4e84f7 Bug 1510086 - Update webrender to commit f3e489eebe9ffd5229c93aa4e17f4c3a7e6cb31d (WR PR #3349). r=kats
https://github.com/servo/webrender/pull/3349

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

--HG--
extra : moz-landing-system : lando
2018-11-27 02:55:17 +00:00
Jeff Gilbert 13e2d73059 Bug 1492580 - Repair CONTEXT_LOST handling. r=lsalzman
Simplify error handling in GLContext.
Modernize context loss handling in GLContext.
Remove various unused parts.
Fix WebGLContext's context loss/restoration.

MozReview-Commit-ID: Lu2hi5HnP8x

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

--HG--
extra : moz-landing-system : lando
2018-11-27 04:23:19 +00:00
WR Updater Bot cc5d0e0605 Bug 1510085 - Update webrender to commit 05bdcae134d73aca7bb48358e91de1f8aef27773 (WR PR #3354). r=kats
https://github.com/servo/webrender/pull/3354

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

--HG--
extra : moz-landing-system : lando
2018-11-27 02:54:00 +00:00
WR Updater Bot 681c0f4ec1 Bug 1510084 - Update webrender to commit 35027d93aded8c0a7887dadc8aef5e393171e802 (WR PR #3348). r=kats
https://github.com/servo/webrender/pull/3348

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

--HG--
extra : moz-landing-system : lando
2018-11-27 02:53:43 +00:00
WR Updater Bot 0d52f7e529 Bug 1510082 - Update webrender to commit e2e52b1145ad959191c0612edd41b0b189cf6b59 (WR PR #3346). r=kats
https://github.com/servo/webrender/pull/3346

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

--HG--
extra : moz-landing-system : lando
2018-11-27 02:52:50 +00:00
WR Updater Bot 1669ae2beb Bug 1510078 - Update webrender to commit f450af9277e2474e2a2a2c1358689ca9486e2a09 (WR PR #3345). r=kats
https://github.com/servo/webrender/pull/3345

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

--HG--
extra : moz-landing-system : lando
2018-11-27 01:16:27 +00:00
WR Updater Bot ba662aa1c4 Bug 1510075 - Update webrender to commit 90fa51c71579ce434013953cee35a9bd159ab398 (WR PR #3342). r=kats
https://github.com/servo/webrender/pull/3342

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

--HG--
extra : moz-landing-system : lando
2018-11-27 01:07:37 +00:00
WR Updater Bot f2ed1f88d1 Bug 1509635 - Re-generate FFI header. r=kats
Depends on D13021

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

--HG--
extra : moz-landing-system : lando
2018-11-27 01:00:33 +00:00
WR Updater Bot 5552affd79 Bug 1509635 - Update webrender to commit 914d16f9a2fb8d007509894660bae9c61074ae31 (WR PR #3347). r=kats
https://github.com/servo/webrender/pull/3347

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

--HG--
extra : moz-landing-system : lando
2018-11-27 01:00:26 +00:00
Kartikaya Gupta f9dfde678c Bug 1502010 - Fix a pending TODO that has been resolved. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D12825

--HG--
extra : moz-landing-system : lando
2018-11-27 00:43:57 +00:00
Kartikaya Gupta 9f6dada03c Bug 1502010 - Tighten up the ArePointerEventsConsumable checks. r=botond
This patch tries to reduce the false-positive cases where
ArePointerEventsConsumable returns true even though the input events
won't actually result in panning. It does this by ascertaining the
direction of panning (if possible) in the current input block and
checking to see if panning can actually occur in that direction.
Previously it would just check if panning could occur without taking
into account the actual pan direction of the input events.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 00:43:44 +00:00
Kartikaya Gupta 8ec8f637e1 Bug 1502010 - Extract helper methods to be more reusable. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D12823

--HG--
extra : moz-landing-system : lando
2018-11-27 00:43:32 +00:00
Daniel Holbert 2cdee51290 Bug 1509955: Preemptively fix unified bustage in layout/base. r=TYLin
Just adding:
 - a missing-but-needed forward-decl (in LayersLogging.h which is
   included by files in layout/base).
 - a 'using' decl (to provide layers::AnimationInfo).
 - a missing-but-needed #include for nsCOMPtr.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 22:07:03 +00:00
Coroiu Cristina a2f107533b Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-11-27 01:03:16 +02:00
Coroiu Cristina 9f7204e754 Merge inbound to mozilla-central a=merge 2018-11-27 00:34:45 +02:00
Dorel Luca 2628d08611 Backed out 3 changesets (bug 1502010) for Gtest failure. CLOSED TREE
Backed out changeset e9e34c0b62ac (bug 1502010)
Backed out changeset 67c5cdc1e812 (bug 1502010)
Backed out changeset f324774fb863 (bug 1502010)
2018-11-26 22:25:02 +02:00
Kartikaya Gupta 9161329de8 Bug 1508652 - Put WR captures on Android into the external files dir. r=snorp,kvark
Differential Revision: https://phabricator.services.mozilla.com/D12769

--HG--
extra : moz-landing-system : lando
2018-11-26 16:26:19 +00:00
Jeff Muizelaar a59d3605be Bug 1509358. Replace DCFromDrawTarget with DCForMetrics. r=jfkthame
The GDI font code path is very rarely used, further when it used we
don't ever seem to get any DrawTarget that's not Skia and so never try
to pull the DC out of the DrawTarget anyways. I tested this by forcing
on GDI fonts, running the browser and printing, with and without e10s.
However, Jonathan Kew was able to trigger this path. I'm not sure why.

Making this change will let us rip out a bunch of code that threads the
DrawTarget through the text code.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 16:01:19 +00:00
Csoregi Natalia d35199ef15 Merge inbound to mozilla-central. a=merge 2018-11-26 11:47:15 +02:00
sotaro 8fb8522b22 Bug 1490117 - Rollback WrEpoch if TransactionBuilder does not have ResourceUpdates in RecvEmptyTransaction() r=mattwoodrow 2018-11-26 16:08:49 +09:00
Matt Woodrow 43bc692c89 Bug 1509226 - Avoid allocations to serialize clips. r=jrmuizel
MozReview-Commit-ID: CetmS5cZCMP

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

--HG--
extra : moz-landing-system : lando
2018-11-26 02:32:15 +00:00
Matt Woodrow fab384fd5f Bug 1420628 - Avoid allocations for each text display item. r=jrmuizel
MozReview-Commit-ID: HoRHQVEdJeT

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

--HG--
extra : moz-landing-system : lando
2018-11-25 22:57:04 +00:00
John Lin e43dca7804 Bug 1486659 - p3: copy texture contents for remote allocated Surface. r=snorp
Child processes cannot access textures allocated in the parent process,
which is needed by the compositor to render video elements efficiently.
Unfortunately, Android doesn't expose Sufrace buffers (sharable across
processes) in the SDK/NDK as other platforms, so we need to generate
extra texture/surface in the child process and update texture images
through the surface, which is passed to the parent process for the remote
texture to copy its contents into.

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

--HG--
rename : mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/gfx/ISurfaceAllocator.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/gfx/SyncConfig.aidl
extra : moz-landing-system : lando
2018-11-26 19:41:31 +00:00
John Lin 66a5045667 Bug 1486659 - p2: expose native GL blitter to Java. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D11938

--HG--
extra : moz-landing-system : lando
2018-11-26 19:41:29 +00:00
Kartikaya Gupta d68f3d2cbe Bug 1502010 - Fix a pending TODO that has been resolved. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D12825

--HG--
extra : moz-landing-system : lando
2018-11-26 19:03:29 +00:00
Kartikaya Gupta f42a6d3a65 Bug 1502010 - Tighten up the ArePointerEventsConsumable checks. r=botond
This patch tries to reduce the false-positive cases where
ArePointerEventsConsumable returns true even though the input events
won't actually result in panning. It does this by ascertaining the
direction of panning (if possible) in the current input block and
checking to see if panning can actually occur in that direction.
Previously it would just check if panning could occur without taking
into account the actual pan direction of the input events.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 19:03:20 +00:00
Kartikaya Gupta 43ba79bb22 Bug 1502010 - Extract helper methods to be more reusable. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D12823

--HG--
extra : moz-landing-system : lando
2018-11-26 19:02:56 +00: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
WR Updater Bot 305b751fe8 Bug 1509592 - Update webrender to commit 7051f18fdcfbe60ecdbaeaa8e53c4ba98f2037a1 (WR PR #3344). r=kats
https://github.com/servo/webrender/pull/3344

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

--HG--
extra : moz-landing-system : lando
2018-11-24 12:56:25 +00:00
Nicolas Silva 2fa6078f12 Bug 1494403 - Separate the Blob related apis. r=jrmuizel
This commit contains the Gecko-side changes from WebRender PR#3277:
 - Dedicated DirtyRect type.
 - Separate the blob image APIs from regular image ones.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 23:33:49 +00:00
WR Updater Bot aada6c49ca Bug 1509495 - Update webrender to commit af2b372624db589115511b4705849a33e6acd35d (WR PR #3277). r=kats
https://github.com/servo/webrender/pull/3277

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

--HG--
extra : moz-landing-system : lando
2018-11-23 23:32:57 +00:00
Bogdan Tara 2c11899649 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-23 23:40:33 +02:00
Bogdan Tara 243e2192a2 Merge inbound to mozilla-central. a=merge 2018-11-23 23:38:28 +02:00
Jeff Muizelaar b376bd0e9c Bug 1509554. Define WrClipId in bindings.rs. r=kats
This lets us avoid having to put usize in the exported signatures from bindings.rs
It also avoids a heap allocation when defining a clip chain.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 19:49:56 +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
WR Updater Bot a45897eb14 Bug 1509498 - Re-generate FFI header. r=kats
Depends on D12754

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

--HG--
extra : moz-landing-system : lando
2018-11-23 14:43:18 +00:00
WR Updater Bot 32d853b479 Bug 1509498 - Update webrender to commit 523be3a9461de2716828cd2271aabaffc5e4caa0 (WR PR #3332). r=kats
https://github.com/servo/webrender/pull/3332

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

--HG--
extra : moz-landing-system : lando
2018-11-23 14:43:06 +00:00
WR Updater Bot e4b2158970 Bug 1509497 - Update webrender to commit b4f7e431d56d35051085b4f9486f1cee3dd7339b (WR PR #3341). r=kats
https://github.com/servo/webrender/pull/3341

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

--HG--
extra : moz-landing-system : lando
2018-11-23 14:40:09 +00:00
WR Updater Bot b9c3702522 Bug 1509496 - Update webrender to commit 9a903a2c6912d2651faddadf81e76bf743657d72 (WR PR #3340). r=kats
https://github.com/servo/webrender/pull/3340

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

--HG--
extra : moz-landing-system : lando
2018-11-23 14:38:00 +00:00
WR Updater Bot ff99b1eae9 Bug 1509365 - Update webrender to commit 1ad9b79c3d19dec310077206002d09f5c7fb14cd (WR PR #3339). r=kats
https://github.com/servo/webrender/pull/3339

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

--HG--
extra : moz-landing-system : lando
2018-11-23 14:35:58 +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
Chris Pearce 4dd82ffbcb Bug 1503776 - Save default value of WebRender rollout pref to user pref, check on startup. r=mattwoodrow
Normandy's Preference Rollout code sets default values on prefs, not user
values (see uses of PrefUtils.setPref() in PreferenceRolloutAction.jsm).
Default prefs are not persistent; unlike user prefs, changes to default pref
values are not stored on disk. Changes to default values are only made on the
in-memory copy of the pref's value, and thus don't survive a browser restart.
Normandy changes the rolled out prefs early on in the startup of the browser,
but not before gfxPlatform::Init() runs. So that means gfx can't use Normandy
pref rollout to gradually rollout WebRender to release, as
gfxPlatform::InitWebRenderConfig() won't see the rolled out version of the
pref in time to turn on WebRender.

So to work around this, add a profile-before-change shutdown observer that
saves the default value of the gfx.webrender.all.qualified pref to a new user
pref, gfx.webrender.all.qualified.default. We check that on startup and
emulate the behavior that the pref system would have if that pref default
value had already been set by Normandy.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 21:36:09 +00:00
Kartikaya Gupta d600969929 Bug 1507524 - Update miscellaneous things with the new WR location. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D12060

--HG--
extra : moz-landing-system : lando
2018-11-22 21:47:50 +00:00
Kartikaya Gupta 2719e9d65e Bug 1507524 - Move webrender to gfx/wr. r=jrmuizel
This patch copies the webrender repository contents into gfx/wr. The
existing files from gfx/webrender, gfx/webrender_api, and gfx/wrench are
moved, and the remaining files are added. The revision being used is the
same as before.

In addition, the mozilla-central top-level Cargo.toml and the
gfx/webrender_bindings/Cargo.toml files are updated to reflect the new
structure.

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

--HG--
rename : gfx/webrender/src/device/mod.rs => gfx/wr/direct-composition/src/main.rs
rename : gfx/webrender/Cargo.toml => gfx/wr/webrender/Cargo.toml
rename : gfx/webrender/build.rs => gfx/wr/webrender/build.rs
rename : gfx/webrender/doc/CLIPPING_AND_POSITIONING.md => gfx/wr/webrender/doc/CLIPPING_AND_POSITIONING.md
rename : gfx/webrender/doc/blob.md => gfx/wr/webrender/doc/blob.md
rename : gfx/webrender/doc/text-rendering.md => gfx/wr/webrender/doc/text-rendering.md
rename : gfx/webrender/res/Proggy.ttf => gfx/wr/webrender/res/Proggy.ttf
rename : gfx/webrender/res/area-lut.tga => gfx/wr/webrender/res/area-lut.tga
rename : gfx/webrender/res/base.glsl => gfx/wr/webrender/res/base.glsl
rename : gfx/webrender/res/brush.glsl => gfx/wr/webrender/res/brush.glsl
rename : gfx/webrender/res/brush_blend.glsl => gfx/wr/webrender/res/brush_blend.glsl
rename : gfx/webrender/res/brush_image.glsl => gfx/wr/webrender/res/brush_image.glsl
rename : gfx/webrender/res/brush_linear_gradient.glsl => gfx/wr/webrender/res/brush_linear_gradient.glsl
rename : gfx/webrender/res/brush_mix_blend.glsl => gfx/wr/webrender/res/brush_mix_blend.glsl
rename : gfx/webrender/res/brush_radial_gradient.glsl => gfx/wr/webrender/res/brush_radial_gradient.glsl
rename : gfx/webrender/res/brush_solid.glsl => gfx/wr/webrender/res/brush_solid.glsl
rename : gfx/webrender/res/brush_yuv_image.glsl => gfx/wr/webrender/res/brush_yuv_image.glsl
rename : gfx/webrender/res/clip_shared.glsl => gfx/wr/webrender/res/clip_shared.glsl
rename : gfx/webrender/res/cs_blur.glsl => gfx/wr/webrender/res/cs_blur.glsl
rename : gfx/webrender/res/cs_border_segment.glsl => gfx/wr/webrender/res/cs_border_segment.glsl
rename : gfx/webrender/res/cs_border_solid.glsl => gfx/wr/webrender/res/cs_border_solid.glsl
rename : gfx/webrender/res/cs_clip_box_shadow.glsl => gfx/wr/webrender/res/cs_clip_box_shadow.glsl
rename : gfx/webrender/res/cs_clip_image.glsl => gfx/wr/webrender/res/cs_clip_image.glsl
rename : gfx/webrender/res/cs_clip_rectangle.glsl => gfx/wr/webrender/res/cs_clip_rectangle.glsl
rename : gfx/webrender/res/cs_line_decoration.glsl => gfx/wr/webrender/res/cs_line_decoration.glsl
rename : gfx/webrender/res/cs_scale.glsl => gfx/wr/webrender/res/cs_scale.glsl
rename : gfx/webrender/res/debug_color.glsl => gfx/wr/webrender/res/debug_color.glsl
rename : gfx/webrender/res/debug_font.glsl => gfx/wr/webrender/res/debug_font.glsl
rename : gfx/webrender/res/ellipse.glsl => gfx/wr/webrender/res/ellipse.glsl
rename : gfx/webrender/res/gpu_cache.glsl => gfx/wr/webrender/res/gpu_cache.glsl
rename : gfx/webrender/res/gpu_cache_update.glsl => gfx/wr/webrender/res/gpu_cache_update.glsl
rename : gfx/webrender/res/pf_vector_cover.glsl => gfx/wr/webrender/res/pf_vector_cover.glsl
rename : gfx/webrender/res/pf_vector_stencil.glsl => gfx/wr/webrender/res/pf_vector_stencil.glsl
rename : gfx/webrender/res/prim_shared.glsl => gfx/wr/webrender/res/prim_shared.glsl
rename : gfx/webrender/res/ps_split_composite.glsl => gfx/wr/webrender/res/ps_split_composite.glsl
rename : gfx/webrender/res/ps_text_run.glsl => gfx/wr/webrender/res/ps_text_run.glsl
rename : gfx/webrender/res/rect.glsl => gfx/wr/webrender/res/rect.glsl
rename : gfx/webrender/res/render_task.glsl => gfx/wr/webrender/res/render_task.glsl
rename : gfx/webrender/res/shared.glsl => gfx/wr/webrender/res/shared.glsl
rename : gfx/webrender/res/shared_other.glsl => gfx/wr/webrender/res/shared_other.glsl
rename : gfx/webrender/res/snap.glsl => gfx/wr/webrender/res/snap.glsl
rename : gfx/webrender/res/transform.glsl => gfx/wr/webrender/res/transform.glsl
rename : gfx/webrender/src/batch.rs => gfx/wr/webrender/src/batch.rs
rename : gfx/webrender/src/border.rs => gfx/wr/webrender/src/border.rs
rename : gfx/webrender/src/box_shadow.rs => gfx/wr/webrender/src/box_shadow.rs
rename : gfx/webrender/src/capture.rs => gfx/wr/webrender/src/capture.rs
rename : gfx/webrender/src/clip.rs => gfx/wr/webrender/src/clip.rs
rename : gfx/webrender/src/clip_scroll_tree.rs => gfx/wr/webrender/src/clip_scroll_tree.rs
rename : gfx/webrender/src/debug_colors.rs => gfx/wr/webrender/src/debug_colors.rs
rename : gfx/webrender/src/debug_font_data.rs => gfx/wr/webrender/src/debug_font_data.rs
rename : gfx/webrender/src/debug_render.rs => gfx/wr/webrender/src/debug_render.rs
rename : gfx/webrender/src/debug_server.rs => gfx/wr/webrender/src/debug_server.rs
rename : gfx/webrender/src/device/gl.rs => gfx/wr/webrender/src/device/gl.rs
rename : gfx/webrender/src/device/mod.rs => gfx/wr/webrender/src/device/mod.rs
rename : gfx/webrender/src/device/query_gl.rs => gfx/wr/webrender/src/device/query_gl.rs
rename : gfx/webrender/src/display_list_flattener.rs => gfx/wr/webrender/src/display_list_flattener.rs
rename : gfx/webrender/src/ellipse.rs => gfx/wr/webrender/src/ellipse.rs
rename : gfx/webrender/src/frame_builder.rs => gfx/wr/webrender/src/frame_builder.rs
rename : gfx/webrender/src/freelist.rs => gfx/wr/webrender/src/freelist.rs
rename : gfx/webrender/src/gamma_lut.rs => gfx/wr/webrender/src/gamma_lut.rs
rename : gfx/webrender/src/glyph_cache.rs => gfx/wr/webrender/src/glyph_cache.rs
rename : gfx/webrender/src/glyph_rasterizer/mod.rs => gfx/wr/webrender/src/glyph_rasterizer/mod.rs
rename : gfx/webrender/src/glyph_rasterizer/no_pathfinder.rs => gfx/wr/webrender/src/glyph_rasterizer/no_pathfinder.rs
rename : gfx/webrender/src/glyph_rasterizer/pathfinder.rs => gfx/wr/webrender/src/glyph_rasterizer/pathfinder.rs
rename : gfx/webrender/src/gpu_cache.rs => gfx/wr/webrender/src/gpu_cache.rs
rename : gfx/webrender/src/gpu_glyph_renderer.rs => gfx/wr/webrender/src/gpu_glyph_renderer.rs
rename : gfx/webrender/src/gpu_types.rs => gfx/wr/webrender/src/gpu_types.rs
rename : gfx/webrender/src/hit_test.rs => gfx/wr/webrender/src/hit_test.rs
rename : gfx/webrender/src/image.rs => gfx/wr/webrender/src/image.rs
rename : gfx/webrender/src/intern.rs => gfx/wr/webrender/src/intern.rs
rename : gfx/webrender/src/internal_types.rs => gfx/wr/webrender/src/internal_types.rs
rename : gfx/webrender/src/lib.rs => gfx/wr/webrender/src/lib.rs
rename : gfx/webrender/src/picture.rs => gfx/wr/webrender/src/picture.rs
rename : gfx/webrender/src/platform/macos/font.rs => gfx/wr/webrender/src/platform/macos/font.rs
rename : gfx/webrender/src/platform/unix/font.rs => gfx/wr/webrender/src/platform/unix/font.rs
rename : gfx/webrender/src/platform/windows/font.rs => gfx/wr/webrender/src/platform/windows/font.rs
rename : gfx/webrender/src/prim_store.rs => gfx/wr/webrender/src/prim_store.rs
rename : gfx/webrender/src/print_tree.rs => gfx/wr/webrender/src/print_tree.rs
rename : gfx/webrender/src/profiler.rs => gfx/wr/webrender/src/profiler.rs
rename : gfx/webrender/src/record.rs => gfx/wr/webrender/src/record.rs
rename : gfx/webrender/src/render_backend.rs => gfx/wr/webrender/src/render_backend.rs
rename : gfx/webrender/src/render_task.rs => gfx/wr/webrender/src/render_task.rs
rename : gfx/webrender/src/renderer.rs => gfx/wr/webrender/src/renderer.rs
rename : gfx/webrender/src/resource_cache.rs => gfx/wr/webrender/src/resource_cache.rs
rename : gfx/webrender/src/scene.rs => gfx/wr/webrender/src/scene.rs
rename : gfx/webrender/src/scene_builder.rs => gfx/wr/webrender/src/scene_builder.rs
rename : gfx/webrender/src/segment.rs => gfx/wr/webrender/src/segment.rs
rename : gfx/webrender/src/shade.rs => gfx/wr/webrender/src/shade.rs
rename : gfx/webrender/src/spatial_node.rs => gfx/wr/webrender/src/spatial_node.rs
rename : gfx/webrender/src/surface.rs => gfx/wr/webrender/src/surface.rs
rename : gfx/webrender/src/texture_allocator.rs => gfx/wr/webrender/src/texture_allocator.rs
rename : gfx/webrender/src/texture_cache.rs => gfx/wr/webrender/src/texture_cache.rs
rename : gfx/webrender/src/tiling.rs => gfx/wr/webrender/src/tiling.rs
rename : gfx/webrender/src/util.rs => gfx/wr/webrender/src/util.rs
rename : gfx/webrender/tests/angle_shader_validation.rs => gfx/wr/webrender/tests/angle_shader_validation.rs
rename : gfx/webrender/tests/bug_124.html => gfx/wr/webrender/tests/bug_124.html
rename : gfx/webrender/tests/bug_134.html => gfx/wr/webrender/tests/bug_134.html
rename : gfx/webrender/tests/bug_137.html => gfx/wr/webrender/tests/bug_137.html
rename : gfx/webrender/tests/bug_143.html => gfx/wr/webrender/tests/bug_143.html
rename : gfx/webrender/tests/bug_159.html => gfx/wr/webrender/tests/bug_159.html
rename : gfx/webrender/tests/bug_166.html => gfx/wr/webrender/tests/bug_166.html
rename : gfx/webrender/tests/bug_176.html => gfx/wr/webrender/tests/bug_176.html
rename : gfx/webrender/tests/bug_177.html => gfx/wr/webrender/tests/bug_177.html
rename : gfx/webrender/tests/bug_178.html => gfx/wr/webrender/tests/bug_178.html
rename : gfx/webrender/tests/bug_203a.html => gfx/wr/webrender/tests/bug_203a.html
rename : gfx/webrender/tests/bug_203b.html => gfx/wr/webrender/tests/bug_203b.html
rename : gfx/webrender/tests/bug_servo_10136.html => gfx/wr/webrender/tests/bug_servo_10136.html
rename : gfx/webrender/tests/bug_servo_10164.html => gfx/wr/webrender/tests/bug_servo_10164.html
rename : gfx/webrender/tests/bug_servo_10307.html => gfx/wr/webrender/tests/bug_servo_10307.html
rename : gfx/webrender/tests/bug_servo_11358.html => gfx/wr/webrender/tests/bug_servo_11358.html
rename : gfx/webrender/tests/bug_servo_9983a.html => gfx/wr/webrender/tests/bug_servo_9983a.html
rename : gfx/webrender/tests/color_pattern_1.png => gfx/wr/webrender/tests/color_pattern_1.png
rename : gfx/webrender/tests/color_pattern_2.png => gfx/wr/webrender/tests/color_pattern_2.png
rename : gfx/webrender/tests/fixed-position.html => gfx/wr/webrender/tests/fixed-position.html
rename : gfx/webrender/tests/mix-blend-mode-2.html => gfx/wr/webrender/tests/mix-blend-mode-2.html
rename : gfx/webrender/tests/mix-blend-mode.html => gfx/wr/webrender/tests/mix-blend-mode.html
rename : gfx/webrender/tests/nav-1.html => gfx/wr/webrender/tests/nav-1.html
rename : gfx/webrender/tests/nav-2.html => gfx/wr/webrender/tests/nav-2.html
rename : gfx/webrender_api/Cargo.toml => gfx/wr/webrender_api/Cargo.toml
rename : gfx/webrender_api/src/api.rs => gfx/wr/webrender_api/src/api.rs
rename : gfx/webrender_api/src/channel.rs => gfx/wr/webrender_api/src/channel.rs
rename : gfx/webrender_api/src/channel_ipc.rs => gfx/wr/webrender_api/src/channel_ipc.rs
rename : gfx/webrender_api/src/channel_mpsc.rs => gfx/wr/webrender_api/src/channel_mpsc.rs
rename : gfx/webrender_api/src/color.rs => gfx/wr/webrender_api/src/color.rs
rename : gfx/webrender_api/src/display_item.rs => gfx/wr/webrender_api/src/display_item.rs
rename : gfx/webrender_api/src/display_list.rs => gfx/wr/webrender_api/src/display_list.rs
rename : gfx/webrender_api/src/font.rs => gfx/wr/webrender_api/src/font.rs
rename : gfx/webrender_api/src/gradient_builder.rs => gfx/wr/webrender_api/src/gradient_builder.rs
rename : gfx/webrender_api/src/image.rs => gfx/wr/webrender_api/src/image.rs
rename : gfx/webrender_api/src/lib.rs => gfx/wr/webrender_api/src/lib.rs
rename : gfx/webrender_api/src/units.rs => gfx/wr/webrender_api/src/units.rs
rename : gfx/wrench/.gitignore => gfx/wr/wrench/.gitignore
rename : gfx/wrench/Cargo.toml => gfx/wr/wrench/Cargo.toml
rename : gfx/wrench/README.md => gfx/wr/wrench/README.md
rename : gfx/wrench/build.rs => gfx/wr/wrench/build.rs
rename : gfx/webrender/res/Proggy.ttf => gfx/wr/wrench/reftests/text/Proggy.ttf
rename : gfx/wrench/res/wrench.exe.manifest => gfx/wr/wrench/res/wrench.exe.manifest
rename : gfx/wrench/src/angle.rs => gfx/wr/wrench/src/angle.rs
rename : gfx/wrench/src/args.yaml => gfx/wr/wrench/src/args.yaml
rename : gfx/wrench/src/binary_frame_reader.rs => gfx/wr/wrench/src/binary_frame_reader.rs
rename : gfx/wrench/src/blob.rs => gfx/wr/wrench/src/blob.rs
rename : gfx/wrench/src/cgfont_to_data.rs => gfx/wr/wrench/src/cgfont_to_data.rs
rename : gfx/wrench/src/egl.rs => gfx/wr/wrench/src/egl.rs
rename : gfx/wrench/src/json_frame_writer.rs => gfx/wr/wrench/src/json_frame_writer.rs
rename : gfx/wrench/src/main.rs => gfx/wr/wrench/src/main.rs
rename : gfx/wrench/src/parse_function.rs => gfx/wr/wrench/src/parse_function.rs
rename : gfx/wrench/src/perf.rs => gfx/wr/wrench/src/perf.rs
rename : gfx/wrench/src/png.rs => gfx/wr/wrench/src/png.rs
rename : gfx/wrench/src/premultiply.rs => gfx/wr/wrench/src/premultiply.rs
rename : gfx/wrench/src/rawtest.rs => gfx/wr/wrench/src/rawtest.rs
rename : gfx/wrench/src/reftest.rs => gfx/wr/wrench/src/reftest.rs
rename : gfx/wrench/src/ron_frame_writer.rs => gfx/wr/wrench/src/ron_frame_writer.rs
rename : gfx/wrench/src/scene.rs => gfx/wr/wrench/src/scene.rs
rename : gfx/wrench/src/wrench.rs => gfx/wr/wrench/src/wrench.rs
rename : gfx/wrench/src/yaml_frame_reader.rs => gfx/wr/wrench/src/yaml_frame_reader.rs
rename : gfx/wrench/src/yaml_frame_writer.rs => gfx/wr/wrench/src/yaml_frame_writer.rs
rename : gfx/wrench/src/yaml_helper.rs => gfx/wr/wrench/src/yaml_helper.rs
extra : moz-landing-system : lando
2018-11-22 21:47:48 +00:00
Daniel Varga cef4893007 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-22 23:53:13 +02:00
Daniel Varga 5e7f34b25d Merge mozilla-inbound to mozilla-central. a=merge 2018-11-22 23:48:53 +02:00
WR Updater Bot 3f5bab322b Bug 1509305 - Update webrender to commit 3d7a8fa933769b94875f822b6f4a7803da4320ee (WR PR #3335). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12649

--HG--
extra : moz-landing-system : lando
2018-11-22 12:55:35 +00:00
Kartikaya Gupta c7c9b39313 Bug 1503029 - Ensure the slider frame is notified of APZ drag initiation. r=botond
This adds a notification from APZ to the scrollbar's slider frame to
inform it of APZ starting an async scrollbar drag. This is useful
because APZ can start a scrollbar drag and even change the scroll
position before the scrollbar frame even handles the mousedown event. In
such a case, the mousedown can land on where the scrollthumb *used to
be* before it was dragged away. This can result in scroll-to-click
behavior getting triggered and the scrollthumb glitching.

With this patch, the new notification follows the same path as the
request-repaint message, and so is guaranteed to arrive at the scrollbar
before any request-repaint messages. It sets some state that can be used
to correct the behaviour described above.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 18:00:49 +00:00
WR Updater Bot e5dd13825e Bug 1509304 - Update webrender to commit 5dba919cac858f9b2972bd24e29c9e353c28051d (WR PR #3317). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12647

--HG--
extra : moz-landing-system : lando
2018-11-22 12:53:13 +00:00
WR Updater Bot 7e420c55eb Bug 1509303 - Update webrender to commit a749b63f090379d1f854459f64f55a2ca68af0dc (WR PR #3325). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12646

--HG--
extra : moz-landing-system : lando
2018-11-22 12:48:23 +00:00
WR Updater Bot 6fbd23a8ef Bug 1509302 - Update webrender to commit 29dab25c587b38ecbf4713cda44e87b78846c7f6 (WR PR #3336). r=kats
https://github.com/servo/webrender/pull/3336

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

--HG--
extra : moz-landing-system : lando
2018-11-22 18:48:47 +00:00
WR Updater Bot 30910ab714 Bug 1509005 - Update webrender to commit 359ca639e5a0500d63dc541e7ed26842de1dc7e7 (WR PR #3333). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12644

--HG--
extra : moz-landing-system : lando
2018-11-22 12:47:54 +00:00
byron jones 1198b44835 Bug 1509238 - add moz.yaml to cairo; r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D12625

--HG--
extra : moz-landing-system : lando
2018-11-22 13:12:48 +00:00
arthur.iakab 14322dd0bd Backed out 9 changesets (bug 1500948, bug 1500949, bug 1448426, bug 1487249, bug 1500950, bug 1500944) for causing talos crashes on ts_paint | application crashed [@ MOZ_CrashOOL(char const*, int, char const*)]
Backed out changeset 429776feea6b (bug 1500950)
Backed out changeset a300e9ae7a01 (bug 1500949)
Backed out changeset fed1a518579a (bug 1500948)
Backed out changeset a71376319ad7 (bug 1500944)
Backed out changeset 9c5c35cb10aa (bug 1500944)
Backed out changeset b6c97b4db60a (bug 1448426)
Backed out changeset 160a1dbe0be5 (bug 1487249)
Backed out changeset 8caf55928df2 (bug 1487249)
Backed out changeset 176131b18cb4 (bug 1487249)
2018-11-22 07:57:52 +02:00
Nika Layzell b6ea50e3f8 Bug 1448426 - Wrap windows.h to avoid problematic define statements, r=froydnj,glandium
By default, windows.h exposes a large number of problematic define statements
which are UpperCamelCase, such as a define from `CreateWindow` to
`CreateWindow{A,W}`.

As many of these names are generic (e.g. CreateFile, CreateWindow), they can
mess up Gecko code that may legitimately have its own methods with the same
names.

The header also defines some traditional SCREAMING_SNAKE_CASE defines which
can mess up our code by conflicting with local values.

This patch adds a simple code generator which generates wrappers for these
defines, and uses them to wrap the windows.h wrapper using the `stl_wrappers`
mechanism, allowing us to use windows.h in more places.

Differential Revision: https://phabricator.services.mozilla.com/D10932
2018-11-21 23:37:26 -05:00
sotaro 8b972d1dc6 Bug 1508526 - Remove unnecessary ScheduleGenerateFrame() call in WebRenderBridgeParent::RecvUpdateResources() r=aosmond 2018-11-22 17:24:50 +09:00
Nicolas Silva 36ee7b97d0 bug 1510447 - Fix a blob image key leak. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D13262

--HG--
extra : moz-landing-system : lando
2018-11-28 16:16:29 +00:00
Dzmitry Malyshau 54ba2010c1 Bug 1503447 - Always use zero origin for WR reference frames and stacking contexts r=kats
Previously, WebRender was getting a rectangle for reference frames
and stacking contexts, and it had to carefully treat the origin of this rectange:
  - by offseting all the items in a stacking context
  - by negatively compensating the sticky frame scroll port according to the
parent reference frame origin

With this change, we stop providing any non-zero origins. Instead we accomplish
the same behavior using existing API primitives, such as reference frames:
  1. when a stacking context has an origin, we push another reference frame for it
  2. when computing the sticky frame scroll port, we take this origin into account

This slightly simplifies Gecko-WR API, but more importantly it would allow WR to
get rid of this logic (of handling origins), which in turn would allow to switch
the reference frames from push()/pop() model to just define(), like we do for
scroll/sticky frames already.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 15:32:41 +00:00
WR Updater Bot 9795e3e11b Bug 1510593 - Update webrender to commit 3d73e3885907ae3d48b46fba891073abdb59e76d (WR PR #3359). r=kats
https://github.com/servo/webrender/pull/3359

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

--HG--
extra : moz-landing-system : lando
2018-11-28 14:08:00 +00:00
WR Updater Bot 42bce86621 Bug 1510376 - Update webrender to commit 323b7ea140ba956af342e4f2660e67e04913e9fb (WR PR #3361). r=kats
https://github.com/servo/webrender/pull/3361

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

--HG--
extra : moz-landing-system : lando
2018-11-28 14:06:08 +00:00
Kartikaya Gupta dd2834b1aa Bug 1507524 - Follow-up to remove file accidentally left behind. r=me 2018-11-23 07:49:13 -05:00
Andreea Pavel 945463d394 Backed out changeset 11d6688b953f (bug 1508472) for build bustages on a CLOSED TREE 2018-11-27 18:28:30 +02:00
Ehsan Akhgari d0a3a76106 Bug 1508472 - Part 2: Second batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal.  I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 15:18:32 +00:00
Gabriele Svelto 566f669d07 Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D12728

--HG--
extra : moz-landing-system : lando
2018-11-26 14:49:44 +00:00
Jonathan Watt 4c1b207664 Bug 1510116. Fix some unified build issues in layout code. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D13039

--HG--
extra : rebase_source : f0b6516484ed97ed52b92e04617f89e4ee8189ff
2018-11-12 22:20:52 +00:00
Kristen Wright f22175b197 Bug 1460439 - Conversion from NS_STYLE_BORDER_STYLE_* macro to StyleBorderStyle::* enum class r=emilio
Converted NS_STYLE_BORDER_STYLE_* consts to enum class. Updated corresponding values to enum class. reduced BCCornerInfo struct values to fit StyleBorderStyle values inside struct. Added defaults to switches that do not fully cover all instances of StyleBorderStyle.
2018-11-07 11:56:17 -08:00
Coroiu Cristina b27585482c Merge inbound to mozilla-central a=merge 2018-11-21 23:43:13 +02:00
Cosmin Sabou 6a888dd9ac Merge mozilla-central to mozilla-inbound. a=merge 2018-11-21 18:25:38 +02:00
WR Updater Bot a9f889232c Bug 1508766 - Update webrender to commit 229436b578701fc74a009d6cedc6b2a3ae313f77 (WR PR #3331). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12534

--HG--
extra : moz-landing-system : lando
2018-11-21 12:29:04 +00:00
Barret Rennie b09ba3de12 Bug 1457546 - Use glMapBufferRange instead of glMapBuffer to capture screenshots r=jgilbert
It was pointed out in a review by jgilbert that glMapBuffer only supports
writing to the mapped range on an OpenGL ES profile and using it to read is
undefined behaviour. We now use glMapBufferRange when available, which does
support reading on both OpenGL and OpenGL ES profiles, and allows capturing
screenshots on Android. When it is not available, we fall back to glMapBuffer
(e.g., for macOS).

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

--HG--
extra : moz-landing-system : lando
2018-11-20 18:32:10 +00:00
Gerald Squelart 1bd6a1fd4e Bug 1435091 - p4. Use profiler_thread_is_being_profiled() instead of profiler_is_active() around profiler_add_marker()s - r=mstange
(Unless there were other profiler actions, as I'm not sure yet whether it would
be safe to skip them when the profiler is paused; another bug should
investigate that.)

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

--HG--
extra : moz-landing-system : lando
2018-11-19 06:29:15 +00:00
shindli cbbdd02331 Merge inbound to mozilla-central. a=merge 2018-11-21 05:59:34 +02:00
Narcis Beleuzu 355e9a39df Backed out 3 changesets (bug 1503776) for xperf failures
Backed out changeset 596f70b5d5b0 (bug 1503776)
Backed out changeset 2d2d1dfd04d4 (bug 1503776)
Backed out changeset 3eb49d9e73bb (bug 1503776)
2018-11-21 01:38:34 +02:00
shindli 5cc898ccc2 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-20 23:48:34 +02:00
Lee Salzman 7db9336472 Bug 1505426 - initialize SkMaskFilter flattenables. r=rhunt 2018-11-20 15:19:33 -05:00
WR Updater Bot 8c70719f9d Bug 1508555 - Update webrender to commit 6ffc7cfe02f2a914a7d4338510277988643cc441 (WR PR #3330). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12468

--HG--
extra : moz-landing-system : lando
2018-11-20 19:41:55 +00:00
Andrew McCreight 55cef5b2ab Bug 1504365 - Clear weak pointers in shutdown observers. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D12348

--HG--
extra : moz-landing-system : lando
2018-11-19 23:16:24 +00:00
Chris Pearce 5862a9afbb 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-20 12:32:50 +00:00
Chris Pearce 38d726ef21 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-20 03:52:59 +00:00
Chris Pearce 489732ad6a Bug 1503776 - Save default value of WebRender rollout pref to user pref, check on startup. r=mattwoodrow
Normandy's Preference Rollout code sets default values on prefs, not user
values (see uses of PrefUtils.setPref() in PreferenceRolloutAction.jsm).
Default prefs are not persistent; unlike user prefs, changes to default pref
values are not stored on disk. Changes to default values are only made on the
in-memory copy of the pref's value, and thus don't survive a browser restart.
Normandy changes the rolled out prefs early on in the startup of the browser,
but not before gfxPlatform::Init() runs. So that means gfx can't use Normandy
pref rollout to gradually rollout WebRender to release, as
gfxPlatform::InitWebRenderConfig() won't see the rolled out version of the
pref in time to turn on WebRender.

So to work around this, add a profile-before-change shutdown observer that
saves the default value of the gfx.webrender.all.qualified pref to a new user
pref, gfx.webrender.all.qualified.default. We check that on startup and
emulate the behavior that the pref system would have if that pref default
value had already been set by Normandy.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 03:51:31 +00:00
Matt Woodrow 3e879986fc Bug 1507680 - Record detailed statistics about slow WebRender frames in about:support. r=jrmuizel
MozReview-Commit-ID: 84SjN1RvvAA

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

--HG--
extra : rebase_source : 80e3342280723a2404c6aad7d26b1327906c9e4a
2018-11-16 15:13:56 +13: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
arthur.iakab a5b0a4bc98 Merge mozilla-central to inbound 2018-11-20 18:49:12 +02:00
Jeff Muizelaar eb4806b6a3 Bug 1507021. Add a SnappedClip function to gfxContext. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D11839
2018-11-20 08:56:35 -05:00
Jeff Muizelaar c80ead4e70 Bug 1508908. Remove mEventRegions from WebRenderLayerScrollData. r=kats
It's unused.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 11:55:46 +00:00
WR Updater Bot 2eddabeddc Bug 1508348 - Update webrender to commit 85336e717d99c81e06b261a3958fe9ef90212e0c (WR PR #3329). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12393

--HG--
extra : moz-landing-system : lando
2018-11-20 07:32:57 +00:00
Andreea Pavel d8849bad00 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-20 07:12:30 +02:00
Razvan Maries 208d16134b Merge mozilla-inbound to mozilla-central a=merge 2018-11-20 07:03:17 +02:00
Hiroyuki Ikezoe 470587b47e Bug 1423709 - Add initial-scale=1 for tests supposing the page is rendered 1:1 scale. r=botond
Depends on D10195

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

--HG--
extra : moz-landing-system : lando
2018-11-20 01:24:57 +00:00
Boris Zbarsky 71db58cf83 Bug 1507540 part 2. Use more notxpcom attributes in docshell/. r=smaug 2018-11-19 20:17:53 -05:00
Boris Zbarsky b88f0dc956 Bug 1507540 part 1. Use more notxpcom attributes in caps/. r=mrbkap 2018-11-19 20:17:52 -05:00
Jeff Muizelaar 5624b1e36e Bug 1507021. Use SnappedRectangle in more places. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D11840

--HG--
extra : moz-landing-system : lando
2018-11-19 23:03:32 +00:00
Sebastian Hengst cc89f3b7a2 Backed out 3 changesets (bug 1503776) for failing new MnG suite in test_pref_rollout_workaround.py. CLOSED TREE
Backed out changeset 5b6f0d586bf7 (bug 1503776)
Backed out changeset bcb35a8cb22b (bug 1503776)
Backed out changeset fb616c66a1fd (bug 1503776)
2018-11-19 23:15:33 +02:00
Chris Pearce 2149e1ec2d 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-19 19:18:38 +00:00
Chris Pearce ca673acd8f 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-19 19:18:23 +00:00
Chris Pearce b911dfe3f6 Bug 1503776 - Save default value of WebRender rollout pref to user pref, check on startup. r=mattwoodrow
Normandy's Preference Rollout code sets default values on prefs, not user
values (see uses of PrefUtils.setPref() in PreferenceRolloutAction.jsm).
Default prefs are not persistent; unlike user prefs, changes to default pref
values are not stored on disk. Changes to default values are only made on the
in-memory copy of the pref's value, and thus don't survive a browser restart.
Normandy changes the rolled out prefs early on in the startup of the browser,
but not before gfxPlatform::Init() runs. So that means gfx can't use Normandy
pref rollout to gradually rollout WebRender to release, as
gfxPlatform::InitWebRenderConfig() won't see the rolled out version of the
pref in time to turn on WebRender.

So to work around this, add a profile-before-change shutdown observer that
saves the default value of the gfx.webrender.all.qualified pref to a new user
pref, gfx.webrender.all.qualified.default. We check that on startup and
emulate the behavior that the pref system would have if that pref default
value had already been set by Normandy.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 19:18:06 +00:00
WR Updater Bot fa2171c1f6 Bug 1508231 - Update webrender to commit 262edcb7d48deb72509141e14e1c7d914c1970fb (WR PR #3326). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12329

--HG--
extra : moz-landing-system : lando
2018-11-19 18:25:27 +00:00
WR Updater Bot 4c3fea0101 Bug 1508173 - Update webrender to commit 9ab93fda1abe8a7ce5c9e83cdfd577946bfcd53c (WR PR #3323). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12253

--HG--
extra : moz-landing-system : lando
2018-11-19 10:20:28 +00:00
Margareta Eliza Balazs b03a62c3c8 Merge inbound to mozilla-central. a=merge 2018-11-19 11:28:37 +02:00
sotaro a06eae528e Bug 1508117 - Fix mAsyncImageManager->AddPipeline() calls in WebRenderBridgeParent::UpdateWebRender() r=mattwoodrow 2018-11-19 12:15:55 +09:00
Dzmitry Malyshau f076ce43c0 Bug 1503447 - Remove the clip->ASR == item->ASR hacky code path r=kats
Previously, WebRender ignored clip_node_id on the clip/scroll stack
when pushing clips or reference frames. This got fixed to be more consistent in:
https://github.com/servo/webrender/pull/3315

Now Gecko can use the clip chains generated for display items naturally,
instead of smuggling the last clip through the scroll_node_id, which is what
was happening in this hacky code branch being removed.

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

--HG--
extra : moz-landing-system : lando
2018-11-17 15:44:40 +00:00
Andreea Pavel 72b0594cb8 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-17 13:27:24 +02:00
sotaro e339c43bdb Bug 1506767 - Remove redundant iteration in CompositorBridgeParent::NotifyPipelineRendered() r=mattwoodrow 2018-11-17 12:27:54 +09:00
WR Updater Bot 62f47938ea Bug 1507938 - Update webrender to commit 199ace786ef5d80982a8c811dabfab13593e6ae6 (WR PR #3321). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12227

--HG--
extra : moz-landing-system : lando
2018-11-18 22:37:30 +00:00
WR Updater Bot 2f82c64173 Bug 1507918 - Update webrender to commit 596984d1b49f47af65ccfaedd9684b2a90a564e2 (WR PR #3318). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12175

--HG--
extra : moz-landing-system : lando
2018-11-16 21:14:15 +00:00
Andrew Osmond 25360a73c4 Bug 1504699 - Part 6. Add lifetime management for recycled frames with WebRender. r=nical
Here we make use of the parts added in parts 1 and 2 to hold onto
recycled surfaces for as long as necessary to prevent the animated image
decoder from reusing them until WebRender is done with them.

Differential Revision: https://phabricator.services.mozilla.com/D10902
2018-11-21 06:47:24 -05:00
Andrew Osmond 918b734a20 Bug 1504699 - Part 5. Stop sharing code between SharedUserData and SharedSurfacesAnimation. r=nical
Originally it made sense to share the code, but now the latter has
become too specialized to reuse it. Fork it off here and update it later
parts in this series.

Differential Revision: https://phabricator.services.mozilla.com/D10901
2018-11-21 06:47:17 -05:00
Andrew Osmond 01269d4189 Bug 1504699 - Part 4. Add method to SharedSurfacesChild to cast to a shared surface. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D10900
2018-11-21 06:47:11 -05:00
Andrew Osmond dcd4382cfc Bug 1504699 - Part 3. Expose parent surface to SharedSurfacesAnimation. r=nical
SourceSurfaceSharedData can be wrapped by RecyclingDataSurface in order
to facilitate its lifetime management. As long as the latter is alive,
the former cannot be reused by the animated image decoder for a future
frame's contents. SharedSurfacesAnimation will need to hold onto the
RecyclingDataSurface as long as WebRender is using the surface.

Differential Revision: https://phabricator.services.mozilla.com/D10899
2018-11-21 06:47:06 -05:00
Andrew Osmond 8c7a309965 Bug 1504699 - Part 2. Add plumbing to WebRenderLayerManager to pass on frame released messages. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D10898
2018-11-21 06:47:06 -05:00
Andrew Osmond c15ceec38e Bug 1504699 - Part 1. Add signalling for WebRender to let owning process that surface may be recycled. r=nical
When we replace the external image ID an image key points to, the
previous external image ID may still be used by WebRender. We currently
wait until the frame has been rendered to release our hold on said
surface. With this patch, we will communicate the image key and previous
external image ID pairing to the owning process when releasing to let it
know that it can reuse it (e.g. for an animated image). Additionally we
now use the new textures updated checkpoint which should happen sooner
than the frame rendered checkpoint, but guarantee that WebRender is no
longer using the old external image ID.

Differential Revision: https://phabricator.services.mozilla.com/D10897
2018-11-21 06:47:06 -05:00
WR Updater Bot 0241134630 Bug 1507915 - Update webrender to commit 91910a3ce033239fe36ef096223be333ea5df6d7 (WR PR #3314). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12171

--HG--
extra : moz-landing-system : lando
2018-11-16 20:18:34 +00:00
WR Updater Bot 4677e98fcc Bug 1507848 - Update webrender to commit 5609676e166f939fcf1a4141c5b9cb715b68f1d9 (WR PR #3315). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12170

--HG--
extra : moz-landing-system : lando
2018-11-16 20:12:16 +00:00
Gurzau Raul 6d17917258 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 19:54:35 +02:00
Nicolas Silva eef47a1b87 Bug 1507140 - Gecko changes for WebRender PR #3291. r=kats
Move wr::DeviceUint* to wr::DeviceInt*.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 17:13:26 +00:00
WR Updater Bot c1baccfc1a Bug 1507140 - Update webrender to commit dc442bfe38dcd9fc5033d2191b04c6242d167f05 (WR PR #3291). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12149

--HG--
extra : moz-landing-system : lando
2018-11-16 17:13:07 +00:00
Gurzau Raul 0e822b012b Merge inbound to mozilla-central. a=merge 2018-11-16 19:08:39 +02:00
sotaro 068f2dd418 Bug 1506762 - Store wr::WebRenderPipelineInfo directly in AsyncImagePipelineManager::PipelineUpdates r=mattwoodrow 2018-11-16 22:01:01 +09:00
WR Updater Bot 738df7e719 Bug 1507751 - Cherry-pick webrender commit 3b2ed3d2ea21c4873b09da6a371ce07357c9c118 (WR PR #3313). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12109

--HG--
extra : moz-landing-system : lando
2018-11-16 11:51:10 +00:00
WR Updater Bot 49c9ba3a57 Bug 1502717 - Cherry pick webrender commit 7f889ccf165ef0bcbf3688ccb1c51bddd84a7b6f (WR PR #3316). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12107

--HG--
extra : moz-landing-system : lando
2018-11-16 11:39:10 +00:00
Randall Barker 35383d82bd Bug 1507068 - Ensure mParent is not null in mozilla::layers::CompositorBridgeParent::GetAndroidDynamicToolbarAnimator r=snorp,kats
Speculative fix for Bug 1507068. Checks if mParent is not null before trying to get a pointer to the toolbar animator

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

--HG--
extra : moz-landing-system : lando
2018-11-16 14:41:08 +00:00
Bogdan Tara df744acb24 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 11:50:21 +02:00
Bogdan Tara 647b9eb109 Merge inbound to mozilla-central. a=merge 2018-11-16 11:47:51 +02:00
Botond Ballo f9d515bd29 Bug 1490102 - Augment helper_basic_doubletap_zoom to also test zooming out. r=kats
This required some changes to the page structure to exercise the codepath
that bug 1478335 fixed.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 19:52:35 +00:00
Matt Woodrow f1ac2eb3c8 Bug 1503405 - Add telemetry for CONTENT_FRAME_WITH with texture upload excluded. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D11971

--HG--
extra : moz-landing-system : lando
2018-11-15 23:09:05 +00:00
Narcis Beleuzu 944d8914d9 Backed out changeset 17d1440b76b1 (bug 1505858) for bustages on WebRenderBridgeParent.cpp 2018-11-16 01:29:00 +02:00
Jeff Muizelaar 7a069dd660 Bug 1505858. Record full paint time before waiting for composite in telemetry. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D11953

--HG--
extra : moz-landing-system : lando
2018-11-15 16:43:55 +00:00
Margareta Eliza Balazs d5555d2998 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-15 18:22:30 +02:00
Jonathan Kew fb4f42f9a7 Bug 1507506 - Use a sorted array rather than a hashtable for the short list of bad-underline font families. r=jwatt 2018-11-15 16:11:45 +00:00
Emilio Cobos Álvarez 7cefd0df6a Bug 1507127 - Move the page-break-{before,after} properties to not use mako. r=heycam
And respect the computed value of `left` / `right` / etc.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 08:15:13 +00:00
sotaro b95f584482 Bug 1499255 - Make SurfaceTextureHost to support WebRender r=nical 2018-11-16 11:22:15 +09:00
Andreea Pavel 6a58f5fcea Backed out 2 changesets (bug 1507021) for android build bustages on a CLOSED TREE
Backed out changeset 026f135a667f (bug 1507021)
Backed out changeset 1b87eb56e462 (bug 1507021)

--HG--
extra : amend_source : 4d51378a27f24f3d87d9b7a206c78ff962e3b663
2018-11-15 06:35:54 +02:00
Jeff Muizelaar 9ad890c762 Bug 1507021. Add a SnappedClip function to gfxContext. r=mattwoodrow
Depends on D11840

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

--HG--
extra : moz-landing-system : lando
2018-11-14 22:47:10 +00:00
Randall Barker 69a08335b4 Bug 1506747 - Add GeckoView API for drawing transparent border around the content window r=snorp,droeh,kats
Differential Revision: https://phabricator.services.mozilla.com/D11717

--HG--
extra : moz-landing-system : lando
2018-11-15 01:54:18 +00:00
Jeff Muizelaar 1d2422df54 Bug 1507021. Use SnappedRectangle in more places. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D11840

--HG--
extra : moz-landing-system : lando
2018-11-14 22:47:35 +00:00
Jeff Muizelaar 702974b3d8 Bug 1505858. Record full paint time before waiting for composite in telemetry. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D11953

--HG--
extra : moz-landing-system : lando
2018-11-16 05:26:10 +00:00
Jonathan Watt aeb16eec85 Bug 1505177. Remove gfxContext::CurrentDashOffset(). r=miko
Differential Revision: https://phabricator.services.mozilla.com/D11108

--HG--
extra : rebase_source : 977d4ff035e6b9bdbe79053d154db998d61cc724
extra : amend_source : 66649e6eda2ce762ac8f642525f7b56e612a8510
2018-11-06 11:50:23 +00:00
Kartikaya Gupta cd40821489 Bug 1511042 - Back out some commits from bug 1503447 for introducing correctness and perf regressions. r=backout
This backs out hg commits 1e214baf8fc1, 7d4adeee5236, and f5ffebdcc014.
2018-11-29 14:24:25 -05:00
Nicolas Silva 9f96be2f26 bug 1510447 - Fix a blob image key leak. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D13262

--HG--
extra : source : a58f38fb47f3f436584a816ccbbc192ae9684d02
extra : intermediate-source : 6cca1b66a9dd1951abd51f6c3bf588a2ae46934c
2018-11-28 16:55:10 +01:00
Jeff Gilbert 5a9f4c3ab5 Bug 1510467 - Mark gfx/gl/GLConsts.h as generated in .clang-format-ignore. r=eakhgari
s/off/on once in GLContext.cpp.
2018-11-28 12:50:45 -08:00
Nika Layzell 568787b95f Bug 1448426 - Wrap windows.h to avoid problematic define statements, r=froydnj,glandium
By default, windows.h exposes a large number of problematic define statements
which are UpperCamelCase, such as a define from `CreateWindow` to
`CreateWindow{A,W}`.

As many of these names are generic (e.g. CreateFile, CreateWindow), they can
mess up Gecko code that may legitimately have its own methods with the same
names.

The header also defines some traditional SCREAMING_SNAKE_CASE defines which
can mess up our code by conflicting with local values.

This patch adds a simple code generator which generates wrappers for these
defines, and uses them to wrap the windows.h wrapper using the `stl_wrappers`
mechanism, allowing us to use windows.h in more places.

Differential Revision: https://phabricator.services.mozilla.com/D10932
2018-11-28 12:56:20 -05:00
Matt Woodrow 2ce22ca25d Bug 1506748 - Record profiler markers for scene building and blob rasterization. r=mstange
MozReview-Commit-ID: IA2ooFX5jtA

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

--HG--
extra : moz-landing-system : lando
2018-11-14 23:21:23 +00: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
Razvan Maries 6c55ab0f9e Merge mozilla-inbound to mozilla-central a=merge 2018-11-15 00:16:46 +02:00
Michael Froman 2e78f7f1a1 Bug 1471535 - pt12 - Hook up RDD process and Remote decoding. r=jya,spohl
Depends on D8493

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

--HG--
extra : moz-landing-system : lando
2018-11-14 18:07:28 +00:00
Michael Froman 36306e253f Bug 1471535 - pt4 - Add BuildSurfaceDescriptorBuffer to ImageContainer for remote decoding. r=jya,mattwoodrow
Depends on D8484

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

--HG--
extra : moz-landing-system : lando
2018-11-14 18:05:28 +00:00
Michael Froman 3e6ce9501a Bug 1471535 - pt2 - Fix lurking OSX and Win build issues prepping for RDD work. r=jya
Due to changes in where things end up in the unified builds.

Depends on D8482

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

--HG--
extra : moz-landing-system : lando
2018-11-14 18:05:00 +00:00
Dzmitry Malyshau aa76de2aae Bug 1503447 - Remove Nothing() semantic from ASR overrides r=kats
Previously, the ASR overrides contained Maybe<ClipId>, where Nothing() corresponded to taking the top of the clip/scroll stack instead of overriding. This change removes the associated complexity by ensuring that we always provide the ClipId.

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

--HG--
extra : moz-landing-system : lando
2018-11-14 14:15:16 +00:00
WR Updater Bot 62c3f95fce Bug 1507137 - Update webrender to commit 02387f7e5c77c415cfa232366c321d6f621cae28 (WR PR #3308). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11880

--HG--
extra : moz-landing-system : lando
2018-11-14 13:58:53 +00:00
WR Updater Bot 4342080144 Bug 1507136 - Update webrender to commit aa1691c42111c9dbbd30fd7e1835f2139bdf4a26 (WR PR #3305). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11879

--HG--
extra : moz-landing-system : lando
2018-11-14 13:57:09 +00:00
WR Updater Bot 15d4699a47 Bug 1507134 - Update webrender to commit b5c232fdc1e6731cb1afadbf6a6b9b8038ccc829 (WR PR #3306). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11878

--HG--
extra : moz-landing-system : lando
2018-11-14 13:52:59 +00:00
WR Updater Bot 5186cb1ab3 Bug 1507025 - Update webrender to commit 2a9ddf230c9816d5801a36848981e44f2e442fea (WR PR #3307). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11877

--HG--
extra : moz-landing-system : lando
2018-11-14 13:49:49 +00:00
Coroiu Cristina d850d799a0 Merge inbound to mozilla-central a=merge 2018-11-14 11:51:31 +02:00
Lee Salzman 13c90d2dcc Bug 1493080 - remove reference cycle between BufferTextureData and DrawTargets. r=jrmuizel 2018-11-14 11:16:01 -05:00
WR Updater Bot 5520e8c9dc Bug 1506837 - Update webrender to commit 652e3f8a180865abc40c78813668098f2b55bdd3 (WR PR #3302). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11832

--HG--
extra : moz-landing-system : lando
2018-11-14 01:25:59 +00:00
Bogdan Tara 598395ed90 Backed out changeset 6afbbb6e200f (bug 1506748) for Android 5 build bustage CLOSED TREE 2018-11-14 01:24:42 +02:00
Matt Woodrow 2344e26cf0 Bug 1506748 - Record profiler markers for scene building and blob rasterization. r=mstange
MozReview-Commit-ID: IA2ooFX5jtA

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

--HG--
extra : moz-landing-system : lando
2018-11-13 22:44:13 +00:00
Bogdan Tara f305e91f48 Backed out changeset ed34f1838218 (bug 1506748) for Android build bustages CLOSED TREE 2018-11-14 00:11:37 +02:00
Matt Woodrow a80a7d22ae Bug 1506748 - Record profiler markers for scene building and blob rasterization. r=mstange
MozReview-Commit-ID: IA2ooFX5jtA

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

--HG--
extra : moz-landing-system : lando
2018-11-13 21:34:26 +00:00
Bogdan Tara fc8134a16a Backed out 12 changesets (bug 1471535) for VideoDecoderChild failures CLOSED TREE
Backed out changeset 3d8a11458d79 (bug 1471535)
Backed out changeset 2176010bc1fe (bug 1471535)
Backed out changeset dfb4d3462b22 (bug 1471535)
Backed out changeset ea6b73ded74d (bug 1471535)
Backed out changeset 404d760a9e82 (bug 1471535)
Backed out changeset 28ae4b6fab68 (bug 1471535)
Backed out changeset af91e1f04c2d (bug 1471535)
Backed out changeset d39fef4334b3 (bug 1471535)
Backed out changeset a038821cd8ae (bug 1471535)
Backed out changeset 5dcc74a938c6 (bug 1471535)
Backed out changeset 53aff7e699b4 (bug 1471535)
Backed out changeset f3f6abc052f0 (bug 1471535)

--HG--
rename : dom/media/ipc/GpuDecoderModule.cpp => dom/media/ipc/RemoteVideoDecoder.cpp
rename : dom/media/ipc/GpuDecoderModule.h => dom/media/ipc/RemoteVideoDecoder.h
2018-11-13 23:31:56 +02:00
Michael Froman 563ff5b11d Bug 1471535 - pt12 - Hook up RDD process and Remote decoding. r=jya,spohl
Depends on D8493

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:36:47 +00:00
Michael Froman d79a368a51 Bug 1471535 - pt4 - Add BuildSurfaceDescriptorBuffer to ImageContainer for remote decoding. r=jya,mattwoodrow
Depends on D8484

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:34:48 +00:00
Michael Froman a437587fde Bug 1471535 - pt2 - Fix lurking OSX and Win build issues prepping for RDD work. r=jya
Due to changes in where things end up in the unified builds.

Depends on D8482

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:34:23 +00:00
WR Updater Bot 486f2d519c Bug 1506795 - Update WR bindings for API change in WR PR 3303. r=kats
Depends on D11759

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

--HG--
extra : moz-landing-system : lando
2018-11-13 13:38:46 +00:00
WR Updater Bot 0145d021e6 Bug 1506795 - Update webrender to commit e48cb9086ecad3710829ab026ea0e7d4d94d08aa (WR PR #3303). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11759

--HG--
extra : moz-landing-system : lando
2018-11-13 13:38:41 +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
Kartikaya Gupta 88030616a1 Bug 1466613 - Add a gfxCriticalNote to provide more details on replay failure. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D8257

--HG--
extra : moz-landing-system : lando
2018-11-13 10:38:24 +00:00
Hiroyuki Ikezoe c592937db4 Bug 1504929 - Further optimizations for RestyleManager::AddLayerChangesForAnimations.. r=birtles,sotaro
This change eliminates
 - nsLayoutUtils::LastContinuationOrIBSplitSibling calls for each CSS
   properties on WebRender
 - iterating over each display item for each compositor runnable CSS properties
 - a bunch of stuff in the case where the layer manager has not yet created,
   i.e. the compositor thread is not ready to receive animations

Depends on D11425

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:23:20 +00:00
Hiroyuki Ikezoe 4daa00a2cd Bug 1504929 - Mark AnimationInfo::GetAnimationGeneration as a const function. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D11424

--HG--
extra : moz-landing-system : lando
2018-11-13 10:17:34 +00:00
WR Updater Bot f61ae84285 Bug 1506738 - Update webrender to commit dfb2517eea37bce19e686032faae4053cb427ff8 (WR PR #3275). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11743

--HG--
extra : moz-landing-system : lando
2018-11-13 10:18:11 +00:00
Martin Stransky 582b645d9b Bug 1504904 - Don't use GDK_IS_WAYLAND_DISPLAY() as it's missing on Gtk+ X11 only builds, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D11610

--HG--
extra : moz-landing-system : lando
2018-11-12 15:25:38 +00:00
Cosmin Sabou 791de0dab3 Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : d93c4498b3c7872e1539b4f37b8601a804820dea
2018-11-13 06:29:03 +02:00
Cosmin Sabou 007b66c1f5 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-13 06:23:01 +02:00
WR Updater Bot 2457618dd8 Bug 1506572 - Update webrender to commit fbf65161bef7fbbe07dfd2c9b5b9833784422e9e (WR PR #3300). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11710

--HG--
extra : moz-landing-system : lando
2018-11-13 00:27:00 +00:00
Matt Woodrow 478074e691 Bug 1506492 - Report WebRender swap-chain memory usage. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D11594

--HG--
extra : moz-landing-system : lando
2018-11-13 03:15:51 +00:00
Jeff Muizelaar fd702be66b Bug 1506676. blob-inval: handle the parent item being removed. r=mattwoodrow
If the parent item is removed our assertions will be wrong because
the parent item's bounds will not be added to the invalid rect until
after we've traversed all of the items. Further, the new unbounded rect
for the child item won't be added to the invalid rect unless we do it
ourselves. This makes sure we add the old and new rects to the invalid
rect.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 02:23:41 +00:00
WR Updater Bot 64bbe13331 Bug 1506576 - Update webrender to commit 45498e55dbb918f82e9583d03912b73b5a301a30 (WR PR #3299). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11635

--HG--
extra : moz-landing-system : lando
2018-11-12 12:58:02 +00:00
WR Updater Bot c6c5b79b06 Bug 1506575 - Re-generate FFI header. r=kats
Depends on D11633

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

--HG--
extra : moz-landing-system : lando
2018-11-12 12:55:55 +00:00
WR Updater Bot 95b58bd3f2 Bug 1506575 - Update webrender to commit d9bddae3796e782548b9f3dfffdbcb26cf719232 (WR PR #3298). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11633

--HG--
extra : moz-landing-system : lando
2018-11-12 12:55:51 +00:00
WR Updater Bot d90fa4033f Bug 1506573 - Update webrender to commit 591f577fcc16f7ac9cda206072d8aee4f0358b0f (WR PR #3296). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11632

--HG--
extra : moz-landing-system : lando
2018-11-12 12:52:43 +00:00
WR Updater Bot cc4db2132a Bug 1506494 - Update webrender to commit c7a0d33c751aec6e4e525a51ae56a189f68f11f5 (WR PR #3289). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11631

--HG--
extra : moz-landing-system : lando
2018-11-12 12:48:39 +00:00
Razvan Maries 7f7c353e96 Merge mozilla-inbound to mozilla-central a=merge 2018-11-12 11:58:52 +02: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
Jeff Muizelaar 8aa00debf2 Bug 1496843. Make sure we update mRect when mImageBounds changes. r=mattwoodrow
This makes sure we don't end up with stale entries with geometry clipped
to the previous mImageBounds on the receiving side.

The update code is duplicated for now but will hopefully be cleaned up
after the blob re-coordination work is done.

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

--HG--
extra : moz-landing-system : lando
2018-11-11 22:49:38 +00:00
WR Updater Bot 2edcb8deb1 Bug 1506400 - Update webrender to commit 429cb0eb56d6208a47f83b2efb828bf5db54d777 (WR PR #3297). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11595

--HG--
extra : moz-landing-system : lando
2018-11-12 02:07:10 +00:00
WR Updater Bot d7ddd3fbe8 Bug 1506309 - Update webrender to commit 1adb3528be81e583b2b0593c31f6b2a64b8b1735 (WR PR #3288). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11567

--HG--
extra : moz-landing-system : lando
2018-11-10 21:55:28 +00:00
shindli 1e51b7ee7c Merge inbound to mozilla-central. a=merge 2018-11-10 23:36:30 +02:00
WR Updater Bot 844addb852 Bug 1506206 - Update webrender to commit 9e65149a487afa35994076d7db918c07d2b967bf (WR PR #3293). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11544

--HG--
extra : moz-landing-system : lando
2018-11-10 01:37:27 +00:00
Kartikaya Gupta 13567d6f63 Bug 1503616 - Use the zoom animation instead of the PinchZoom API to implement async zooming. r=botond
This allows us to apply a zoom on a subset of the WR display list (the part
that is inside the stacking context with the animation property), rather
than applying globally to everything. Since the semantics of APZ zooming
is that it applies to the root content document, this results in more
correct behaviour, particularly with respect to clips from the
chrome-process document which now don't get zoomed but did before.

Depends on D11181

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

--HG--
extra : moz-landing-system : lando
2018-11-09 21:13:28 +00:00
Kartikaya Gupta 9a0b69bfb3 Bug 1503616 - Propagate the zoom animation id over to the APZ code. r=botond
Depends on D11180

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

--HG--
extra : moz-landing-system : lando
2018-11-09 21:13:10 +00:00
Kartikaya Gupta 1b737d162d Bug 1503616 - Set a animatable transform property on the root content WR stacking context. r=mstange
This sets a placeholder transform on the root stacking context for the
content display list, and allows us to modify that transform directly in
the compositor. This is similar to what
nsDisplayOwnLayer::CreateWebRenderCommands does for scroll thumb layers,
which are similarly manipulated by APZ for async scrolling.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 21:14:27 +00:00
WR Updater Bot 7b2f0ec1b5 Bug 1506129 - Update webrender to commit 56ffe6edc4c453a370784314194f9516af0a8950 (WR PR #3290). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11508

--HG--
extra : moz-landing-system : lando
2018-11-09 18:55:10 +00:00
Botond Ballo 8dee3ff754 Bug 1494440 - Add a mochitest. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11269

--HG--
extra : moz-landing-system : lando
2018-11-08 22:25:07 +00:00