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

26510 Коммитов

Автор SHA1 Сообщение Дата
peter chang 6010728f95 Bug 1373836 - Generate fixed animation id per layer if animations exist, r=kats
In gecko, it's possible to generate lots of animation ids per layer if animations are changed.
It also introduces lots of memory allocation/deallocation in CompositorAnimationStorage(HashTable).
Generate fixed animations id per layer should help the memory usage and reduce CPU time for memory allocation.
MozReview-Commit-ID: 1hWUD5gNBJH

--HG--
extra : rebase_source : bd3fcfed5caab5d8edfbd29a8e505daf9e8ff95f
2017-06-28 09:31:10 -07:00
Carsten "Tomcat" Book 5f00ae3a8b merge mozilla-inbound to mozilla-central a=merge 2017-06-29 15:47:04 +02:00
Ryan Hunt a95f4245e9 Bug 1376997 - Use the correct focus target in WebRenderBridgeParent::UpdateAPZ. r=kats
MozReview-Commit-ID: AXt28gZ3jdi

--HG--
extra : rebase_source : 0358529f0194df93ffa5602956fe2e1617cf80d0
extra : histedit_source : da561f94b8b5ba7b5d9bdc742d011ddd9258f983
2017-06-28 20:00:48 -04:00
Ryan Hunt 83d3e638ed Bug 1376879 - Check if we have a retargeted PresShell in FocusTarget. r=kats
MozReview-Commit-ID: L2v2U0MXecv

--HG--
extra : rebase_source : 271fb2d8c31b511981d4ace880b56df7a9b79455
extra : histedit_source : 37be2c45de26bf84124615900638f6803e11c553
2017-06-28 14:03:34 -04:00
Xidorn Quan 747d424555 Bug 1375944 - Increment font set generation when font-face is synchronously loaded in post-traversal. r=heycam
MozReview-Commit-ID: IJO6Uggpca4

--HG--
rename : layout/reftests/fonts/Ahem.ttf => layout/style/test/Ahem.ttf
extra : rebase_source : 0fc61d16412ff48eb50129bc614607a647293542
2017-06-28 11:14:18 -07:00
Jean-Yves Avenard d61a420f11 Bug 1376838: Revert "Bug 1360006: Whitelist VP9 decoder to intel GPU only." r=cpearce
This reverts commit 77f2dd5563d2c3e9ad7ada388036f1846c1e2107

MozReview-Commit-ID: 71Hr05Z6hA4

--HG--
extra : rebase_source : 3efa2e95d2a560b43443a07fc1948cf146d054f0
2017-06-28 19:45:24 +02:00
Kartikaya Gupta 56edc85a6e Bug 1376782 - Replace gfxPoint with a typedef to PointDouble. r=jrmuizel
This also moves the WithinEpsilonOf function from gfxPoint into
PointTyped, and changes call sites that are using
gfxPoint::Transform(Matrix4x4) to use Matrix4x4::TransformPoint(Point)
instead, which should be equivalent.

MozReview-Commit-ID: 3Z0bsU41rQt

--HG--
extra : rebase_source : 390e8de546d641d324e7125a06d0b8b51a48b946
2017-06-28 11:42:23 -04:00
Kartikaya Gupta 7332c6da98 Bug 1376782 - Replace gfxSize with a typedef to SizeDouble. r=jrmuizel
Most of the changes in this patch are just using the explicit
constructor from gfx::IntSize to gfx::Size, since gfxSize did
that implicitly but gfx::Size doesn't.

MozReview-Commit-ID: CzikGjHEXje

--HG--
extra : rebase_source : 9d19977f2a774d9a2a653db923553a6c2e06f82a
2017-06-28 11:41:21 -04:00
Kartikaya Gupta 57f217254c Bug 1376782 - Replace gfxMargin with a typedef to MarginDouble. r=jrmuizel
MozReview-Commit-ID: FEIILgP5Cr7

--HG--
extra : rebase_source : 572f5279dc8cd67712fd596d2f913d6131003ff4
2017-06-28 11:40:48 -04:00
Carsten "Tomcat" Book 257a632d4b Merge mozilla-central to autoland on a CLOSED TREE 2017-06-28 16:33:00 +02:00
Carsten "Tomcat" Book 0a8e2e111d Backed out changeset c3ac91f3aeb9 (bug 1343728) 2017-06-28 15:52:09 +02:00
Carsten "Tomcat" Book 7918eeee02 merge mozilla-inbound to mozilla-central a=merge 2017-06-28 13:23:29 +02:00
Milan Sreckovic 2a443ce1ef Bug 1337062: Transfer initial gfxVars with SendXPCOMProcessAttributes. Deal with potential (future) race condition. r=dvander,gerald
MozReview-Commit-ID: GYezEAg7ozQ

--HG--
extra : rebase_source : 7771f0e47ec7397117b96e702a620301089c57a1
2017-06-27 17:04:17 -04:00
Carsten "Tomcat" Book 45f2e51f0a Merge mozilla-central to autoland 2017-06-28 13:47:29 +02:00
Kartikaya Gupta 493543fcba Bug 1376522 - Remove unused code. r=botond
MozReview-Commit-ID: 7rfulZOILBT

--HG--
extra : rebase_source : 41edfea1b3a05d9b6431c3f4fad9eb4a40262ae8
2017-06-27 14:58:51 -04:00
Mats Palmgren 20e56bd3a7 Bug 1376464 - Use nsRefPtrHashtable for mRenderTextures then use Remove instead of Get+Remove. Replace Get().get() with GetWeak() in assertions. r=froydnj
MozReview-Commit-ID: 6tKFSrPLAW4
2017-06-28 01:03:16 +02:00
Mats Palmgren f8621ea409 Bug 1376463 - Use Lookup instead of Get+Remove to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: KoBaDTQEQQm
2017-06-28 01:03:16 +02:00
Mats Palmgren 557b895016 Bug 1376460 - Use Lookup instead of Get+Remove to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: CE7r2ESeAia
2017-06-28 01:03:16 +02:00
Mats Palmgren c49a96b7fd Bug 1376297 part 2 - Switch to nsRefPtrHashtable since it's more appropriate for holding RefPtr values. r=froydnj
MozReview-Commit-ID: 5hxCuDpITcC
2017-06-28 01:03:16 +02:00
Mats Palmgren 1bbdb5f4c6 Bug 1376297 part 1 - Use Lookup instead of Get+Remove, and remove a useless Get before Remove, to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: BeuLhwaQ8H6
2017-06-28 01:03:16 +02:00
Mats Palmgren 5293f63576 Bug 1376296 part 2 - Switch to nsRefPtrHashtable since it's more appropriate for holding RefPtr values. r=froydnj
MozReview-Commit-ID: IkVx7XJG0ai
2017-06-28 01:03:16 +02:00
Mats Palmgren bc03580b86 Bug 1376296 part 1 - Use Lookup instead of Get+Remove, and remove a useless Get before Remove, to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 6YgO0TzY32C
2017-06-28 01:03:16 +02:00
Mats Palmgren 3cee41d943 Bug 1376278 - Use LookupForAdd instead of Get+Put, and remove a couple of Remove calls before Put, to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 3b1FSGUwqLy
2017-06-28 01:03:14 +02:00
sotaro 5120a89df4 Bug 1375349 - Add calling ScheduleComposition() in CompositorBridgeParent::RecvAdoptChild() r=mattwoodrow 2017-06-27 14:56:16 -07:00
Michael Layzell e291335cf8 Bug 1343728 - Part 2: Add const operator== to TextureFactoryIdentifier and CompositorOptions, r=jrmuizel
MozReview-Commit-ID: 6BayMmqNlyx
2017-06-27 16:24:48 -04:00
David Anderson e09978bd8b Implement LayerMLGPU::SetLayerManager. (bug 1375759, r=mattwoodrow) 2017-06-27 13:11:01 -07:00
David Anderson 5168081e97 Fix not flushing unused TextureHosts in Advanced Layers. (bug 1376243, r=mattwoodrow)
--HG--
extra : rebase_source : 879c210dbe682b2128932b0e85e58927be600a06
2017-06-27 11:59:25 -07:00
Kartikaya Gupta dc174219de Bug 1375497 - Implement some more PLayerTransaction testing APIs in PWebRenderBridge. r=pchang
MozReview-Commit-ID: Em4VROmcUx0

--HG--
extra : rebase_source : c763f6f91f482f7b1ddc03280aff51ead6fd894e
2017-06-27 20:29:06 -04:00
Kartikaya Gupta b95fb227dd Bug 1375497 - Extract helper methods to read animation values. r=pchang
MozReview-Commit-ID: EusfcwPVGkL

--HG--
extra : rebase_source : a52bc1ce8430288e2f2cf41b13fa18d635c9fb7c
2017-06-27 20:29:06 -04:00
Kartikaya Gupta 4635e36bee Bug 1375497 - Make sure the WebRenderBridgeParent respects the testing time set in the CompositorBridgeParent. r=pchang
This allows testing code control over the animation steps running over in the
compositor, which is needed for the OMTA mochitests.

MozReview-Commit-ID: CXJcieSEoRl

--HG--
extra : rebase_source : ad73196ac835e7aae0003befa8c71e81a9019dd2
2017-06-27 20:29:05 -04:00
Kartikaya Gupta e5c184cad5 Bug 1375497 - Modify the SetTestSampleTime and LeaveTestMode functions to take a layers id instead of a LayerTransactionParent. r=pchang
This will make these functions usable from WebRenderBridgeParent, which has a
layers id but doesn't have a LayerTransactionParent.

MozReview-Commit-ID: FvxGPdLeUWe

--HG--
extra : rebase_source : eaed5dedeccda41068cade3d5b4527d0f047eed9
2017-06-27 20:29:05 -04:00
Carsten "Tomcat" Book 4e00eff077 merge mozilla-inbound to mozilla-central a=merge 2017-06-27 10:56:41 +02:00
Bill McCloskey f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Kartikaya Gupta 34903d0ba6 Bug 1376215 - Stop exposing the WrClipRegionToken in WebRenderAPI.h APIs. r=jrmuizel
No functional changes intended in this patch. It merely simplifies the
additional patch that we'll need to update gecko past WR cset 0bf6655,
and saves some potential manual rebasing work.

MozReview-Commit-ID: Km8dBotP3NQ

--HG--
extra : rebase_source : 77c34ec1cbbc1c0fe4d1971feb131d30c97f0d66
2017-06-26 07:49:52 -04:00
Carsten "Tomcat" Book 259377b6ab merge mozilla-inbound to mozilla-central a=merge 2017-06-26 13:25:51 +02:00
Jonathan Kew 982e744811 Bug 1376136 - Remove the shapedText flag TEXT_IS_PERSISTENT, as nothing depends on it any longer. r=mats 2017-06-25 09:30:28 +01:00
David Anderson ea272c6f03 Add memory reporting. (bug 1365879 part 26, r=mattwoodrow) 2017-06-23 14:23:14 -07:00
David Anderson b02d5e2bfd Add an acceleration test for Advanced Layers on Windows. (bug 1365879 part 25, r=milan) 2017-06-23 14:23:13 -07:00
David Anderson 000ab020c2 Add Telemetry environment and failure tracking for Advanced Layers. (bug 1365879 part 23, r=milan, data_r=bsmedberg) 2017-06-23 14:23:13 -07:00
David Anderson 07b79273e2 Add Advanced Layers to the compositor line in about:support. (bug 1365879 part 22, r=milan) 2017-06-23 14:23:13 -07:00
David Anderson 7df9b05034 Add MLGPU feature bits and compositor initialization. (bug 1365879 part 21, r=mattwoodrow) 2017-06-23 14:23:12 -07:00
David Anderson 6376e2c6bb Initial import of Advanced Layers. (bug 1365879 part 20, r=bas) 2017-06-23 14:23:12 -07:00
Andrew Osmond ee57a1a455 Bug 1374278 - Fix a race condition between GPUChild and CompositorManagerChild when the GPU process crashes. r=dvander 2017-06-23 16:12:35 -04:00
David Anderson 6ec4a2c568 Remove leftover files from incomplete backout of bug 1365879 (r=me). 2017-06-23 12:31:05 -07:00
Mason Chang d69917e056 Bug 1375452 Fallback to DrawTarget::IntoLuminance if we can't create the effect. r=jrmuizel 2017-06-22 10:15:37 -07:00
Samael Wang 06b5a3322e Bug 1362166 - Add a timeout to PCompositorManager & kill GPU process on timeout in release builds. r=dvander
MozReview-Commit-ID: Dln8ERrExmz
2017-06-22 17:27:05 +08:00
Ethan Lin 961d3fd17f Bug 1367987 - Enable image layer by default when webrender is enabled. r=kats 2017-06-23 22:11:42 +08:00
Jeff Muizelaar 3bc6d736e9 Bug 1372685 - Make DisplayItemLayer dummy target 1x1. r=lsalzman
This is basically the same as what was done in PaintedLayerBlob
2017-06-23 09:46:40 -04:00
Jan Beich 28f774243d Bug 1375693 - Don't build OpenVR on Tier3 due to lack of open source runtime. r=kip
MozReview-Commit-ID: 6GYN5xRSZ2D

--HG--
extra : rebase_source : aea410a33baeef0f2e3ba99b9f27c3cc07f7365c
2017-06-23 04:02:12 +00:00
Kearwood "Kip" Gilbert bd0b85959b Bug 1371845 - Update OpenVR SDK to 1.0.8 r=daoshengmu
MozReview-Commit-ID: 4Tsuo4AgobU

--HG--
extra : rebase_source : 1eed72f0b2049ecf1cf54144fc374eb5b440516f
2017-06-19 15:41:27 -07:00