Commit Graph

23810 Commits

Author SHA1 Message Date
David Anderson
3ffb31894f Don't access gfxPlatform from WinCompositorWidget. (bug 1316481, r=mattwoodrow) 2016-11-09 20:49:09 -08: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
Jonathan Watt
02c8d37eee Bug 1316338 - Make PrintTargetThebes set mHasActivePage as appropriate. r=lsalzman 2016-11-02 12:41:19 +00:00
Jonathan Watt
de8450e0df Bug 1316322 - Make Factory::CreateNativeFontResource work for Skia. r=lsalzman 2016-10-31 16:27:19 +00:00
Jonathan Watt
17906ea120 Bug 1316299 - Change assertion in DrawTargetSkia::CreateSimilarDrawTarget to a warning. r=lsalzman 2016-10-31 15:05:30 +00:00
Carsten "Tomcat" Book
5b3af6e85f Merge mozilla-central to mozilla-inbound 2016-11-09 16:39:18 +01:00
Carsten "Tomcat" Book
846adaea6c merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Carsten "Tomcat" Book
1d94331de7 Backed out changeset 364305744e4c (bug 1297790) for test bustage 2016-11-09 10:26:27 +01:00
George Wright
dd8ff04b54 Bug 1297790 - Add GPU process feature status to the Telemetry environment r=dvander,gfritzsche data-review=bsmedberg 2016-11-09 03:18:32 -05:00
Matt Woodrow
f880884b57 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Masatoshi Kimura
fd494b2e0a Bug 1313280 - Fix invalid non-UTF-8 bytes from cairo. r=jrmuizel
MozReview-Commit-ID: 8ieCP3HK9Jt

--HG--
extra : rebase_source : 37289e1df598e50da760d3929c72343714e92a10
extra : source : abb872d6079ff48edff2abf164667d1b413f378b
2016-10-28 21:08:38 +09:00
Daosheng Mu
ba525e3bc3 Bug 1310904 - Part 2: Solving non MOZ_GAMEPAD case in VR; r=gw280
MozReview-Commit-ID: mOoSWGQawI

--HG--
extra : rebase_source : 4171659ed182e243e88b276ec56f5d5829593d56
2016-11-04 15:53:01 +08:00
Daosheng Mu
954b7fbf40 Bug 1315636 - Hanlde OpenVR controller button release; r=gw280
MozReview-Commit-ID: 9ihcXugQn2r

--HG--
extra : rebase_source : 07db2d3d11fe3a42bf5a3f625f2b5f7728017ea1
2016-11-08 08:15:01 +08:00
Markus Stange
489918ff7c Bug 1304152 - Printing uses DrawTargetCairo. Don't blindly assume we have a DrawTargetSkia. r=mchang
MozReview-Commit-ID: 3JVDjawRLTM

--HG--
extra : rebase_source : d2bd99ee049cf5f961f7ea463e972eb00cc8f0c6
2016-10-25 16:22:17 -04: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
Phil Ringnalda
27a5b8d2ae Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
CLOSED TREE

MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -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
Matt Woodrow
7afb98ff2b Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +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
George Wright
51a59d1d02 Bug 1314426 - Add a method to nsIDOMWindowUtils to terminate the GPU process and get the GPU process pid r=smaug,dvander 2016-11-07 14:22:48 -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
Wes Kocher
db15df3e50 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -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
a39fee1d93 Bug 1313883 - Allow using multiple decoder devices on non-AMD hardware since they seem to crash less that way. r=dvander 2016-11-04 13:28:28 +13: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
Daosheng Mu
ebd920cbdb Bug 1313585 - Part 2: Removing the existing gamepads before scanning VR controllers; r=gw280
MozReview-Commit-ID: 24a4tRoYX8f

--HG--
extra : rebase_source : fa48d7214fb2b4d1a891b201dac7c178374ac91a
2016-10-28 16:00:12 +08: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
Phil Ringnalda
c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Milan Sreckovic
976fdb1420 Bug 1309913: Pass the compositor type to canvas on creation. r=dvander
MozReview-Commit-ID: 81HtvWPdLQa

--HG--
extra : rebase_source : a448447fcb573beb320b2b2a352b97f77a5bafe3
2016-11-03 10:57:33 -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
5375ddbb83 Bug 1300681 - Use gfxVars for DXVA blacklist prefs so that they work in the GPU process. r=dvander,gerald 2016-11-03 09:57:18 +13:00
Matt Woodrow
552d016944 Bug 1300678 - Use gfxPrefs for media vars that get accessed from the GPU process. r=jya 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