Commit Graph

33873 Commits

Author SHA1 Message Date
Daniel Varga
ff5cbecd34 Backed out changeset d75e4cb5b188 (bug 1546192) for build bustage at /builds/worker/workspace/build/src/gfx/gl/GLScreenBuffer.cpp. On a CLOSED TREE 2019-06-15 04:18:28 +03:00
Chris Peterson
ee1c4eb273 Bug 1528881 - Part 5: gfx/gl: Make some global functions static. r=jgilbert
clang's -Wmissing-prototypes option identifies global functions that can be made static (because they're only called from one compilation unit) or removed (if they're never called).

gfx/gl/GfxTexturesReporter.cpp:22:13 [-Wmissing-prototypes] no previous prototype for function 'FormatBytes'
gfx/gl/GLContextFeatures.cpp:534:6 [-Wmissing-prototypes] no previous prototype for function 'IsFeaturePartOfProfileVersion'

Depends on D20263

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

--HG--
extra : moz-landing-system : lando
2019-06-14 23:42:59 +00:00
Ryan Hunt
22c6fdc5b9 Bug 1559259 - Have APZ set mLayersId on WidgetEvent when not using WebRender. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D34939

--HG--
extra : moz-landing-system : lando
2019-06-14 23:12:15 +00:00
sotaro
f85719ceb0 Bug 1546192 - Check SharedSurface_Basic::Create failure r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D28439

--HG--
extra : moz-landing-system : lando
2019-06-14 23:44:57 +00:00
Jeff Gilbert
e13411ac11 Bug 1559286 - Remove gl.msaa-level and SurfaceCaps.antialias. r=lsalzman
Also remove now-clearly-defunct parts of GLScreenBuffer.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 19:09:54 +00:00
Cameron McCormack
81848f2228 Bug 1559093 - Handle font load cancellation better. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34971

--HG--
extra : moz-landing-system : lando
2019-06-14 19:25:50 +00:00
Bogdan Tara
c1e71642f3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-14 13:45:15 +03:00
Bogdan Tara
e05c286c5f Backed out changeset 331846de4391 (bug 1551844) for ccwn2c08.html and ccwn3p08.html failures a=backout 2019-06-14 12:48:16 +03:00
sotaro
c5d1baba60 Bug 1559284 - Disable fast path for async native texture updates r=gw
Bug 1558106 changed how picture caching works. With it, WebRenderTextureHostWrapper does not work as before. Then disable it for now.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 07:32:17 +00:00
shindli
0534ae5951 Merge inbound to mozilla-central. a=merge 2019-06-14 00:46:21 +03:00
Andrew Osmond
3334a54347 Bug 1551844 - Implement NEON variations of QCMS ICCv2 transforms. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D34582
2019-06-13 07:55:21 -04:00
Jonathan Kew
d67f73d9bc Bug 1557044 - Don't eagerly load cmap of user font in gfxMacPlatformFontList::MakePlatformFont, let it load on first use like other platforms. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D33796

--HG--
extra : moz-landing-system : lando
2019-06-13 17:06:18 +00:00
Oana Pop Rus
1133b6716d Merge inbound to mozilla-central. a=merge 2019-06-13 12:55:51 +03:00
violet
d5bbf998dd Bug 1351432 - Implement the break-spaces value of the white-space property r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34499

--HG--
extra : moz-landing-system : lando
2019-06-12 10:23:49 +00:00
Ryan Hunt
b76533bae0 Bug 1558482 - Only initialize the root displayport for the cross process root content document. r=kats
The root displayport has some assumptions built into it about being positioned at
the origin and sized to the composition bounds that seem like they only apply to
the cross process root content document. This commit changes us to avoid taking
this code path for OOP-iframes.

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

--HG--
extra : rebase_source : 026bb84b7ad086f508228620d19d9f459f28bf1d
2019-06-11 07:57:23 -05:00
sotaro
67e4b24fb3 Bug 1558100 - Recycle TextureClient in CanvasClient2D with WebRender r=nical
Differential Revision: https://phabricator.services.mozilla.com/D34495

--HG--
extra : moz-landing-system : lando
2019-06-12 21:29:47 +00:00
Kartikaya Gupta
1cccbb6069 Bug 1557970 - Put the root metadata on the zoom container if there is one, for the WR codepath. r=botond
Same fix as in bug 1553045, but for the WebRender codepath.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 16:51:22 +00:00
Kartikaya Gupta
b66ef045f3 Bug 1557970 - Implement IsAsyncZoomContainer for the WR codepath. r=botond
This makes the assertion failure from bug 1553045 reproduce with WR enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 15:48:41 +00:00
Gurzau Raul
577021c8c2 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-12 00:36:41 +03:00
Gurzau Raul
227f5329f7 Merge inbound to mozilla-central. a=merge 2019-06-12 00:34:32 +03:00
Jonathan Kew
4c97ee3830 Bug 1554819 - Add a couple of missing null-checks in SharedFontList.cpp. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D34158

--HG--
extra : moz-landing-system : lando
2019-06-11 12:10:24 +00:00
Kartikaya Gupta
97d708b2a2 Bug 1501582 - Mark geckoview failures. r=gbrown
There are a number of failures, for which I've filed separate bugs.
And then a lot of fuzziness. I manually inspected the reftest analyzer
results on try pushes to distinguish failures vs fuzziness.

Depends on D34537

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:12:03 +00:00
Botond Ballo
c0ca36e4fd Bug 1554813 - Size the scroll parts clip to the scroll frame's true outer size. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D33377

--HG--
extra : moz-landing-system : lando
2019-06-10 16:30:42 +00:00
Cameron McCormack
c52feec966 Bug 1557962 - Buffer OTS messages and report them once we're back on the main thread. r=jfkthame
And turn OMT OTS back on.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:56:31 +00:00
Nicolas Silva
250c484e01 Bug 1555655 - Box the TileCache in PicturePrimitive. r=gw
The tile cache is 352 bytes large and in the majority of cases picture primitives don't have one, so this saves a few KB of ram in typical pages reduces the likely hood of hitting OOM crashes while growing the primitives vector.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 19:54:13 +00:00
Hiroyuki Ikezoe
8f5e20cee0 Bug 1551801 - Fix the velocity direction on pan gesture events. r=botond
The gtest in this commit fails without the fix.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 02:40:20 +00:00
Brindusan Cristian
d957131916 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-11 12:44:12 +03:00
Noemi Erli
3b770b4690 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-11 06:22:00 +03:00
Cosmin Sabou
8740a180ae Backed out changeset 6689a98f4a9f (bug 1551801) for Gtest failures on Snap_On_Momentum. 2019-06-11 01:22:04 +03:00
sotaro
ec2350cffb Bug 1557105 - Handle non-webrender widget case during enabling WebRender at ImageBridge r=nical
ImageBridgeChild has only one global TextureFactoryIdentifier. When WebRender is enabled, it is used for both WebRender widget and non-WebRender(BasicCompositor) widget. WebRenderImageHost and ImageHost are incompatible and WebRenderTextureHost does not permit to be consumed on compositor thread. Then it does not work well for non-WebRender widget. To address the problem at ImageContainer, ImageContainer needs to know a connected widget type. It is not easy in some cases like WebRTC. Then host side could address the problem easier.

CompositableParentManager::FindCompositable() is changed to permit transform from WebRenderImageHost to ImageHost if it is necessary when WebRenderImageHost belongs to ImageBridge.

WebRenderTextureHost is changed to permit to consume wrapped TextureHost on compositor thread. If the wrapped TextureHost is BufferTextureHost, it is possible to comsume the TextureHost on compositor and on RenderThread, since they are memory buffer or shared memory buffer. WebRTC code always create BufferTextureHost for video frame. Then it works.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 12:36:14 +00:00
Hiroyuki Ikezoe
d3a8e429e1 Bug 1551801 - Fix the velocity direction on pan gesture events. r=botond
The gtest in this commit fails without the fix.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 16:25:05 +00:00
Dzmitry Malyshau
f43371a2ff Bug 1474294 - Enable WR perspective box shadow reftest r=Gankro
a follow-up to the actual fix and the reftest

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

--HG--
extra : moz-landing-system : lando
2019-06-10 20:05:00 +00:00
Denis Palmeiro
c32ed0ea49 Bug 1551355 - Use TimeStamp::NowUnfuzzed() instead of TimeStamp::Now() during gecko profiling r=mstange
The profiler will require non-fuzzed timers for accuracy.  Making the switch early will avoid surprises when FuzzyFox is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 17:35:42 +00:00
Martin Stransky
b9dd89a7c5 Bug 1557271 - [Wayland] Merge nsWaylandDisplayShutdown.h and nsWaylandDisplay.h, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D33921

--HG--
extra : moz-landing-system : lando
2019-06-10 12:41:35 +00:00
Lee Salzman
06b9f322b2 Bug 1556433 - disable shared buffer provider when using direct texture mapping. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D34242

--HG--
extra : moz-landing-system : lando
2019-06-10 09:23:17 +00:00
Andrew Osmond
98b614b1c7 Bug 1557936 - Don't put oversized CMS profiles in about:support. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D34378
2019-06-10 14:34:50 -04:00
arthur.iakab
7125c13838 Backed out changeset 5d4915f544ca (bug 1557936) for causing build bustages on gfxPlatform.cpp 2019-06-10 21:04:21 +03:00
Andrew Osmond
a0903c8fe5 Bug 1558202 - Disable hardware acceleration on Linux if the GPU process becomes disabled. r=rhunt
If the GPU process becomes disabled due to crashes, then we should not
allow Linux to fallback from WebRender to OpenGL compositing in the
parent process. It should instead fallback to software just like
Windows. This is important because we don't support the OpenGL
compositor configuration.

Differential Revision: https://phabricator.services.mozilla.com/D34360
2019-06-10 13:44:30 -04:00
Andrew Osmond
e9821e53c6 Bug 1557936 - Don't put oversized CMS profiles in about:support. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D34378
2019-06-10 13:43:47 -04:00
Sylvestre Ledru
d6cc5ee003 Bug 1558054 - Fix warning "type qualifiers ignored on cast result type" r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34286

--HG--
extra : moz-landing-system : lando
2019-06-09 15:34:20 +00:00
Botond Ballo
1eb526e657 Bug 1553045 - Place the fallback scroll metadata onto the async zoom container layer if there is one. r=kats
This preserves the APZ invariant that if there is an async zoom container,
then the RCD-RSF scroll metadata is on the same layer or descendant layers.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 17:49:38 +00:00
Botond Ballo
ac9bcfca03 Bug 1553045 - Have APZ support the RCD-RSF scroll metadata being on the async zoom container layer. r=kats
This mostly already works, e.g. AsyncCompositionManager will apply both parts
of the transform independently, just a check in APZCTreeManager::
ComputeTransformForNode() needed to be adjusted.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 17:49:30 +00:00
Boris Zbarsky
4fcc4016bd Bug 1557905. Stop using [array] in nsIFontEnumerator. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34265

--HG--
extra : moz-landing-system : lando
2019-06-08 08:50:47 +00:00
Kartikaya Gupta
a001de8d97 Bug 1555479 - Update wrench mozharness script to support running on a device as well. r=gbrown
The presence or absence of the DEVICE_SERIAL environment variable
is sufficient to control this.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 08:59:06 +00:00
Kartikaya Gupta
6d682927cb Bug 1555479 - Rename android_emulator_wrench to android_wrench.py. r=gbrown
This is in preparation for having the same script be used for emulator
and device runs. No functional change in this patch; it just renames
the file and class.

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

--HG--
rename : testing/mozharness/scripts/android_emulator_wrench.py => testing/mozharness/scripts/android_wrench.py
extra : moz-landing-system : lando
2019-06-08 08:59:02 +00:00
Kartikaya Gupta
3e5be83a11 Bug 1555479 - Update android skip annotations for Pixel2 results. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D33405

--HG--
extra : moz-landing-system : lando
2019-06-08 08:58:48 +00:00
Kartikaya Gupta
f2fe061b71 Bug 1555479 - Allow wrench to know when it is running in the emulator. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D33404

--HG--
extra : moz-landing-system : lando
2019-06-08 08:58:41 +00:00
Sylvestre Ledru
f1fbd2ff00 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-06-08 08:26:37 +00:00
Tarek Ziadé
b18ccf9c4e Bug 1529023 - Enable threads on macOS for GetProcInfo r=jld,mstange
To run task_for_pid() on child processes, we need the child task port for
security reasons. This port can be obtained via a Mach IPC exchange.

This is what GeckoChildProcessHost::GetChildTask() provides, so we use it
in cocoa's version of GetProcInfo()

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

--HG--
extra : moz-landing-system : lando
2019-06-07 19:56:51 +00:00
Jeff Muizelaar
73d47b32e2 Bug 1556473. Change DrawTargetD2D1::GetDeviceSpaceClipRect to always give back useful values. r=bas
Even if we have no clips applied it's valuable to give back the surface size.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 03:59:19 +00:00