Commit Graph

790 Commits

Author SHA1 Message Date
Jeff Gilbert
a399ede263 Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp 2014-09-12 13:39:20 -05:00
Botond Ballo
b17bdef021 Bug 1065008 - Consider the shadow transform when computing the opaque rect to use for culling. r=roc
--HG--
extra : rebase_source : 2b162f272016193e2af3316c9f18d37125050863
2014-09-11 13:49:38 -04:00
Jeff Muizelaar
876ec2d266 Bug 1064479. Redo how screen rotation is implemented on B2G/Layers. r=nical,mwoodrow
Currently we use a world transform on the LayerManager. This gets passed to the
screen render target which adjusts the gl transform to accomplish the rotation.
This causes a lot of the system to have to know about the transform.

Instead we can just bake the transform into the root layer's shadow transform.
Everything now mostly just works.

--HG--
extra : rebase_source : e0e170d191eef5887a2e6b17f71ac79037033006
2014-09-10 15:59:00 -04:00
Jan Beich
6d6d609ffd Bug 1065241 - Unbreak build on non-SPS platforms after bug 1049258. r=mchang 2014-09-09 23:41:00 +02:00
Markus Stange
a7161bda52 Bug 1061327 - When the scrolled layer is not an ancestor of the scrollbar layer, search the whole layer tree. r=botond 2014-09-10 12:19:53 +02:00
Markus Stange
b3c664a2fa Bug 1061327 - Don't stop searching for scrolled layers when encountering a ScrollInfoLayer. r=botond 2014-09-10 12:19:25 +02:00
Ryan VanderMeulen
93bf6bf6a0 Merge inbound to m-c. a=merge 2014-09-09 19:26:59 -04:00
Mason Chang
db9dd016ea Bug 1049258 - Make it easier to collect frame uniformity results. r=benwa 2014-09-05 12:39:59 -07:00
Benoit Girard
0d4aa8b929 Bug 1057088 - Add a way to sync query compositor properties like overfill and HWC status. r=smaug,jrmuizel
--HG--
extra : rebase_source : 2791431bc77e939e78db3b888fc816c9d98294d3
2014-09-02 15:23:34 -04:00
Kartikaya Gupta
2cc85cf48d Bug 1063494 - Properly handle async-scrolled layers that are also fixed/sticky-position. r=botond,BenWa 2014-09-09 15:12:14 -04:00
Kartikaya Gupta
63b1d91946 Bug 1064840 - Only display the unused-apz visual warning if the async transform is not applied to any content. r=botond 2014-09-09 12:33:25 -04:00
Jeff Muizelaar
2500b8e5bf Bug 1063692. layers: Document the Prepare() phase better.
--HG--
extra : rebase_source : 5378145a501c45c8091cf316a72b72c42c598447
2014-09-05 14:44:19 -04:00
Jeff Muizelaar
261f9f93f1 Bug 1049564. Backout unintentionally landed code.
CLOSED TREE
2014-09-08 11:07:48 -04:00
Jeff Muizelaar
013dcc3e2c Bug 1049564. Remove sketchy sizing code from CompositorOGL. r=nical
This came from the layers refactoring and taking it out doesn't
seem to cause any test failures.
2014-09-08 10:54:26 -04:00
Kartikaya Gupta
bf40c0ed98 Bug 1053992 - Add a red square in the top-right corner of FPS display for unused APZ transforms (i.e. when content is sync-scrolling). r=BenWa 2014-09-04 13:54:54 -04:00
Botond Ballo
e1449f689d Bug 1061976 - Remove background-drawing for overscrolled layers. r=BenWa 2014-09-02 19:15:52 -04:00
Benoit Girard
3ac132d301 Bug 1061846 - Add constants for transaction delay indicator. r=milan
--HG--
extra : rebase_source : 7176c689bd00e90590cc021ab35189720019c73e
2014-09-02 14:37:34 -04:00
Benoit Girard
abfb34caf2 Bug 1061414 - Fix VisualFrameWarning logic. r=milan
--HG--
extra : rebase_source : 238fd87657e3e82237f84bfe185d3088178b4c6d
2014-09-02 14:37:17 -04:00
Robert O'Callahan
f25942deec Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : d7cf8756678cc342e1d648638dd867c5479b74ba
2014-08-30 00:23:25 +12:00
Phil Ringnalda
609fe6b9c4 Backed out 3 changesets (bug 967844) for robopan bustage
Backed out changeset 6b53305f1c42 (bug 967844)
Backed out changeset dff3eb181f33 (bug 967844)
Backed out changeset 4d4b03442eaf (bug 967844)
2014-09-01 15:20:13 -07:00
Robert O'Callahan
349231bac5 Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : b5fd1fd1b0b1f55990e72d205cc871a46d5f4f8c
2014-08-30 00:23:25 +12:00
Matt Woodrow
30532d99d0 Bug 1044129 - Don't crash if ContainerLayer temporary surface allocation fails. r=jrmuizel 2014-07-29 17:31:00 +12:00
Botond Ballo
0e664e7f0c Bug 1058884 - Update drawing of borders to account for multi-layer-apz. r=kats,BenWa
--HG--
extra : rebase_source : e7ebb3ac4f7e30ce28e49fb27034a6322ea8a085
2014-08-28 18:38:52 -04:00
Botond Ballo
19ecff8ab5 Bug 1057578 - Change the overscroll transform exposed by APZC from a ViewTransform to a Matrix4x4. r=kats 2014-08-29 14:41:49 -04:00
David Zbarsky
848b6c007e Bug 1060165: Remove gfxPoint3D r=nical 2014-08-29 14:47:30 -04:00
Matt Woodrow
3b784c5247 Bug 1060114 - Fix partial surface uploading through BufferTextureClient. r=Bas 2014-08-29 15:06:26 +12:00
Botond Ballo
00e33dc16a Bug 1057642 - More convenient formatting of BasePoint. r=BenWa,kats
--HG--
extra : rebase_source : bf75da112714f584ce3fc802d716a6c969e1d160
2014-08-27 19:25:53 -04:00
Benoit Girard
c507c01cdf Bug 1055050 - Add visual warning if the transaction latency is > 100 ms. r=mwoodrow
--HG--
extra : rebase_source : 23140892b8e598c7073dd1b8c83fbddfa0bf52ee
2014-08-28 15:24:26 -04:00
Botond Ballo
597bf0c9d5 Bug 965022 - Avoid passing a TimeStamp to printf in PrintUniformityInfo. r=mchang
--HG--
extra : rebase_source : 73cbb638427eae5987c3b19169ceed1fa47ec190
2014-08-28 16:32:49 -04:00
Jeff Muizelaar
c9e5585926 Bug 1059803. Change FPSCounter to not use ToSecondsSigDigits() part 2
ToSecondsSigDigits() should only really be used for printing values.

--HG--
extra : rebase_source : b5d62b76f95e248f7f14e8559a6ab5a586d26135
2014-08-28 10:25:23 -04:00
Carsten "Tomcat" Book
aef0b33b55 merge mozilla-inbound to mozilla-central a=merge 2014-08-28 13:07:10 +02:00
Kartikaya Gupta
c93cfd612d Bug 1055760 - Update frame uniformity code to use the shadow transform. r=BenWa,mchang 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
dd86fa4d26 Bug 1055760 - Update some more bits of compositor layer code to deal with multiple FrameMetrics. r=BenWa,botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
30c7225718 Bug 1055760 - Update AsyncCompositionManager's animation-sampling code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
4a7387ef2d Bug 1055760 - Update AsyncCompositionManager's fixed- and sticky-layer-adjusting code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
8c4f7273c2 Bug 1055760 - Update AsyncCompositionManager's scrollbar-adjusting code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
6241d290a7 Bug 1055760 - Update AsyncCompositionManager's async-transform application code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
39794bb5b4 Bug 1055760 - Replace GetPrimaryScrollableLayer with functions that are more appropriate. r=BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
c11c63c527 Bug 1055760 - Update tiling code to use LayerMetricsWrapper. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
8d38ec98d1 Bug 1055760 - Rearrange AlignFixedAndStickyLayers; no functional changes. r=botond 2014-08-27 22:13:40 -04:00
Milan Sreckovic
735f45f426 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Matt Woodrow
fb5f228c2c Bug 1057222 - Do partial tile uploads on desktop. r=BenWa
--HG--
extra : rebase_source : 47ef135eeb5a2f1c9b97594fa7bc7bcd90360cd2
2014-08-27 18:51:37 +12:00
Matt Woodrow
1107842200 Bug 1051134 - Revert changes to padding out textures that will be resampled for mobile. r=Bas
--HG--
extra : rebase_source : 62ed83806bdba1ac95dc08e47bb17157e7d6c05a
2014-08-28 15:36:07 +12:00
Benoit Girard
f43d2177c0 Bug 1010584 - Cull in ContainerLayerComposite. r=mwoodrow
--HG--
extra : rebase_source : ed9457906ac6d69bf563ddadff1599aea8964849
2014-08-27 18:46:55 -04:00
Ryan VanderMeulen
a390eae5a3 Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
9a73334a6e Bug 965022 - Avoid passing a TimeStamp to printf in PrintUniformityInfo. r=mchang 2014-08-25 17:24:21 -04:00
Jeff Muizelaar
91cd5c097b Bug 1048916. Convert a bunch of layers from nsAutoPtr to UniquePtr. r=roc
This makes the ownership of LayerProperties more clear.

--HG--
extra : rebase_source : 5d786a246337353522fc1d6e2c252e98e673e936
2014-08-25 11:09:39 -04:00
Bas Schouten
d0d5ac91bf Bug 1040187: Combine update regions properly when upload hasn't executed yet. r=nical 2014-08-26 13:06:17 +00:00
Milan Sreckovic
ad0fca8451 Bug 1055891: Add contrast to layer effects. Rename preferences to be consistent. More comments, some more explicit tests. r=mattwoodrow 2014-08-25 15:36:17 -04:00
Mason Chang
65b41ce925 Bug 1057645 - Update Frame Uniformity Tool to use APZC metrics. r=botond
CLOSED TREE
2014-08-25 08:56:00 -04:00