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

36916 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara 245fef246f Backed out changeset 2c50d92db013 (bug 1631687) for reftests failures on default-subregion.svg and mix-blend-mode-and-filter.svg CLOSED TREE 2020-04-22 00:49:49 +03:00
Glenn Watson ff1ce2738f Bug 1631687 - Remove per-primitive surface inflation r=kvark
It's no longer required, since we inflate the picture and
surface rects directly.

Differential Revision: https://phabricator.services.mozilla.com/D71712
2020-04-21 12:40:48 +00:00
Jonathan Kew 659072f6d9 Bug 1631419 - Don't try to pass a dash array of > 16 elements to ExtCreatePen. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D71784
2020-04-21 17:30:53 +00:00
Lee Salzman a8641e2018 Bug 1622826 - stop gfxFontInfoLoader on xpcom-shutdown. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71684
2020-04-21 12:07:58 +00:00
Daosheng Mu 2b669b7fa8 Bug 1631635 - Implement IsPositionEmulated for XRInputSource. r=kip,imanol
Differential Revision: https://phabricator.services.mozilla.com/D71678
2020-04-21 11:17:34 +00:00
Glenn Watson 92bbbc45cb Bug 1631678 - Instrument some more parts of WR with profiler scopes r=nical
Differential Revision: https://phabricator.services.mozilla.com/D71703
2020-04-21 11:10:07 +00:00
Jamie Nicol 8f5b537943 Bug 1604615 - Adjust reftest expectations. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D70034
2020-04-21 10:32:23 +00:00
Jamie Nicol d9a1b3bbde Bug 1604615 - Use optimized shader source in webrender. r=jrmuizel
Add a gecko pref "gfx.webrender.use-optimized-shaders". If enabled,
then when attempting to compile a webrender shader first look for the
optimized source. If the optimized source is not present, emit a
warning and fall back to the unoptimized source.

Use the optimized source by default in wrench, and add the flag
"--use-unoptimized-shaders" to override this.

Differential Revision: https://phabricator.services.mozilla.com/D70033
2020-04-21 10:32:15 +00:00
Jamie Nicol f548e9a284 Bug 1604615 - Optimize webrender shaders at build time. r=gw
Move more shader parsing code to webrender_build, so it can be used
both at runtime and build time.

At build time optimize a set of shaders and feature flag combinations,
using glslopt. Some features are skipped because they are not
supported by the gl version, because the optimizer does not support
them, or because webrender does not need them currently.

Use build-parallel to ensure the optimization is performed in parallel
using the make jobserver. Write the optimized shader source to a
hashmap to be used at runtime, in addition to the unoptimized source.

Differential Revision: https://phabricator.services.mozilla.com/D70032
2020-04-21 10:32:03 +00:00
Jamie Nicol b3f0dc3a6a Bug 1604615 - Add glslopt and build-parallel as build dependencies of webrender. r=jrmuizel
Update Cargo.lock files and vendor sources in to tree.

Differential Revision: https://phabricator.services.mozilla.com/D70030
2020-04-21 10:31:46 +00:00
Martin Stransky e3d81b0f91 Bug 1474281 - Make EGL-provider support OGL. r=jgilbert
In the past EGL only supported GLES, not OGL. This has not been true
for a very long time, so lets support OGL context creation in the EGL
backend.

This allows e.g. the Wayland backend to use OGL contexts, which brings
it on par with the X11/GLX backend.

Differential Revision: https://phabricator.services.mozilla.com/D48096
2020-04-21 05:43:35 +00:00
Andrew Osmond 84731cd82b Bug 1561367 - Implement initial support for capturing multiple frames. r=kvark
This patch adds support for the capture and replaying of multiple frames
during normal operation of Firefox. Ctrl + Shift + 6 starts capturing
and pressing it again stops capturing. It attempts to capture the minimum
amount of data required to replay a sequence for debugging purposes.

There are several known limitations, particularly surrounding replaying
when transitioning between snapshots of the resource cache. It will
reload the entire document set, causing greater delay between frames.
Should you advance too quickly, it may also panic due to a race between
the current frame still being generated, and the new frame resetting the
resource cache state. These should be resolved with time, and the
current implementation should be workable to at least capture/debug most
animated issues with some effort.

It also adds support for loading dynamic properties which is necessary
for accurate replaying of a captured frame (sequence or individual)
which are in the middle of an animation.

Differential Revision: https://phabricator.services.mozilla.com/D59755
2020-04-20 16:03:53 +00:00
Dzmitry Malyshau 02f2325796 Bug 1630072 - WebGPU CanvasContext invalidation r=jgilbert,aosmond
This change enables light tracking of the commands and submissions
that affect a CanvasContext. Upon reaching the GPUQueue, they send
a signal for the parent HTML Element to be invalidated.
We are also invalidating the HTML Element and requesting a new
frame to be built on the creation of the swapchain.

Differential Revision: https://phabricator.services.mozilla.com/D71194
2020-04-20 23:50:04 +00:00
Simon Sapin 67c676d9a7 Bug 1631579 - Remove `webrender::RendererKind` r=gfx-reviewers,kvark
It appears to be unused since 2017 with https://github.com/servo/webrender/pull/1587

Differential Revision: https://phabricator.services.mozilla.com/D71647
2020-04-20 20:32:27 +00:00
sotaro 126d45bceb Bug 1631355 - Remove non virtual surface implementation from DCLayerTree r=gw
Virtual surface implementation is stable now. Removing non virtual surface implementation could simplify DCLayerTree.

Differential Revision: https://phabricator.services.mozilla.com/D71506
2020-04-20 20:01:42 +00:00
Jim Blandy 9e873c150c Bug 1631168: Address GCC warnings in SWGL. r=lsalzman
Add `UNUSED` marker to `gl.cc` function arguments.

Add GCC pragmas to ignore `-Wunused-parameter` and `-Wunused-but-set-variable`
warnings in the generated shaders. Since these are generated from GLSL, it is
hard to avoid the warnings by changing the code itself.

Avoid uninitialized values in `vec4::operator[]`.

Differential Revision: https://phabricator.services.mozilla.com/D71445
2020-04-20 20:54:55 +00:00
Jim Blandy 2cf9bb66be Bug 1631168: Address GCC warnings in gfx/wr/swgl/src/vector_type.h. r=lsalzman
Provide an explicit copy constructor for the GCC `VectorType` polyfill. Since
`VectorType` has an assignment operator, GCC is uncomfortable faking a copy
constructor, so we have to provide one.

Make `VectorType` default constructor actually initialize the elements. When we
have a GLSL `if` whose condition varies from fragment to fragment, and whose
alternatives either assign to a variable or discard the fragment, we compile the
assignment to an `if_then_else` call that preserves the old elements for
fragments not taking the assignment's path. But if this is the initializing
assignment, the 'old value' operand to that `if_then_else` is uninitialized. We
could make the translator smarter about this, and have it not use predicated
assignment in such cases, but this fix is fine for now.

Make `VectorType::wrap` take its argument by const reference, to avoid weird ABI
'notes'.

Differential Revision: https://phabricator.services.mozilla.com/D71444
2020-04-20 19:41:42 +00:00
Jim Blandy f2b1395510 Bug 1631168: Address wrench build warnings with 'software' feature enabled. r=lsalzman
When the `software` feature is enabled, a clause gets added to two `match`
statements, causing Rust to complain that another `match` clause is unreachable.
This patch makes the other match clause conditional on the absence of the
`software` feature.

Differential Revision: https://phabricator.services.mozilla.com/D71443
2020-04-18 10:19:57 +00:00
Jim Blandy 6a36b46f0d Bug 1631028: Add usage comments to gfx/wr/wrench/script/headless.py. DONTBUILD r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D71367
2020-04-20 13:45:18 +00:00
Lee Salzman c0c6c9455a Bug 1631156 - make glsl-to-cxx generate proper bit patterns for bools. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D71436
2020-04-20 15:45:39 +00:00
Nicolas Silva 38fe2ecf49 Bug 1631293 - Clear the blob image dirty rect after preparing blob rsaterization requests. r=jrmuizel
This line was accidentally removed here 100387bece (l5.486)

Differential Revision: https://phabricator.services.mozilla.com/D71561
2020-04-20 14:00:51 +00:00
Stefan Hindli 84357fecdc Backed out changeset 419be9960357 (bug 1561367) for causing wrench bustages CLOSED TREE 2020-04-20 17:22:53 +03:00
Andrew Osmond 69a83fc13a Bug 1561367 - Implement initial support for capturing multiple frames. r=kvark
This patch adds support for the capture and replaying of multiple frames
during normal operation of Firefox. Ctrl + Shift + 6 starts capturing
and pressing it again stops capturing. It attempts to capture the minimum
amount of data required to replay a sequence for debugging purposes.

There are several known limitations, particularly surrounding replaying
when transitioning between snapshots of the resource cache. It will
reload the entire document set, causing greater delay between frames.
Should you advance too quickly, it may also panic due to a race between
the current frame still being generated, and the new frame resetting the
resource cache state. These should be resolved with time, and the
current implementation should be workable to at least capture/debug most
animated issues with some effort.

It also adds support for loading dynamic properties which is necessary
for accurate replaying of a captured frame (sequence or individual)
which are in the middle of an animation.

Differential Revision: https://phabricator.services.mozilla.com/D59755
2020-04-20 12:53:03 +00:00
Arash Fotouhi 498ff8cbea Bug 1629426 - Remove redundant return statement. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D71495
2020-04-20 03:00:12 +00:00
Jeff Muizelaar 5b6964a339 Bug 1631312. Move the check for UseWebRenderDCompWin(). r=sotaro
Bug 1630629 moved the check UseWebRenderDCompWin before it had been
initialized. This moves it below so that DirectComposition isn't
disabled everywhere.

Differential Revision: https://phabricator.services.mozilla.com/D71498
2020-04-20 06:11:52 +00:00
sotaro c64e7f13d2 Bug 1611372 - Invalidate WebRender frame on nsWindow::OnExposeEvent() r=nical
Differential Revision: https://phabricator.services.mozilla.com/D71139
2020-04-17 17:27:37 +00:00
Lee Salzman cb7f18181e Bug 1627689 - check for valid surfaces in DrawTargetCairo::DrawSurfaceWithShadow. r=jrmuizel
This just duplicates some error checking we already do in DrawSurface to this case.

Differential Revision: https://phabricator.services.mozilla.com/D71209
2020-04-17 22:17:18 +00:00
Lee Salzman bff5086efb Bug 1631070 - silence unused parameter warnings in SWGL. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D71393
2020-04-17 20:13:01 +00:00
Bert Peers 83c81ac68c Bug 1630389 - Enable WaitForVBlank by default on Windows 10 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D71097
2020-04-17 17:30:36 +00:00
Lee Salzman 808ca7fb37 Bug 1630142 - implement linear filtering for SWGL glBlitFramebuffer. r=jimb
This provides an implementation of linear filtering via the linear_blit
routine. That required factoring out textureLinear helper functions and
reusing them to do the actual filtering of the source texture.

Some collateral cleanups involved changing IntRect to use a start/end
format instead of origin/size, cleaner ways of getting offset texture
sampler pointers, and fixing clamping of linear filter coordinates.

Differential Revision: https://phabricator.services.mozilla.com/D70968
2020-04-17 16:51:27 +00:00
Andrew Osmond bb9d882e66 Bug 1627739 - Do not delay FrameTexturesUpdated notifications for empty updates. r=kvark
The FrameTexturesUpdated event is intended to be issued when any
necessary texture cache updates have been completed for the current
frame. Originally we would simply check if the pending_texture_updates
vector in Renderer is empty. However the updates themselves could be
nops, and not trigger a timely frame render to occur, causing the
notifications to be delayed indefinitely. Now we track if there are
actually any pending specifically texture cache updates and only defer
the notification if true.

A consequence of deferring the notification indefinitely was revealed
when animating images just outside the current view. We would not
release the buffers for recycling even though we had no reason to hold
onto them. This could cause the image decoder to allocate new buffers
while the old buffers would not get released. It was not a true memory
leak because as soon as a frame is rendered, it would release all of the
old buffers, but it could easily cause a out of memory crash to occur if
the user was not interacting with the browser while in this state.

Differential Revision: https://phabricator.services.mozilla.com/D70770
2020-04-14 16:53:45 +00:00
Jeff Muizelaar ac7ae315e5 Bug 1630629. Block WebRender on Intel if no DComp. r=aosmond
This moves the DirectComposition configuration code before
the WebRender configuration code so that we can depend
on the results to decide whether to user WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D71213
2020-04-17 01:43:05 +00:00
Coroiu Cristina 43be71277d Backed out 2 changesets (bug 1625500) for multiple failures on a CLOSED TREE
Backed out changeset 7d80233bcfcd (bug 1625500)
Backed out changeset 0a35b13dfcde (bug 1625500)
2020-04-17 15:36:05 +03:00
Gijs Kruitbosch cc39a339a0 Bug 1625500 - fix use of .then(x, x) in the tree, r=marionette-reviewers,Standard8,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D68614
2020-04-17 11:41:49 +00:00
Bob Owen f03c78362b Bug 1630304: Remove invalid assertion in CanvasThreadHolder::StaticRelease. r=mattwoodrow
TaskQueues hold onto their nsIEventTarget (in this case mCanvasWorkers) until
after they resolve their shutdown promise, which is what causes
CanvasThreadHolder::StaticRelease to be submitted to the compositor thread.
So this assertion can't be guaranteed.

Differential Revision: https://phabricator.services.mozilla.com/D71176
2020-04-17 04:56:35 +00:00
Dzmitry Malyshau 1240a7a135 Bug 1629776 - Handle WR case of an empty inner transformed rectangle r=gw
Differential Revision: https://phabricator.services.mozilla.com/D71229
2020-04-16 23:20:48 +00:00
Andreea Pavel 343b5d0156 Backed out changeset 923c7f562468 (bug 1630629) because phabricator version is not the same as one on try on a CLOSED TREE 2020-04-17 02:39:26 +03:00
Jeff Muizelaar 9bc49efb81 Bug 1630629. Block WebRender on Intel if no DComp. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D71213
2020-04-16 19:45:57 +00:00
Daosheng Mu dd93d56fc0 Bug 1630739 - Invert Quest and Focus Plus controller rotation matrix for remapping. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D71215
2020-04-16 21:36:05 +00:00
Imanol Fernandez a33b99b121 Bug 1630512 - Initialize VRDisplayClient api mode to WebVR r=kip,daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D71178
2020-04-16 21:38:57 +00:00
Nicolas Silva ea0d91e150 Bug 1587713 - Remove the late blob rasterization code. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D49186
2020-04-16 20:13:24 +00:00
Nicolas Silva a7bf827f4d Bug 1630212 - Remove non-tiled blob images. r=jrmuizel
Gecko always tiles blobs. The other code path is untested and a tad complicated, let's remove it.

Differential Revision: https://phabricator.services.mozilla.com/D71021
2020-04-16 20:13:24 +00:00
Jeff Muizelaar 50c4715de4 Bug 1630371 - Disable DirectComposition when we have a scaled resolution and no hardware stretching. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D71089
2020-04-16 14:54:17 +00:00
Bob Owen 261ddce4a8 Bug 1630521: Allow CanvasDrawEventRecorder to control surface destruction recording, so it can be done on the main thread. r=jrmuizel
The recording by CanvasDrawEventRecorder into the ring buffer is not thread-safe
and so must all occur on the same (main) thread.
In addition to that it sometimes needs to send IPC messages via the PCanvas
protocol, which also can only be done on the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D71174
2020-04-16 17:13:16 +00:00
Miko Mynttinen 0075ba9551 Bug 1619367 - Fix mask/filter opacity optimizations with WebRender r=jrmuizel
This patch fixes two opacity/mask optimizations when WebRender is in use:
- The first optimization defers opacity handling and applies it during painting of nsDisplayMasksAndClipPaths if it is the only item inside nsDisplayOpacity. This was broken because WebRenderCommandBuilder did not invalidate the mask image when this decision changed.
- The second optimization applies opacity directly to stacking context in |nsDisplayMasksAndClipPaths::CreateWebRenderCommands()| with non-polygonal clip-paths. This was relying on the above optimization incorrectly triggering, which flattened away the opacity container. However, if the nsDisplayOpacity was active or contained more than one item, the opacity could be applied twice.

Differential Revision: https://phabricator.services.mozilla.com/D68995
2020-04-16 15:39:33 +00:00
Lee Salzman cef6b8c8e7 Bug 1630481 - make Wrench force external BGRA8 images to known format to avoid needing swizzles. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D71134
2020-04-16 15:13:03 +00:00
Brindusan Cristian c6bf1adfa6 Backed out changeset dfb973b3e25c (bug 1619367) for reftest failures at mask-opacity-invalidation-1.html. CLOSED TREE 2020-04-16 18:21:01 +03:00
Miko Mynttinen addbfb5585 Bug 1619367 - Fix mask/filter opacity optimizations with WebRender r=jrmuizel
This patch fixes two opacity/mask optimizations when WebRender is in use:
- The first optimization defers opacity handling and applies it during painting of nsDisplayMasksAndClipPaths if it is the only item inside nsDisplayOpacity. This was broken because WebRenderCommandBuilder did not invalidate the mask image when this decision changed.
- The second optimization applies opacity directly to stacking context in |nsDisplayMasksAndClipPaths::CreateWebRenderCommands()| with non-polygonal clip-paths. This was relying on the above optimization incorrectly triggering, which flattened away the opacity container. However, if the nsDisplayOpacity was active or contained more than one item, the opacity could be applied twice.

Differential Revision: https://phabricator.services.mozilla.com/D68995
2020-04-16 14:08:37 +00:00
Kartikaya Gupta 6172dc3568 Bug 1627326 - Provide more meaningful values for the stuck sides. r=botond,hiro
As described in bug 1630274, this has some unfixed cases, but it should
give good results in most real-world cases, where the magnitude of transient
async scrolling is relatively low.

Depends on D71083

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

--HG--
extra : moz-landing-system : lando
2020-04-16 03:21:06 +00:00
Kartikaya Gupta 8cb7d4e606 Bug 1627326 - Add some plumbing to provide the "stuck sides" flags. r=botond,hiro
This is just plumbing, no functional change. The current usage of eBottom is
parameterized and the eBottom hard-coded value is pushed out to the callers.

Depends on D70912

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

--HG--
extra : moz-landing-system : lando
2020-04-16 03:21:24 +00:00
Bob Owen 6254206e21 Bug 1630223: Replace remaining occurrences of Unsound_IsClosed with !CanSend in CanvasTranslator. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D71039

--HG--
extra : moz-landing-system : lando
2020-04-15 19:57:38 +00:00
Glenn Watson f276147e7f Bug 1630480 - Update gleam GL bindings to 0.11.0 r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D71133

--HG--
extra : moz-landing-system : lando
2020-04-16 02:13:31 +00:00
Arthur Iakab 3928665a70 Backed out changeset af41b9549456 (bug 1630389) for causing mass Windows failures.
CLOSED TREE
2020-04-16 03:36:36 +03:00
Imanol Fernandez e3dd20241c Bug 1630290 - Update VRManager VRLayer instead of recreating it. r=daoshengmu,kip
Differential Revision: https://phabricator.services.mozilla.com/D71064

--HG--
extra : moz-landing-system : lando
2020-04-15 21:59:44 +00:00
Bert Peers 7c32464a6c Bug 1630389 - Enable WaitForVBlank by default on Windows 10 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D71097

--HG--
extra : moz-landing-system : lando
2020-04-15 22:00:17 +00:00
Daosheng Mu eaec8a64c7 Bug 1630159 - Revert Oculus Quest and Focus Plus controller matrix to match WebVR. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D70979

--HG--
extra : moz-landing-system : lando
2020-04-15 21:56:50 +00:00
Kartikaya Gupta 731e0c0820 Bug 1627362 - Improve logging for fixed/sticky data on the WR codepath. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D70912

--HG--
extra : moz-landing-system : lando
2020-04-15 20:01:05 +00:00
Kartikaya Gupta 96ccdc9b83 Bug 1627362 - Fix WR codepath. r=botond
This patch just ensures the changes in the previous patches get applied
to the WR codepath, and is sufficient to make all the remaining sticky
tests pass on Android+WR.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 21:05:26 +00:00
Kartikaya Gupta bbdeafdcdb Bug 1627362 - Properly support items stuck to both bottom and top. r=botond
The semantics of sticky items are somewhat different from the semantics of
fixed items. For fixed items, if an item is fixed to eTop or eBottom or
eTopBottom, it is *always* fixed to those sides. For sticky items, however,
the sides actively stuck to are dependent on the scroll position. So we need
a mechanism to dynamically figure out which sides are stuck, and use those
sides when computing the fixed margins to apply. This patch implements that
by modifying the IsStuckToRootContentAtBottom method into a
SidesStuckToRootContent method.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 21:05:12 +00:00
Kartikaya Gupta 952f78e233 Bug 1627362 - Rewrite IsStuckAtBottom to be simpler and clearer. r=botond
I couldn't understand what it was doing before, but conceptually it should
be pretty simple.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 21:04:56 +00:00
Kartikaya Gupta 62383abdc6 Bug 1627362 - Allow calling fixed/sticky helpers with (Fixed|Sticky)PositionInfo. r=botond
This sets us up to be able to use these helper methods on WR sampling codepath.

Depends on D70907

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

--HG--
extra : moz-landing-system : lando
2020-04-15 19:15:44 +00:00
Kartikaya Gupta 41034c6ca7 Bug 1627362 - Have (Fixed|Sticky)PositionInfo take a HTTN in the constructor. r=botond
This will make future patches simpler, as we can now create these info objects
more easily for the non-WR codepath as well.

Depends on D70906

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

--HG--
extra : moz-landing-system : lando
2020-04-15 19:14:12 +00:00
Kartikaya Gupta 483cd1925d Bug 1627362 - Remove the tree lock requirement for a couple of functions. r=botond
We can use the map lock to do a lookup in mApzcMap, instead of requiring the
tree lock to call GetTargetAPZC.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 19:11:31 +00:00
Anny Gakhokidze 7c0eb4aad6 Bug 1594529 - Create LoadInfo for subdocuments directly in parent process with DocumentChannel. r=mattwoodrow,nika
Currently, with Fission enabled we are not able to create a proper LoadInfo
object when doing a subdocument load because we do not have access to a loading
context if the load is happening inside of an OOP frame. To solve this problem,
we can create LoadInfo object from scratch in the parent process where we have
all of the required information.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 18:53:06 +00:00
Lee Salzman 728df4e3e8 Bug 1630370 - ignore mipmap allocation in SWGL. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D71090

--HG--
extra : moz-landing-system : lando
2020-04-15 19:15:26 +00:00
Jeff Muizelaar 7158ea87e7 Bug 1630279 - Disable the disabling of DComp so we get more testing. r=aosmond
This is in anticipation of having a looser condition for enabling
DComp. Until that code is ready we might as well get more testing.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 17:30:56 +00:00
Jonathan Kew 230f11b26b Bug 1629787 - Initialize font metrics via harfbuzz API rather than reading tables directly, so that variations are respected. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D71029

--HG--
extra : moz-landing-system : lando
2020-04-15 14:14:55 +00:00
Stefan Hindli 1b55e83f7a Backed out 2 changesets (bug 1594529) for causing perma wpt2 with ValueError: badly formed hexadecimal UUID string in /cookies/samesite/iframe-reload.https.html CLOSED TREE
Backed out changeset fbf55a44d7fb (bug 1594529)
Backed out changeset 4ba9a230586a (bug 1594529)
2020-04-15 08:41:10 +03:00
Stefan Hindli 15cb1192a5 Backed out changeset 887f1769a2c6 (bug 1609446) for causing bc permafails in browser/base/content/test/webextensions/browser_permissions_installTrigger.js CLOSED TREE 2020-04-15 08:20:48 +03:00
sotaro 5e373d876a Bug 1626142 - Fix canvas handling during resuming on Android r=jnicol
CanvasClientSharedSurface did not handle a case that CanvasClientSharedSurface was re-created, but GLScreenBuffer was not re-created. And RenderCompositorEGL::Pause() detaches all SurfaceTesxtures, but RenderAndroidSurfaceTextureHostOGL did not handle it.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 14:07:30 +00:00
Emilio Cobos Álvarez 59de159bd9 Bug 1609446 - Make default window-constraints always show the content. r=mats,mstange
This code is used to determine the sizes of the top-level windows. However the
code doesn't cause quite desirable behavior (see the bug, and comment 15).

This patch does two things:

 * Unifies the html / xul code-paths. This shouldn't change behavior (because
   GetXULMinSize returns the fixed min-* property if present anyways), but
   makes the patch a bit simpler.

 * Makes the min-width of the XUL window be the pref size instead of the
   min-size (for the cases where you have no explicit min-width). This looks a
   bit counter intuitive, but it's the only way to guarantee that the content
   will be shown. This matches the sizing algorithm that dialogs use by default
   (via calling window.sizeToContent()), while allowing to undersize the window
   via a fixed min-width property.

This in turn makes sizeToContent() work "by default" on XUL windows, avoiding
having to make JS listen to everything that possibly could change the layout of
the document (like resolution changes).

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

--HG--
extra : moz-landing-system : lando
2020-04-15 01:44:25 +00:00
Dzmitry Malyshau dee044c7f2 Bug 1629738 - Keep WebGPU pipeline layouts alive r=jgilbert
We need to access the contents of pipeline layouts on CPU
when we are recording commands. This PR adds refcounting to them
and improves the destruction code path to happen once all references are gone.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 21:51:45 +00:00
Dzmitry Malyshau 97fcffa123 Bug 1629896 - Fix WebGPU vertex format values r=jgilbert
it wasn't matching webgpu-native or the WebIDL

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

--HG--
extra : moz-landing-system : lando
2020-04-14 21:21:21 +00:00
Jamie Nicol 845c501566 Bug 1629835 - Ensure PBO upload strides are a multiple of 64 pixels on adreno r=kvark
Previously we were using 256 bytes (which happens to be equal to 64
pixels for RGBA8 textures). A recent change to the GPU Cache uncovered
the fact that the requirement is actually 64 pixels, eg 1024 bytes for
RGBAF32 textures.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 17:38:03 +00:00
Bob Owen c640645fb9 Bug 1618868 Part 3: Fix failure test race in CanvasEventRingBuffer::ReturnRead. r=jrmuizel
This also adds checks for the other side closing during the ReturnRead and
ReturnWrite loops.

Depends on D70336

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

--HG--
extra : moz-landing-system : lando
2020-04-14 17:53:15 +00:00
Bob Owen 00d118c48c Bug 1618868 Part 2: Make counts and states in CanvasEventRingBuffer footers SequentiallyConsistent. r=jrmuizel
This fixes an issue with the AboutToWait check. It is possible that this could
be done without this, but while there might be a very slight performance hit, it
seems to be smaller than the general noise in the tests.

Depends on D70335

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

--HG--
extra : moz-landing-system : lando
2020-04-14 17:52:57 +00:00
Bob Owen 7bd8cb606c Bug 1618868 Part 1: Call CanvasTranslators() before CanvasThreadHolder::ReleaseOnCompositorThread to avoid race. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D70335

--HG--
extra : moz-landing-system : lando
2020-04-09 22:28:49 +00:00
Dzmitry Malyshau 86ff5eeab6 Bug 1629739 - Fix WebGPU buffer unmap warning r=jgilbert
it was a bogus warning that erroneously fire when Gecko flushed mapped contents

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

--HG--
extra : moz-landing-system : lando
2020-04-14 21:09:17 +00:00
Anny Gakhokidze 1fc287f151 Bug 1594529 - Create LoadInfo for subdocuments directly in parent process with DocumentChannel. r=mattwoodrow,nika
Currently, with Fission enabled we are not able to create a proper LoadInfo
object when doing a subdocument load because we do not have access to a loading
context if the load is happening inside of an OOP frame. To solve this problem,
we can create LoadInfo object from scratch in the parent process where we have
all of the required information.

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

--HG--
extra : moz-landing-system : lando
2020-04-13 23:00:43 +00:00
Nicolas Silva 83cb2f1fbc Bug 1627299 - Remove MsgSender/MsgReceiver. r=kvark
These just wrap regular std Sender/Receiver without providing any value. Serialize/Deserialize was implement manually for MsgSender/MsgReceiver to assert. Serde being amazing, it provides with annotations to not require the traits to be implemented on some enum variants and assert at runtime which functionally equivalent but less error-prone than the fake trait implementations.

Removing the rest of channel.rs is coming in a followup.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 16:58:39 +00:00
Nicolas Silva e1d3184a15 Bug 1627299 - Remove the separation between API messages and payloads. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D69979

--HG--
extra : moz-landing-system : lando
2020-04-14 16:58:39 +00:00
Glenn Watson a6cc45031e Bug 1629724 - Improve the GC strategy of the render target pool. r=nical
Only drop targets from the render target pool when the size of
the pool is larger than an arbitrary threshold (this is 32 MB
for now), _and_ the render target hasn't been used in the last
60 frames of rendering.

This reduces the number of allocation thrashing of textures in
the render target pool on most pages.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 10:59:55 +00:00
Timothy Nikkel 59bd6d0dee Bug 1624532. Handle incomplete masks on svg content properly with webrender. r=mstange,jrmuizel
The basic problem here for the page is that we should draw an svg element as if it has no mask specified if the specified mask is display: none. (For html elements in the same situation we should not draw the html element at all.)

The fix is to treat the return values of PaintMaskSurface (which come through nsSVGIntegrationUtils::PaintMask and nsDisplayMasksAndClipPaths::PaintMask) in WebRenderCommandBuilder::BuildWrMaskImage the same way as in CreateAndPaintMaskSurface.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 17:08:52 +00:00
Kartikaya Gupta 12ccbb9268 Bug 1629521 - Fix WR handling of items with both top and bottom sticky ranges. r=kvark
The WR code that computed the sticky_offset didn't properly combine the offsets
from the top- and bottom- sticky calculations if an item had both. This patch
fixes the calculation, which makes the remaining test failure (in the
configuration without any dynamic toolbar) pass.

Depends on D70679

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

--HG--
extra : moz-landing-system : lando
2020-04-13 18:39:07 +00:00
Kartikaya Gupta d4434cef4f Bug 1628484 - Remove assertions that don't always hold. r=kvark
These assertions don't hold in some perfectly legitimate cases, such as when
items have both top and bottom sticky behaviours. The actual behaviour still
seems ok, so let's just drop the assertions.

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

--HG--
extra : moz-landing-system : lando
2020-04-10 19:03:17 +00:00
Dzmitry Malyshau 15435c2bf5 Bug 1622846 - Update WebGPU TextureDescriptor API r=jgilbert,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D70762

--HG--
extra : moz-landing-system : lando
2020-04-14 12:52:03 +00:00
sotaro 7552fe3e1e Bug 1626822 - Add a way to enable WebRender without GPU process on Windows r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D69771

--HG--
extra : moz-landing-system : lando
2020-04-14 03:27:12 +00:00
Glenn Watson 82cea19dee Bug 1629672 - Move prim_origin from instance to template. r=Bert,kvark
Previously, the prim origin needed to be stored in the prim
instance, to avoid picture cache invalidations. With support
for external scroll offset, this is no longer necessary.

This simplifies some of the code paths, and reduces the size
of primitive instances.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 01:04:05 +00:00
Glenn Watson a4806e99d8 Bug 1629704 - Rotate vertex data textures per frame. r=Bert,kvark
On some (primarily older, integrated) drivers, we see significant
time in CPU stalls during updates to the vertex data textures.

As a short term fix, this patch creates an array of vertex data
textures, and rotates which set of them are in use each frame.

There are better long-term options (such as porting the GPU cache
scatter method, or perhaps using UBO/SSBOs here), but this is a
simple workaround for now.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 01:54:09 +00:00
Kartikaya Gupta 094d451696 Bug 1622360 - Downgrade pageRootScs from RenderRootArray. r=jrmuizel
Depends on D70603

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:08:19 +00:00
Kartikaya Gupta 68b8339258 Bug 1622360 - Remove mRootStackingContexts. r=jrmuizel
This isn't used any more; the only getter function is not called from
anywhere.

Depends on D70602

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:08:16 +00:00
Kartikaya Gupta 5fe779b3a8 Bug 1622360 - Downgrade builder dump index from RenderRootArray. r=jrmuizel
Depends on D70601

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:07:08 +00:00
Kartikaya Gupta c65ae0becc Bug 1622360 - Downgrade clip manager from RenderRootArray. r=jrmuizel
Depends on D70600

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:06:56 +00:00
Kartikaya Gupta 720b1647d8 Bug 1622360 - Downgrade font key structures from RenderRootArrays. r=jrmuizel
Depends on D70599

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:06:23 +00:00
Kartikaya Gupta 63885a985a Bug 1622360 - Downgrade mParentCommands from RenderRootArray. r=jrmuizel
Depends on D70598

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:06:10 +00:00
Kartikaya Gupta bd414399ff Bug 1622360 - Remove leftover WebRenderScrollDataCollection decl. r=jrmuizel
The implementation and uses of this were removed previously.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:05:43 +00:00
Kartikaya Gupta 6be377b59b Bug 1566599 - Add a test for the ForceEmptyHitRegion flag. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D70397

--HG--
extra : moz-landing-system : lando
2020-04-14 00:16:41 +00:00
Kartikaya Gupta 8699a4459c Bug 1566599 - Ensure we still check the flags on the node for the NULL_SCROLL_ID case. r=botond
For the case where we got a hit-result with a NULL_SCROLL_ID, we wouldn't
get a node, and would fall back to the root APZC for the layers id. But we
should actually still find the HTTN so that we can check the override flags.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:44:38 +00:00
Kartikaya Gupta 7aa5fb4be6 Bug 1566599 - Ensure EventRegionOverride flags don't end up on the HTTNs for reflayers. r=botond
We need to propagate the flags from the reflayer into the descendant subtree,
but remove the flag from the HTTN corresponding to the reflayer itself. See
comments in the patch for why.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:11:09 +00:00
Kartikaya Gupta dddcd82d24 Bug 1566599 - Add support for ForceEmptyHitRegion on the WR hit-test. r=botond
This is a "naive" implementation that will be refined in the next couple of
patches.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:43:35 +00:00
Kartikaya Gupta 442f54f533 Bug 1566599 - Have the WR hit-test return all results to the caller. r=botond
No functional changes here, just plumbing to allow the caller to
access all the results instead of just the one picked out by
bindings.rs.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:43:18 +00:00
Dzmitry Malyshau 964f4f889c Bug 1629605 - wgpu tracking fixes r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D70707

--HG--
extra : moz-landing-system : lando
2020-04-14 00:32:50 +00:00
Brindusan Cristian 2ad9b58e73 Backed out changeset d05ac327b65e (bug 1626822) for bustages at gfxPlatform.cpp. CLOSED TREE 2020-04-14 03:12:33 +03:00
Brindusan Cristian 090d7a16dc Backed out changeset 2c1a2c08592a (bug 1629605) for sm bustages. CLOSED TREE 2020-04-14 03:11:24 +03:00
sotaro fb4859cf94 Bug 1626822 - Add a way to enable WebRender without GPU process on Windows r=jrmuizel
WebRender could be used when WebRender does not use ANGLE. And there is a case that we want to use WebRender with ANGLE for testing.

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

--HG--
extra : moz-landing-system : lando
2020-04-13 23:55:08 +00:00
Glenn Watson 7eee44a592 Bug 1629693 - Enable GPU cache scatter path when running ANGLE. r=kvark
On some (mostly older, integrated) GPUs, the normal GPU texture cache
update path doesn't work well when running on ANGLE, causing CPU stalls
inside D3D and/or the GPU driver. To reduce the number of code paths we
have active that require testing, we will enable the GPU cache scatter
update path on all devices running with ANGLE. We want a better solution
long-term, but for now this is a significant performance improvement on
HD4600 era GPUs, and shouldn't hurt performance in a noticeable way on
other systems running under ANGLE.

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

--HG--
extra : moz-landing-system : lando
2020-04-13 23:26:07 +00:00
Dzmitry Malyshau 64c80998c6 Bug 1629605 - wgpu tracking fixes r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D70707

--HG--
extra : moz-landing-system : lando
2020-04-13 22:46:31 +00:00
Timothy Nikkel b89bb47353 Bug 1628988. Don't apply ImgDrawResult::NOT_READY in PaintMaskSurface. r=mstange
PaintMaskSurface shouldn't be applying ImgDrawResult::NOT_READY when we don't have a frame and the mask image hasn't been resolved. ImgDrawResult is only about drawing images, not about waiting for external resources to resolve or frames to get constructed. The only purpose of tracking ImgDrawResult's in painting code is to know which frames we need to invalidate because their rendering might change if we sync decode images during a Draw call. Applying NOT_READY here means we invalidate for every paint with the sync decode images flag (ie reftest paints), and it never changes from NOT_READY. This bites the reftest for this bug 1624532.

To fix it, instead of "overloading" the ImgDrawResult we return a bool to indicate the mask is missing or incomplete.

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

--HG--
extra : moz-landing-system : lando
2020-04-13 20:08:05 +00:00
Dzmitry Malyshau a3e5cb126b Bug 1617369 - Rustfmt pass over gfx/wgpu r=sylvestre
uses the default config with rustfmt-stable

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

--HG--
extra : moz-landing-system : lando
2020-04-13 17:26:41 +00:00
Dzmitry Malyshau e8a60d2eab Bug 1624174 - Update wgpu to get the coordinate spaces right r=jgilbert
The updated wgpu has the coordinate space fixes.
Depends on

  - https://phabricator.services.mozilla.com/D70421
  - https://phabricator.services.mozilla.com/D70432
  - https://phabricator.services.mozilla.com/D70646

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

--HG--
rename : third_party/rust/rendy-descriptor/Cargo.toml => third_party/rust/gfx-descriptor/Cargo.toml
rename : third_party/rust/rendy-memory/Cargo.toml => third_party/rust/gfx-memory/Cargo.toml
rename : third_party/rust/rendy-memory/src/allocator/dynamic.rs => third_party/rust/gfx-memory/src/allocator/general.rs
rename : third_party/rust/rendy-memory/src/heaps/heap.rs => third_party/rust/gfx-memory/src/heaps/heap.rs
rename : third_party/rust/rendy-memory/src/utilization.rs => third_party/rust/gfx-memory/src/stats.rs
extra : moz-landing-system : lando
2020-04-13 13:42:15 +00:00
Glenn Watson 8c7529f5d0 Bug 1628901 - Fix panic caused by calling BeginDraw with empty dirty rect. r=sotaro
Previously, it was possible for a tile that had a valid scroll root
to have an empty valid (and dirty) rect due to the picture cache
clip rect, in some situations.

This could result in the tile not being tagged as off-screen, which
means it is added to the queue of tiles to be updated. On most
platforms this is benign, but the BeginDraw method of DirectComposition
fails if the dirty rect is empty.

This patch fixes the logic so that tiles that meet these conditions
are correctly tagged as not visible, and skipped from update queue.

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

--HG--
extra : moz-landing-system : lando
2020-04-13 00:37:19 +00:00
Dzmitry Malyshau 540f1bea3f Bug 1629359 - Update parking_lot to 0.10 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70646

--HG--
rename : third_party/rust/parking_lot/src/mutex.rs => third_party/rust/parking_lot/src/fair_mutex.rs
extra : moz-landing-system : lando
2020-04-12 19:14:43 +00:00
Stefan Hindli a8922cc7ff Backed out changeset 01cb2f16985e (bug 1629359) for linux x64 qr webgpu bustage
--HG--
extra : rebase_source : 29e879b00d66376a0508bc2df060fcf3f6028590
2020-04-12 22:09:15 +03:00
Dzmitry Malyshau 80f2377b05 Bug 1629359 - Update parking_lot to 0.10 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70646

--HG--
rename : third_party/rust/parking_lot/src/mutex.rs => third_party/rust/parking_lot/src/fair_mutex.rs
extra : moz-landing-system : lando
2020-04-12 16:25:25 +00:00
Dzmitry Malyshau a1b1f0462a Bug 1620606 - Capture clip and primitive stores r=aosmond
this is purely infomational and doesn't get loaded back ever

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

--HG--
extra : moz-landing-system : lando
2020-04-09 11:10:49 +00:00
Dzmitry Malyshau 0e42a4799d Bug 1628772 - Update core-foundation dependency to 0.7 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70432

--HG--
extra : moz-landing-system : lando
2020-04-11 20:14:41 +00:00
Joshua Gahan 3521ab2e07 Bug 1622655 - Replaced !mInvalidationListeners.size() with mInvalidationListeners.empty(). r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D70464

--HG--
extra : moz-landing-system : lando
2020-04-11 16:16:10 +00:00
Dzmitry Malyshau 5618793de6 Bug 1629024 - Fix literal string cast in WebGPU nightly check r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70552

--HG--
extra : moz-landing-system : lando
2020-04-11 10:18:05 +00:00
Lee Salzman 11c8b841d8 Bug 1626188 - ensure shader keys are in sorted order. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D70555

--HG--
extra : moz-landing-system : lando
2020-04-11 00:25:46 +00:00
Imanol Fernandez 3f977ef73a Bug 1627331 - Do not dispatch WebVR events when the display is used via WebXR API r=kip,daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D69613

--HG--
extra : moz-landing-system : lando
2020-04-07 20:37:00 +00:00
Dzmitry Malyshau 34dac56d81 Bug 1628754 - CBindGen update to 0.14.1 r=emilio,kats
Differential Revision: https://phabricator.services.mozilla.com/D70421

--HG--
extra : moz-landing-system : lando
2020-04-10 19:13:25 +00:00
Lee Salzman 45437c6323 Bug 1627718 - clamp SWGL scale_blit to valid source and dest regions. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D70282

--HG--
extra : moz-landing-system : lando
2020-04-10 19:58:56 +00:00
Andrew Osmond 0d2780d86c Bug 455077 - Enable color management for all CSS/images, not just tagged images. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D62510

--HG--
extra : moz-landing-system : lando
2020-04-10 13:02:55 +00:00
Chris Martin f187ef5ef8 Bug 1541398 - Force gfxImageSurface for OffscreenSurface in content r=jfkthame
For Win32k lockdown, we can't use gfxWindowsSurface in content for offscreen
surfaces, since it invokes Windows GDI calls.

It appears from testing that a gfxImageSurface works just fine, so this change
just disables the native surface usage for content processes.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 15:34:36 +00:00
Roger Zanoni 17bfebd536 Bug 1626777 - Remove redundant return statement in WebRenderBridgeParent. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D70483

--HG--
extra : moz-landing-system : lando
2020-04-10 08:04:43 +00:00
Bert Peers 9051184fab Bug 1628137 - Switch to using WaitForVBlank for vsync on Windows r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D70463

--HG--
extra : moz-landing-system : lando
2020-04-10 02:24:07 +00:00
Jim Blandy 7582bd90d4 Bug 1628910: Use correct lower bound for skip_end in SWGL's force_clear function. r=lsalzman
In wr/swgl/src/gl.cc, force_clear constrains skip_end to be no less than y0, but
skip_end is a horizontal position, not a vertical position, so skip_start is the
correct lower bound.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 23:54:54 +00:00
Dzmitry Malyshau 3d20dd0f60 Bug 1616741 - Force-disable WebGPU when not on Nightly r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70435

--HG--
extra : moz-landing-system : lando
2020-04-09 21:11:09 +00:00
Mihai Alexandru Michis 6013b44308 Backed out changeset e60ce7274c9f (bug 1628754) for causing bustages in ServoStyleConsts.h
CLOSED TREE
2020-04-10 04:05:15 +03:00
Mihai Alexandru Michis 5beb91b795 Backed out changeset d91a97562b48 (bug 1628772) for causing failures regarding core-foundation.
CLOSED TREE
2020-04-10 03:42:05 +03:00
Dzmitry Malyshau e71799ed9d Bug 1628754 - Cbindgen update to 0.14.0 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70421

--HG--
extra : moz-landing-system : lando
2020-04-09 21:10:40 +00:00
Dzmitry Malyshau feed464a5d Bug 1628772 - Update core-foundation dependency to 0.7 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70432

--HG--
extra : moz-landing-system : lando
2020-04-09 20:57:18 +00:00
Bert Peers 03acaa106c Bug 1624468 - Add a fast path for more gradient types in WR r=gw
Add support for repeating gradients in the cached fast path.

Documentation:
https://bugzilla.mozilla.org/attachment.cgi?id=9138638

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

--HG--
extra : moz-landing-system : lando
2020-04-08 22:19:11 +00:00
Glenn Watson d205961c97 Bug 1628564 - Remove the common primitive template data for picture primitives. r=nical
Picture primitives are special, so it doesn't make sense to have
the normal common primitive data for them. For example, the
bounding rect of a picture is determined during frame building.

Removing the common data for picture primitives simplifies the
code and makes it impossible to accidentally access an invalid
bounding rect for picture primitives.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 15:25:25 +00:00
Jim Blandy c5713e75b5 Bug 1628508: Add 'IMPLICIT' comment for webrender_api::display_item::ScrollFrameDisplayItem. DONTBUILD r=gw
Differential Revision: https://phabricator.services.mozilla.com/D70269

--HG--
extra : moz-landing-system : lando
2020-04-08 23:31:36 +00:00
James Willcox 3ed4ef71c1 Bug 1627737 - Add `mTargetIsRoot` to `APZEventResult` r=botond
This allows us to determine if the event was handled in the
toplevel frame or not.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 16:13:50 +00:00
Jonathan Kew b50822cb39 Bug 1627691 - Don't include 'hidden' system fonts when preloading metadata to support the font-selection algorithm. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D70216

--HG--
extra : moz-landing-system : lando
2020-04-09 09:30:40 +00:00
Kartikaya Gupta 9ca0e73265 Bug 1610731 - Followup to fix IPC for RectAbsolute. r=ktaeleman,botond
The parameters to the middle two arguments of SetBox were flipped, causing
RectAbsolute to get improperly swizzled over IPC.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 21:06:56 +00:00
Jim Blandy 3094dff055 Bug 1628130: Delete webrender::prim_store::PrimitiveSceneData. r=gw
Most `Internable` implementations give `PrimitiveSceneData` as their
`InternData` associated type, the type of data associated with the handle in the
scene builder thread. However, nothing in the scene builder code, or anywhere in
WebRender, actually uses the contents of `PrimitiveSceneData`, so it can be
replaced with `()` with no effect on the code other than memory savings.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 19:53:08 +00:00
Jonathan Kew afb04b12e3 Bug 1628419 - Don't keep a live CGFont reference in every macOS font entry; only retain it for fonts actually used. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D70225

--HG--
extra : moz-landing-system : lando
2020-04-08 17:35:30 +00:00
Eric Rahm 8e4a18ed64 Bug 1627392 - Add missing includes and namespaces to xpcom/base. r=xpcom-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D69658

--HG--
extra : moz-landing-system : lando
2020-04-08 10:12:33 +00:00
Kris Taeleman d6bbb95830 Bug 1622020 - Add DTZ info to about:support. r=botond,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D69839

--HG--
extra : moz-landing-system : lando
2020-04-06 22:49:37 +00:00
Andrew Osmond 1a32712543 Bug 1622220 - Add UnpremultiplyRow and extend SwizzleRow. r=lsalzman
UnpremultiplyRow will be used in the image encoders to reverse
premultiplication. SwizzleRow needs to support copying (no swizzling)
and swapping RGB/BGR.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 12:50:40 +00:00
Kartikaya Gupta 6f24092aae Bug 1424714 - Prevent the displayport clip from clipping sticky items. r=mstange
The displayport clip that is applied to sticky items from the enclosing
scrollframe can cause sticky items to checkerboard even when they might
reasonably be left visible. This is because the displayport clip moves as
the enclosing scrollframe is scrolled, but sticky items may remain fixed
during such scrolling. The displayport clip can therefore clip out sticky
items even if they are "stuck" and should be user-visible.

This patch sets a flag to identify when a sticky item is being clipped by
the displayport clip, and ensures that it doesn't actually get clipped. In
the case where other clips are being applied to the sticky item, we leave the
clips unaffected. This allows for other enclosing elements to clip the sticky
item as before.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 04:59:14 +00:00
Jonathan Kew ad86567b86 Bug 1627605 - Avoid creating strings with shared-memory buffers that could become unmapped on a font-list refresh. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D70025

--HG--
extra : moz-landing-system : lando
2020-04-08 09:53:35 +00:00
Glenn Watson 29f4bd98b6 Bug 1627816 - Fix skipping composites when tile surface changes. r=nical
This fixes a case where the backing surface of a picture cache tile
changes, but was still being considered a no-op frame, which skips
the composite as an optimization if nothing has changed.

In this case, the tile surface changes from a rasterized texture
to a solid color that doesn't require a picture cache texture.

The patch ensures that the composite surface descriptors that are
used to detect no-op frame compositions include the backing
surface for each of the tiles that make up this virtual surface.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 09:24:48 +00:00
Gabriele Svelto 2bc88d71e0 Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj
Crash annotations in content processes are currently sent over IPC via
shared memory buffers. To pave the way for the Rust rewrite of the exception
handler we are removing this code and gathering all the crash annotations
within the content processes themselves. This patch causes annotations to be
stored in the global table of each content process. They are then streamed
out to the parent process by the exception handler together with the
exception-time annotations.

This has a number of benefits:

* we have one less channel to exchange data between content processes and
  the parent process
* we save memory because we don't need to allocate the shared memory buffers
* annotations are faster because we don't stream them all out every time one
  changes
* we won't truncate annotations anymore if we run out of space in the shared
  segment.
* we don't need delayed annotations anymore, so we can get rid of the
  associated machinery

As I refactored the code I tried to adjust all the obsolete comments,
consolidate shared code and remove the redundant steps that were sometimes
present. In many places we had two entire crash annotation tables we merged to
change just a couple; that comes from the fact that historically we loaded
them from disk. Now it doesn't matter anymore and we can just go ahead and
change the ones we care about.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 06:55:40 +00:00
Daosheng Mu c076a67116 Bug 1617023 - Part 3: Implement XR controller selection and squeeze actions. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67433

--HG--
extra : moz-landing-system : lando
2020-04-08 03:23:54 +00:00
Daosheng Mu f2c389fbee Bug 1617023 - Part 2: OpenVR/Oculus controller XR mode. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67432

--HG--
extra : moz-landing-system : lando
2020-04-08 03:23:47 +00:00
Daosheng Mu 595afe46cc Bug 1617023 - Part 1: Integrating Gamepad with XRInputSource. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67431

--HG--
extra : moz-landing-system : lando
2020-04-08 03:23:34 +00:00
Stefan Hindli 585cd46052 Backed out 3 changesets (bug 1617023) for causing mass bustages CLOSED TREE
Backed out changeset 2ff0eabe84e9 (bug 1617023)
Backed out changeset 8cadc6705690 (bug 1617023)
Backed out changeset 3a6247b39244 (bug 1617023)
2020-04-08 04:26:40 +03:00
Ting-Yu Lin af15e4dfe8 Bug 1627398 Part 2 - Support printing frame tree in CSS pixels. r=heycam
Audit all the types related to app units [1] printed in
nsIFrame::List (and all the methods that override it), and use
ConvertToString to convert their printing format to CSS pixels if
needed.

In addition, add operator<< to BaseCoord so that it can cooperate with
mozilla::ToString, which is needed by ConvertToString.

[1] The types include nsRect, nsSize, nscoord, LogicalRect, and
LogicalSize.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 00:18:52 +00:00
Daosheng Mu 2fcc59f39e Bug 1617023 - Part 3: Implement XR controller selection and squeeze actions. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67433

--HG--
extra : moz-landing-system : lando
2020-04-07 22:55:48 +00:00
Daosheng Mu 24566d323f Bug 1617023 - Part 2: OpenVR/Oculus controller XR mode. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67432

--HG--
extra : moz-landing-system : lando
2020-04-07 22:55:39 +00:00
Daosheng Mu 91ad9bdf58 Bug 1617023 - Part 1: Integrating Gamepad with XRInputSource. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67431

--HG--
extra : moz-landing-system : lando
2020-04-07 22:55:41 +00:00
Glenn Watson 8485fe5358 Bug 1627864 - Fix invalidation of tiles when the shape of the spatial node tree changes. r=nical,Bert,kvark
Previously, primitive dependency checking would invalidate a tile if
the spatial node index for a given primitive changed.

However, if a new display list is sent that changes the shape of
the spatial node tree this may cause unnecessary invalidations.

For example, a new display list that inserts a new spatial node at
the start of the tree could result in spatial node indices being
different, even though the values of the transforms was the same.

This patch changes the invalidation logic for spatial nodes to
compare the transforms by value, rather than index, meaning that
invalidations are avoided if the shape of the spatial tree has
changed, but the values are consistent.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 23:58:19 +00:00
Daosheng Mu 7f945fd97b Bug 1611310 - Implement XRInputSource module. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67430

--HG--
extra : moz-landing-system : lando
2020-04-07 23:49:47 +00:00
Stefan Hindli 3b135390cf Backed out changeset 717f97c0d871 (bug 1611310) for causing mass build bustages CLOSED TREE 2020-04-08 01:46:32 +03:00
Stefan Hindli 21c4b1ce50 Backed out 5 changesets (bug 1617023, bug 1627141, bug 1626812) for causing being related to Bug 1611310 CLOSED TREE
Backed out changeset b975de50682b (bug 1627141)
Backed out changeset 481325c44e80 (bug 1626812)
Backed out changeset 546b90fd1689 (bug 1617023)
Backed out changeset f54ac49bbc0a (bug 1617023)
Backed out changeset 1ebf382e7133 (bug 1617023)
2020-04-08 01:45:47 +03:00
Daosheng Mu 673fd01dae Bug 1617023 - Part 3: Implement XR controller selection and squeeze actions. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67433

--HG--
extra : moz-landing-system : lando
2020-04-07 21:30:53 +00:00
Daosheng Mu e4b13d6e39 Bug 1617023 - Part 2: OpenVR/Oculus controller XR mode. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67432

--HG--
extra : moz-landing-system : lando
2020-04-07 21:30:02 +00:00
Daosheng Mu 184166d359 Bug 1617023 - Part 1: Integrating Gamepad with XRInputSource. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67431

--HG--
extra : moz-landing-system : lando
2020-04-07 22:24:43 +00:00
Daosheng Mu e2b211270f Bug 1611310 - Implement XRInputSource module. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D67430

--HG--
extra : moz-landing-system : lando
2020-04-07 21:26:01 +00:00
Lee Salzman 9bc70fa0d9 Bug 1627368 - allow requesting trilinear filtering in SWGL. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D69897

--HG--
extra : moz-landing-system : lando
2020-04-07 20:10:23 +00:00
Imanol Fernandez 9035f18d3a Bug 1614499 - Implement XRWebGLLayer r=jgilbert,daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D62809

--HG--
extra : moz-landing-system : lando
2020-04-07 18:48:13 +00:00
Ting-Yu Lin 5a44b5df11 Bug 1624684 Part 3 - Let BaseMargin::ApplySkipSides return a reference to itself, and convert some callers. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D69759

--HG--
extra : moz-landing-system : lando
2020-04-07 18:43:51 +00:00
Edouard Oger f8baae0352 Bug 1627444 p3 - Replace ByteSize by ByteSizeLong. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D69712

--HG--
extra : moz-landing-system : lando
2020-04-07 15:26:26 +00:00
Edouard Oger 8442a065cf Bug 1627444 p2 - Regenerate protobuf classes r=lina
Differential Revision: https://phabricator.services.mozilla.com/D69707

--HG--
extra : moz-landing-system : lando
2020-04-07 18:05:56 +00:00
Lee Salzman 08efd07ab4 Bug 1621382 - implement perspective-correct rasterization for SWGL shaders with PERSPECTIVE feature. r=jrmuizel
This implements Z plane clipping, gl_FragCoord.zw interpolation, and vertex attribute perspective-correction with support from the glsl-to-cxx compiler by using PERSPECTIVE feature in a WR shader.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 14:53:01 +00:00
Lee Salzman 251606e979 Bug 1627413 - implement texture lod-bias. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D69873

--HG--
extra : moz-landing-system : lando
2020-04-07 16:55:56 +00:00
Lee Salzman 12a78b24e7 Bug 1627355 - implement missing SWGL texture rectangle binding. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D69894

--HG--
extra : moz-landing-system : lando
2020-04-07 17:05:08 +00:00
Jim Blandy 67aa2dee05 Bug 1627413: WebRender: Don't pass level-of-detail bias value to GLSL texture function. r=cbrewster
The `sampleInUvRect` function in `gfx/wr/webrender/res/cs_svg_filter.glsl` calls
`texture`, passing the optional third argument that specifies a bias to the
sampler's level-of-detail calculation, used for mipmap interpolation. However,
the `texture` override in `gfx/wr/swgl/src/glsl.h` that accepts this parameter
is stubbed out, with an `assert(0)`. This causes twelve tests in
`gfx/wr/wrench/reftests/filters` to crash.

Nothing in Firefox uses mipmaps, and Servo doesn't use Software WebRender, so it
should be fine for that call to `texture` to simply not pass the level-of-detail
bias.

This patch makes that change.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 20:34:16 +00:00
Andreas Farre 25ca8d7890 Bug 1620594 - Part 7: Remove TabGroup and SystemGroup. r=nika,bas
TabGroup never really made any difference in which thread something go
dispatched to. This was the intended use, but development of TabGroups
with abstract main threads never made it that far. The good thing is
that thish makes it safe to also remove to the SystemGroup and instead
switch all SystemGroup dispatches to dispatches to main thread.

Timers for setTimeout and workers were the sole users of wrapped and
throttled event targets, that those throttled queues have been moved
to the BrowsingContextGroup and are now accessed explicitly.

The SchedulerEventTarget has been removed, since there are no longer a
separate event target for every TaskCategory. Instead a
LabellingEventTarget has been added to DocGroup to handle the case
where an event is dispatched do DocGroup or when an AbstractThread is
created using a DocGroup. This means that we'll actually label more
events correctly with the DocGroup that they belong to.

DocGroups have also been moved to BrowsingContextGroup.

Depends on D67636

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

--HG--
extra : moz-landing-system : lando
2020-04-07 15:17:47 +00:00
Andreas Farre f2fa2e633c Bug 1620594 - Part 5: Use GetMainThreadSerialEventTarget instead of SystemGroup::EventTargetFor. r=nika
This patch also tries to remove the event target entirely if it would
default to the main thread on a null event target.

Depends on D67634

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

--HG--
extra : moz-landing-system : lando
2020-04-07 15:17:07 +00:00
Andreas Farre 80a8c9ff06 Bug 1620594 - Part 4: Remove SetEventTargetForActor with SystemGroup target. r=nika
Depends on D67633

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

--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:54 +00:00
Andreas Farre 36eaf82163 Bug 1620594 - Part 2: Use SchedulerGroup::Dispatch instead of SystemGroup::Dispatch. r=nika
Depends on D67631

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

--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:33 +00:00
Andreas Farre 63e21eec70 Bug 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika
To be able to remove SystemGroup, NS_ReleaseOnMainThreadSystemGroup
needs to have its dependency on SystemGroup removed. Since all
releases using SystemGroup would've released on the main thread anyway
we can safely replace NS_ReleaseOnMainThreadSystemGroup with
NS_ReleaseOnMainThread.

Depends on D64390

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

--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:23 +00:00
Jonathan Kew 9e55a4c27a Bug 1550037 - patch 3 - Remove mAddr from the ShmBlock struct, as mShmem->memory() is now a trivial inline accessor. r=jwatt
In mozilla::ipc::SharedMemory, the memory() method was virtual, so we cached the address here
(although the compiler would likely have inlined the accessor as the `final` concrete subclass
was known). Anyhow, in base::SharedMemory it's a trivial (non-virtual) accessor, so there's
no sense in shadowing it here.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 12:30:42 +00:00
Jonathan Kew c43ebd1186 Bug 1550037 - patch 2 - Ensure the font-list memory blocks passed to content processes are shared as readonly copies. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D68779

--HG--
extra : moz-landing-system : lando
2020-04-07 12:30:30 +00:00
Jonathan Kew 715e096b9a Bug 1550037 - patch 1 - Migrate shared font-list code from mozilla::ipc::SharedMemoryBasic to base::SharedMemory APIs. r=jwatt
The base::SharedMemory class provides APIs to create a "read-only" copy of a shared memory block,
which means it can be shared to a child process without the risk that the child might map it as
writable and corrupt the contents. We want to use this facility for the font list, hence switching
the shared-memory APIs used.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 12:30:17 +00:00
Kartikaya Gupta 00c078e5f2 Bug 1622360 - Remove WebRenderScrollDataCollection. r=jrmuizel
This basically allowed managing a bunch of scroll data things in parallel
for all the render roots which we don't need anymore.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 20:45:21 +00:00
Kartikaya Gupta cee04b337d Bug 1622360 - Remove the sub-builder machinery. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D69844

--HG--
extra : moz-landing-system : lando
2020-04-06 20:45:14 +00:00
Kartikaya Gupta 134d04f038 Bug 1622360 - Remove the code that deals with render root rects. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D69843

--HG--
extra : moz-landing-system : lando
2020-04-06 20:44:58 +00:00
Kartikaya Gupta 1c73319b51 Bug 1622360 - Downgrade mPendingScrollUpdates from RenderRootArray. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D69842

--HG--
extra : moz-landing-system : lando
2020-04-06 20:44:46 +00:00
Mihai Alexandru Michis 5da80eeda9 Backed out 3 changesets (bug 1550037) for causing bustages in SharedFontList-impl.h
CLOSED TREE

Backed out changeset 34ebd6260867 (bug 1550037)
Backed out changeset 7571e5bc19e7 (bug 1550037)
Backed out changeset 71fdead8eecb (bug 1550037)
2020-04-07 13:11:17 +03:00
Jonathan Kew a7a8713b2b Bug 1550037 - patch 3 - Remove mAddr from the ShmBlock struct, as mShmem->memory() is now a trivial inline accessor. r=jwatt
In mozilla::ipc::SharedMemory, the memory() method was virtual, so we cached the address here
(although the compiler would likely have inlined the accessor as the `final` concrete subclass
was known). Anyhow, in base::SharedMemory it's a trivial (non-virtual) accessor, so there's
no sense in shadowing it here.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 09:24:32 +00:00
Jonathan Kew 68661385f7 Bug 1550037 - patch 2 - Ensure the font-list memory blocks passed to content processes are shared as readonly copies. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D68779

--HG--
extra : moz-landing-system : lando
2020-04-07 09:24:30 +00:00
Jonathan Kew 1bf1c749a5 Bug 1550037 - patch 1 - Migrate shared font-list code from mozilla::ipc::SharedMemoryBasic to base::SharedMemory APIs. r=jwatt
The base::SharedMemory class provides APIs to create a "read-only" copy of a shared memory block,
which means it can be shared to a child process without the risk that the child might map it as
writable and corrupt the contents. We want to use this facility for the font list, hence switching
the shared-memory APIs used.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 09:23:24 +00:00
Kearwood "Kip" Gilbert 69a59222c1 Bug 1618365 - Populate XRFrame for RAF callback r=imanol
We were only missing some validation as part of the XRFrame initialization.

Rest is already happening in XRSession::StartFrame

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

--HG--
extra : moz-landing-system : lando
2020-03-23 15:45:48 +00:00
Dzmitry Malyshau 3021defc28 Bug 1602133 - WebGPU presentation r=jgilbert,webidl,smaug,aosmond
This change adds support for CanvasContext presenting WebGPU via CPU readback.
The presentation is handled mostly on GPU process side by managing a list of staging buffers
and copying the contents into a WR external image (backed by an external buffer).

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

--HG--
extra : moz-landing-system : lando
2020-04-06 22:29:18 +00:00
Bert Peers 7f2e1717d9 Bug 1624468 - Add a fast path for more gradient types in WR r=gw
Differential Revision: https://phabricator.services.mozilla.com/D68945

--HG--
extra : moz-landing-system : lando
2020-04-06 07:16:25 +00:00
Cosmin Sabou 2f4d9af7d3 Backed out changeset bc6b2b003c6e (bug 1602133) for causing build bustages on CanvasRenderingContextHelper.cpp.
--HG--
extra : histedit_source : 917f3627a3e3f8dab0d806b69fc716bfd9f1d483
2020-04-06 23:46:51 +03:00
Chris Martin 64e1fb7a45 Bug 1540776 - Have parent send color profile to child during launch r=aosmond,jld,jfkthame,florian
For Win32k lockdown, we need to remove the content processes' ability to
call GetICMProfileW(). Since it needs this to retrieve the output color
profile, a new synchronous call is added that allows it to request the
parent process to read this file on its behalf.

The contents of the file are now being cached as well, as this should help
ease some of the increased parent process I/O caused by the children not
being able to do this in their process anymore.

For performance reasons, during launch this information is passed directly
to the child through the SetXPCOMProcessAttributes call

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

--HG--
extra : moz-landing-system : lando
2020-04-02 15:42:15 +00:00
Dzmitry Malyshau 5004affc0e Bug 1602133 - WebGPU presentation r=jgilbert,webidl,smaug,aosmond
This change adds support for CanvasContext presenting WebGPU via CPU readback.
The presentation is handled mostly on GPU process side by managing a list of staging buffers
and copying the contents into a WR external image (backed by an external buffer).

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

--HG--
extra : moz-landing-system : lando
2020-04-06 20:10:03 +00:00
Glenn Watson 76a0c60d29 Bug 1627588 - Fix picture cache tiles being evicted too eagerly. r=nical
The picture cache code retains a set of tiles that are currently
off-screen but might be needed again soon, depending on how the
page is scrolled.

However, off-screen tiles were being skipped during draw processing,
which meant that the texture cache request method was not being
called on these tiles. This would often result in the texture
cache eagerly evicting these seemingly unused surface tiles.

This patch re-arranges the occlusion and visibility processing
code for tiles, so that if a tile has been retained in the
picture cache grid, the texture surface is always requested,
even if that tile is currently off-screen. This prevents the
texture cache from evicting tiles that we want to retain for now.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 15:01:29 +00:00
Kearwood Gilbert 9136ce65cf Bug 1614496 - Implement WebXR Core Module DOM Interfaces r=jgilbert,daoshengmu,webidl,smaug,baku,imanol
Implement DOM interfaces for the WebXR Core Module. Additional work to implement the WebXR Core Module are marked with TODO (Bug #) comments within the patch and must be landed before enabling the dom.vr.webxr.enabled flag.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 19:33:32 +00:00
Bogdan Tara 7f7cc68c64 Backed out changeset 377a757c583d (bug 1602133) for webgpu related bustages CLOSED TREE 2020-04-06 21:59:57 +03:00
Dzmitry Malyshau 3791cb767b Bug 1626827 - Force WR picture tasks to fit into max target size r=Bert
this is an attempt to handle tasks outside of the device bounds,
that belong to surfaces not establishing raster roots.

I suspect that the scaling we are now setting up in adjust_scale_for_max_surface_size
doesn't work properly, since the function was assumed to only affect the raster-rooted
surfaces. But it does fix the crash we have.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 00:06:13 +00:00
Dzmitry Malyshau 4c3a924336 Bug 1602133 - WebGPU presentation r=jgilbert,webidl,smaug,aosmond
This change adds support for CanvasContext presenting WebGPU via CPU readback.
The presentation is handled mostly on GPU process side by managing a list of staging buffers
and copying the contents into a WR external image (backed by an external buffer).

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:55:01 +00:00
Kartikaya Gupta 721e617cf9 Bug 1589046 - Terminate momentum panning once we reach a point where there is uncomsumed scroll. r=botond
This prevents OS-produced momentum panning events from having an effect after
the user sees the momentum panning "end" due to scrolling as far as possible.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 17:18:20 +00:00
Kartikaya Gupta 16f21d1f89 Bug 1589046 - Propagate the return value from AttemptScroll to DispatchScroll and CallDispatchScroll. r=botond
No functional changes here.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 17:18:12 +00:00
Aaron Klotz 4cac9b3eb9 Bug 1627354: Part 5 - Update wrench to build using Android 29; r=kats
Depends on D69634

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

--HG--
extra : moz-landing-system : lando
2020-04-04 03:15:57 +00:00
Kris Taeleman 564741ef90 Bug 1610731 - Adjust the sticky positioned elements transform for the dynamic toolbar. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D69559

--HG--
extra : moz-landing-system : lando
2020-04-04 18:53:01 +00:00
Kris Taeleman ce7cd3b23c Bug 1610731 - Incorporate the top/bottom margins set by reftests. r=botond
This makes the existing test for this codepath start passing on geckoview-qr.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 18:52:59 +00:00
Kris Taeleman 50c695f4b3 Bug 1610731 - Add plumbing for sticky data. r=botond
This patch is pretty uninteresting, just building the pipe to move data
from the main-thread to APZ.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 06:16:55 +00:00
Kartikaya Gupta 4c319c0ce7 Bug 1610731 - Remove GetIsStickyPosition and clean up some TODOs. r=botond
The GetIsStickyPosition function isn't really needed since we can distinguish
whether or not a layer is sticky via NULL_SCROLL_ID as the container id. Also
ensure we have proper AtBottomLayer checks where needed for fixed and sticky
data.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 06:16:57 +00:00
Kartikaya Gupta 610597891f Bug 1610731 - Replace inefficient cargo-culted code with more efficient version. r=botond
Instead of storing pointers to the nodes in the TreeBuildingState, and then
extracting information from them later, we can just extract the information
right away, put that in the TreeBuildingState, and move the final structure
into place.

This isn't possible with some of the other similar-looking structures that this
was presumably cargo-culted from (such as the one that holds the thumb
information) since those need to be able to look up references to other APZCs
which can only be done after the tree walk is complete.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 06:16:40 +00:00
Mirko Brodesser 33bac859bb Bug 1626665: part 3) Declare more methods around `nsTextFrame` `const`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D69573

--HG--
extra : moz-landing-system : lando
2020-04-06 08:36:30 +00:00
Jonathan Kew ed8883688f Bug 1627397 - Fix broken behavior of gfxPlatformFontList::FindAndAddFamilies when shared fontlist is enabled. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D69721

--HG--
extra : moz-landing-system : lando
2020-04-05 23:38:48 +00:00
Sylvestre Ledru 0aa6f03cf3 Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-04-05 13:34:58 +00:00
Botond Ballo 52f3cf2ded Bug 1627482 - Fix non-unified build errors in gfx/src. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69737

--HG--
extra : moz-landing-system : lando
2020-04-05 03:49:40 +00:00
Botond Ballo 0db5983e81 Bug 1627482 - Fix non-unified build errors in gfx/webrender_bindings. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69736

--HG--
extra : moz-landing-system : lando
2020-04-05 03:49:51 +00:00
Botond Ballo 87aa8e8c03 Bug 1627482 - Fix non-unified build errors in gfx/vr. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69735

--HG--
extra : moz-landing-system : lando
2020-04-05 03:50:02 +00:00
Botond Ballo d9d95096f9 Bug 1627482 - Fix non-unified build errors in gfx/thebes. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69734

--HG--
extra : moz-landing-system : lando
2020-04-05 03:50:14 +00:00
Botond Ballo 400b5015cc Bug 1627482 - Fix non-unified build errors in gfx/tests. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69733

--HG--
extra : moz-landing-system : lando
2020-04-05 03:50:23 +00:00
Botond Ballo 137d2e50d3 Bug 1627482 - Fix non-unified build errors in gfx/ipc. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69732

--HG--
extra : moz-landing-system : lando
2020-04-05 03:50:33 +00:00
Botond Ballo 22d1a37a79 Bug 1627482 - Fix non-unified build errors in gfx/gl. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69731

--HG--
extra : moz-landing-system : lando
2020-04-05 03:50:33 +00:00
Botond Ballo bb18e79768 Bug 1627480 - Fix non-unified build errors in gfx/2d. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69729

--HG--
extra : moz-landing-system : lando
2020-04-04 23:48:48 +00:00
Botond Ballo 671b80b84e Bug 1626659 - Fix non-unified build errors elsewhere in gfx/layers. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69720

--HG--
extra : moz-landing-system : lando
2020-04-04 23:39:14 +00:00
Botond Ballo ce19be045c Bug 1626659 - Fix non-unified build errors in gfx/layers/mlgpu. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69719

--HG--
extra : moz-landing-system : lando
2020-04-04 23:39:01 +00:00
Ciure Andrei 3f9e822318 Backed out 8 changesets (bug 1610731) for causing fullscreen related wpt failures CLOSED TREE
Backed out changeset 8d11e5caff2a (bug 1610731)
Backed out changeset 089ef5398b32 (bug 1610731)
Backed out changeset bcbf21dcd7b4 (bug 1610731)
Backed out changeset 0e5823826e91 (bug 1610731)
Backed out changeset d8fbbc7fc65d (bug 1610731)
Backed out changeset c2b1bd759595 (bug 1610731)
Backed out changeset 4162437c7931 (bug 1610731)
Backed out changeset e7d6f26c1019 (bug 1610731)
2020-04-04 09:12:26 +03:00
sotaro 5d801f7ca2 Bug 1627117 - Trigger WR rendering twice during disabling native compositor r=jrmuizel
It seems that first rendering to SwapChain was not handled by IDCompositionVisual2. Then, as shot term fix, force to do WR rendering twice during disabling WR native compositor. It could mitigate black flashing problem.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 03:09:11 +00:00
Kris Taeleman 3acf2adc57 Bug 1610731 - Adjust the sticky positioned elements transform for the dynamic toolbar. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D69559

--HG--
extra : moz-landing-system : lando
2020-04-04 01:02:30 +00:00
Kris Taeleman 1219331fcf Bug 1610731 - Incorporate the top/bottom margins set by reftests. r=botond
This makes the existing test for this codepath start passing on geckoview-qr.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 01:02:23 +00:00
Kris Taeleman b930c987dc Bug 1610731 - Add plumbing for sticky data. r=botond
This patch is pretty uninteresting, just building the pipe to move data
from the main-thread to APZ.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 01:02:03 +00:00
Kartikaya Gupta dcd22a4c33 Bug 1610731 - Remove GetIsStickyPosition and clean up some TODOs. r=botond
The GetIsStickyPosition function isn't really needed since we can distinguish
whether or not a layer is sticky via NULL_SCROLL_ID as the container id. Also
ensure we have proper AtBottomLayer checks where needed for fixed and sticky
data.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 01:01:58 +00:00
Kartikaya Gupta 2d6f912576 Bug 1610731 - Replace inefficient cargo-culted code with more efficient version. r=botond
Instead of storing pointers to the nodes in the TreeBuildingState, and then
extracting information from them later, we can just extract the information
right away, put that in the TreeBuildingState, and move the final structure
into place.

This isn't possible with some of the other similar-looking structures that this
was presumably cargo-culted from (such as the one that holds the thumb
information) since those need to be able to look up references to other APZCs
which can only be done after the tree walk is complete.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 01:01:50 +00:00
Brindusan Cristian 66ab7a9660 Backed out 8 changesets (bug 1610731) for reftest failures at dynamic-toolbar-fixed-bottom-1.html. CLOSED TREE
Backed out changeset a26b63d0248e (bug 1610731)
Backed out changeset c33e6fe22774 (bug 1610731)
Backed out changeset 840550c070e8 (bug 1610731)
Backed out changeset 7bffd6eb9ac7 (bug 1610731)
Backed out changeset a383a7100973 (bug 1610731)
Backed out changeset 8f2bae2ca274 (bug 1610731)
Backed out changeset 8d43fbe05f38 (bug 1610731)
Backed out changeset 035432f43d16 (bug 1610731)

--HG--
rename : layout/reftests/async-scrolling/dynamic-toolbar-sticky-top-1.html => layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html
2020-04-04 00:47:08 +03:00
Kris Taeleman 679dec16a4 Bug 1610731 - Adjust the sticky positioned elements transform for the dynamic toolbar. r=botond
Depends on D69558

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

--HG--
extra : moz-landing-system : lando
2020-04-03 17:35:59 +00:00
Kris Taeleman 5ac6d32ba7 Bug 1610731 - Incorporate the top/bottom margins set by reftests. r=botond
This makes the existing test for this codepath start passing on geckoview-qr.

Depends on D69557

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

--HG--
extra : moz-landing-system : lando
2020-04-03 17:34:16 +00:00
Kris Taeleman c30f07d3bb Bug 1610731 - Add plumbing for sticky data. r=botond
This patch is pretty uninteresting, just building the pipe to move data
from the main-thread to APZ.

Depends on D69554

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

--HG--
extra : moz-landing-system : lando
2020-04-03 16:54:56 +00:00
Kartikaya Gupta 02b7cb7d2a Bug 1610731 - Remove GetIsStickyPosition and clean up some TODOs. r=botond
The GetIsStickyPosition function isn't really needed since we can distinguish
whether or not a layer is sticky via NULL_SCROLL_ID as the container id. Also
ensure we have proper AtBottomLayer checks where needed for fixed and sticky
data.

Depends on D69553

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

--HG--
extra : moz-landing-system : lando
2020-04-03 17:42:55 +00:00
Kartikaya Gupta a86f457a44 Bug 1610731 - Replace inefficient cargo-culted code with more efficient version. r=botond
Instead of storing pointers to the nodes in the TreeBuildingState, and then
extracting information from them later, we can just extract the information
right away, put that in the TreeBuildingState, and move the final structure
into place.

This isn't possible with some of the other similar-looking structures that this
was presumably cargo-culted from (such as the one that holds the thumb
information) since those need to be able to look up references to other APZCs
which can only be done after the tree walk is complete.

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

--HG--
extra : moz-landing-system : lando
2020-04-03 16:47:16 +00:00
Jonathan Kew cb4f80d249 Bug 1619350 - patch 3 - Add lists of base system fonts for latest Ubuntu and Fedora versions. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D68227

--HG--
extra : moz-landing-system : lando
2020-04-02 23:12:56 +00:00
Jeff Muizelaar ee2859de3e Bug 1627045 - Include some more information about feature status when blacklisting webrender. r=aosmond
This adds a helper for applying gfxinfo state to a gfxFeature. The
helper includes the blacking list reason which should give us some more
information for about:support and telemetry.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:38:19 +00:00
Timothy Nikkel e9a1f92b4a Bug 1626259. When computing the scale for a stacking context with webrender look at this stacking context to see if it is preserve 3d and not it's parent to match FrameLayerBuilder::ChooseScale. r=jrmuizel
Back when webrender did not call FrameLayerBuilder::ChooseScale (it was called ChooseScaleAndSetTransform back then until it was factored out in bug 1415987) bug 1449640 landed which made the webrender scale choosing more closely align with FrameLayerBuilder::ChooseScale by not computing a scale of there was preserve3d or perspective involved. That patch had a bug, it looked at the parent stacking context helper to see if it had preserve 3d, but FrameLayerBuilder::ChooseScale looks at the current "stacking context".

This didn't cause a problem in the testcase from this bug until bug 1569215 landed. In the testcase in this bug we have a stacking context with a 2d transform whose parent stacking context is preserve3d. So we pass down the scale from the parent stacking context and completely ignore the scale induced by the 2d transform. Passing 1.f to ChooseScale instead of the parent scale factor "undid" this mistake, so when that was fixed we regressed this testcase.

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

--HG--
extra : moz-landing-system : lando
2020-04-03 01:24:54 +00:00
Dzmitry Malyshau 02a026667e Bug 1624881 - Work around the relative transform failed expectations r=gw
we expect that the children spatial node goes after the parent.
If it's not the case, we can still fall back to a full world transform,
but it's not going to be correct with regards to flattening.
As we don't know the circumstances and are unable to reproduce the issue,
making this fallback could be a reasonable thing to do for now.

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

--HG--
extra : moz-landing-system : lando
2020-04-03 00:39:37 +00:00
Stefan Hindli 52dbd58d66 Backed out changeset dfa94a886779 (bug 1624468) for causing web platform permafailures in /css/css-images/gradient-move-stops.html CLOSED TREE 2020-04-03 03:07:20 +03:00
Bert Peers b55f9bcbf6 Bug 1624468 - Add a fast path for more gradient types in WR r=gw
Differential Revision: https://phabricator.services.mozilla.com/D68945

--HG--
extra : moz-landing-system : lando
2020-04-02 19:50:12 +00:00
Nicolas Silva 780c056648 Bug 1626666 - Rename IpcProfileCounters into TransactionProfileCounters. r=jrmuizel
Few of the counters actually have anything to do with IPC although they all relate to events of layout transactions.

Depends on D69414

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

--HG--
extra : moz-landing-system : lando
2020-04-02 18:25:59 +00:00
Nicolas Silva 82f42d6e29 Bug 1626666 - Ensure ipc profile counters follow transactions through the scene builder thread. r=jrmuizel
Instead of collecting so-called ipc counters when receving the SetDisplayList on the render backend, pass the information through the scene builder thread and update the profile on the render backend after the scene is swapped. This prevents ipc counters to be displayed while the transaction is still being processed by the scene builder thread.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 18:32:57 +00:00
Nicolas Silva 5ca5cd78ce Bug 1624627 - Add a slow transaction indicator. r=jrmuizel
It moves when DL building + IPC + scene building takes more than 100ms.

Depends on D69247

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

--HG--
extra : moz-landing-system : lando
2020-04-02 18:32:58 +00:00
Nicolas Silva fdb6027218 Bug 1624627 - Reimplement the slow frame indicator. r=jrmuizel
This removes the WebRender side of the previous slow frame indicator and replace it with a simple implementation that only looks at the CPU time on the render backend and renderer thread involved for building a frame.

A followup patch will add a separate indicator for when the displaylist/ipc/scene bits take too long.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 17:23:15 +00:00
Nicolas Silva 53168da7e7 Bug 1625365 - Improve the blob image overview documentation. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D68985

--HG--
extra : moz-landing-system : lando
2020-04-02 18:32:14 +00:00
Nicolas Silva ca77a08ff3 Bug 1581475 - Don't attempt to draw if PreapreForDrawing fails. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D68844

--HG--
extra : moz-landing-system : lando
2020-04-02 18:27:35 +00:00
Nicolas Silva 258b9dbb37 Bug 1626209 - Adjust reftest fuzziness. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D69384

--HG--
extra : moz-landing-system : lando
2020-04-02 14:57:34 +00:00
Daosheng Mu cf3d5a82b6 Bug 1624240 - Valve Index controller support for WebXR. r=kip
MozReview-Commit-ID: 6rLxOyCQexw

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

--HG--
extra : moz-landing-system : lando
2020-04-02 16:25:35 +00:00
Jonathan Kew db5bae5fe8 Bug 1626844 - Prefer Helvetica over Menlo as fallback font for Georgian on macOS. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D69334

--HG--
extra : moz-landing-system : lando
2020-04-02 16:44:26 +00:00
Dorel Luca ed4bab52bc Backed out changeset b9b3d4f3f430 (bug 1626844) for WR failures in marker-text-matches-georgian.html. CLOSED TREE
--HG--
extra : amend_source : ad81e149675bf77a253fb94c66d1a47bdd066c2a
2020-04-02 19:03:15 +03:00
Nicolas Silva 4e7b069162 Bug 1626666 - Rework the ipc profile counters. r=Bert,gw
Before this patch:
 - Consume time merely is the time it takes to push something into a vector (always displays zero).
 - Total IPC time and the DisplayList IPC graph measure the time between api.set_display_list and the render backend picking the message up, plus the time it took to build the display list (but doesn't take into account the time it took for actual IPC in between).
 - Send time is only the time between api.set_display_list and the render backend picking the message up but doesn't take into account the time it took between the content thread sending the DL and the compositor thread forwarding it.

After this patch:
 - Content send time measures the time between the content thread sending the display list and the compositor forwarding it (actual IPC).
 - Api send time measures the time between the compostor thread forwarding the DL and the render backend picking it up.
 - Consume time is removed.
 - Total send time is the sum of content and api times.
 - Display list build times and display list IPC (total send time) are on separate graphs.

Depends on D69227

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

--HG--
extra : moz-landing-system : lando
2020-04-02 02:51:12 +00:00