Commit Graph

8695 Commits

Author SHA1 Message Date
Wes Kocher
609b9922f7 Merge m-c to autoland, a=merge 2016-11-16 17:29:05 -08:00
Wes Kocher
f9e9d69899 Merge inbound to m-c a=merge CLOSED TREE 2016-11-16 17:07:26 -08:00
Botond Ballo
1f2c35311b Bug 1315854 - Account for rounding error when checking if certain transforms are the identity in AsyncCompositionManager::AlignFixedAndStickyLayers(). r=mstange
MozReview-Commit-ID: 4xxuqWHedeS

--HG--
extra : rebase_source : ee81a68b7e084896333cb0a9ac97a83e3c0f0388
2016-11-16 15:59:24 -05:00
Carsten "Tomcat" Book
e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Kan-Ru Chen
f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Sotaro Ikeda
92926a0f41 Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical 2016-11-15 22:01:30 -08:00
David Anderson
684cad415c Fix canvas crashing when the GPU process aborts. (bug 1314427, r=nical) 2016-11-15 13:04:59 -08:00
David Anderson
2c5e03e62e Don't reset devices for each tab when the compositor resets. (bug 1316788, r=rhunt) 2016-11-14 11:47:01 -08:00
David Anderson
c7859ea378 Remove assertions in TextureClient that IPC is open. (bug 1316599, r=mattwoodrow) 2016-11-14 11:46:34 -08:00
Sylvestre Ledru
d6ef1e706d Bug 1317430 - Avoid a unnecessary copy by passing a const & in gfx/ r=nical
MozReview-Commit-ID: 4AHG1queVe6

--HG--
extra : rebase_source : cd678e951710321c798b5ca617f39b18f82bea77
2016-11-14 23:16:18 +01:00
Matt Woodrow
77e78d9558 Bug 1316221 - Force VideoBridge shutdown to happen before the compositor thread is destroyed. r=dvander 2016-11-11 15:02:32 +13:00
Matt Woodrow
808b23cf14 Bug 1316221 - Make sure we call Close on VideoBridgeChild before shutting down. r=dvander 2016-11-11 15:01:36 +13:00
David Anderson
6550f2ab52 Don't use gfxWindowsPlatform in TextureD3D11. (bug 1316690 part 2, r=rhunt)
--HG--
extra : rebase_source : 62e07ec4ff9c5a2c882add956ac5755fb68f836b
2016-11-11 11:58:46 -08:00
David Anderson
d7f8e40664 Move device reset detection from gfxPlatform to DeviceManagerDx. (bug 1316690 part 1, r=rhunt)
--HG--
extra : rebase_source : 0b950fb1fe798e5a6ec8ef2163759a5eedce62fc
2016-11-11 11:57:06 -08:00
Ryan Hunt
f72009a953 Bug 1316479 - Move CrossProcessCompositorBridgeParent to its own file. r=dvander
--HG--
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CrossProcessCompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CrossProcessCompositorBridgeParent.h
extra : rebase_source : 4c05587e311d2e6ecd49e8831abdb647967971e7
2016-11-10 12:05:06 -06:00
David Anderson
73757f14b1 Disable the GPU process when LayerScope is enabled. (bug 1316429, r=milan) 2016-11-10 10:55:32 -08:00
Carsten "Tomcat" Book
f93282b491 Merge mozilla-central to mozilla-inbound 2016-11-10 17:08:43 +01:00
Carsten "Tomcat" Book
4b6cab91f9 merge mozilla-inbound to mozilla-central a=merge 2016-11-10 16:59:38 +01:00
David Anderson
0d0c688b90 Add missing CompositableClient::IsConnected checks to ShadowLayers. (bug 1316419, r=mattwoodrow) 2016-11-09 18:26:48 -08:00
David Anderson
047f6a9797 Don't assume that PTextureChild allocation succeeds. (bug 1314425, r=nical) 2016-11-09 18:25:27 -08:00
Carsten "Tomcat" Book
846adaea6c merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Kevin Chen
391e9fa548 Bug 1160157 - Use AutoTextureLock to manage the shared resource's mutex. r=dvander
--HG--
extra : rebase_source : 69fe51900e06c669908eca1bbb7b82cf9922cc38
2016-11-07 00:48:00 -05:00
peter chang
1626104a4c Bug 1311644 - Create YCbCr texture client with valid allocator, r=nical
MozReview-Commit-ID: 2qQBBYb7Ist

--HG--
extra : rebase_source : eb284be301b78ffa68bfa3783f06b144c59b85eb
2016-11-08 11:40:24 +08:00
Wes Kocher
0330db10eb Merge m-c to autoland, a=merge 2016-11-08 14:09:10 -08:00
Wes Kocher
008fdd9329 Merge inbound to central, a=merge 2016-11-08 13:58:20 -08:00
Matt Woodrow
8ef69ac7f8 Bug 1315585 - Don't assume mLastCompositionEndTime has been initialized in NotifyNotUsedAfterComposition. r=dvander 2016-11-08 15:38:30 +13:00
Matt Woodrow
1d5209319c Bug 1315584 - Remove picture rect assertion in LayerTransactionParent since it can fail if the texture isn't available. r=dvander 2016-11-08 15:26:42 +13:00
Matt Woodrow
5b78e0fd3c Bug 1315583 - Release ActiveResourceTracker on the main thread. r=dvander 2016-11-08 15:24:36 +13:00
Matt Woodrow
b2c5102506 Bug 1315582 - Try recreate ImageContainer IPDL object before creating Images. r=dvander 2016-11-08 15:24:13 +13:00
Kartikaya Gupta
c19a47d368 Bug 1315974 - Have the CompositorBridgeChild take a LayerManager instead of a ClientLayerManager. r=dvander
MozReview-Commit-ID: CPTCQgIl5ad

--HG--
extra : rebase_source : dabc583be1de1700c35444e517070455349ea9b8
2016-11-08 10:42:19 -05:00
Phil Ringnalda
9a35a9e7b6 Merge m-c to autoland 2016-11-07 20:41:56 -08:00
Kartikaya Gupta
54c54c7a09 Bug 1315706 - Pass a wrapper struct to various CompositorWidget functions. r=dvander
This is the first step in using these functions without having a
LayerManagerComposite at all.

MozReview-Commit-ID: 2zkuB7Ox4Ut

--HG--
extra : rebase_source : b23988275f5851a2fd30bd3e8a9931107a224c66
2016-11-07 21:16:52 -05:00
Wes Kocher
a2603b1a0e Merge m-c to autoland, a=merge 2016-11-07 14:05:01 -08:00
Kartikaya Gupta
57f37706cc Bug 1315477 - Add a AsBasicLayerManager() function and use instead of static_casts. r=mattwoodrow
MozReview-Commit-ID: DV6XZBEXw85

--HG--
extra : rebase_source : b82f2ea2d073292c2a9514ba8a4c2d0c8397d90a
2016-11-07 11:38:45 -05:00
David Anderson
718c1c97fe Don't attach shadowable layers if IPDL fails to construct an actor. (bug 1314349, r=mattwoodrow) 2016-11-06 18:50:15 -08:00
David Anderson
4558802c65 Remove bogus assertion in LayerTransactionChild::Destroy. (bug 1314408, r=mattwoodrow) 2016-11-06 18:49:03 -08:00
Sebastian Hengst
6300f967b0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: gfx. r=RyanVM
MozReview-Commit-ID: BpBHHDCEZfL

--HG--
extra : rebase_source : 41b2e53689e31541fe0edf42df9d38eb3a3d486f
2016-11-05 11:29:19 +01:00
Phil Ringnalda
c1b863b390 Merge m-c to autoland 2016-11-04 19:05:33 -07:00
Ting-Yu Lin
904617e77f Bug 1310509 - Call NotifyAsyncPanZoomStarted/Stopped on document containing current scrolling content. r=kats
We now call NotifyAsyncPanZoomStarted/Stopped precisely on the document
which is being transformed, so we no longer need to notify the child
docshells which was added in Bug 1088559.

Remove the |nsIDocument| argument for ProcessAPZStateChange(), which is not
used anymore.

mActiveAPZTransforms added in bug 1142926 is removed because AccessibleCaret
is the only consumer for AsyncPanZoomStarted/Stopped, and it now defaults to
always show while scrolling, i.e.
"layout.accessiblecaret.always_show_when_scrolling" defaults to true. And I
cannot reproduce the bug even if I turn off the preference.

MozReview-Commit-ID: DiEk2gCIHn2
2016-11-04 22:27:02 +08:00
Sotaro Ikeda
e00689f3bd Bug 1313518 - Revert Bug 1273823 if width is not aligned to 32 r=nical 2016-11-03 18:41:16 -07:00
Matt Woodrow
6dad1a961a Bug 1300676 - Part 3 - Implement readback for GPU videos. r=dvander,nical 2016-11-04 13:28:28 +13:00
Matt Woodrow
fa682784c8 Bug 1300676 - Part 2: Expose SurfaceDescriptor helpers. r=nical 2016-11-04 13:28:28 +13:00
Matt Woodrow
4f998dbe2b Bug 1300676 - Part 1: Allow asynchronous deletion of Shmem for VideoDecoderManagerChild. r=dvander 2016-11-04 13:28:28 +13:00
Kevin Wern
01b23685d7 Bug 1249710: fix unit mismatch calculating scroll range during async scrollbar drag r=botond
When calculating the max scroll position, the size of mCompositionBounds is
subtracted from the size of mScrollableRectangle. Unfortunately, the former is
in ParentLayer units and the latter is in CSS units. This causes the final
scroll position to become staggered relative to the mouse when user zoom is not
100%.

Use cssCompositionBounds, mCompositionBounds transformed to CSSRect, which
changes based on zoom. Additionally, refactor GetAxis* functions to return
typed units, where possible.

MozReview-Commit-ID: Ec9cOMP1cdT

--HG--
extra : rebase_source : 1af911a91fe4d13c8563d3c086ac688ec65d2f3c
2016-11-02 04:45:09 -04:00
Matt Woodrow
cc6c76aab2 Bug 1314194 - Make sure we don't recycle textures in the GPU process before they have finished being used. r=nical 2016-11-03 09:57:18 +13:00
Matt Woodrow
3b4d158ee3 Bug 1314189 - Only create a RemoteVideoDecoder if the current LayerManager is using the GPU process. r=dvander 2016-11-03 09:57:15 +13:00
Matt Woodrow
426bc3ee3f Bug 1314187 - Implement GetYUVColorSpace for GPUVideoTextureHost. r=sotaro 2016-11-03 09:55:07 +13:00
Matt Woodrow
f884ec26e9 Bug 1300675 - Rebuild VideoDecoderManager when we restart the GPU process. r=dvander 2016-11-03 09:55:07 +13:00
Matt Woodrow
9e56f22190 Bug 1314186 - Resync LayerTreeId mappings to the GPU process if it restarts. r=dvander 2016-11-03 09:55:07 +13:00
Edwin Flores
12c57c38dd Bug 1309277 - Allow D3D9 without component alphaa - r=mattwoodrow 2016-11-02 10:55:07 +00:00
Thinker K.F. Li
63533d005d Bug 1306107 - Stop calling ProjectTo2D() for leaf basic layers. r=mattwoodrow 2016-11-07 01:45:00 -05:00
David Anderson
d4f66fe756 Ensure that CompositorBridgeChild retains an IPDL ref while owning a Transport. (bug 1314520, r=mattwoodrow)
--HG--
extra : rebase_source : 5b17c993e9544864928d72df6c9994e63224ea3c
2016-11-08 15:43:07 -08:00
Bill McCloskey
b47737ed9f Bug 792652 - Move FatalError to IProtocol (r=dvander)
This patch moves FatalError to IProtocol. I had to make a few changes.
- I added a ProtocolName() method to find the name of the protocol.
- I gave the two-argument version of FatalError its own name. Otherwise
  C++ doesn't like there to be two virtual methods with the same name
  in cases where one is overridden and the other isn't (as happens
  in IToplevelProtocol).
2016-11-08 15:22:45 -08:00
Bill McCloskey
f8bd2627a7 Bug 792652 - Stop generating code for toplevel-only methods in non-toplevel protocols (r=dvander)
Moves OnProcessingError, OnChannelError, OnChannelConnected so that they're
only generated for toplevel protocols. For some reason APZCTreeManagerChild
implemented OnProcessingError. I'm not sure what the intention was there so
I removed it.
2016-11-08 15:22:42 -08:00
Bill McCloskey
4e78a26c74 Bug 792652 - Simplify IPDL type hierarchy (r=dvander)
Currently all our protocols inherit from IProtocolManager<IProtocol>. I have
no idea why. This patch switches everything over to IProtocol, without any
templates. I had to move ReadActor to the .cpp file to avoid redefinition
errors.
2016-11-08 15:22:34 -08:00
Ryan Hunt
8ee59ed7da Bug 1313199 - Sync a device reset from GPU process to main process. r=dvander
--HG--
extra : rebase_source : 4daf0427fee802cd986d7439c0e27eddbf671311
2016-11-06 13:01:52 -06:00
Ryan Hunt
fec86bdccd Bug 1313199 - Allow sending reset compositor messages over IPDl. r=dvander
--HG--
extra : rebase_source : 6d949e758d35e40702aa8e8022a6482ed7dbe280
2016-11-06 12:56:53 -06:00
Wes Kocher
41c087935b Merge m-c to inbound, a=merge 2016-11-08 14:08:34 -08:00
David Anderson
60e7aedd33 Fix revoking transactions that may not have been started. (bug 1314399, r=nical) 2016-11-08 13:12:46 -08:00
Wes Kocher
4b3d16605a Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00
Bill McCloskey
35fc224b71 Bug 792652 - Move FatalError to IProtocol (r=dvander)
This patch moves FatalError to IProtocol. I had to make a few changes.
- I added a ProtocolName() method to find the name of the protocol.
- I gave the two-argument version of FatalError its own name. Otherwise
  C++ doesn't like there to be two virtual methods with the same name
  in cases where one is overridden and the other isn't (as happens
  in IToplevelProtocol).
2016-11-08 11:32:30 -08:00
Bill McCloskey
0991523235 Bug 792652 - Stop generating code for toplevel-only methods in non-toplevel protocols (r=dvander)
Moves OnProcessingError, OnChannelError, OnChannelConnected so that they're
only generated for toplevel protocols. For some reason APZCTreeManagerChild
implemented OnProcessingError. I'm not sure what the intention was there so
I removed it.
2016-11-08 11:32:29 -08:00
Bill McCloskey
2dc5f495db Bug 792652 - Simplify IPDL type hierarchy (r=dvander)
Currently all our protocols inherit from IProtocolManager<IProtocol>. I have
no idea why. This patch switches everything over to IProtocol, without any
templates. I had to move ReadActor to the .cpp file to avoid redefinition
errors.
2016-11-08 11:32:24 -08:00
David Anderson
504484a456 Remove PLayer. (bug 1323539 part 2, r=mattwoodrow) 2016-12-21 10:43:47 -05:00
David Anderson
6dda51a503 Don't access ShadowableLayer from ClientLayer's destructor. (bug 1323539 part 1, r=mattwoodrow) 2016-12-21 10:43:04 -05:00
Kartikaya Gupta
1320e96e69 Bug 1313170 - Ensure that the touchend events in helper_bug1162771 are sent with the correct coordinates. r=dvander
The test in helper_bug1162771 dispatches a touchstart on an element, and then
inside the touchstart handler makes that element display:none. It then sends a
touchend at what should be the same position. However, since the position of the
touch is calculated from the position of the element, the touchend position can
be wrong because the element is set to display:none in between. This patch
saves the position before sending the touchstart, and makes sure to use the
same position for the touchend.

MozReview-Commit-ID: GoyQvNJ1wRZ

--HG--
extra : rebase_source : 10fbd5d306aa36b46196758d672fce72347ca638
2016-10-31 10:05:18 -04:00
Kartikaya Gupta
cb026d2536 Bug 1313170 - Use the widget-level touch injection instead of the OS-level touch injection for some tests. r=dvander
When using the InjectTouchInput API on Windows, the API requires that the caller
keep providing input frames (by calling the API function) at least every 100ms.
If the caller fails to do so, Windows can return an ERROR_TIMEOUT and throw
away the touch sequence. In some tests, it is hard for us to make this guarantee,
because we need to wait for other events between the touchdown and touchup. For
these tests, we can use the widget-level touch injection code that we have as
a fallback for the OS-level touch injection code. The widget-level touch
injection is less representative of real-world usage but allows us to bypass
the timeout problem.

MozReview-Commit-ID: EoVUSZmERUw

--HG--
extra : rebase_source : 4f7ca1a1e6da4479d51526e8f132f5cb23fceb49
2016-10-31 10:05:15 -04:00
David Anderson
50bf760132 Handle failed SendPTexture. (bug 1313770 part 5, r=mattwoodrow)
--HG--
extra : rebase_source : ca9d185730991973a16fd6751b267de65aca84c5
2016-10-28 15:48:35 -07:00
David Anderson
4ad2f45f29 Handle failed SendPCompositable. (bug 1313770 part 4, r=mattwoodrow)
--HG--
extra : rebase_source : 15bbe1c0bd61f3f8698ab296fc52d676e758ea38
2016-10-28 15:48:35 -07:00
David Anderson
a5058127f9 Handle failed SendPImageContainerConstructor. (bug 1313770 part 3, r=mattwoodrow)
--HG--
extra : rebase_source : 29089aa04fc2838c649ba92732cecacb62f8505f
2016-10-28 15:48:35 -07:00
David Anderson
76322c8fc4 Make CreateImageClient fallible. (bug 1313770 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 1dcf94cb15995e7ca8b3c4c5901562dbc4959243
2016-10-28 15:48:35 -07:00
David Anderson
ecf530eb6f Do not paint if a BeginTransaction fails. (bug 1313770 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 482b24f52da24de87dd459ac6d003b286206e54e
2016-10-28 15:48:34 -07:00
Kartikaya Gupta
b519ec7751 Bug 1312059 - Followup to fix const-correctness. rs=botond
MozReview-Commit-ID: LizJ0sjAXnx
2016-10-28 11:01:50 -04:00
Matt Woodrow
5ab6ff0b97 Bug 1313281 - Part 6: Remove FenceHandle. r=sotaro 2016-10-27 21:02:12 +13:00
Matt Woodrow
6250728c9c Bug 1313281 - Part 5: Remove NeedsFenceHandle. r=sotaro 2016-10-27 21:02:12 +13:00
Matt Woodrow
56b15734eb Bug 1313281 - Part 4: Remove Fence parameter from TextureData::Lock. r=sotaro 2016-10-27 21:02:09 +13:00
Matt Woodrow
cd3c3b3268 Bug 1313281 - Part 3: Remove Fence from TimedTexture. r=sotaro 2016-10-27 21:00:20 +13:00
Matt Woodrow
db63ec0ace Bug 1313281 - Part 2: Remove DeliverFence. r=sotaro 2016-10-27 20:59:50 +13:00
Matt Woodrow
bda6eacad9 Bug 1313281 - Part 1: Remove AsyncTransactionTracker. r=sotaro 2016-10-27 20:59:23 +13:00
Phil Ringnalda
76f5d03bb6 Merge m-c to m-i
MozReview-Commit-ID: LUDPZ08eWBo
2016-10-26 18:58:54 -07:00
Matt Woodrow
4d0b10822d Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro 2016-10-27 13:17:10 +13:00
Hiroyuki Ikezoe
4999550c29 Bug 1311196 - Part 3: Adjust fill mode to fill forwards for all animations on the compositor. r=birtles
MozReview-Commit-ID: DsIrWoxci0X

--HG--
extra : rebase_source : 559edb1756cf13b2677cabcc18321825c9fd8e4c
2016-10-26 17:19:38 +09:00
Phil Ringnalda
435a27119b Merge m-c to m-i
MozReview-Commit-ID: 8nqgw9Q3gSY
2016-10-25 22:07:07 -07:00
Phil Ringnalda
8cf1367dd8 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FnnOWQ3xKPi
2016-10-25 22:03:31 -07:00
David Anderson
d0a9a85fba Don't query gfxPlatform for the vsync rate in CompositorBridgeParent. (bug 1312835, r=mattwoodrow)
--HG--
extra : rebase_source : 152bb6f146dc452d239fa7a90fcdcda3311d52de
2016-10-25 16:25:52 -07:00
David Anderson
20b34a53e8 Don't use gfxPlatform for creating temporary surfaces in the BasicCompositor. (bug 1311770, r=mattwoodrow) 2016-10-25 18:23:03 -07:00
Lee Salzman
926f3f5746 Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang
MozReview-Commit-ID: 8jRzOaS5vqy
2016-10-24 22:40:59 -04:00
Sotaro Ikeda
a514bb26e8 Bug 1310405 - Set DXGIYCbCrTexture YUVColorSpace to BT601 r=mattwoodrow 2016-10-24 18:17:39 -07:00
Wes Kocher
951194ee45 Backed out 6 changesets (bug 1299435) for windows reftest failures a=backout
Backed out changeset 0d587a1cab8f (bug 1299435)
Backed out changeset 3ab9d3cb13aa (bug 1299435)
Backed out changeset 1ed742f88f49 (bug 1299435)
Backed out changeset 51ad497c7ac2 (bug 1299435)
Backed out changeset 06ca6acef0a2 (bug 1299435)
Backed out changeset ebd4625e101a (bug 1299435)

--HG--
rename : gfx/skia/skia/src/animator/SkCondensedDebug.inc => gfx/skia/skia/src/animator/SkCondensedDebug.cpp
rename : gfx/skia/skia/src/animator/SkCondensedRelease.inc => gfx/skia/skia/src/animator/SkCondensedRelease.cpp
2016-10-24 16:45:46 -07:00
Lee Salzman
ab9cf08d5a Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang
MozReview-Commit-ID: 8jRzOaS5vqy
2016-10-24 15:22:20 -04:00
Kartikaya Gupta
3af5c36a88 Bug 1312059 - Stop passing the CompositorBridgeParent into the APZCTreeManager; instead the necessary subinterfaces can be obtained via the LayerTreeState. r=botond
MozReview-Commit-ID: 3N8vC3l3jfV
2016-10-24 15:12:57 -04:00
Kartikaya Gupta
98051ec8f2 Bug 1312059 - Extract a MetricsSharingController interface for the APZC code to use when dealing with shared frame metrics. r=botond
MozReview-Commit-ID: 9b2Vfamr1XT
2016-10-24 15:12:55 -04:00
Kartikaya Gupta
dbedac3125 Bug 1312059 - Extract a CompositorController interface for the APZ code to request composites and do other compositor-related things. r=botond
MozReview-Commit-ID: Ja9NGu2oWPN
2016-10-24 15:12:53 -04:00
Kartikaya Gupta
a5b8dc0091 Bug 1219296 - Followup to fix stale code comments. r=me and DONTBUILD
MozReview-Commit-ID: 65hNR0nUQP
2016-10-24 13:07:01 -04:00
David Anderson
75f2e81dae Fix assert deallocating shmems on GPU process restart. (bug 1311715, r=mattwoodrow) 2016-10-24 01:05:23 -07:00
GuanWen-Chen
b8e5996416 Bug 1292273 - Add logs to record the failure of compositor creation. r=dvander 2016-10-22 20:28:00 -04:00
GuanWen-Chen
9c8aa23da3 Bug 1292273 - Skip CompositorD3D11::EndFrame when device-removed happened and add some logs for tracking the behavior. r=dvander 2016-10-22 20:27:00 -04:00
Jamie Nicol
18f5f7db34 Bug 1311642 - Do partial texture uploads on mobile. r=nical
We were always uploading the entire texture region, but still by using
glTexSubImage2D. In most cases it should be quicker to use
glTexSubImage2D on the updated region only. And where that function has
problems we should avoid it by making CanUploadSubTextures return false
so that glTexImage2D is used instead.

MozReview-Commit-ID: BrobWEPJ82M

--HG--
extra : rebase_source : 986642a1d7bfe2bcb0cc12dc8e41c17ac77abc1d
2016-10-20 18:24:12 +01:00
Jamie Nicol
9a0a722f7b Bug 1311642 - Remove BeginUpdate and EndUpdate from GLTextureImage. r=nical
Only DirectUpdate was actually being used, so remove the dead
code. TextureImageCGL does't do anything over BasicTextureImage any more
so remove it too.

MozReview-Commit-ID: D7jpC9M7aTT

--HG--
extra : rebase_source : 7846439aa5cb320704b8f811f3203fe7fd31c51e
2016-10-20 17:11:00 +01:00
Ryan Hunt
817ba6ad01 Bug 1311860 - Dispatch CheckerboardFlushObserver creation to main thread. r=kats
MozReview-Commit-ID: Kuv2XS4XEUE
2016-10-20 15:43:00 -04:00
Ethan Lin
f8f2b11516 Bug 1310897 - Use ShadowLayerForwarder::IPCOpen() to replace other mShadowManager checks in ShadowLayerForwarder. r=nical 2016-10-17 20:35:00 -04:00
Jamie Nicol
c48d788bf3 Bug 1290149 - Copy intersecting region from old frontbuffer to new backbuffer when single tile layer visible region changes; r=mstange
MozReview-Commit-ID: 96AhbNyw6pg

--HG--
extra : rebase_source : 587e7af3a800224c0017cb5bab32dd44d1c2675e
2016-08-18 22:50:48 +01:00
Phil Ringnalda
d639192034 Merge m-c to autoland 2016-10-19 18:36:48 -07:00
Phil Ringnalda
7fd865b93f Merge autoland to m-c, a=merge
MozReview-Commit-ID: 3nuTAHtJkkD
2016-10-19 18:25:54 -07:00
Kartikaya Gupta
25d2167134 Bug 1310237 - Change skip-if(!asyncZoom) tests to skip-if(!Android) with zooming enabled. Also update the fuzziness checks to match current Android reftest results. r=tnikkel
MozReview-Commit-ID: 5gcBgzyOq7b

--HG--
extra : rebase_source : 76de7392dc0c38398a8536db2591e0cb699ccebf
2016-10-19 16:16:07 -04:00
Kartikaya Gupta
651003e3a6 Bug 1311406 - Make sure the touchstart event isn't so close to the left edge of the screen, or it triggers Windows 8 edge gesture detection code which hangs the test. r=botond
MozReview-Commit-ID: HVP2iA07Pdg

--HG--
extra : rebase_source : 4df3ff349b7c980f43c1a1ed314bb44654966c5b
2016-10-19 10:53:48 -04:00
Phil Ringnalda
8377010e6a Merge m-c to m-i
MozReview-Commit-ID: Ihd0iacfcIW

--HG--
rename : devtools/.eslintrc => devtools/.eslintrc.js
2016-10-18 19:45:02 -07:00
Kartikaya Gupta
d9a7400119 Bug 1311030 - Remove more code unused since the deletion of JPZ. r=snorp
MozReview-Commit-ID: 1p8aWShTrQf

--HG--
extra : rebase_source : 49d83e86dc9c2b38c7486a04bd7e830d165c34db
2016-10-18 12:34:25 -04:00
Andi-Bogdan Postelnicu
eb9c8d0c77 Bug 1310627 - modify CreateForYCbCrWithBufferSize in order to accept nullable aAllocator. r=mattwoodrow
MozReview-Commit-ID: KIIX9n7rKaR

--HG--
extra : rebase_source : f47c7d1d853b42fa0bcbf17603d8239be40c2637
2016-10-17 14:54:52 +03:00
Sotaro Ikeda
5a134d6b42 Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-18 10:09:00 -07:00
Kartikaya Gupta
e28b1d8cbb Bug 1305969 - Ensure we don't clear the paint sync id unless it has actually been sent to Java via SyncViewportInfo. r=rbarker
MozReview-Commit-ID: FXy6xeWjqHq

--HG--
extra : rebase_source : 8887d1c7b99c8449c545023047b2ccc392977366
2016-10-15 09:02:50 -04:00
Carsten "Tomcat" Book
d6850a3a86 merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
Kartikaya Gupta
e6f4f137d8 Bug 1275314 - Allow flushing in-progress checkerboard reports in the GPU process as well. r=dvander
MozReview-Commit-ID: CXLzkiloHW
2016-10-15 08:45:02 -04:00
Kartikaya Gupta
76e61ea656 Bug 1275314 - Add an API to allow flushing out in-progress checkerboard reports. r=botond,ehsan
MozReview-Commit-ID: 6G4uIHcGQAv
2016-10-15 08:45:01 -04:00
Sebastian Hengst
6b5c3baeae Backed out changeset c544bfb79ca0 (bug 1210357) for unexpected pass of layout/reftests/ogg-video/encoded-aspect-ratio-1.html on Windows XP. r=backout a=backout
MozReview-Commit-ID: 4s31c2d2fv1
2016-10-15 11:07:47 +02:00
Wes Kocher
42083975b0 Merge inbound to central, a=merge 2016-10-14 14:40:49 -07:00
Carsten "Tomcat" Book
5194fbe95c Merge mozilla-central to mozilla-inbound 2016-10-14 12:20:46 +02:00
Carsten "Tomcat" Book
b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Brian Hackett
b8de31abbf Bug 1303891 - Convert Transaction::mMutants to a PLDHashTable, r=jmuizelaar.
--HG--
extra : rebase_source : e242f70e1fecfc18083fd9db605491e1ef53937e
2016-10-13 09:27:58 -06:00
Kartikaya Gupta
fa397ea897 Bug 1304689 - Ensure frame reconstructions don't clobber a 'stronger' scroll origin with a 'weaker' one. r=tnikkel
If, within a single refresh driver tick, the scroll position is updated by JS
explicitly, and then subsequently also updated by a frame reconstruction, the
scroll origin from the former (nsGkAtoms::other) can get clobbered by the latter
(to nsGkAtoms::restore). The restore scroll origin is "weaker" in that it can
be ignored by the APZ code in some circumstances. This is undesirable because
it means the JS scroll update also gets ignored. This patch ensures that when
setting the scroll origin we don't do this clobbering of stronger origins with
weaker origins.

MozReview-Commit-ID: DA4EHp1Debu

--HG--
extra : rebase_source : 99fd1f91698a605792b2a622450f1ff31bc89101
2016-10-11 09:36:22 -04:00
Ethan Lin
ae19c1c88a Bug 1260517 - Check HasShadowManager in the ShadowLayerForwarder::EndTransaction. r=nical 2016-10-12 03:04:00 +02:00
Jamie Nicol
2dffe0cfb1 Bug 1245959 - Remove MOZ_CRASH from GLImage::GetAsSourceSurface. r=nical
We are forcing a crash when we fail to bind a texture to a
framebuffer. Although it is not clear why this step is failing, crashing
is too drastic an action.

Instead, return nullptr as is done for every other possible failure
during this function. Also log a gfxCriticalError, which will hopefully
allow us to find the cause of the failure at some point, while not
crashing for release users.

MozReview-Commit-ID: H1RlFz8ZVbU
2016-10-11 15:01:08 -04:00
Sotaro Ikeda
74c5b567f4 Bug 1309443 - Add more updating mNeedsFullUpdate r=nical 2016-10-12 22:19:32 -07:00
Hiroyuki Ikezoe
949de6422d Bug 1223658 - Part 3: Consider fillMode in compositor thread as well. r=birtles
We need to consider fill mode in compositor thread as well as other properties
because pulling the animation back from the compositor thread is sometimes
delayed due to the main thread busyness.  In such situations, if there is
another animation running on the main thread on the same element, users can
easily notice a gap between both of animations.

MozReview-Commit-ID: 1i7YTWboira

--HG--
extra : rebase_source : 036ca7707d07200af7435e027607503cd03f547e
2016-10-14 19:14:11 +09:00
Hiroyuki Ikezoe
d8ec730df8 Bug 1223658 - Part 2: Pass delay property to compositor. r=birtles
The check of negative elapsedDuration is basically no longer valid since
animation delay is not factored into start time any more.  But still we have
somtimes met negative elapsedDuration sice we use a previous vsync time stamp
for async animations to make the animations more sync.  This is not a problem
in most cases but makes two reftests intermitent failure because both of them
used steps(1, start), the steps(1, start) composed different results in the
before phase and in the active phase. To avoid this difference this patch
replace the steps(1, start) with steps(1, end).

Once we incorpolate playbackRate into GetCurrentOrPendingStartTime, we don't
need to call AnimationTimeToTimeStamp for deviding delay by playbackRate since
the time passed to AnimationTimeToTimeStamp does not contain delay any more.

MozReview-Commit-ID: IVE2IFfNgm0

--HG--
extra : rebase_source : 7cb42e57067c21451706bd89284016d996dc8b12
2016-10-14 19:14:01 +09:00
Sebastian Hengst
085484cef1 Merge mozilla-central to autoland. r=backout-merge a=backout-merge 2016-10-15 11:12:23 +02:00
Wes Kocher
524df273d6 Merge m-c to autoland, a=merge 2016-10-14 14:49:31 -07:00
Sotaro Ikeda
f35d8f724b Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-13 23:48:39 -07:00
Sebastian Hengst
2bd34f750f Bug 1306137 - remove b2g camera code: Remove MOZ_B2G_CAMERA. r=aosmond
MozReview-Commit-ID: D207i9boeTJ

--HG--
extra : rebase_source : 390031b8a74ba145008328129079dcb0dee5a6c1
2016-09-28 21:10:32 +02:00
Nicolas Silva
349f20d644 Bug 1088300 - Don't attempt to paint a ClientLayerManager if IPC is down (take two). r=dvander 2016-10-12 14:23:32 +02:00
David Anderson
bb532b0876 Add telemetry for how phases of the painting pipeline contribute to large frame times. (bug 1309442, r=mattwoodrow) 2016-10-12 20:58:04 +13:00
Sotaro Ikeda
1d3ceeff04 Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
Carsten "Tomcat" Book
04666adb7d Merge mozilla-central to mozilla-inbound 2016-10-11 13:02:37 +02:00
Sotaro Ikeda
c4e935505b Bug 1305490 - Use ALLOC_UPDATE_FROM_SURFACE flag r=mattwoodrow 2016-10-11 03:17:16 -07:00
Jamie Nicol
ed24fe7708 Bug 1306371 - Use correct units when calculating displayport danger zone size. r=kats
This prevents the displayport accidentally being too large at high zoom
levels.

MozReview-Commit-ID: 66DVtOgS7N8

--HG--
extra : rebase_source : 70bd8098786bb9ad78a0f5b7efd83c796bb2e079
2016-10-04 18:48:24 +01:00
Phil Ringnalda
080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Matt Woodrow
11cd1c4662 Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander 2016-10-06 14:32:55 +02:00
Kartikaya Gupta
4b6c3d849f Bug 1292034 - Improve the controls over when flywheel/fling acceleration kicks in. r=rbarker
This patch adds a new pref, which controls the minimum velocity required on a fling
for it to accelerate a previous fling. This makes it so that a fast fling followed
by a very slow fling doesn't get accelerated. Also, update the AndroidAPZ code
to respect the pre-existing fling acceleration interval pref, which disallows
fling acceleration/flywheel if the two flings are too far apart in time.

MozReview-Commit-ID: 7sn57CufPZ4
2016-10-07 21:43:55 -04:00
Kartikaya Gupta
9675b3abbd Bug 1292034 - Update the StackScroller with the elapsed time from the previous fling before starting a new one, so that it doesn't use a stale velocity for flywheel. r=rbarker
MozReview-Commit-ID: EEWGPfUfB85
2016-10-07 21:43:54 -04:00
Sebastian Hengst
9b22c798f5 Backed out changeset 80dc73282950 (bug 1292034) 2016-10-08 00:40:56 +02:00
Sebastian Hengst
c9351ecb72 Backed out changeset 66bbe7f0d664 (bug 1292034) 2016-10-08 00:40:52 +02:00
Kartikaya Gupta
81be2e6b8d Bug 1292034 - Improve the controls over when flywheel/fling acceleration kicks in. r=rbarker
This patch adds a new pref, which controls the minimum velocity required on a fling
for it to accelerate a previous fling. This makes it so that a fast fling followed
by a very slow fling doesn't get accelerated. Also, update the AndroidAPZ code
to respect the pre-existing fling acceleration interval pref, which disallows
fling acceleration/flywheel if the two flings are too far apart in time.

MozReview-Commit-ID: EfBUx5UV6VG
2016-10-07 17:44:18 -04:00
Kartikaya Gupta
524bcd282f Bug 1292034 - Update the StackScroller with the elapsed time from the previous fling before starting a new one, so that it doesn't use a stale velocity for flywheel. r=rbarker
MozReview-Commit-ID: 1N1h4VlMDdi
2016-10-07 17:44:18 -04:00
Kartikaya Gupta
75ed2487c5 Bug 1291381 - Add some indenting to mochitest.ini for readaibility. r=botond
MozReview-Commit-ID: GQO7giyU31e
2016-10-07 15:11:00 -04:00
Kartikaya Gupta
8d70bf45ca Bug 1291381 - Enable touch tests on Windows. r=botond
MozReview-Commit-ID: 3zmGDCFLUgF
2016-10-07 15:10:53 -04:00
Kartikaya Gupta
102b429267 Bug 1291381 - Fix helper_long_tap.html and helper_tap_passive.html to work with the Windows long-press event sequence. r=botond
MozReview-Commit-ID: ENJjgJ9dhCd
2016-10-07 15:10:46 -04:00
Kartikaya Gupta
758d479cf5 Bug 1308483 - Allow firing the mouselongtap event to chrome JS for use in tests. r=smaug
MozReview-Commit-ID: GYfLAPle5Kl
2016-10-07 15:10:39 -04:00
Matt Woodrow
a36eef926a Bug 1300682 - Part 5: Use KnowsCompositor to initialize decoders and create one for VideoDecoderParent to use. r=nical,jya 2016-10-07 21:13:33 +13:00
Matt Woodrow
40e5335ced Bug 1300682 - Part 4: Set OtherPid() for VideoBridge. r=dvander 2016-10-07 21:13:33 +13:00
Matt Woodrow
8f742937c9 Bug 1300682 - Part 3: Split KnowsCompositor into a standalone header. r=nical 2016-10-07 21:13:32 +13:00
Matt Woodrow
044f47fe89 Bug 1300682 - Part 2: Allow using the compositor device for IMFYCbCrImage. r=dvander 2016-10-07 21:13:32 +13:00
Matt Woodrow
52a583a261 Bug 1300682 - Part 1: Make sure we create a TextureClient for VideoBridge even if the layers::Image doesn't support GetTextureClient. r=nical 2016-10-07 21:13:32 +13:00
Sotaro Ikeda
f1fcdf0234 Bug 1285757 - Update mNeedsFullUpdate in BufferTextureHost::PrepareTextureSource() r=nical 2016-10-06 21:13:56 -07:00
Ryan VanderMeulen
e980397fb4 Merge m-c to autoland. a=merge 2016-10-07 23:22:46 -04:00
Kartikaya Gupta
9dabeb28a2 Bug 1308627 - Ensure that two-fingered pans scroll the page even if the span between the fingers doesn't change. r=botond
MozReview-Commit-ID: 5jeqVtoIAO6

--HG--
extra : rebase_source : f332c2a5d3e6d78c60460baf099116f02b8e04e2
2016-10-07 17:00:30 -04:00
Miko Mynttinen
1314efc774 Bug 1286412 - Add compositor support for triangle layers (for OpenGL backend) r=jrmuizel
MozReview-Commit-ID: 75q8ja7G1ko

--HG--
extra : rebase_source : 99e2684351a6403d7a957b876337de20b16de139
2016-10-07 10:58:13 -07:00
Miko Mynttinen
7ecd75b61b Bug 1286412 - Implement polygon clipping and triangulation. r=kip
MozReview-Commit-ID: 8TWHBIFUV6Q

--HG--
extra : rebase_source : c1861d68cec56a5031489c439bbe965db57e979f
2016-10-03 16:35:52 -07:00
Miko Mynttinen
cc70393218 Bug 1286412 - Use surface->GetSize() instead of aRect dimensions. r=mattwoodrow
MozReview-Commit-ID: 2Fxcqh6TzjN

--HG--
extra : rebase_source : 693197d4902164c6314bd8e9ebb709f0ae6b9753
2016-10-03 16:34:16 -07:00
Carsten "Tomcat" Book
5ab962655e Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 55d1950f399abce29391fed0c9039d52dc68840c
2016-10-06 15:20:02 +02:00
Carsten "Tomcat" Book
7822855f50 Backed out changeset 3855dd4690ab (bug 1292923) for conflicts with m-c
--HG--
extra : rebase_source : 158207ae257965fbdffe51934d5c540188175859
2016-10-06 15:18:20 +02:00
Matt Woodrow
d8ccc61086 Backed out changeset d35d695f921d (bug 1292923) for troubles with windows refrests 2016-10-06 14:33:29 +02:00
Matt Woodrow
4d48d9abe0 Backed out changeset f5a4eadc760e (bug 1305326) 2016-10-06 14:32:57 +02:00
Matt Woodrow
81cff1917b Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander 2016-10-06 14:32:55 +02:00
Kartikaya Gupta
ed4e5b403e Bug 1307758 - Enable test_group_pointerevents on OS X as well, since we support synthesizing native touches there. r=stone
MozReview-Commit-ID: Kg7CnBD1UIt
2016-10-06 07:49:11 -04:00
Carsten "Tomcat" Book
7333917288 Merge mozilla-central to mozilla-inbound 2016-10-06 12:28:03 +02:00
Carsten "Tomcat" Book
7c8e81673d merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Matt Woodrow
2980c56cf9 Backout d35d695f921d for causing compile failures. 2016-10-06 19:13:30 +13:00
peter chang
65aeab6503 Bug 1305378 - Check texture is valid before creating a render target, r=mattwoodrow,mtseng
MozReview-Commit-ID: L4ruAMEDN9z

--HG--
extra : rebase_source : b2170a7cb0528ebfaf8a90e0cb2387ed70b28ddc
2016-09-30 17:35:35 +08:00
Matt Woodrow
584704be9c Bug 1305326 - Use D3DChecks::DoesAlphaTextureSharingWork again. r=dvander
--HG--
extra : rebase_source : 78b458c0c4f6967e5bed9da58fc00d143645e437
2016-09-28 13:29:46 +13:00
Matt Woodrow
d59abae49f Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander 2016-09-28 13:28:47 +13:00
Matt Woodrow
0dfc4f3bfa Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander
--HG--
extra : rebase_source : 403e604c6496b95e6f8e2f9320e918d4cdafe0f8
2016-09-28 13:28:47 +13:00
James Willcox
846659a048 Bug 1306716 - Follow up to not pass references across threads (!) r=kats 2016-10-05 10:15:04 -05:00
Kartikaya Gupta
2478ce37cb Bug 1306603 - Remove APZ code that uses the mozpasspointerevents update region. r=kanru
MozReview-Commit-ID: L8QQkoSjFTu
2016-10-05 08:26:59 -04:00
James Willcox
055120b321 Bug 1306716 - Don't retrieve (and ref) the TabParent on a non-main thread r=kats 2016-10-04 15:16:18 -05:00
Tom Schuster
774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Kartikaya Gupta
5a688fe072 Bug 1304263 - On Windows, fire the eMouseLongTap event as soon as APZ detects the long-press. r=TYLin
On Windows, the contextmenu event is fired when the finger is lifted after a
long-press. However, there are various bits of code, such as the AccessibleCaret
or potential fixes for bug 1147335, which would benefit from knowing when the
long-press gesture was detected. By moving eMouseLongTap event up we can satisfy
that need. An alternative approach considered was to fire the eMouseLongTap
before the contextmenu on all platforms unconditionally, but that makes it harder
to implement platform-specific text selection behaviour the way we want. In
particular we would have to add an extra message or notification for non-Windows
platforms that initiated text selection if the contextmenu event was not
consumed.

MozReview-Commit-ID: 2lmwxmmGrVD
2016-10-04 09:31:15 -04:00
Kevin Wern
16d7a2302e Bug 1227233: Increase scope of TreeTraversal.h to by-value traversal r=botond
MozReview-Commit-ID: LOw1k792T10

--HG--
extra : rebase_source : a81ac06686bc21ed69693a3a80551e0648a8299a
2016-09-22 12:31:26 -04:00
Wes Kocher
079a079cbe Backed out 2 changesets (bug 1321644) for android xpcshell bustage a=backout
Backed out changeset 60ba1893ecf3 (bug 1321644)
Backed out changeset c25bce77b775 (bug 1321644)
2016-12-22 18:16:23 -08:00
Randall Barker
94e356749c Bug 1321644 - part 2, Remove AndroidBridge::PostTaskToUiThread from RemoteContentController.cpp r=botond 2016-12-22 16:15:14 -08:00
Randall Barker
0adfb0ba8f Bug 1321644 - part 1, Remove android specific message loop code from APZThreadUtils.cpp r=botond 2016-12-22 16:15:14 -08:00
Matt Woodrow
6b75399b35 Bug 1297826 - Override FatalError for IPDL protocols that access the GPU process and make it non-fatal. r=billm 2016-10-04 21:31:27 +13:00
Matt Woodrow
a416002aa7 Bug 1297568 - Remove some invalid assertions that can happen when the GPU process crashes. r=dvander 2016-10-04 15:14:56 +13:00
Stone Shih
2df4b9dc8d Bug 1299195 - [Pointer Events] Filter double click event (input source=touch) to prevent dispatching extra mousedown and pointerdown events to content. r=kats
--HG--
rename : gfx/layers/apz/test/mochitest/test_bug1285070.html => gfx/layers/apz/test/mochitest/test_group_pointerevents.html
extra : rebase_source : cc47f2ead72bf332faac2b5a76b45036e5085937
2016-09-20 10:48:11 +08:00
George Wright
1ce63ce848 Bug 1297568 - Downgrade buffer creation failures if we're a reasonable size, and never assert r=dvander 2016-10-03 20:18:45 -04:00
George Wright
ff84a59b17 Bug 1297568 - Don't begin a layer transaction if our IPC channel is down r=mattwoodrow 2016-10-03 20:18:45 -04:00
Kartikaya Gupta
1ef4d7b941 Bug 1305201 - Follow-up to fix some debug logging. r=me and DONTBUILD because NPOTB
MozReview-Commit-ID: 9k2LzUrj6bP
2016-10-03 12:42:55 -04:00
Jim Chen
3587a0edd6 Bug 1306083 - 1. Use AndroidCompositorWidget to access GeckoLayerClient; r=kats
Add AndroidCompositorWidget to act as the intermediary between gfx code
and GeckoLayerClient, in place of AndroidBridge. AndroidCompositorWidget
currently inherits from InProcessCompositorWidget, but when Android
eventually supports OOP compositing, it will be made to inherit from
CompositorWidget directly.
2016-10-03 12:26:00 -04:00
James Willcox
327d256722 Bug 1306716 - Call TabParent::SendHandleTap from the right thread on Android r=kats 2016-10-03 10:58:41 -05:00
Matt Woodrow
50bff87cb2 Bug 1305361 - Rebuild IPDL actors on ImageContainer once we've recovered from a GPU process crash. r=dvander 2016-10-03 21:20:42 +13:00
Matt Woodrow
f0b6731a16 Bug 1305361 - Implement IPCOpen for ImageBridgeChild. r=nical 2016-10-03 21:20:27 +13:00
Matt Woodrow
a0aad01631 Bug 1305897 - Move ActiveResourceTracker onto ShadowLayerForwarder, since it's not used anywhere else. r=nical 2016-10-03 21:20:13 +13:00
Sotaro Ikeda
a1dfbc1a44 Bug 1304999 - Add nullptr check of YCbCr to rgb surface r=jrmuizel 2016-10-02 23:37:53 -07:00
Carsten "Tomcat" Book
53c63f69db Merge mozilla-central to mozilla-inbound 2016-09-30 12:08:17 +02:00
Carsten "Tomcat" Book
6636b09ddd merge mozilla-inbound to mozilla-central a=merge 2016-09-30 12:02:16 +02:00
Sotaro Ikeda
f973293243 Bug 1306211 - Add sanity check to CompositorBridgeChild::SendAllPluginsCaptured() r=nical 2016-09-29 23:27:29 -07:00
Bas Schouten
5c83c0a8dc Bug 1303570 - Part 2: When using Cairo use gfxWindowsSurfaces when creating surfaces in ContentClientBasic. r=jrmuizel
MozReview-Commit-ID: Bf4vdtiXNf3

--HG--
extra : rebase_source : 15e400f2d8a9837314271bc80b30e62bd36d3160
2016-09-27 11:29:10 +02:00
Wes Kocher
70adae2ee7 Backed out changeset e1300d4c0a52 (bug 1292923) for windows reftest failures a=backout 2016-09-29 18:10:17 -07:00
Wes Kocher
1cb598b229 Backed out changeset d98c1bfa1caf (bug 1305326) for windows reftest failures a=backout 2016-09-29 18:10:08 -07:00
Botond Ballo
31b240d553 Bug 1288210 - In AlignFixedAndStickyLayers, propagate the unconsumed portion of the adjustment to descendant layers. r=mstange
MozReview-Commit-ID: DOOCRA0RHtr

--HG--
extra : rebase_source : 3849309057c8dd6807df0af567edaa8e34cde04a
2016-09-23 19:32:57 -04:00
Botond Ballo
0bc0bc2b88 Bug 1288210 - Don't use ForEachNode in AlignFixedAndStickyLayers. r=mstange
It would make the next change awkard.

This also temporarily removes the current, incomplete, handling of an
unconsumed translation, but this will be added back (and made complete)
in the next commit.

MozReview-Commit-ID: 2tPOjEMRKfj

--HG--
extra : rebase_source : 55f35596fa9ff29563ab8434d8f1fd427b2c917d
2016-09-23 19:32:09 -04:00