Commit Graph

34354 Commits

Author SHA1 Message Date
Alexis Beingessner
bb09834391 Bug 1547351 - Automatically set content process render root r=kats
This implements the idea of automatically setting a content proc's
render root based on the render root enclosing the iframe that
points to it. There was a bit of cleanup in here that was a bit
tricky to extract from the core patch revolving around how we
use the Api(...) helper. This was to avoid the situation where
we use the Api(...) helper before our render root is initialized,
when we don't actually have to. I.e., when we just want the root
WebRenderAPI in all cases.

An alternative to this approach could be to fully built out the
WebRender transactions and just queue those up to be sent. However,
transaction building has various side effects which are committed
before the transaction is actually sent, so we would have to build
out some scheme for deferring those as well. This seemed simpler.

Patch primarily written by :dthayer

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

--HG--
extra : moz-landing-system : lando
2019-07-24 14:10:56 +00:00
Doug Thayer
c6d6d1dfde Bug 1547351 - Factor out RecvEmptyTransaction's core transaction building r=sotaro
This splits out the inner bit of RecvEmptyTransaction to just iterate over
the documents once, rather than iterating over them individually. Originally
I ran into difficulties with this and then left it on the table, but I think
it was enabled by splitting out the epochs in pipeline info by renderroot.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 14:10:30 +00:00
sotaro
b8b7b6195f Bug 1568419 - Handle a case that NumSubTextures() returns 0 in AsyncImagePipelineManager::UpdateImageKeys() r=nical
GPUVideoTextureHost::NumSubTextures() returns 0 when wrapped TextureHost does not exist. In this case, we do not have a content of GPUVideoTextureHost for WR render. And EnsureWrappedTextureHost() calling is added in GPUVideoTextureHost::NumSubTextures(), since GPUVideoTextureHost is not explicit about when a wrapped TextureHost is created.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 13:33:57 +00:00
Nicolas Silva
c6f3b2b7d7 Bug 1568158 - Show the maximum time over the averaging window in WebRender's builtin profiler. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D38986

--HG--
extra : moz-landing-system : lando
2019-07-23 23:14:52 +00:00
Dzmitry Malyshau
632e984f71 Bug 1548339 - Fix WR saved alpha task sampling r=gw
looks like a typo that got unnoticed? I wonder how our alpha saved tasks work today :)

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

--HG--
extra : moz-landing-system : lando
2019-07-23 23:14:35 +00:00
Nicholas Nethercote
e54f4ead1e Bug 1560820 - Remove sGfxLogLevel. r=nical
`sGfxLogLevel` is a global variable whose value mirrors the value of the
"gfx.logging.level" pref in the prefs table, and is kept up to date by a
prefs callback.

But "gfx.logging.level" is a static pref that already has a mirror variable,
accessible via `StaticPrefs::gfx_logging_level()`.

So we can use the latter and remove the former, and this patch does that. The
patch also removes a sentence in a comment that refers to special treatment of
LOG_DEBUG and LOG_DEBUG_PRLOG, because that sentence appears to be referring to
something (another comment?) that is no longer present.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 00:05:23 +00:00
sotaro
4153c76630 Bug 1568136 - Call gfxUtils::RemoveShaderCacheFromDiskIfNecessary() in gfxPlatform::InitWebRenderConfig() r=nical
The RemoveShaderCacheFromDiskIfNecessary() needs to be called after WebRenderConfig initialization.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 12:22:41 +00:00
Martin Stransky
6a432bbfd1 Bug 1565583 - Handle missing mEGLSurface in DEBUG mode to avoid GL error, r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D37873

--HG--
extra : moz-landing-system : lando
2019-07-23 10:59:05 +00:00
Cosmin Sabou
cb6719040b Backed out changeset 1558caa1157d (bug 1565296) for browser chrome failures on fxrui.html.
--HG--
extra : rebase_source : 89be7e7eca926e037b7b837add434b907a7e526a
2019-07-23 12:46:58 +03:00
Nicolas Silva
b3244a52f1 Bug 1566852 - Add a crashtest for bug 1566206. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D38663

--HG--
extra : moz-landing-system : lando
2019-07-22 16:53:13 +00:00
Ciure Andrei
c0756f3389 Backed out 10 changesets (bug 1523638) for causing high frequency Android 7.0 mochitests failures CLOSED TREE
Backed out changeset 644ceb2fe568 (bug 1523638)
Backed out changeset 27647ee7a927 (bug 1523638)
Backed out changeset 96f1ccb95570 (bug 1523638)
Backed out changeset b60a17ea716a (bug 1523638)
Backed out changeset 507e63186c5f (bug 1523638)
Backed out changeset 33255408ca61 (bug 1523638)
Backed out changeset d97b2d223616 (bug 1523638)
Backed out changeset eba2a0514cde (bug 1523638)
Backed out changeset d7065174c5c4 (bug 1523638)
Backed out changeset c21b361e175d (bug 1523638)
2019-07-23 05:13:32 +03:00
thomasmo
1858572459 Bug 1565296 - Implement Command Line Handler for FxR on desktop r=mossop,Gijs
This change adds functionality for the new command line argument, --fxr. This
will be used to create a new, separate browser window for Firefox Reality on
desktop.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 22:50:09 +00:00
Nika Layzell
83236ff0f4 Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37656

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:22 +00:00
Imanol Fernandez
5b497528eb Bug 1561667 - Ensure that SurfaceTexture is attached before calling ReleaseTexImage. r=jgilbert,rbarker
Ensure that SurfaceTexture is attached before calling ReleaseTexImage.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 21:16:11 +00:00
Glenn Watson
0129dacbea Bug 1566901 - Make picture caching more robust to float issues. r=kvark,nical
This patch fixes a couple of picture caching issues that could
cause more invalidations than required. Specifically:

* Ensure the viewport rect is included in child surfaces, so
  that redundant clips are filtered out correctly.
* Use epsilon comparisons where appropriate for tile descriptor
  comparisons, to avoid invalidations due to float inaccuracies.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 20:35:37 +00:00
Glenn Watson
be4cf10770 Bug 1567472 - Fix bug in preserve-3d batching code in WebRender. r=nical
The code to batch preserve-3d elements was incorrectly using the
bounds and visibility mask from the parent element. This could
result in batching bugs in some cases, which were showing up as
draw order issues.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 13:30:55 +00:00
Jonathan Kew
da7e8a06b8 Bug 1566333 - Don't try to send InitializeFamily IPC message from a stylo thread, delegate it to a main-thread runnable instead. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D38369

--HG--
extra : moz-landing-system : lando
2019-07-22 20:08:57 +00:00
sotaro
70e1a770b5 Bug 1567816 - Remove WebRenderTextureHostWrapper r=nical
Differential Revision: https://phabricator.services.mozilla.com/D38837

--HG--
extra : moz-landing-system : lando
2019-07-22 08:03:59 +00:00
Bob Owen
4816f6c338 Bug 1560855: Make recorder aware of SourceSurfaceCanvasRecordings. r=jrmuizel
This is done my adding two new canvas RecordedEvents, which add and remove the
SourceSurfaceCanvasRecording as an alias to the SourceSurfaces that they wrap.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 13:07:59 +00:00
Bob Owen
93ee1fe784 Bug 1548492: Change remote canvas timeouts to check if other side is still open. r=jrmuizel
This also fixes the CanvasParent destruction on channel close and error,
which was broken due to IPDL changes between rebases.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 13:12:07 +00:00
Jamie Nicol
45b50b0912 Bug 1566211 - Handle filesystem errors in webrender program cache. r=bholley
A few potential error cases were being unwrapped, resulting in a very
small number of crashes. These errors can be safely ignored as the
program cache is non-critical, so this change makes us log the error
and continue rather than panicking.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 16:44:05 +00:00
Nicholas Nethercote
7974362afd Bug 1567329 - Append _AtStartup to once static pref getters. r=erahm
Currently it's completely unclear at use sites that the getters for `once`
static prefs return the pref value from startup, rather than the current pref
value. (Bugs have been caused by this.) This commit improves things by changing
the getter name to make it clear that the pref value obtained is from startup.

This required changing things within libpref so it distinguishes between the
"base id" (`foo_bar`) and the "full id" (`foo_bar` or
`foo_bar_DoNotUseDirectly` or `foo_bar_AtStartup` or
`foo_bar_AtStartup_DoNotUseDirectly`; the name used depends on the `mirror` and
`do_not_use_directly` values in the YAML definition.) The "full id" is used in
most places, while the "base id" is used for the `GetPrefName_*` and
`GetPrefDefault_*` functions.

(This is a nice demonstration of the benefits of the YAML file, BTW. Making
this change with the old code would have involved adding an entry to every
single pref in StaticPrefList.h.)

The patch also rejigs the comment at the top of StaticPrefList.yaml, to clarify
some things.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 02:10:14 +00:00
Nicholas Nethercote
77d69c5853 Bug 1567329 - Change _do_not_use_directly suffixes to _DoNotUseDirectly. r=erahm
This better distinguishes it from the pref name part of the getter, which uses
snake case.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 02:09:55 +00:00
Andreea Pavel
c07a5d8ccc Merge mozilla-inbound to mozilla-central a=merge 2019-07-20 12:51:57 +03:00
Mihai Alexandru Michis
e637325c0e Merge mozilla-central to mozilla-inbound. a=merge
--HG--
extra : amend_source : f93ba2cbe8a0ea251a8c95dd565117a109e25a91
2019-07-20 01:23:23 +03:00
Csoregi Natalia
660053d99f Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-07-19 18:31:03 +03:00
Kartikaya Gupta
c4f1f8d59a Bug 1563622 - Miscellaneous useful logging. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D38241

--HG--
extra : moz-landing-system : lando
2019-07-19 16:27:23 +00:00
Kartikaya Gupta
f4bc456b75 Bug 1563622 - Add a fission subtest to exercise the force-dispatch-to-content flag. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D38240

--HG--
extra : moz-landing-system : lando
2019-07-19 16:30:47 +00:00
Kartikaya Gupta
9aba740b9f Bug 1563622 - Allow adding additional properties per fission subtest. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D38239

--HG--
extra : moz-landing-system : lando
2019-07-19 16:27:05 +00:00
Kartikaya Gupta
a03a2dc866 Bug 1563622 - Check the ftdc flag when hit-testing with WR. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D37314

--HG--
extra : moz-landing-system : lando
2019-07-19 16:30:25 +00:00
Csoregi Natalia
b11f89739a Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-07-19 12:50:23 +03:00
Lee Salzman
e4e9e844a0 Bug 1565158 - allow forcing DWrite symmetric rendering mode. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D38569

--HG--
extra : moz-landing-system : lando
2019-07-19 03:56:50 +00:00
Glenn Watson
210d499332 Bug 1566712 - Fix quality issues with picture caching when the transform has a fractional offset. r=kvark
This patch reverts the previous attempted fix for snapping issues
with picture caching, and implements a better solution.

This fixes the main visual issue by ensuring that any fractional
offset in the root transform is accounted for by:

 * Offsetting the tile rects by this amount, so that the content
   origin is a whole device pixel.
 * Invalidating all tiles if the fractional part of the root
   transform changes. This is required since it can affect the
   snapping logic that WR applies. Fortunately, this occurs
   very rarely - Gecko typically has a constant fractional part
   for each page.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 04:29:21 +00:00
Nicolas Silva
0dc4fc1dc2 Bug 1557208 - Leak WebRender's thread pool. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D38368

--HG--
extra : source : 7b53914d63d0767d9236afedafebbb7e1193ec77
2019-07-17 18:29:53 +02:00
Nicolas Silva
a58ba90d31 Bug 1567241 - Update to euclid 0.20. r=kvark, emilio.
Differential Revision: https://phabricator.services.mozilla.com/D38530

--HG--
extra : source : d65512e23a13164f540430ff0c85a1f2a147d8a0
2019-07-18 22:54:16 +02:00
Jonathan Kew
91ee22332b Bug 1513423 - Measure text by always laying out glyphs LTR. r=heycam
Depends on D38298

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

--HG--
extra : moz-landing-system : lando
2019-07-18 04:55:05 +00:00
Mihai Alexandru Michis
eb5c88a05d Merge mozilla-central to mozilla-inbound. a=merge 2019-07-18 18:46:47 +03:00
Kartikaya Gupta
a42a893678 Bug 1523321 - Followup to fix typo. r=me 2019-07-18 11:28:01 -04:00
Nicolas Silva
1f245ea240 Bug 1565569 - Remove the old pathfinder integration. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D37862

--HG--
extra : rebase_source : 93849386dacff73f73481e652e7e5a00f9d019fa
extra : source : 12d70adf7d1c28d0a4f7328c4b4659d4f33db107
2019-07-18 15:07:31 +02:00
Mihai Alexandru Michis
6975564f1a Backed out changeset a2fdbfed0d71 (bug 1566712) for causing Bug 1567089 2019-07-18 15:04:25 +03:00
Cosmin Sabou
da855d65d1 Backed out changeset 2095b5ca1769 (bug 1566956) for causing Bug 1567002. a=backout 2019-07-18 12:54:25 +03:00
sotaro
8f7c96a032 Bug 1567347 - Add option of using DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL without DirectComposition r=nical
Differential Revision: https://phabricator.services.mozilla.com/D38588

--HG--
extra : moz-landing-system : lando
2019-07-19 09:26:03 +00:00
Nicholas Nethercote
70de90ef56 Bug 1564724 - Tweak StaticPrefList.h. r=glandium
Minor things to ease the transition to StaticPrefList.yaml.

- Rename apz_touch_drag_enabled() to the correct apz_drag_touch_enabled(), and
  media_mwf_low_latency_force_disabled() to the correct
  media_wmf_low_latency_force_disabled().

- Change some trailing C-style comments to C++-style comments. This makes life
  easier for the script I wrote to convert StaticPrefList.h to
  StaticPrefList.yaml, which will be used for the next patch.

- Avoid comments on #define lines, because they aren't handled in the YAML
  input.

- Convert a multi-line `#if` condition to a single line, because
  Preprocessor.py doesn't handle multi-line conditions.

- Remove one unnecessary `#undef PREF_VALUE` directive.

- Move intl.charset.detector.iso2022jp.allowed to the correct section, so the
  YAML processing script won't complain.

- Change an `int` pref to `int32_t`, again so the YAML processing script won't
  complain.

- Change OS_OPENBSD to XP_OPENBSD, because the former isn't defined for
  preprocessor.py. (It's also only defined in C/C++ when chromium-config.h is
  included, which isn't always the case.)

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

--HG--
extra : moz-landing-system : lando
2019-07-17 22:36:35 +00:00
David Walsh
5b1625c2cb Bug 1561723 - Add debugger to whitelist for import-pr usage r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D36082

--HG--
rename : gfx/thebes/mach_commands.py => tools/vcs/mach_commands.py
extra : moz-landing-system : lando
2019-07-19 14:18:56 +00:00
Dzmitry Malyshau
54f5b4cbf0 Bug 1567173 - WR Rawtest comparisons r=gw
Differential Revision: https://phabricator.services.mozilla.com/D38499

--HG--
extra : moz-landing-system : lando
2019-07-18 20:30:00 +00:00
Lee Salzman
8002be2a0d Bug 1563133 - limit GlyphBuffer capacity. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D38214

--HG--
extra : moz-landing-system : lando
2019-07-18 21:44:57 +00:00
sotaro
d596757662 Bug 1565255 - Backout Bug 1552734 r=nical
Since Bug 1531898 fix, fix of Bug 1552734 is not necessary anymore. The backout reduces memory usage.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 14:10:47 +00:00
Glenn Watson
0bb61d0846 Bug 1566712 - Fix quality issues with picture caching when the transform has a fractional offset. r=kvark
This patch reverts the previous attempted fix for snapping issues
with picture caching, and implements a better solution.

This fixes the main visual issue by ensuring that any fractional
offset in the root transform is accounted for by:

 * Offsetting the tile rects by this amount, so that the content
   origin is a whole device pixel.
 * Invalidating all tiles if the fractional part of the root
   transform changes. This is required since it can affect the
   snapping logic that WR applies. Fortunately, this occurs
   very rarely - Gecko typically has a constant fractional part
   for each page.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 21:09:01 +00:00
Markus Stange
daf06d791b Bug 1565668 - Add back-pressure to WebRender+OGL by implementing RenderCompositorOGL::WaitForGPU(). r=sotaro
Without CoreAnimation, back-pressure was applied by SwapBuffers: On a
double-buffered NSOpenGLContext which is bound to an NSView, [context flushBuffer]
waits for the previous frame to be finished. With CoreAnimation, the context
is no longer bound to an NSView, and SwapBuffers acts as a regular glFlush.
glFlush on its own does not prevent overproduction.

If we submit GPU work at a faster rate than the GPU can handle, we end up
delaying the window server's GPU work. This can cause the window server to skip
frames. So even if Gecko can produce frames at 60FPS, the window server might
only present those frames at 30FPS, skipping every second frame.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 20:46:39 +00:00
Markus Stange
4cb29aef1d Bug 1565668 - Add back-pressure to CompositorOGL. r=sotaro
Without CoreAnimation, back-pressure was applied by SwapBuffers: On a
double-buffered NSOpenGLContext which is bound to an NSView, [context flushBuffer]
waits for the previous frame to be finished. With CoreAnimation, the context
is no longer bound to an NSView, and SwapBuffers acts as a regular glFlush.
glFlush on its own does not prevent overproduction.

If we submit GPU work at a faster rate than the GPU can handle, we end up
delaying the window server's GPU work. This can cause the window server to skip
frames. So even if Gecko can produce frames at 60FPS, the window server might
only present those frames at 30FPS, skipping every second frame.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 20:46:25 +00:00
Markus Stange
503bb734ad Bug 1565668 - Read screenshots from the correct framebuffer when the default framebuffer is overridden. r=mattwoodrow
RenderTargetOGL::Bind on mWindowRenderTarget needs to bind the default framebuffer, not framebuffer 0.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 20:46:02 +00:00
Markus Stange
51a3779fea Bug 1565668 - Make WebRender draw into the default framebuffer. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D26624

--HG--
extra : moz-landing-system : lando
2019-07-17 20:45:54 +00:00
Markus Stange
e17435e83e Bug 1565668 - Create a depth buffer for the default framebuffer of a GLContext that is used with WebRender. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D26623

--HG--
extra : moz-landing-system : lando
2019-07-17 20:45:53 +00:00
Markus Stange
b105e4af50 Bug 1565668 - Add support for using an IOSurface as the default framebuffer for a GLContextCGL. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D26404

--HG--
extra : moz-landing-system : lando
2019-07-17 20:44:44 +00:00
Matt Woodrow
e6b8f44989 Bug 1566956 - Wait for a response from the VideoBridge to ensure textures are available before telling the content process about them. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D37781

--HG--
extra : moz-landing-system : lando
2019-07-17 20:17:45 +00:00
Lee Salzman
ee4cc890cb Bug 1560520 - limit the size of WebRender's glyph cache. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D37982

--HG--
extra : moz-landing-system : lando
2019-07-17 17:52:44 +00:00
Sebastian Hengst
8333f6cdcc Backed out changeset b2f7f31d6781 (bug 1560520) for wrench bustage. CLOSED TREE
--HG--
extra : amend_source : 03592799955175a7930d8f4ab40ac27768395923
2019-07-17 19:42:25 +02:00
Lee Salzman
3ff0a02c54 Bug 1560520 - limit the size of WebRender's glyph cache. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D37982

--HG--
extra : moz-landing-system : lando
2019-07-17 17:09:06 +00:00
Coroiu Cristina
ee2f303e53 Backed out changeset ca1ff794e472 (bug 1560520) for build bustage and wrench on a CLOSED TREE 2019-07-17 19:58:09 +03:00
Lee Salzman
22066b4763 Bug 1560520 - limit the size of WebRender's glyph cache. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D37982

--HG--
extra : moz-landing-system : lando
2019-07-17 15:44:38 +00:00
Lee Salzman
fcb5ce241f Bug 1566449 - Don't reverse glyphs in GlyphBuffer for RTL. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D38190

--HG--
extra : moz-landing-system : lando
2019-07-17 16:20:25 +00:00
A
93b676940c Bug 1566481 - Added version widget r=nical
[import_pr] From https://github.com/servo/webrender/pull/3707

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

--HG--
extra : moz-landing-system : lando
2019-07-17 14:08:51 +00:00
Nicolas Silva
bd39067d69 Bug 1566206 - Avoid overflow when limitting the number of rasterized blobs. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D38292

--HG--
extra : moz-landing-system : lando
2019-07-17 14:35:01 +00:00
Kartikaya Gupta
fb5a3200bf Bug 1565670 - Wait for a couple of rAF calls before declaring OOPIFs ready for testing. r=botond
This should ensure that the OOPIF gets painted and attached to the
compositor layer tree before the main part of the test starts. We might
be able to do something more sophisticated like waitForAllPaints or
flushApzRepaints, but it's not trivial because this page loads with an
example.com domain and can't easily access SpecialPowers.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 12:41:16 +00:00
sotaro
fb8a03fa7c Bug 1564646 - Don't trigger composites on out-of-viewport external image updates r=gw
Differential Revision: https://phabricator.services.mozilla.com/D37512

--HG--
extra : moz-landing-system : lando
2019-07-17 04:12:00 +00:00
Daniel Varga
68d2d44e0e Backed out changeset d0c32e17c69f (bug 1566449) for wpt failure at /css/css-text/shaping/shaping_lig-000.html. On a CLOSED TREE 2019-07-17 13:48:59 +03:00
Lee Salzman
1492fa84f0 Bug 1566449 - Don't reverse glyphs in GlyphBuffer for RTL. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D38190

--HG--
extra : moz-landing-system : lando
2019-07-17 07:14:07 +00:00
Bogdan Tara
848c0f8b71 Backed out changeset 0948829b33b0 (bug 1566449) for boundary-shaping-010.html failures CLOSED TREE 2019-07-17 05:16:29 +03:00
Jamie Nicol
7bd2ec1585 Bug 1564185 - Rasterize glyphs as large as possible to avoid blurriness at high zoom levels. r=lsalzman
When rendering text in webrender we rasterize glyphs either in local
space at a chosen raster scale, or in device space taking in to
account to text's transform.

We are not able to rasterize glyphs larger than a certain size,
however. So if the device-space font size exceeds this limit, then
currently we force the glyph to be rasterized in local space, at the
untransformed font size. This must then be scaled by the shader when
rendering text, and at high zoom levels this will result in blurry
text.

This change makes it so that rather than rasterizing at the
untransformed font size we rasterize at the font size limit. This will
mean the glyphs are rasterized at a larger size and will therefore
require less scaling, meaning they will appear less blurry.

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

--HG--
extra : moz-landing-system : lando
2019-07-16 14:09:30 +00:00
Bogdan Tara
ca45889546 Backed out 9 changesets (bug 1523638) for browser_contextmenu.js failures CLOSED TREE
Backed out changeset 0a584a07b696 (bug 1523638)
Backed out changeset 8c5af2289900 (bug 1523638)
Backed out changeset 40ed1bd64b09 (bug 1523638)
Backed out changeset 9a99a0391979 (bug 1523638)
Backed out changeset 07fb4748b91a (bug 1523638)
Backed out changeset 49047c3ebae9 (bug 1523638)
Backed out changeset d606d072126c (bug 1523638)
Backed out changeset 76dc1937fc77 (bug 1523638)
Backed out changeset c784c14b5d5d (bug 1523638)
2019-07-16 23:40:47 +03:00
Lee Salzman
81469e4765 Bug 1566449 - Don't reverse glyphs in GlyphBuffer for RTL. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D38190

--HG--
extra : moz-landing-system : lando
2019-07-16 19:23:40 +00:00
Bogdan Tara
05d1beaf67 Backed out changeset f69f242281a4 (bug 1566449) for regtests failing because of reftest.list CLOSED TREE 2019-07-16 22:06:42 +03:00
Nika Layzell
89d26ca7eb Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37656

--HG--
extra : moz-landing-system : lando
2019-07-16 18:47:56 +00:00
Kearwood "Kip" Gilbert
d016bb0e3a Bug 1566285 - VRManager::PullState will no longer block when no wait condition is passed and enumeration has not yet completed. r=daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D38137

--HG--
extra : moz-landing-system : lando
2019-07-16 00:54:30 +00:00
Lee Salzman
8e0e393dc3 Bug 1566528 - clamp the amount of synthetic bold extra strikes. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D38212

--HG--
extra : moz-landing-system : lando
2019-07-16 17:59:35 +00:00
Lee Salzman
e979d8d858 Bug 1566449 - Don't reverse glyphs in GlyphBuffer for RTL. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D38190

--HG--
extra : moz-landing-system : lando
2019-07-16 17:24:10 +00:00
Kartikaya Gupta
2d73759624 Bug 1523321 - Run the wrupdater on m-c pushes that touch gfx/wr. r=tomprince,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33548

--HG--
extra : moz-landing-system : lando
2019-07-16 15:38:39 +00:00
Kartikaya Gupta
656a70fb90 Bug 1523321 - Add the wrupdater code to sync m-c's copy of WR to github. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33547

--HG--
extra : moz-landing-system : lando
2019-07-16 15:36:57 +00:00
Thomas Nguyen
fc05893051 Bug 1546334 - Use referrerInfo in style system. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D36478

--HG--
extra : moz-landing-system : lando
2019-07-16 11:43:56 +00:00
Kartikaya Gupta
6f390ed77d Bug 1564456 - Turn on WR for Nvidia small-screen Windows 10 battery populations on Nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D37899

--HG--
extra : moz-landing-system : lando
2019-07-16 15:11:03 +00:00
Narcis Beleuzu
ab956a715f Backed out 2 changesets (bug 1523321) for webrender bustages. CLOSED TREE
Backed out changeset d86e7c8f1e14 (bug 1523321)
Backed out changeset 18414da977c3 (bug 1523321)
2019-07-16 18:23:45 +03:00
Kartikaya Gupta
b3bebb6eca Bug 1523321 - Run the wrupdater on m-c pushes that touch gfx/wr. r=tomprince,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33548

--HG--
extra : moz-landing-system : lando
2019-07-16 14:09:47 +00:00
Kartikaya Gupta
3a1a9aedd8 Bug 1523321 - Add the wrupdater code to sync m-c's copy of WR to github. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33547

--HG--
extra : moz-landing-system : lando
2019-07-16 14:06:50 +00:00
Lee Salzman
ac4f9f002c Bug 1553228 - Don't free result of FcPatternGetString. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D38157

--HG--
extra : moz-landing-system : lando
2019-07-16 13:52:19 +00:00
Brindusan Cristian
3de8b088e1 Backed out 2 changesets (bug 1523321) for breaking Gecko Decision Task. CLOSED TREE
Backed out changeset c032bed595dc (bug 1523321)
Backed out changeset 0a4f53b896b1 (bug 1523321)
2019-07-16 17:00:24 +03:00
Kartikaya Gupta
c6cc78e85f Bug 1523321 - Run the wrupdater on m-c pushes that touch gfx/wr. r=tomprince,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33548

--HG--
extra : moz-landing-system : lando
2019-07-16 13:49:54 +00:00
Kartikaya Gupta
4be1661f49 Bug 1523321 - Add the wrupdater code to sync m-c's copy of WR to github. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33547

--HG--
extra : moz-landing-system : lando
2019-07-15 21:31:46 +00:00
Emilio Cobos Álvarez
6e0169a2cf Bug 1566150 - Simplify the border may_need_repetition code. r=nical
Just spotted this while going through the regressing patch in bug 1565910.

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

--HG--
extra : moz-landing-system : lando
2019-07-15 22:41:39 +00:00
Sylvestre Ledru
e16ed69f90 Bug 1519636 - Fix some conflicts r=bustage . CLOSED TREE
--HG--
extra : histedit_source : a2071905aa294d25be82b0c29e27fbb8a2e4ccc6
2019-07-16 10:04:55 +02:00
Sylvestre Ledru
ddf2513ea7 Bug 1519636 - Ride along: Move to the unix CR type r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-07-16 07:34:18 +00:00
Sylvestre Ledru
2ff79fb0d5 Bug 1519636 - Ride along: remove trailing whitespaces r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-07-16 07:34:03 +00:00
Sylvestre Ledru
e77bfc655d Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-07-16 07:33:44 +00:00
sotaro
f2c65ceeb7 Bug 1565785 - Skip WR rendering until window becomes ready to draw on Wayland r=nical
Differential Revision: https://phabricator.services.mozilla.com/D37977

--HG--
extra : moz-landing-system : lando
2019-07-16 01:28:32 +00:00
Mihai Alexandru Michis
a2b90fe037 Backed out changeset b1f8f86bbda8 (bug 1565785) for causing bustages in nsWindow.h CLOSED TREE 2019-07-16 03:12:42 +03:00
sotaro
45b727fe13 Bug 1565785 - Skip WR rendering until window becomes ready to draw on Wayland r=nical
Differential Revision: https://phabricator.services.mozilla.com/D37977

--HG--
extra : moz-landing-system : lando
2019-07-15 14:33:04 +00:00
Nicolas Silva
1e2404a275 Bug 1565910 - Preserve batch features when merging batches. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D38080

--HG--
extra : moz-landing-system : lando
2019-07-15 21:46:22 +00:00
Kartikaya Gupta
33f7e1f971 Bug 1455718 - Use is instead of ok so we get the actual value of scrollY on failure. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D38100

--HG--
extra : moz-landing-system : lando
2019-07-15 17:56:53 +00:00
Jeff Muizelaar
81db073a18 Bug 1565904. Move the blob metadata from image space to an absolute space. r=nical
This is a follow up to bug 1564655. It removes the offset from ToDeviceSpace
and thus moves item rects into absolute space which is now the same coordinate
space as the recordings are in.

We also adjust item bounds for fallback blobs.

Some additional changes that need happen to:

1. In Moz2DImageRenderer we can reunify the origin because the recording and
the recording metadata return to using the same coordinate space.

2. The calls to PushLayer can return to using the item bounds
which are now in the same coordinate space.

3. This dirty rect which remains in images space is adjusted during merging.

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

--HG--
extra : moz-landing-system : lando
2019-07-15 15:24:54 +00:00
Andreea Pavel
6665820f48 Backed out 3 changesets (bug 1547351) for assertion failures on a CLOSED TREE
Backed out changeset 77ef8e8bc669 (bug 1547351)
Backed out changeset b594f8e47025 (bug 1547351)
Backed out changeset 6e5d426cd313 (bug 1547351)
2019-07-15 17:47:40 +03:00
Alexis Beingessner
81f39dd2b0 Bug 1547351 - Automatically set content process render root r=kats
This implements the idea of automatically setting a content proc's
render root based on the render root enclosing the iframe that
points to it. There was a bit of cleanup in here that was a bit
tricky to extract from the core patch revolving around how we
use the Api(...) helper. This was to avoid the situation where
we use the Api(...) helper before our render root is initialized,
when we don't actually have to. I.e., when we just want the root
WebRenderAPI in all cases.

An alternative to this approach could be to fully built out the
WebRender transactions and just queue those up to be sent. However,
transaction building has various side effects which are committed
before the transaction is actually sent, so we would have to build
out some scheme for deferring those as well. This seemed simpler.

Patch primarily written by :dthayer

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

--HG--
extra : moz-landing-system : lando
2019-07-15 13:18:44 +00:00