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

34696 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew 393c038cf9 Bug 1580352 - Avoid potential undefined behavior (left-shifting a negative integer) in pixman. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D45512

--HG--
extra : moz-landing-system : lando
2019-09-11 12:22:39 +00:00
Andrew Osmond 90491197ac Bug 1568616 - Include document's scratch buffer in WebRender captures. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D45188

--HG--
extra : moz-landing-system : lando
2019-09-10 02:34:05 +00:00
Jonathan Kew aaa84ab1a4 Bug 1548813 - Ensure cached mReplacementCharFallbackFamily is cleared if the font list is reinitialized. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D45347

--HG--
extra : moz-landing-system : lando
2019-09-10 14:19:04 +00:00
Jeff Muizelaar ecc722c789 Bug 1568227. Change to using the visual rect for the blob bounds. r=nical
This also makes sure that we invalidate for any visible rect bounds changes.
This makes more sense even if it's more conservative.

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

--HG--
extra : moz-landing-system : lando
2019-09-10 17:48:43 +00:00
Jeff Muizelaar 3f94bd9625 Bug 1568227. Remove offset from visible rect. r=nical
This stops making the visible rect relative to the bounds of the image.

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

--HG--
extra : moz-landing-system : lando
2019-09-10 17:48:41 +00:00
Jeff Muizelaar 4e2ce23730 Bug 1568227. Use the visible rect as the display items bounds for fallback items. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D45323

--HG--
extra : moz-landing-system : lando
2019-09-10 17:48:39 +00:00
Jeff Muizelaar 5ce9334259 Bug 1568227. Render blobs at visibleRect.x,y instead of 0,0. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D45322

--HG--
extra : moz-landing-system : lando
2019-09-10 17:48:37 +00:00
Razvan Maries 913fce80bb Backed out 2 changesets (bug 1568227) for perma fails on paint-order-001.tentative.html. CLOSED TREE
Backed out changeset fef155ac9c60 (bug 1568227)
Backed out changeset bb324781c1e3 (bug 1568227)
2019-09-10 20:38:46 +03:00
Ryan Hunt 56dcc94078 Bug 1578075 - Increase stack size of paint thread/workers on OSX Catalina or higher to workaround crash from recursion in CoreText. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D45370

--HG--
extra : moz-landing-system : lando
2019-09-10 15:20:34 +00:00
Jeff Muizelaar c61d2bd386 Bug 1568227. Use the visible rect as the display items bounds for fallback items. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D45323

--HG--
extra : moz-landing-system : lando
2019-09-10 15:14:37 +00:00
Jeff Muizelaar b74d61d223 Bug 1568227. Render blobs at visibleRect.x,y instead of 0,0. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D45322

--HG--
extra : moz-landing-system : lando
2019-09-10 15:12:05 +00:00
Simon Giesecke a7b804f7af Bug 1575479 - Encapsulate mBaseHashtableET::mData. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D45004

--HG--
extra : moz-landing-system : lando
2019-09-10 13:51:09 +00:00
Coroiu Cristina 5928204cd2 Bug 1575874 - Fix ESlint failure a=me on a CLOSED TREE
--HG--
extra : amend_source : 99ee40f9c4bab8f3cdc9f4dc7517dc6be77e32ac
2019-09-10 14:14:20 +03:00
Jamie Nicol de1f14f711 Bug 1560335 - Enable webrender for Pixel 2 on GeckoView Nightly. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D35436

--HG--
extra : moz-landing-system : lando
2019-09-10 10:46:13 +00:00
Bob Owen f5e4873899 Bug 1575874: Create the CanvasTranslator on the Compositor thread to prevent race with WaitForSurfaceDescriptor. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D43774

--HG--
extra : moz-landing-system : lando
2019-09-10 02:06:28 +00:00
Bob Owen e2376fc330 Bug 1575796: Pass the begin and current point from the wrapped PathBuilder in PathBuilderRecording::Finish. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D43078

--HG--
extra : moz-landing-system : lando
2019-09-05 18:09:24 +00:00
Bob Owen 4a393ad08e Bug 1575828: Ensure that CanvasChild::GetDataSurface is called on the main thread. r=jrmuizel
This also makes sure the SourceSurfaceCanvasRecording clean-up is done on the
main thread where required.

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

--HG--
extra : moz-landing-system : lando
2019-09-10 02:06:46 +00:00
Bob Owen 7d5ad55fe0 Bug 1575832: Ensure canvas recorded event translation has finished before shutting down the canvas thread. r=jrmuizel
Null checks have been added for the recorder in CanvasChild to prevent crashes
during shutdown.
This also removes mCanSend in CanvasParent and uses CanSend() instead.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 18:38:25 +00:00
Mihai Alexandru Michis 0ef6713848 Merge autoland to mozilla-central. a=merge 2019-09-10 12:52:27 +03:00
Dorel Luca 0f892548f9 Backed out 4 changesets (bug 1578576) for causing build failure with microsoft visual studio 2019. a=backout
Backed out changeset e5b3436fc277 (bug 1578576)
Backed out changeset cd2799d2d190 (bug 1578576)
Backed out changeset 13282d7a47a5 (bug 1578576)
Backed out changeset 3064469c073d (bug 1578576)

--HG--
rename : gfx/angle/checkout/src/common/Color.inc => gfx/angle/checkout/src/common/Color.inl
rename : gfx/angle/checkout/src/image_util/copyimage.inc => gfx/angle/checkout/src/image_util/copyimage.inl
rename : gfx/angle/checkout/src/image_util/generatemip.inc => gfx/angle/checkout/src/image_util/generatemip.inl
rename : gfx/angle/checkout/src/image_util/loadimage.inc => gfx/angle/checkout/src/image_util/loadimage.inl
rename : gfx/angle/checkout/src/libANGLE/Version.inc => gfx/angle/checkout/src/libANGLE/Version.inl
rename : gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/dxgi_support_table_autogen.cpp => gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/dxgi_support_table.cpp
rename : gfx/angle/checkout/src/libGLESv2/proc_table_egl.h => gfx/angle/checkout/src/libGLESv2/proc_table.h
rename : gfx/angle/checkout/src/libGLESv2/proc_table_egl_autogen.cpp => gfx/angle/checkout/src/libGLESv2/proc_table_autogen.cpp
2019-09-10 11:54:20 +03:00
Dzmitry Malyshau c6f647e9c9 Bug 1579318 - Switch mozangle dependency of Wrench to 0.2 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D44934

--HG--
extra : moz-landing-system : lando
2019-09-10 02:04:32 +00:00
Bogdan Tara 1735c8570e Backed out changeset bde7561bd171 (bug 1571977) for wrench amd tidy failures CLOSED TREE 2019-09-10 04:23:19 +03:00
Kris Taeleman 5af13d7fdd Bug 1571977 - Add wrench test for textureRect. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D44925

--HG--
extra : moz-landing-system : lando
2019-09-10 00:32:33 +00:00
Bogdan Tara 18bc1e5f1c Backed out changeset aca75dcd4379 (bug 1560335) for android bustages complaining about gfxPlatform.cpp CLOSED TREE 2019-09-10 00:45:08 +03:00
Jamie Nicol e25c972bc8 Bug 1560335 - Enable webrender for Pixel 2 on GeckoView Nightly. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D35436

--HG--
extra : moz-landing-system : lando
2019-09-09 17:10:42 +00:00
Lee Salzman b29a21235b Bug 1573049 - silence filter node type warnings. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D44903

--HG--
extra : moz-landing-system : lando
2019-09-09 20:25:03 +00:00
Dzmitry Malyshau 743324c2d2 Bug 1579316 - Automatically select GPU adapter in WR wrench and examples on macOS r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D44933

--HG--
extra : moz-landing-system : lando
2019-09-06 21:07:27 +00:00
Markus Stange d603768670 Bug 1578330 - Call GetBufferSize after BeginFrame because RenderCompositorANGLE mutates it in BeginFrame. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D45143

--HG--
extra : moz-landing-system : lando
2019-09-09 03:59:15 +00:00
Botond Ballo 3e8ba858e5 Bug 1570559 - Add a gtest. r=tnikkel
Depends on D45083

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

--HG--
extra : moz-landing-system : lando
2019-09-06 22:10:03 +00:00
Botond Ballo 8bce3e7fac Bug 1570559 - Move helper functions that are only used in TestTreeManager.cpp into that file. r=tnikkel
Depends on D45082

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

--HG--
extra : moz-landing-system : lando
2019-09-06 22:03:45 +00:00
Botond Ballo 8bbdacfb8a Bug 1570559 - Add a helper function APZCTreeManagerTester::UpdateHitTestingTree(). r=tnikkel
Depends on D44712

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

--HG--
extra : moz-landing-system : lando
2019-09-06 22:03:43 +00:00
Botond Ballo 20431125e7 Bug 1570559 - When the target APZC changes mid-gesture, always clear the old APZC's gesture state. r=tnikkel
Previously we were only doing this if content wasn't prevent-defaulting the
events targeting the new APZC.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 21:23:23 +00:00
Markus Stange 9cd785e1c4 Bug 1578045 - Correctly return zero vertices if clipping plane 0 or 2 clip away the entire polygon. r=kip
This fixes a bug that was introduced three years ago in bug 1268854.
What happened was that the final pass over the polygon assumed that the current
polygon was living in plane[0]. But due to the double buffering, the "current"
polygon alternates between plane[0] and plane[1]. And bug 1268854 had introduced
an early exit so that we could hit the final pass at a time where the current,
now empty, polygon was in plane[1]. So we would incorrectly treat all 32 points
in plane[0] as part of the final polygon.

This bug was responsible for intermittently unreasonable numbers in CompositorOGL's fill
rate / overdraw overlay, and, since changeset cc84a0e9d5ddde198422f4f11ab6bf85f631d5f0,
also caused CompositorOGL to execute unnecessary draw calls.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 17:12:06 +00:00
Miko Mynttinen e110583d7c Bug 1578576 - Part 3: Prefer ES2 for WebGL1 r=jgilbert
Depends on D44580

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

--HG--
extra : moz-landing-system : lando
2019-09-07 19:38:21 +00:00
Miko Mynttinen 20f8e99683 Bug 1578576 - Part 2: Update to ANGLE 3865 r=jgilbert
Depends on D44561

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

--HG--
rename : gfx/angle/checkout/src/common/Color.inl => gfx/angle/checkout/src/common/Color.inc
rename : gfx/angle/checkout/src/image_util/copyimage.inl => gfx/angle/checkout/src/image_util/copyimage.inc
rename : gfx/angle/checkout/src/image_util/generatemip.inl => gfx/angle/checkout/src/image_util/generatemip.inc
rename : gfx/angle/checkout/src/image_util/loadimage.inl => gfx/angle/checkout/src/image_util/loadimage.inc
rename : gfx/angle/checkout/src/libANGLE/Version.inl => gfx/angle/checkout/src/libANGLE/Version.inc
rename : gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/dxgi_support_table.cpp => gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/dxgi_support_table_autogen.cpp
rename : gfx/angle/checkout/src/libGLESv2/proc_table.h => gfx/angle/checkout/src/libGLESv2/proc_table_egl.h
rename : gfx/angle/checkout/src/libGLESv2/proc_table_autogen.cpp => gfx/angle/checkout/src/libGLESv2/proc_table_egl_autogen.cpp
extra : moz-landing-system : lando
2019-09-07 13:38:36 +00:00
Miko Mynttinen 9d0e84cb7b Bug 1578576 - Part 1: Update angle updater and merge base r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D44561

--HG--
extra : moz-landing-system : lando
2019-09-07 13:36:46 +00:00
Brindusan Cristian c2bb1572d6 Backed out changeset 5e0ff929002a (bug 1579318) for wrench bustages on Microsoft.Diagnostics.Tracing.EventSource.dll. CLOSED TREE 2019-09-07 02:19:40 +03:00
Lee Salzman 31b462db31 Bug 1572913 - check ClearType level in ScaledFontDWrite::GetDefaultAAMode. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D44912

--HG--
extra : moz-landing-system : lando
2019-09-06 18:45:56 +00:00
Dzmitry Malyshau 04b5aea7d1 Bug 1579227 - Switch YUV images to be opaque in WR r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D45030

--HG--
extra : moz-landing-system : lando
2019-09-06 17:38:44 +00:00
Dave Townsend df895249c6 Bug 1550058: Move most keyboard shortcut handling out of XBL. r=masayuki
Most of our keyboard shortcut handling is handled by nsXBLWindowKeyHandler along
with nsXBLPrototypeHandler. With the impending removal of XBL this needs to
change.

This patch moves nsXBLWindowKeyHandler to dom/events/GlobalKeyListener and copies
nsXBLPrototypeHandler to dom/events/KeyEventHandler. Windows, text elements and
XUL <keyset> are changed to use the new copies and anything unnecessary for
those is stripped out.

XBL handler elements still remain using the existing nsXBLPrototypeHandler path.
Some of the code is ripped out there to make it compile. There is probably a
lot more that can be removed but since the whole of XBL is likely gone soon I'm
not sure it is worth cleaning that up much.

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

--HG--
rename : dom/xbl/nsXBLWindowKeyHandler.cpp => dom/events/GlobalKeyListener.cpp
rename : dom/xbl/nsXBLWindowKeyHandler.h => dom/events/GlobalKeyListener.h
rename : dom/xbl/nsXBLPrototypeHandler.cpp => dom/events/KeyEventHandler.cpp
rename : dom/xbl/nsXBLPrototypeHandler.h => dom/events/KeyEventHandler.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForBrowserCommon.h => dom/events/ShortcutKeyDefinitionsForBrowserCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForEditorCommon.h => dom/events/ShortcutKeyDefinitionsForEditorCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h => dom/events/ShortcutKeyDefinitionsForInputCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h => dom/events/ShortcutKeyDefinitionsForTextAreaCommon.h
rename : dom/xbl/builtin/ShortcutKeys.cpp => dom/events/ShortcutKeys.cpp
rename : dom/xbl/builtin/ShortcutKeys.h => dom/events/ShortcutKeys.h
rename : dom/xbl/builtin/android/ShortcutKeyDefinitions.cpp => dom/events/android/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/android/moz.build
rename : dom/xbl/builtin/emacs/ShortcutKeyDefinitions.cpp => dom/events/emacs/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/emacs/moz.build
rename : dom/xbl/builtin/mac/ShortcutKeyDefinitions.cpp => dom/events/mac/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/mac/moz.build
rename : dom/xbl/builtin/unix/ShortcutKeyDefinitions.cpp => dom/events/unix/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/unix/moz.build
rename : dom/xbl/builtin/win/ShortcutKeyDefinitions.cpp => dom/events/win/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/win/moz.build
extra : moz-landing-system : lando
2019-09-06 17:10:40 +00:00
thomasmo 0987c90616 Bug 1576975 - Compile VRSession.cpp into vrhost.dll r=kip
Includes changes for separating mozilla-central-specific code.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 16:48:56 +00:00
Dzmitry Malyshau 4bfcb3fba0 Bug 1579318 - Switch mozangle dependency of Wrench to 0.2 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D44934

--HG--
extra : moz-landing-system : lando
2019-09-06 16:55:52 +00:00
Botond Ballo 4fa43ed7fe Bug 1576524 - Clean up APZCTreeManager::mDetachedLayersIds in UpdateHitTestingTree. r=tnikkel
This ensures that mDetachedLayersIds doesn't grow indefinitely.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 08:39:52 +00:00
Botond Ballo 11566e8cc0 Bug 1576524 - Have APZCTreeManager track a set of layers ids for which it should not send MatrixMessages. r=tnikkel,hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44740

--HG--
extra : moz-landing-system : lando
2019-09-06 08:28:36 +00:00
Cosmin Sabou 90087b3c49 Backed out changeset 1c068477fae2 (bug 1579318) for causing qr tidy bustages. CLOSED TREE
--HG--
extra : rebase_source : eec7dedcf5f1c886e9cc98c1d98fc7d2f3e29183
2019-09-06 18:21:25 +03:00
Jeff Muizelaar eeaaa467b6 Bug 1579405. Remove some debugging code added in bug 1493616. r=nical
This isn't needed any more and conflicts with the changes happening in bug 1579404

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

--HG--
extra : moz-landing-system : lando
2019-09-06 15:06:05 +00:00
Jeff Muizelaar 76625b1eb6 Bug 1579401. wr-blob: Merge if condition. r=nical
No need to check twice and this will make it cleaner when we change the condition.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 15:05:20 +00:00
Jeff Muizelaar 47c358dd9e Bug 1579397. wr-blob: Rename mPaintRect to mVisibleRect. r=nical
This moves it in line with the terminology used elsewhere.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 15:04:31 +00:00
Dzmitry Malyshau 5d78d59ef4 Bug 1579318 - Switch mozangle dependency of Wrench to 0.2 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D44934

--HG--
extra : moz-landing-system : lando
2019-09-06 03:19:05 +00:00
Ting-Yu Lin b8fee8f71c Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert
This patch is generated by the following script:

```
function remove_column_prefix() {
    echo "Renaming $1 to $2"
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xhtml" -or\
            -name "*.xht" -or\
            -name "*.xul" -or\
            -name "*.xml" -or\
            -name "*.css"  \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

remove_column_prefix "-moz-columns" "columns"
remove_column_prefix "-moz-column-width" "column-width"
remove_column_prefix "-moz-column-count" "column-count"
remove_column_prefix "-moz-column-fill" "column-fill"
remove_column_prefix "-moz-column-gap" "column-gap"
remove_column_prefix "-moz-column-rule" "column-rule"
remove_column_prefix "-moz-column-rule-width" "column-rule-width"
remove_column_prefix "-moz-column-rule-color" "column-rule-color"
remove_column_prefix "-moz-column-rule-style" "column-rule-style"

```

Note: after running the above script, I reverted one minor change to the
file multicol-nested-column-rule-001.xht in the theoretically read-only
directory layout/reftests/w3c-css/received/css-multicol/.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:37:32 +00:00