Commit Graph

12588 Commits

Author SHA1 Message Date
Csoregi Natalia
769bb21bcf Backed out changeset 931ffb6a2a7a (bug 1525805) by request. CLOSED TREE 2019-02-20 11:46:17 +02:00
Hiroyuki Ikezoe
062a28422e Bug 1525805 - Don't apply the minimum scale size if user-scalable=no is specified. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D20206

--HG--
extra : moz-landing-system : lando
2019-02-20 09:17:26 +00:00
sotaro
c51309eab2 Bug 1529148 - Remove WebRenderImageHost::mUseAsyncImagePipeline r=nical
WebRenderImageHost::mUseAsyncImagePipeline is not used anymore.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 08:27:09 +00:00
Jeff Gilbert
d6410e953a Bug 1528394 - Reduce includes of GLContext.h. r=lsalzman
Splitting part of OGLShaderProgram.h out into OGLShaderConfig.h makes it
easier to keep GLContext.h included in OGLShaderProgram.h for inlining
purposes.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 23:25:42 +00:00
Dorel Luca
342127c75f Backed out changeset 2c28c2185a32 (bug 1528394) for build bustage. CLOSED TREE 2019-02-19 22:09:07 +02:00
Jeff Gilbert
58e561b983 Bug 1528394 - Reduce includes of GLContext.h. r=lsalzman
Splitting part of OGLShaderProgram.h out into OGLShaderConfig.h makes it
easier to keep GLContext.h included in OGLShaderProgram.h for inlining
purposes.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 05:23:54 +00:00
sotaro
087c420a72 Bug 1526213 - Enable WebRenderTextureHostWrapper for canvas r=nical
By using WebRenderTextureHostWrapper for canvas, we could avoid triggering frame build on WebRender backend if WebRenderTextureHostWrapper is only change.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 09:33:32 +00:00
Dorel Luca
33e05d0370 Merge mozilla-central to mozilla-inbound 2019-02-17 12:50:55 +02:00
Csoregi Natalia
952908fda0 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-02-17 00:14:07 +02:00
Botond Ballo
67de81297c Bug 1527516 - Enable RDL in APZ mochitests that had it disabled due to container scrolling. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D19605

--HG--
extra : moz-landing-system : lando
2019-02-16 22:11:10 +00:00
Botond Ballo
996accd4cb Bug 1527516 - Disable container scrolling for test_group_minimum_scale_size.html. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D19604

--HG--
extra : moz-landing-system : lando
2019-02-16 22:11:00 +00:00
Sylvestre Ledru
e0c61dafa5 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Summary: # ignore-this-changeset

Reviewers: Ehsan

Reviewed By: Ehsan

Subscribers: emilio, jandem, bbouvier, jya

Bug #: 1519636

Differential Revision: https://phabricator.services.mozilla.com/D20062
2019-02-16 20:20:37 +01:00
Markus Stange
ad3f9a53de Bug 1500692 - Add GRAPHICS subcategories. r=njn,mattwoodrow
r?njn only because this is the first example that adds any actual subcategories.

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

--HG--
extra : moz-landing-system : lando
2019-02-16 17:38:23 +00:00
Markus Stange
0b151b8c2b Bug 1500692 - Centralize profiling category definition and add infrastructure for subcategories. r=njn
The actual subcategories will be added in later patches, so that there are no
unused categories.

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

--HG--
extra : moz-landing-system : lando
2019-02-16 17:37:43 +00:00
Botond Ballo
0e93ad31bf Bug 1526486 - Disable container scrolling in APZ zoom mochitests. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D19222

--HG--
extra : moz-landing-system : lando
2019-02-16 00:52:07 +00:00
Botond Ballo
df99bc4ec1 Bug 1526486 - Hook up reftest-async-{scroll,zoom} for containerless scrolling. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D19218

--HG--
extra : moz-landing-system : lando
2019-02-16 00:51:27 +00:00
Cosmin Sabou
a4b19fcd61 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 20:39:45 +02:00
Andrew Osmond
bc9d7000be Bug 1527085 - Ensure we invalidate when the image request changes. r=jrmuizel
When the underlying image request (imgIRequest) changes for an image, we
need to ensure that we invalidate the cached WebRenderImageData such that
the image container stored therein is updated to be for the correct
image. This gets a little tricky because some display items store both
the current and previous images, and choose to display the latter if the
former is not yet ready. We also don't know what image the image
container belongs to. As such, we now compare the producer ID of the
current frame in the image container, to the expected producer ID of the
current image request. If they don't match, we must regenerate the
display list.

Differential Revision: https://phabricator.services.mozilla.com/D19699
2019-02-15 09:24:21 -05:00
Sylvestre Ledru
41d1d79094 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Barret Rennie
3800dbb8ec Bug 1444449 - Do not return raw pointers to window targets from compositors r=bas
Differential Revision: https://phabricator.services.mozilla.com/D18598

--HG--
extra : moz-landing-system : lando
2019-02-12 18:53:10 +00:00
Oana Pop Rus
92588b4b9e Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-13 12:35:27 +02:00
Noemi Erli
b3adcc6d72 Backed out changeset de5c7c2699c4 (bug 1506376) for causing several devtools failures a=backout 2019-02-13 12:28:21 +02:00
Nicolas Silva
2517b42c0b Bug 1527441 - Separate WebRenderImageData and WebRenderFallbackData. r=jrmuizel
This patch is an attempt to separate the two and avoid accidentally getting into an inconsistent state.
WebRenderImageData manages resources for images that are shared with webrender, while WebRenderFallbackData manages state to render content, in most case in a blob image.
if the fallback data needs to render into a TextureClient, it creates a WebRenderImageData to hold on to the shared texture, but does not inherit from it anymore.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 09:21:11 +00:00
Razvan Maries
dcc3ecb682 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-13 07:23:59 +02:00
Andreea Pavel
7b1605af56 Backed out 3 changesets (bug 1525959, bug 1526002) for failing android
Backed out changeset de0efca1118e (bug 1526002)
Backed out changeset 503cbc86e442 (bug 1525959)
Backed out changeset 33ea61c54aea (bug 1525959)
2019-02-12 23:53:05 +02:00
Jeff Muizelaar
ce64d00a94 Bug 1524661. Include perspective items as container items. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D19562

--HG--
extra : moz-landing-system : lando
2019-02-12 20:47:36 +00:00
James Willcox
c7a8bf9699 Bug 1526002 - Replace 'isFennec' with 'is_fennec' in mochitest.ini r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D19038

--HG--
extra : moz-landing-system : lando
2019-02-10 19:07:57 +00:00
James Willcox
228b5844d5 Bug 1525959 - Skip some mochitests tests under GeckoView r=geckoview-reviewers,esawin
There are few things that are either Fennec-specific or don't work
currently under GeckoView w/ e10s under TestRunnerActivity. Disable
these so we can get some testing going in automation.

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

--HG--
extra : moz-landing-system : lando
2019-02-12 15:15:28 +00:00
Olli Pettay
13d0677ef8 Bug 1506376 - Make PCompositorBridge::DidComposite high priority message, r=aosmond
--HG--
extra : rebase_source : 8978db327f2c1711a1d00944f315bb3fe22f9c08
2019-02-08 14:46:56 +02:00
Bas Schouten
c57c0dec93 Bug 1444452: Implement screenshots on LayerManagerMLGPU. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D19323

--HG--
extra : rebase_source : 38fbabe7c4b1ea0c4627b02b527b848e0d415a0f
2019-02-11 02:31:24 +01:00
Hiroyuki Ikezoe
b5c12882f6 Bug 1526749 - Drop |aScrollPortSize| argument from ScrollSnapUtils::GetSnapPointForDestination. r=botond
It's no longer used since https://hg.mozilla.org/mozilla-central/rev/c55ab6afe5ad .

Depends on D19289

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

--HG--
extra : moz-landing-system : lando
2019-02-11 23:44:53 +00:00
Alex Gaynor
c51171d04d Bug 1525199 - Part 3 - removed size_t from ShmemSection IPDL struct, shmems are already limited to 32-bit sizes; r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D19195

--HG--
extra : moz-landing-system : lando
2019-02-08 21:52:50 +00:00
Kartikaya Gupta
8286a8c6ba Bug 1525450 - Guard against a null controller. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D19057

--HG--
extra : moz-landing-system : lando
2019-02-08 16:43:50 +00:00
Chris Peterson
8e1848413c Bug 1507049 - Rename MOZ_CRASH_UNSAFE_OOL MOZ_CRASH_UNSAFE. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D18515

--HG--
extra : rebase_source : e8ef6eec0f7542bb381e2da81ae6431b2828aabc
extra : source : a8c262b4a2579e6def1b3a5a8220f5197b443e34
2019-02-03 00:09:37 -08:00
sotaro
d2b017325d Bug 1525818 - Remove NS_ASSERTION in ImageBridgeParent::GetInstance() r=mattwoodrow
Sometimes NS_ASSERTION was hit during window closing. It happens because of aync architecture. It is better to change the NS_ASSERTION to NS_WARNING.

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

--HG--
extra : moz-landing-system : lando
2019-02-07 20:28:30 +00:00
Randall Barker
b9a2a11927 Bug 1520132 - Ensure base widget pointer is null on Destroy() r=snorp
Speculative fix for crash.

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

--HG--
extra : moz-landing-system : lando
2019-02-11 21:22:16 +00:00
Lee Salzman
e3498d57d3 Bug 1504230 - check for failure in GetFontKeyForScaledFont when building blobs. r=jrmuizel 2019-02-07 13:14:54 -05:00
sotaro
164c8f7d81 Bug 1524591 - Call SetParent in UI process r=mattwoodrow
During security.sandbox.gpu.level=1, compositor window's parent cannot be set in GPU process, it needs to be set in UI process.

Differential Revision: https://phabricator.services.mozilla.com/D18811
2019-02-07 16:01:41 +09:00
Botond Ballo
e8a4c6f7a9 Bug 1522714 - Update APZCTreeManager::ComputeTransformForNode() with changes corresponding to the AsyncCompositionManager changes for containerless scrolling. r=kats
Specifically, we make adjustments to the transform used for:
  - layers with the RCD-RSF APZC
  - the async zoom container layer
  - layers fixed w.r.t the RCD-RSF

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

--HG--
extra : moz-landing-system : lando
2019-02-06 22:10:04 +00:00
Botond Ballo
52514220ae Bug 1522714 - Support an AsyncTransformComponents parameter in GetCurrentAsyncTransformWithOverscroll(). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D18113

--HG--
extra : moz-landing-system : lando
2019-02-06 22:06:57 +00:00
Botond Ballo
154abc7383 Bug 1522714 - Track in APZCTreeManager whether we are using an async zoom container. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D18112

--HG--
extra : moz-landing-system : lando
2019-02-06 22:05:49 +00:00
Botond Ballo
03553a5195 Bug 1522714 - Propagate the 'is async zoom container' flag to HitTestingTreeNode. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D18111

--HG--
extra : moz-landing-system : lando
2019-02-06 22:05:24 +00:00
sotaro
2e93d6bc4a Bug 1525515 - Dorp ImageClients that are created before UpdateTextureFactoryIdentifier() call r=nical
During re-creating GPU process, there was a period that ImageBridgeChild was re-created, but ImageBridgeChild::UpdateTextureFactoryIdentifier() was not called yet. In the period, if ImageBridgeChild::CreateImageClient() is called, ImageBridgeParent creates incompatible ImageHost than WebRenderImageHost.

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

--HG--
extra : moz-landing-system : lando
2019-02-06 21:39:06 +00:00
Kartikaya Gupta
919598b555 Bug 1506257 - Make the scrollbar animation id a Maybe. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D18669

--HG--
extra : moz-landing-system : lando
2019-02-06 20:00:08 +00:00
Alex Gaynor
0f01791ffc Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Recv/Answer methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).

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

--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:43 +00:00
Alex Gaynor
984f0333ea Bug 1512990 - Part 3 - remove declarations of Alloc/Dealloc methods from IPDL protocol base class; r=froydnj
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Alloc/Dealloc methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).

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

--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:07 +00:00
Alex Gaynor
75c7d1fa76 Bug 1512990 - Part 2 - implement direct calls in the IPDL compiler; r=froydnj
When calling a Recv/Alloc/Dealloc method on most types, cast `this` to the
derived class.

There is a heuristic to figure out what the correct derived type is. There is a
blacklist of types which we can't do direct calls on for the moment, as well as
an override for types that do work with direct calls but which don't match the
heuristic.

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

--HG--
extra : moz-landing-system : lando
2019-02-06 15:57:37 +00:00
Oana Pop Rus
e00ea598e5 Merge inbound to mozilla-central. a=merge 2019-02-06 11:53:48 +02:00
Glenn Watson
43dfba16ac Bug 1524385 - Set the current clip chain on the stacking context item. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D18527

--HG--
extra : moz-landing-system : lando
2019-02-06 04:35:37 +00:00
Botond Ballo
dc45452799 Bug 1522338 - Update ComputeTransformForScrollThumb() to reflect that with containerless scrolling, the RCD-RSF scrollbars are not subject to the resolution. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D18110

--HG--
extra : moz-landing-system : lando
2019-02-04 18:33:08 +00:00