Commit Graph

1562 Commits

Author SHA1 Message Date
Kartikaya Gupta
a6036c3329 Bug 1338347 - Refactor to group fields into a per-animation data structure. r=botond
No functional changes here, just creating a struct that we will expand in the
next patch.

MozReview-Commit-ID: HlSSvtIuYU5

--HG--
extra : rebase_source : fca9ec13018f77fae97c6907a188ecbfb5104921
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
dc857723e6 Bug 1338347 - Record frame throughput ratio for APZ animations r=botond
MozReview-Commit-ID: 7Ljaya9RFeo

--HG--
extra : rebase_source : 13e92c1077cc5f257cce58ab193758395c133292
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
c58659d822 Bug 1338347 - Record frame throughput ratios for compositor animations r=botond
This augments the AnimationMetricsTracker to also track compositor animations
triggered by chrome and content layers separately. During the animation, the
tracker keeps a count of frames composited, and once the animation ends, it
uses the wall-clock time and vsync interval to compute the expected number of
composited frames. It then submits a ratio of actual/expected to telemetry.
A score of 1000 (because the ratio is scaled up to an integer between 0 and 1000)
indicates a perfect score with no frames dropped. Lower values are worse, and
values significantly above 1000 indicate abnormal behaviour. Values may be slightly
above 1000 due to rounding error or vsync jitter.

MozReview-Commit-ID: 30Vw0j3dm9G

--HG--
extra : rebase_source : a35c764549c3441f89521629acfa11be82c004ae
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
e459ecb293 Bug 1338347 - Have the animation-sampling code track which process the animations are in. r=botond
This allows the AsyncCompositionManager to know whether compositor animations
are coming from chrome layers or content layers (using the rootmost RefLayer
as the boundary). This information is needed to have the compositor animation
telemetry probes separate information by chrome/content.

MozReview-Commit-ID: GqHczgrzXE5

--HG--
extra : rebase_source : da0a279f3f09687133c4dea7c28b6bfebcc66cac
2017-03-20 11:41:05 -04:00
David Anderson
8217a1b1a7 Attach Compositables to TextureSourceProviders instead of Compositors. (bug 1343814 part 5, r=mattwoodrow) 2017-03-21 20:32:56 -07:00
David Anderson
3f1c4ac214 Propagate the compositor through CompositableHost::Composite. (bug 1343814 part 4, r=mattwoodrow) 2017-03-21 20:32:55 -07:00
David Anderson
ca86baecf0 Material changes for TextureHost TextureSourceProvider support. (bug 1343814 part 3.2, r=mattwoodrow) 2017-03-21 20:32:54 -07:00
David Anderson
e61288b390 Replace TextureHost compositor access with TextureSourceProvider. (bug 1343814 part 3.1, r=mattwoodrow) 2017-03-21 20:32:54 -07:00
David Anderson
019d548845 Change TextureSource::SetCompositor to use TextureSourceProvider. (bug 1343814 part 2, r=mattwoodrow) 2017-03-21 20:32:53 -07:00
David Anderson
4d00ab76d4 Factor texture methods out of Compositor into a TextureSourceProvider class. (bug 1343814 part 1, r=mattwoodrow) 2017-03-21 20:32:53 -07:00
Miko Mynttinen
6e4add711b Bug 1346777 - Transform layer geometry properly when intermediate surface is used r=mattwoodrow
MozReview-Commit-ID: H3YmadD8sFz

--HG--
extra : rebase_source : 8bd9f9b58d8e50fd925299fec6fc464ee50886c0
2017-03-16 21:51:54 +01:00
Kartikaya Gupta
8f54e2114e Merge m-c to graphics
MozReview-Commit-ID: QN682uyISF
2017-03-09 10:42:57 -05:00
Kartikaya Gupta
a45bb3a916 Merge m-c to graphics
MozReview-Commit-ID: AzRIytAgP96
2017-03-08 10:08:57 -05:00
Kartikaya Gupta
90db7c5460 Merge m-c to graphics
MozReview-Commit-ID: DbHqbxaKedC
2017-03-07 10:30:42 -05:00
sotaro
1d710a54ef Bug 1343764 - Add ExternalBuffer handling r=nical 2017-03-07 19:37:28 +09:00
Matt Woodrow
ef5a44cc58 Bug 1340117 - Batch ReadLock intializer into a separate IDPL message to avoid hitting the file descriptor limit. r=dvander 2017-02-27 16:12:12 +13:00
Carsten "Tomcat" Book
f6885163cd Merge mozilla-central to mozilla-inbound 2017-03-08 14:28:34 +01:00
David Anderson
990418f338 Remove the Direct3D9 compositor. (bug 1318558 part 2, r=mattwoodrow) 2017-03-08 00:17:36 -08:00
David Anderson
8082fe14ae Remove references to the Direct3D9 compositor. (bug 1318558 part 1, r=mattwoodrow) 2017-03-08 00:17:36 -08:00
peter chang
be4bd90f39 Bug 1337889 - use CompositorAnimationsId to query Opacity/Transform animation, r=hiro,kats
MozReview-Commit-ID: 3s1kzOQAfrd

--HG--
extra : rebase_source : eb6ff70179b6460c8405c738b65051e2b303af90
2017-02-09 17:30:11 -05:00
Ryan Hunt
360463a6dd Bug 1344356 - Fix unused lambda capture warnings r=kats
--HG--
extra : rebase_source : 0a8c7cc1976a45ac51c016ed08f237492eb408a1
2017-03-06 10:09:47 -06:00
Kartikaya Gupta
1f59561281 Bug 1339220 - Add telemetry probes to measure duration and max-area of animations in the compositor. r=botond,bsmedberg
MozReview-Commit-ID: KyvsNSTcxG8

--HG--
extra : rebase_source : 18626f70b714b5bfc815c16422b04258be03e02b
2017-02-16 14:40:37 -05:00
Miko Mynttinen
d383988026 Bug 1338997 - Ensure that the transformation matrices are invertible r=mattwoodrow
MozReview-Commit-ID: A5nHNcnkrNN

--HG--
extra : rebase_source : 805da3badc2af207724aa67d60638cfa22a3330d
2017-02-23 20:42:10 +01:00
sotaro
5484f6eefc Bug 1339625 - Force clear Texture r=kats 2017-02-17 21:00:16 +09:00
David Anderson
dacafad8a4 Don't access mCompositor from CompositeToTarget. (bug 1339688 part 2, r=mattwoodrow) 2017-02-15 19:03:20 -08:00
David Anderson
efe562eabb Move composition time from Compositor to HostLayerManager. (bug 1339688 part 1, r=mattwoodrow) 2017-02-15 19:03:20 -08:00
Matt Woodrow
56e9020406 Bug 1328797 - Part 1: Don't use a sync transaction for RemoveTexture. r=nical
--HG--
extra : rebase_source : d2b18119af34eefa5fd675f4617c8cda13fbd74f
2017-02-16 11:28:24 +13:00
David Anderson
d2703c8176 Remove Composer2D remnants. (bug 1339353, r=kats) 2017-02-14 12:29:39 -08:00
Jeff Walden
cdee578059 Bug 1287006 - Don't pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer, in layout/-related code. r=bz
--HG--
extra : rebase_source : 94377970d6ec591044a10dab1aa5568e4a051837
2017-02-13 09:07:40 -08:00
Matt Woodrow
450185804e Bug 1325227 - Part 1: Remove synchronous transaction replies since they don't return any data we didn't already have. r=nical
MozReview-Commit-ID: 2HIbk65L7zR
2016-12-06 13:34:54 -10:00
Hiroyuki Ikezoe
8ec82eeec6 Bug 1331704 - Part 1: Store base styles in KeyframeEffectReadOnly instead of EffectSet. r=birtles a=abillings
Now we dropped mNeedsBaseStyleSet bit set.

MozReview-Commit-ID: Gv2rU0jpyk1
2017-02-11 19:11:45 +09:00
Sebastian Hengst
559bd6a3a1 Backed out changeset e2f6d5054e20 (bug 1331704) for build bustage: unused variable hasProperty at KeyframeEffectReadOnly.h:294. r=backout on a CLOSED TREE 2017-02-11 11:37:54 +01:00
Hiroyuki Ikezoe
e7c1543f3e Bug 1331704 - Part 1: Store base styles in KeyframeEffectReadOnly instead of EffectSet. r=birtles a=abillings
Now we dropped mNeedsBaseStyleSet bit set.

MozReview-Commit-ID: Gv2rU0jpyk1
2017-02-11 19:11:45 +09:00
sotaro
7594d5974f Bug 1336021 - Add WebRenderImageHost r=nical 2017-02-08 21:50:16 +09:00
Ryan Hunt
b8d96d48e8 Bug 1337387 - Fix unified build bustage r=kats?
--HG--
extra : amend_source : 4f3df3c6385129b977476fd8f86ffdbd21d18b52
2017-02-07 09:37:57 +00:00
Ryan Hunt
5e2990dc18 Merge m-c to graphics 2017-02-07 09:05:18 +00:00
sotaro
21e27083d4 Bug 1336024 - Split Image selection logic from ImageHost r=nical
--HG--
rename : gfx/layers/composite/ImageHost.cpp => gfx/layers/composite/ImageComposite.cpp
rename : gfx/layers/composite/ImageHost.h => gfx/layers/composite/ImageComposite.h
2017-02-07 17:07:00 +09:00
Kartikaya Gupta
bf7599ac75 Merge m-c to graphics
MozReview-Commit-ID: 8BjfShvh5gp
2017-02-03 10:39:57 -05:00
Kartikaya Gupta
6580d884b2 Merge m-c to graphics
MozReview-Commit-ID: uU8MPphFqj
2017-02-02 13:38:51 -05:00
Kartikaya Gupta
445dea068b Merge m-c to graphics
MozReview-Commit-ID: Kv6GW5ElioD
2017-01-29 08:03:30 -05:00
Ryan Hunt
3fe2c02ee1 Merge m-c to graphics 2017-01-27 10:07:37 -06:00
Kartikaya Gupta
ca041b7c5a Merge m-c to graphics
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
sotaro
647d847ae8 Bug 1335680 - Remove UseOverlaySource r=nical 2017-02-03 10:11:27 +09:00
Kartikaya Gupta
b66c471aef Merge m-c to graphics
MozReview-Commit-ID: LyU2woFOt7O
2017-01-18 13:48:56 -05:00
Kartikaya Gupta
c7fda3b4ca Merge m-c to graphics
MozReview-Commit-ID: KzmBdQoXRRI
2017-01-17 09:01:06 -05:00
Ryan Hunt
04951a435e Merge m-c to graphics 2017-01-13 10:14:22 -06:00
Carsten "Tomcat" Book
d69139ac79 merge mozilla-inbound to mozilla-central a=merge 2017-01-13 10:20:25 +01:00
Miko Mynttinen
cae25aa175 Bug 1335159 - Also invert layer local transform r=mattwoodrow
MozReview-Commit-ID: EmYesCp433Q

--HG--
extra : rebase_source : 7c8fe59b84c86c79eb07da11938156b2785af65b
2017-01-31 22:26:46 +01:00
Kartikaya Gupta
c65ab1c730 Merge m-c to graphics
MozReview-Commit-ID: LPeWBwbK82h
2017-01-12 12:40:09 -05:00
Randall Barker
a9e4bde7f7 Bug 1329362 - part 8, Convert LayerManagerComposite::RenderToPresentationSurface to use CompositorWidget instead of nsIWidget r=kats 2017-01-27 09:32:24 -08:00