Commit Graph

8654 Commits

Author SHA1 Message Date
Wes Kocher
64befa7d5b Merge autoland to central, a=merge
MozReview-Commit-ID: AzdmcFWgfx2
2017-01-10 17:22:08 -08:00
Wes Kocher
350eb06d4d Backed out changeset 84f4a96a130b (bug 1325743) for incredibly frequent Windows 7 VM reftest crashes in variable-supports-23.html a=backout
MozReview-Commit-ID: C1qQVYWpUUV
2017-01-10 13:52:23 -08:00
Carsten "Tomcat" Book
89882dc5f4 merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
Shing Lyu
11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Bas Schouten
1e9ffde5c8 Bug 1325743: Cache Moz2D ClearType usage information in a way similar to Thebes. r=mchang
This patch makes sure content processes update their cleartype settings, as well as making sure Moz2D's idea of the ClearType settings are in sync with those of Thebes. If the two differ this can cause graphical glitches.

MozReview-Commit-ID: 94arUnBWoUy

--HG--
extra : rebase_source : d74b702fc63c019ce1c30bdc741ea3ed6da457cd
2017-01-04 20:26:17 +01:00
Milan Sreckovic
888e7837b2 Bug 1328702: ContainerLayer::RemoveAllChildren implementation. r=kats,mattwoodrow
MozReview-Commit-ID: 6zC3v8dQcWD

--HG--
extra : rebase_source : dfb75e9f755c350e1be681de807595c252b6f88d
2017-01-05 13:41:10 -05:00
Nicholas Nethercote
da5978a842 Bug 1325234 (part 3) - Streamline nsIWidget::Show(). r=mstange.
This patch changes it from |NS_IMETHOD| to |virtual void|. The return value was
only checked in one low-value assertion and one other place where the check had
no useful effect (in nsCocoaWindow::HideWindowChrome()).

--HG--
extra : rebase_source : f6671e9e0e10ee18fb32f8b1c83f1e64c3d97e67
2016-12-21 11:12:54 +11:00
Nicholas Nethercote
e2d9e4ed68 Bug 1325234 (part 2) - Streamline nsIWidget::Invalidate(). r=jimm.
This patch changes it from |NS_IMETHOD| to |virtual void|. The return value was
only checked in one low-value assertion so I decided it wasn't needed.

--HG--
extra : rebase_source : 3523d9a086cf98c40d237d777f5dd471af0d7465
2016-12-20 09:55:32 +11:00
Nathan Froyd
a747eb3f2c Bug 1322553 - part 2 - use the new constructor of GeckoProfilerTracingRAII; r=mstange
This patch is not strictly relevant to the current bug, but doing the
work here nicely illustrates how the constructor we added in part 1 can
be used in existing parts of the codebase.
2017-01-07 15:56:49 -05:00
Sebastian Hengst
9506ca8115 Backed out changeset 5c6803c30303 (bug 1311512) for mass asserting. r=backout 2017-01-07 00:08:26 +01:00
Tobias Schneider
7b08f6c8cc Bug 1311512 - Use recording draw target for mozPrintCallback canvases. r=jwatt
MozReview-Commit-ID: 8sozCJVwbnR

--HG--
extra : rebase_source : 935fef8bd5773b6f58543d9632e056fbe3b6017e
2016-12-22 11:11:15 -08:00
Iris Hsiao
7e248d8cc9 Merge mozilla-central to autoland 2017-01-06 11:13:22 -05:00
Markus Stange
692210bd80 Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r=froydnj
MozReview-Commit-ID: 7W1dt2BBKJZ

--HG--
extra : rebase_source : c7e335dac2e0f02782f0eb229a7181c8d01317a2
2016-12-21 11:43:50 +01:00
Cameron McCormack
babad063ff Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Phil Ringnalda
c83d1d7ce9 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 51FMtH1yTe6
2017-01-04 18:33:32 -08:00
David Anderson
9560f318d9 Simplify calling SendUpdate/SendUpdateNoSwap. (bug 1325993, r=nical) 2017-01-04 12:58:58 -05:00
Botond Ballo
e8cc185f9d Bug 1326290 - Correct sequencing of layer transaction and StartAsyncScrollbarDrag messages. r=kats
In cases where a mouse click that starts a scrollbar drag is also what
layerizes the scroll frame, the StartAsyncScrollbarDrag message needs to
arrive after the layer transaction. This patch ensures it does.

MozReview-Commit-ID: A02qRb6yWxg

--HG--
extra : rebase_source : 3517e8c8a578a0bd257a80bb8cb81303d171bb6c
2017-01-04 13:42:36 -05:00
David Anderson
9267c1b0fe Don't retain a ref to ImageContainers in ImageBridgeChild. (bug 1325784 part 6, r=nical) 2017-01-04 10:19:31 -05:00
David Anderson
61c82e108f Remove PImageContainer. (bug 1325784 part 5, r=nical) 2017-01-04 10:19:30 -05:00
David Anderson
944e8cc055 Use async compositable IDs for image composite notifications. (bug 1325784 part 4, r=nical) 2017-01-04 10:19:30 -05:00
David Anderson
2d302f4637 Move async compositable ID allocation to ImageBridgeChild. (bug 1325784 part 3, r=nical) 2017-01-04 10:19:29 -05:00
David Anderson
e8efc823bc Move CompositableMap into ImageBridge. (bug 1325784 part 2, r=nical) 2017-01-04 10:19:29 -05:00
David Anderson
bdaf0135d9 Move asyncID out of CompositableChild and into CompositableClient. (bug 1325784 part 1, r=nical) 2017-01-04 10:19:28 -05:00
Ho-Pang
41adef3ae2 Bug 1299209 - Part 1: Passing PointerId when a new WidgetMouseEvent is created. h=sshih, r=smaug
--HG--
extra : rebase_source : b123e74425e56c09ab38f5916589abb84c3d5996
2016-12-20 22:53:00 -05:00
sotaro
d02082a07f Bug 1307809 - Add IsOwnedBy() check r=nical 2017-01-06 10:16:24 +09:00
Sebastian Hengst
a3de8c712a Backed out changeset ef2dd5f6e702 (bug 1322741) for mass failing reftests on Windows 8 x64. r=backout 2016-12-28 15:28:54 +01:00
vincentliu
ce37869405 Bug 1322741 - Make sure ID3D11Device is up-to-date in SyncObjectD3D11. r=dvander
---
 gfx/layers/client/ClientLayerManager.cpp |  6 +++++-
 gfx/layers/client/ClientLayerManager.h   |  1 +
 gfx/layers/client/TextureClient.h        |  2 ++
 gfx/layers/d3d11/TextureD3D11.cpp        | 19 +++++++++++++++++++
 gfx/layers/d3d11/TextureD3D11.h          |  3 +++
 5 files changed, 30 insertions(+), 1 deletion(-)
2016-12-28 16:36:12 +08:00
Morris Tseng
51a0af30f0 Bug 1322500 - Introducing ShareableCanvasLayer. r=sotaro
MozReview-Commit-ID: 1zVJ3HVQV9W

--HG--
rename : gfx/layers/client/ClientCanvasLayer.cpp => gfx/layers/ShareableCanvasLayer.cpp
rename : gfx/layers/client/ClientCanvasLayer.h => gfx/layers/ShareableCanvasLayer.h
2016-12-28 10:16:43 +08:00
Ryan VanderMeulen
72b1557225 Merge m-c to inbound. a=merge 2016-12-27 00:01:04 -05:00
Ethan Lin
0b1384e9e5 Bug 1322079 - Set CreateBorderLayer to pure virtual function and let nsDisplayBorder return LAYER_ACTIVE. r=mattwoodrow
MozReview-Commit-ID: 6zGq7ymIkO0
2016-12-27 11:40:40 +08:00
Kevin Wern
cc43e4daa6 Bug 1324581 - call ScrollSnap() in AsyncPanZoomController when drag ends r=botond
MozReview-Commit-ID: LpZ2PbL0FoF

--HG--
extra : rebase_source : a98cdde39a78b975a01e14c45899ca7141e8087e
2016-12-23 04:34:18 -05:00
Phil Ringnalda
b94a0cbd73 Merge m-i to m-c, a=merge 2016-12-24 16:51:17 -08:00
Hiroyuki Ikezoe
01f0291ee5 Bug 1311620 - Part 3: Incorporate null_t in Animatable. r=birtles
We couldn't tell the difference between a null StyleAnimationValue and
transform:none on the compositor. This was not a problem before, since we didn't
need the null StyleAnimationValue on the compositor, because the null
StyleAnimationValue have to be passed with composite:add flag, and in the case of
composite:add we just used the underlying value, i.e. we didn't use the null
value at all.
But for normal additive animations, we have to check the null StyleAnimationValue
to tell whether we are processing a missing keyframe or not.
So in this patch, Animatable can be null_t to represent the null
StyleAnimationValue, and as a result of this change, we can drop
BaseAnimationStyle.

MozReview-Commit-ID: Au41ujHgPpU

--HG--
extra : rebase_source : 71eafcf729e278d2576b9a66bb194c2a7b972f1c
2016-12-24 17:27:18 +09:00
Hiroyuki Ikezoe
8e7be87392 Bug 1311620 - Part 2: Don't call StyleAnimationValue::GetUnit() against uninitialized values, use IsNull() instead. r=birtles
MozReview-Commit-ID: JAcHqsgpdDB

--HG--
extra : rebase_source : 4ec9924cd7f22406a7ecd8ba2c95feeba3a0dd28
2016-12-24 17:26:50 +09:00
Carsten "Tomcat" Book
0aed7a4ac5 Merge mozilla-central to mozilla-inbound
--HG--
rename : testing/docker/base-build/HASH => taskcluster/docker/base-build/HASH
rename : testing/docker/base-test/HASH => taskcluster/docker/base-test/HASH
rename : testing/docker/centos6-build-upd/HASH => taskcluster/docker/centos6-build-upd/HASH
rename : testing/docker/centos6-build/HASH => taskcluster/docker/centos6-build/HASH
rename : testing/docker/decision/HASH => taskcluster/docker/decision/HASH
rename : testing/docker/image_builder/HASH => taskcluster/docker/image_builder/HASH
rename : testing/docker/recipes/tooltool.py => taskcluster/docker/recipes/tooltool.py
rename : testing/docker/tester/HASH => taskcluster/docker/tester/HASH
2016-12-22 16:25:35 +01:00
Randall Barker
7173b111bb Bug 1321644 - part 2, Remove AndroidBridge::PostTaskToUiThread from RemoteContentController.cpp r=botond 2016-12-23 09:08:39 -08:00
Randall Barker
1101ff0a36 Bug 1321644 - part 1, Remove android specific message loop code from APZThreadUtils.cpp r=botond 2016-12-23 09:08:37 -08:00
Tobias Schneider
2722515c91 Bug 1311512 - Use recording draw target for mozPrintCallback canvases. r=jwatt 2016-12-22 11:11:15 -08:00
Carsten "Tomcat" Book
1d4eeea3f0 Backed out changeset 4d2c65de6f51 (bug 1322741) for causing e10s reftest failures on windows
--HG--
extra : rebase_source : 76d575aa3d18f4d6d29a9f4dfeeff4a2be72bf6d
2017-01-05 13:49:30 +01:00
vincentliu
71cc6be57d Bug 1322741 - Make sure ID3D11Device is up-to-date in SyncObjectD3D11. r=dvander
---
 gfx/layers/client/ClientLayerManager.cpp |  3 ++-
 gfx/layers/client/TextureClient.h        |  1 +
 gfx/layers/d3d11/TextureD3D11.cpp        | 15 +++++++++++++++
 gfx/layers/d3d11/TextureD3D11.h          |  2 ++
 4 files changed, 20 insertions(+), 1 deletion(-)
2017-01-05 15:09:55 +08:00
Ting-Yu Chou
3b76c1d27b Bug 1322465 part 5 - Use explicit/MOZ_IMPLICIT for the unary constructors in gfx/. r=Ehsan
MozReview-Commit-ID: 5sdclirTQCV

--HG--
extra : rebase_source : 65b8fe4357ee19e858d3ee406495a1c2c3046c90
2016-12-16 15:54:32 +08:00
Ting-Yu Chou
76cef3b73d Bug 1322460 - Don't addref/release on the return value of prohibited functions. r=aklotz,Ehsan
MozReview-Commit-ID: B0mAMZp5sll

--HG--
extra : rebase_source : fb5e25352089e26172189b9c4f2be8c5553fa5a8
2016-12-14 14:34:26 +08:00
Nicholas Nethercote
3af5047314 Bug 1299335 (part 8) - Streamline nsIWidget::Enable. r=mstange.
This patch changes it from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.

--HG--
extra : rebase_source : 07ee29c514bf35b97d7195c53bb5b9220d1ef961
2016-12-19 20:54:16 +11:00
Nicholas Nethercote
a28c8f38b2 Bug 1299335 (part 7) - Streamline nsIWidget::{Move,Resize}. r=mstange.
This patch changes them from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.

--HG--
extra : rebase_source : 6207df5a46aeb6b8aaa0f697447a51bc6a6dc366
2016-12-19 20:54:03 +11:00
Ryan Hunt
8969290a7b Bug 1323407 - Remove assert on D3D11_COMPOSITING in CompositorD3D11::Initialize r=dvander
--HG--
extra : rebase_source : 6fd3b198dcdacb0ff678a3553192e963f4b079f4
2016-12-15 13:44:31 -06:00
Botond Ballo
a72159c3ad Bug 1321885 - Expose the current async scroll offset in CSS pixels. r=kats
Some consumers want to use the async scroll offset in CSS pixels, and
it's pointless to convert to ParentLayer pixels only to have the consumer
convert it back.

MozReview-Commit-ID: B8nq3LUPM6Q

--HG--
extra : rebase_source : 9d2fc1d7637945bf582877118fd7d53e04c00f4c
2016-11-21 19:26:07 -05:00
Botond Ballo
3472ac9d09 Bug 1321885 - Update an out-of-date comment in AsyncPanZoomController.cpp. r=kats
MozReview-Commit-ID: 2glK42uCFBs

--HG--
extra : rebase_source : ba36935ce4c728c5a6a412dd6668f605db743bf6
2016-11-21 19:25:32 -05:00
Botond Ballo
3161fcc88c Bug 1321885 - Show the number of OMT animations on a layer in the layer dump. r=kats
MozReview-Commit-ID: KmG0TKEKZRR

--HG--
extra : rebase_source : aed045e00064e90f75bada9e6c397081b63b45d1
extra : source : 3e64e3ab44cdb0087787d2016bd2a3d623cb0c57
2016-07-20 14:53:38 -04:00
Ting-Yu Chou
4f285bd583 Bug 1322458 - Fix kungFuDeathGrip errors that clang plugin reports on Windows. r=aklotz,Ehsan
MozReview-Commit-ID: FLTLZSg2yh9

--HG--
extra : rebase_source : e8aad8f35cffb3312e043a4fcec6296371baf432
2016-12-14 16:34:12 +08:00
Carsten "Tomcat" Book
fd4709f9c1 merge mozilla-inbound to mozilla-central a=merge 2016-12-14 16:41:28 +01:00