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

33005 Коммитов

Автор SHA1 Сообщение Дата
Coroiu Cristina c1e4fdf4a6 Backed out 6 changesets (bug 1444434) for build bustages on a CLOSED TREE
Backed out changeset 13c0d857bf3c (bug 1444434)
Backed out changeset d2c85db549ea (bug 1444434)
Backed out changeset 543708a1f683 (bug 1444434)
Backed out changeset af008ed0a5c2 (bug 1444434)
Backed out changeset ec2a81eea388 (bug 1444434)
Backed out changeset 0bcf6edc8656 (bug 1444434)
2019-03-26 23:43:17 +02:00
Dzmitry Malyshau 5e158608bc Bug 1528674 - WR improve picture texture cache allocaton r=gw
The change contains a number of incremental improvements with the main goal of:
  - allocating exactly as many tile as required by the app
  - respecting the picture caching option

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

--HG--
extra : moz-landing-system : lando
2019-03-26 21:18:09 +00:00
Barret Rennie b8fcd696e6 Bug 1444434 - Free the Gecko profiler screenshots structures in the WebRender renderer when profiling stops r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D23964

--HG--
extra : moz-landing-system : lando
2019-03-21 19:30:34 +00:00
Barret Rennie 0bbd0a6539 Bug 1444434 - Submit screenshots to the Gecko profiler from WebRender r=kvark,mstange
Differential Revision: https://phabricator.services.mozilla.com/D23963

--HG--
extra : moz-landing-system : lando
2019-03-26 18:33:19 +00:00
Barret Rennie 02072d330d Bug 1444434 - Add C bindings to the Renderer::get_screenshot_async and Renderer::map_and_recycle_screenshot APIs r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D23962

--HG--
extra : moz-landing-system : lando
2019-03-21 19:09:22 +00:00
Barret Rennie 84219e9643 Bug 1444434 - Add infrastructure for reading back screenshots for the Gecko profiler to WebRender r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D23961

--HG--
extra : moz-landing-system : lando
2019-03-21 19:16:12 +00:00
Barret Rennie b8cb6e3e8a Bug 1444434 - Capture screenshots for the Gecko profiler in WebRender r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D23960

--HG--
extra : moz-landing-system : lando
2019-03-21 20:13:58 +00:00
Barret Rennie b73731e1e0 Bug 1444434 - Optionally create PBOs with a backing buffer and store that size with the PBO r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D23959

--HG--
extra : moz-landing-system : lando
2019-03-21 17:07:24 +00:00
Ian Moody c75e259e88 Bug 1538764 - gfx/ manual ESLint no-throw-literal fixes. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D24730

--HG--
extra : moz-landing-system : lando
2019-03-25 19:24:47 +00:00
Ian Moody 07072d5105 Bug 1538764 - gfx/ automated ESLint no-throw-literal fixes. r=kats
Result of running:
$ mach eslint -funix gfx/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

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

--HG--
extra : moz-landing-system : lando
2019-03-26 11:52:06 +00:00
Alex Gaynor 8024e86d02 Bug 1538796 - Part 6 - remove unused IPDL OverlaySource union; r=kats
Depends on D24751

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

--HG--
extra : moz-landing-system : lando
2019-03-25 19:30:26 +00:00
Alex Gaynor c711ab78bc Bug 1538796 - Part 5 - convert IPDL MaybeTexture union to use native Maybe syntax; r=mattwoodrow
Depends on D24750

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

--HG--
extra : moz-landing-system : lando
2019-03-25 18:56:30 +00:00
Alex Gaynor 05757c3863 Bug 1538796 - Part 4 - remove unused IPDL MaybeRegion union; r=kats
Depends on D24749

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

--HG--
extra : moz-landing-system : lando
2019-03-25 19:29:50 +00:00
Alex Gaynor 46926da383 Bug 1538796 - Part 3 - convert IPDL OptionalOpacity union to use native Maybe syntax; r=kats
Depends on D24748

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

--HG--
extra : moz-landing-system : lando
2019-03-25 19:29:46 +00:00
Alex Gaynor 91eb929e7b Bug 1538796 - Part 2 - remove unused IPDL OptionalOpacity union; r=kats
Depends on D24747

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

--HG--
extra : moz-landing-system : lando
2019-03-25 19:26:21 +00:00
Alex Gaynor 683876f917 Bug 1538796 - Part 1 - remove unused IPDL OptionalTransform union; r=kats
Differential Revision: https://phabricator.services.mozilla.com/D24747

--HG--
extra : moz-landing-system : lando
2019-03-25 19:26:01 +00:00
Kearwood "Kip" Gilbert 8798e1bf90 Bug 1537550 - Use PlainOldDataSerializer for POD types in VRMessageUtils r=daoshengmu
Moved non-POD member of VRDisplayInfo to VRDisplayHost
VRDisplayInfo is now also a POD type (And asserted so)

Use PlainOldDataSerializer for POD types in VRMessageUtils
Moved non-POD member of VRDisplayInfo to VRDisplayHost
VRDisplayInfo is now also a POD type (And asserted so)

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

--HG--
extra : moz-landing-system : lando
2019-03-25 18:06:32 +00:00
Daosheng Mu 433677bcfa Bug 1522358 - Requery VRDisplayHost from VRManagers instead of using weakptr from the hash table. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D24584

--HG--
extra : moz-landing-system : lando
2019-03-25 17:51:51 +00:00
Randall Barker 4b64fa649d Bug 1500719 - Ensure toolbar is hidden when going fullscreen r=botond
Differential Revision: https://phabricator.services.mozilla.com/D24348

--HG--
extra : moz-landing-system : lando
2019-03-21 23:39:59 +00:00
Edwin Gao 139cb1eebf Bug 1536284 - Bug 1536278, 1536369 - disable various tests in marionette test suites tha fail for windows10-aarch64 r=jmaher,whimboo
Several tests in marionette are failing in `Mn`, `MnH`, `MG` for windows10-aarch64.

This patch disables the tests that are failing.

Individual issues are recorded in:
- 1536278
- 1536369

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

--HG--
extra : moz-landing-system : lando
2019-03-25 16:16:56 +00:00
arthur.iakab ee02cd6515 Merge inbound to mozilla-central a=merge 2019-03-25 17:53:27 +02:00
Glenn Watson b625730d0b Bug 1538626 - Support fast path for clip-out rectangles in WR. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D24666

--HG--
extra : moz-landing-system : lando
2019-03-25 08:35:31 +00:00
Kartikaya Gupta 6b4891ea03 Bug 1538538 - Minor tweak for consistency. r=dthayer
This has no functional effect but makes it consistent with other similar
sites.

Depends on D24650

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

--HG--
extra : moz-landing-system : lando
2019-03-24 20:52:46 +00:00
Kartikaya Gupta be36538530 Bug 1538538 - Guard against null pointer dereference. r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D24650

--HG--
extra : moz-landing-system : lando
2019-03-24 20:47:31 +00:00
Botond Ballo 9a387fad8c Bug 1531535 - Expose the ability to do a visual smooth scroll in nsIDOMWindowUtils. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D24555

--HG--
extra : moz-landing-system : lando
2019-03-23 20:23:54 +00:00
Doug Thayer a794a12c8c Bug 1441308 - Always send parent commands when sending mDestroyedActors r=kats,sotaro
If we try to send them separately as we were before, we can run into
cases where we try to destroy the actors and then send the OpRemoveTexture,
which crashes.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:29:04 +00:00
Doug Thayer c734d845d0 Bug 1441308 - Map document layers to z ranges r=gw
As discussed in IRC. AFAICT the ORTHO_NEAR|FAR_PLANE should match
up with the ranges of valid ZBufferIds, but please double-check
me.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:51 +00:00
Doug Thayer 09c427ac55 Bug 1441308 - Correct Renderer issues with multiple documents r=gw
This corrects A) An issue encountered with our strategy for skipping
the end_pass call for all but an offscreen render target. See the
comment above the end_pass call for details, and B) An issue with
depth clearing where we do not clear the whole rect if there are
multiple non-intersecting documents.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:46 +00:00
Doug Thayer 45b7708846 Bug 1441308 - Rename ForEach trait to AsyncForEach r=lsalzman
Just a little rename for clarity - I ended up scratching my head at
something for a little more time than I should have because I assumed
this was synchronous without looking at the implementation.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:38 +00:00
Doug Thayer b172543596 Bug 1441308 - Core renderroot splitting changes r=kats,sotaro
This is a large patch that contains all of the core changes for
renderroot splitting.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:42 +00:00
Doug Thayer b78a7a9c81 Bug 1441308 - Add the render root splitting pref r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D12844

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:31 +00:00
Lee Salzman fad3958ac4 Bug 1495400 - don't draw non-scalable FT faces as paths. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D24416

--HG--
extra : moz-landing-system : lando
2019-03-22 17:52:48 +00:00
Kartikaya Gupta 1e08b4ff7c Bug 1509295 - Apply axis locking for flings at the start of the fling. r=botond
Instead of having special code in the velocity tracker to deal with axis
locking and cancel out the position delta, we can apply axis locking
when we transition from the pan to the fling and simply cancel the
velocity on locked axes. This avoids the problem where we start a fling
from an axis lock but velocity information from prior to the axis lock
is used to compute the (perhaps unexpected) fling trajectory.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 16:44:45 +00:00
Gijs Kruitbosch 8e02fa26bc Bug 1519241 - remove nightly-only low-end device detection, r=kats,chutten,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D24345

--HG--
extra : moz-landing-system : lando
2019-03-22 08:44:18 +00:00
Ciure Andrei 3de853018a Backed out 7 changesets (bug 1441308)for causing webrender build bustages CLOSED TREE
Backed out changeset 1764701d11d1 (bug 1441308)
Backed out changeset 32f7793dfd1a (bug 1441308)
Backed out changeset d8b4d6ec9b40 (bug 1441308)
Backed out changeset e2f83e4816dd (bug 1441308)
Backed out changeset baee8ada680f (bug 1441308)
Backed out changeset c09a51622e98 (bug 1441308)
Backed out changeset 737807563dd5 (bug 1441308)
2019-03-22 10:52:44 +02:00
Doug Thayer 278c2303da Bug 1441308 - Always send parent commands when sending mDestroyedActors r=kats,sotaro
If we try to send them separately as we were before, we can run into
cases where we try to destroy the actors and then send the OpRemoveTexture,
which crashes.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 23:15:42 +00:00
Doug Thayer 472a9344d2 Bug 1441308 - Map document layers to z ranges r=gw
As discussed in IRC. AFAICT the ORTHO_NEAR|FAR_PLANE should match
up with the ranges of valid ZBufferIds, but please double-check
me.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 23:15:23 +00:00
Doug Thayer fc4d50c197 Bug 1441308 - Correct Renderer issues with multiple documents r=gw
This corrects A) An issue encountered with our strategy for skipping
the end_pass call for all but an offscreen render target. See the
comment above the end_pass call for details, and B) An issue with
depth clearing where we do not clear the whole rect if there are
multiple non-intersecting documents.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 03:15:18 +00:00
Doug Thayer 32a7e500dd Bug 1441308 - Rename ForEach trait to AsyncForEach r=lsalzman
Just a little rename for clarity - I ended up scratching my head at
something for a little more time than I should have because I assumed
this was synchronous without looking at the implementation.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 03:15:16 +00:00
Doug Thayer 5b3a0454a4 Bug 1441308 - Core renderroot splitting changes r=kats,sotaro
This is a large patch that contains all of the core changes for
renderroot splitting.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 03:15:14 +00:00
Doug Thayer 626d53a5b9 Bug 1441308 - Add the render root splitting pref r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D12844

--HG--
extra : moz-landing-system : lando
2019-03-21 23:14:26 +00:00
Mike Hommey f065aaf078 Bug 1537673 - Remove remaining useless CC_TYPE test. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D24314

--HG--
extra : moz-landing-system : lando
2019-03-21 13:22:02 +00:00
Kartikaya Gupta 388044686f Bug 1536162 - Update bugzilla component for gfx/wr. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D23894

--HG--
extra : moz-landing-system : lando
2019-03-21 20:40:57 +00:00
Botond Ballo 2ce3d47ca0 Bug 1536157 - Make sure we repaint after accepting a visual scroll update. r=kats
A possible alternative would be to have the main thread already paint a
displayport at the target position of a requested visual update as part of
the same transaction that requests the update.

There are a couple of reasons we may not want to do that:

 1) APZ could reject the requested visual update under certain conditions,
    e.g. if there is a higher-priority layout update.

 2) It would break the property that the displayport in the main thread's
    scroll metadata is relative to the scroll offset in said metadata.
    Various places assume this and untangling that seems tricky.

This does mean that if the main thread requests a visual update to "far away"
(outside the existing displayport), we can get temporary checkerboarding
before the content at the target position is painted. However, it's
straightforward for callers to work around that, by changing the layout scroll
offset _and_ scheduling a visual update if they wish to visual-scroll far
away.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 05:20:31 +00:00
Glenn Watson 557728d4ad Bug 1537668 - Refactor how clip task indices are passed to shaders. r=kvark
This patch shouldn't have any functional effect. It's motivated by
some changes needed to implement clip masks in pixel local storage,
but these are also general improvements that stand alone. Specifically:

 - Remove clip_task_index from the global PrimitiveHeader struct.
   In most cases, the clip task is supplied in the BrushInstance
   structure, so it makes no sense to have this as a common field,
   where it is generally unused. Instead, there is now an extra
   'user data' field available in the PrimitiveHeader. Non-brush
   shaders (text_run and split_composite) use that extra field to
   store the clip task address, while the brush shaders gain an extra
   (currently unused) user data field.
 - In turn, this means there is no need to unconditionally try
   and retrieve the first clip task address for a primitive
   during batching. This was previously used to initialize the
   PrimitiveHeader structure.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 14:37:57 +00:00
Kartikaya Gupta f6575a29b2 Bug 1537577 - Move doc comment to fix new warning in rustc 1.35.0-nightly. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D24359

--HG--
extra : moz-landing-system : lando
2019-03-21 14:32:09 +00:00
Nicholas Nethercote a955ca9592 Bug 1535226 - Remove uses of XP_WIN32 in Gecko. r=glandium
The definitions can't be entirely removed yet because NSS still needs them.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 01:28:50 +00:00
Timothy Nikkel 93a1eaeaa2 Bug 1537660. Fix nsRegion::ToString(). r=bas
It never outputs the separator between rects.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 15:05:57 +00:00
Imanol Fernandez a3e06efc18 Bug 1537899 - Add neck model capability for VRPose position. r=kip
Add neck model capability for VRPose position.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 19:38:18 +00:00
Miko Mynttinen b9ba790058 Bug 1534805 - Unify FrameLayerBuilder and WR display list iterators r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D23230

--HG--
extra : moz-landing-system : lando
2019-03-21 03:15:16 +00:00