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

64 Коммитов

Автор SHA1 Сообщение Дата
Iris Hsiao e566e8864d Backed out changeset b3eaebda3d9d (bug 1318266) 2016-12-19 16:17:22 +08:00
Iris Hsiao 904ee878ab Backed out changeset 9e9d4b22a77f (bug 1318266) for developer's request 2016-12-19 16:17:18 +08:00
cku 6717cd9c10 Bug 1318266 - Part 2. Remove unnecessary nsDisplayScrollInfoLayer. r=mstange
After bug 1234485 land, we may create a layer for nsDisplayMask. When we do so,
there is no need of nsDisplayScrollInfoLayer.

MozReview-Commit-ID: KmFYhGKwq92

--HG--
extra : rebase_source : 0d9280e1affb12db1fcd77b202376acd0c6920f9
2016-12-15 22:20:33 +08:00
cku 5ba953493d Bug 1318266 - Part 1. Paint trivial clip-path onto mask layer. r=mstange
MozReview-Commit-ID: G2ghy7qGf5N

--HG--
extra : rebase_source : 82443b6ac28d1afe93c376485368edbd141fa1d4
2016-11-04 15:33:38 +08:00
Robert Longson 1bae76206e Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
--HG--
rename : dom/svg/nsSVGPathGeometryElement.cpp => dom/svg/SVGGeometryElement.cpp
rename : dom/svg/nsSVGPathGeometryElement.h => dom/svg/SVGGeometryElement.h
rename : dom/svg/nsSVGPolyElement.cpp => dom/svg/SVGPolyElement.cpp
rename : dom/svg/nsSVGPolyElement.h => dom/svg/SVGPolyElement.h
rename : layout/svg/nsSVGPathGeometryFrame.cpp => layout/svg/SVGGeometryFrame.cpp
rename : layout/svg/nsSVGPathGeometryFrame.h => layout/svg/SVGGeometryFrame.h
2016-12-18 11:11:47 +00:00
Sebastian Hengst cdeb642a1b Backed out changeset 0b44e8715bf5 (bug 1239100) for build bustage (SVGGeometryElement.webidl missing). r=backout
--HG--
rename : dom/svg/SVGGeometryElement.cpp => dom/svg/nsSVGPathGeometryElement.cpp
rename : dom/svg/SVGGeometryElement.h => dom/svg/nsSVGPathGeometryElement.h
rename : dom/svg/SVGPolyElement.cpp => dom/svg/nsSVGPolyElement.cpp
rename : dom/svg/SVGPolyElement.h => dom/svg/nsSVGPolyElement.h
rename : layout/svg/SVGGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/SVGGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
2016-12-18 11:42:51 +01:00
Robert Longson 783bfbb1e4 Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
--HG--
rename : dom/svg/nsSVGPathGeometryElement.cpp => dom/svg/SVGGeometryElement.cpp
rename : dom/svg/nsSVGPathGeometryElement.h => dom/svg/SVGGeometryElement.h
rename : dom/svg/nsSVGPolyElement.cpp => dom/svg/SVGPolyElement.cpp
rename : dom/svg/nsSVGPolyElement.h => dom/svg/SVGPolyElement.h
rename : layout/svg/nsSVGPathGeometryFrame.cpp => layout/svg/SVGGeometryFrame.cpp
rename : layout/svg/nsSVGPathGeometryFrame.h => layout/svg/SVGGeometryFrame.h
2016-12-18 09:54:02 +00:00
Ryan VanderMeulen f31546de18 Backed out 2 changesets (bug 1318266) for breaking tab drawing when a LWT is applied.
Backed out changeset 00bb4e2f5a3c (bug 1318266)
Backed out changeset 55790893cab4 (bug 1318266)
2016-12-17 21:59:10 -05:00
Ryan VanderMeulen ae624d4fc9 Backed out 2 changesets (bug 1313276)
Backed out changeset e505479a60e5 (bug 1313276)
Backed out changeset efb9edd878f0 (bug 1313276)
2016-12-17 21:58:03 -05:00
cku bbb9cdf946 Bug 1313276 - Part 2. Add comment for bug 1323912. r=mstange
MozReview-Commit-ID: CetQxWIr1sq

--HG--
extra : rebase_source : 33c65b97a79f4bdface832fb9ba3e32425010e5d
2016-12-16 12:52:21 +08:00
cku 803f736c06 Bug 1313276 - Part 1. Draw clip-path-basic-shape onto mask layer. r=mstange
MozReview-Commit-ID: ICZiy84AFfi

--HG--
extra : rebase_source : 7ef14c85f8a93a952ac8d8a9bb2652b97b489dfd
2016-12-16 10:56:07 +08:00
cku c56a44a456 Bug 1318266 - Part 2. Remove unnecessary nsDisplayScrollInfoLayer. r=mstange
After bug 1234485 land, we may create a layer for nsDisplayMask. When we do so,
there is no need of nsDisplayScrollInfoLayer.

MozReview-Commit-ID: KmFYhGKwq92

--HG--
extra : rebase_source : b8247ca3b15aa483f73be38b55b77c3bfd6478e5
2016-12-15 22:20:33 +08:00
cku 7cb6b79be7 Bug 1318266 - Part 1. Paint trivial clip-path onto mask layer. r=mstange
MozReview-Commit-ID: G2ghy7qGf5N

--HG--
extra : rebase_source : 064baa7d4815b7ddbccdc4c625156ec485418bb2
2016-11-04 15:33:38 +08:00
cku e50551a66d Bug 1323157 - Rename HasNoFilterOrHasValidFilter as HasNoOrValidFilter. r=longsonr+218550
MozReview-Commit-ID: GQzPf9Qy8LJ

--HG--
extra : rebase_source : d03d5609a8ed2eddaf596a019775a35bfd7d2f24
2016-12-13 19:40:27 +08:00
Botond Ballo 6579cf5fe9 Bug 1321412 - If the animated content is already fully rendered, enable async animation regardless of size. r=mattwoodrow
MozReview-Commit-ID: OePAkUqp2Q

--HG--
extra : rebase_source : af5869826b827c1482e97c97a4204597f2c95f47
2016-12-08 19:44:19 -05:00
Botond Ballo 2e3caa982c Bug 1321412 - Add support for partial prerendering to ShouldPrerenderTransformedContent(). r=mattwoodrow
This is behind a pref and not enabled by default yet.

MozReview-Commit-ID: HKbP02PkdI9

--HG--
extra : rebase_source : 3f724f12d467dfb6e3ac1c44841e8e452a7d4b7e
2016-12-14 14:31:20 -05:00
Botond Ballo d806f521fb Bug 1321412 - Allow controlling the size of the prerendered area via prefs. r=birtles,flod,mattwoodrow
Note that the default values of the prefs are chosen so as to preserve
existing behaviour.

The patch also updates a user-visible warning message, which was
already out of date as of bug 1274991.

MozReview-Commit-ID: AqBBoIucShT

--HG--
extra : rebase_source : 010aa55255d49e4875cb6870f309649a9ca762d5
2016-12-09 20:23:42 -05:00
Botond Ballo 4b1f9a6bc6 Bug 1321412 - Allow ShouldPrerenderTransformedContent() to override the dirty rect. r=mattwoodrow
MozReview-Commit-ID: 5EpiANOynwP

--HG--
extra : rebase_source : d2bd3668bbe12b3853327f2c41e6a77acf1bbadd
2016-11-23 16:50:47 -05:00
Botond Ballo 6dbe1b9895 Bug 1321412 - Change the return type of ShouldPrerenderTransformedContent() to an enum. r=mattwoodrow
MozReview-Commit-ID: EMTdW46D8cM

--HG--
extra : rebase_source : 1ecd8fd39a1d3bc74200dbe4f53dd78eda57987e
2016-11-23 12:58:59 -05:00
Botond Ballo 04f1eab3e6 Bug 1321412 - Rename nsDisplayTransform::mIsFullyVisible to mAllowAsyncAnimations. r=mattwoodrow
MozReview-Commit-ID: F7wwQnv5cz9

--HG--
extra : rebase_source : 870d018a761cf77a8ed0f698553774945ddce1c6
2016-11-23 12:49:35 -05:00
Andi-Bogdan Postelnicu ddf6d94c25 Bug 1323186 - ensure the result of the operation is floating point. r=mattwoodrow
MozReview-Commit-ID: 59Cn494rh5l

--HG--
extra : rebase_source : dcdc06ed9db24029375d5a9cda5df032c1df3f92
2016-12-13 16:11:22 +02:00
cku 65237b3417 Bug 1322330 - Part 3. Implement EffectProperties::HasInvalidMask. r=longsonr+218550
MozReview-Commit-ID: 7bEheewinTl

--HG--
extra : rebase_source : e695fae9a595c65a28b45e7e0f66690b9afb750c
2016-12-07 00:11:06 -10:00
cku fb19c45aa9 Bug 1322330 - Part 2. Implement EffectProperties::HasInvalidClipPath. r=longsonr+218550
MozReview-Commit-ID: F3m4UZ0ET9x

--HG--
extra : rebase_source : aa11ea80bc566f287095ad91f721a2f70870c13c
2016-12-06 21:28:47 -10:00
cku 932164f048 Bug 1322330 - Part 1. Remove EffectProperties::GetFirstMaskFrame and implement EffectProperties::HasInvalidMaskOrClipPathResource. r=longsonr+218550
MozReview-Commit-ID: 4nfhL7btNFT

--HG--
extra : rebase_source : 37748f1858f9ea42e849cb02ef086183b8a52458
2016-12-06 16:12:36 -10:00
Hiroyuki Ikezoe d91dbe2d3a Bug 1322382 - Add EffectCompositor::GetBaseStyle for nsIFrame. r=birtles
Currently this function is used when an nsIFrame is generated by reframing. In
reframing, we call EffectCompositor::UpdateEffectProperties, as a result, we
have to clear the base style that we resolved once. So, for such cases, we need
to re-resolve the base style with the style context that is associated with the
nsIFrame.

MozReview-Commit-ID: F90OuF44SPI

--HG--
extra : rebase_source : ef163681f49b11887d4ea546d28a9fd217251d97
2016-12-10 09:16:33 +09:00
Sebastian Hengst 380e39c664 Backed out changeset c2b8107d8468 (bug 1321412) 2016-12-09 22:27:07 +01:00
Sebastian Hengst 54dfde20c4 Backed out changeset 964ff414c560 (bug 1321412) 2016-12-09 22:26:58 +01:00
Sebastian Hengst 9717b63320 Backed out changeset 94302209286e (bug 1321412) 2016-12-09 22:26:54 +01:00
Sebastian Hengst fe2223eaca Backed out changeset 9587048cd2ee (bug 1321412) 2016-12-09 22:26:50 +01:00
Sebastian Hengst 00085538b2 Backed out changeset b2508bbc5ef9 (bug 1321412) 2016-12-09 22:26:45 +01:00
Sebastian Hengst 20fac7d50c Backed out changeset a8e8ba250d62 (bug 1321412) 2016-12-09 22:26:41 +01:00
Sebastian Hengst 0e60a200d1 Backed out changeset fd5cb70c0286 (bug 1321412) 2016-12-09 22:26:37 +01:00
Botond Ballo a0a889760f Bug 1321412 - Follow-up to remove an unused variable. r=bustage on a CLOSED TREE
MozReview-Commit-ID: 3fCQyMFrajX
2016-12-09 15:05:52 -05:00
Botond Ballo 6e64d4c666 Bug 1321412 - If the animated content is already fully rendered, enable async animation regardless of size. r=mattwoodrow
MozReview-Commit-ID: OePAkUqp2Q

--HG--
extra : rebase_source : d50afa18a64fc2b124b3d7f79faaf37144403ec0
2016-12-08 19:44:19 -05:00
Botond Ballo f9bf984071 Bug 1321412 - Add support for partial prerendering to ShouldPrerenderTransformedContent(). r=mattwoodrow
This is behind a pref and not enabled by default yet.

MozReview-Commit-ID: HKbP02PkdI9

--HG--
extra : rebase_source : 8f22436042684a2105c1a4e65d108ec0529903e1
2016-11-28 15:30:52 -05:00
Botond Ballo 3f25362a3d Bug 1321412 - Allow controlling the size of the prerendered area via prefs. r=mattwoodrow
Note that the default values of the prefs are chosen so as to preserve
existing behaviour.

The patch also updates a user-visible warning message, which was
already out of date as of bug 1274991.

MozReview-Commit-ID: AqBBoIucShT

--HG--
extra : rebase_source : 9750899e35829dc5388f575dd56c2c888ec6ea99
2016-11-23 19:27:37 -05:00
Botond Ballo cf9ed711ca Bug 1321412 - Allow ShouldPrerenderTransformedContent() to override the dirty rect. r=mattwoodrow
MozReview-Commit-ID: 5EpiANOynwP

--HG--
extra : rebase_source : d2bd3668bbe12b3853327f2c41e6a77acf1bbadd
2016-11-23 16:50:47 -05:00
Botond Ballo 52f894c5d8 Bug 1321412 - Change the return type of ShouldPrerenderTransformedContent() to an enum. r=mattwoodrow
MozReview-Commit-ID: EMTdW46D8cM

--HG--
extra : rebase_source : 1ecd8fd39a1d3bc74200dbe4f53dd78eda57987e
2016-11-23 12:58:59 -05:00
Botond Ballo c050e3aeed Bug 1321412 - Rename nsDisplayTransform::mIsFullyVisible to mAllowAsyncAnimations. r=mattwoodrow
MozReview-Commit-ID: F7wwQnv5cz9

--HG--
extra : rebase_source : 870d018a761cf77a8ed0f698553774945ddce1c6
2016-11-23 12:49:35 -05:00
Hiroyuki Ikezoe b98aba8d33 Bug 1305325 - Part 14: Compose base values on the compositor. r=birtles
MozReview-Commit-ID: EWumBqQ82RT
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe 2f0d2f760a Bug 1305325 - Part 12: Pass base value for opacity or transform to the compositor. r=birtles,mstange
MozReview-Commit-ID: 3mxatMvsNKk
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe aa35d16aa2 Bug 1305325 - Part 9: Send animations even if it's paused, finished or zero playback rate. r=birtles.
If all of animations on an element are paused, finished or zero playback rate,
we don't send those animations to the compositor.
Also in this change, we send zero active duration animations to the compositor
in the same way as normail animations.

MozReview-Commit-ID: CHjv6Buy5fa
2016-12-02 15:34:13 +09:00
Brad Werth bffacaf61c Bug 1319560 Part 3: Change nsDisplayList::HitTest to exit early when HitTestShouldStopAtFirstOpaque() is true. r=mattwoodrow
MozReview-Commit-ID: D8aKGX6z2TV

--HG--
extra : rebase_source : 8a698f3ab58cd571c58d346e8ad2fcc3b0eef4c7
2016-11-28 13:22:15 -08:00
Brad Werth 5649cb192c Bug 1319560 Part 1: Add a mHitTestShouldStopAtFirstOpaque flag to nsDisplayListBuilder. r=mattwoodrow
MozReview-Commit-ID: AuXcAUMhlJW

--HG--
extra : rebase_source : eedecd0278d3a59d1e90117c518be02380f18153
2016-11-28 12:46:56 -08:00
Ting-Yu Lin cb22e24990 Bug 1304598 Part 6 - Rename nsViewportFrame.h/cpp to ViewportFrame.h/cpp, and move exported header to mozilla/ subdir. r=dholbert
The class ViewportFrame doesn't have ns-prefix, so it's better to drop the
ns-prefix in the file names to avoid confusion.

MozReview-Commit-ID: 8Jrmfzb3tVR

--HG--
rename : layout/generic/nsViewportFrame.cpp => layout/generic/ViewportFrame.cpp
rename : layout/generic/nsViewportFrame.h => layout/generic/ViewportFrame.h
extra : rebase_source : d2c6a80275d696a2886983a4bbb46821784c7fe6
2016-11-30 11:14:29 +08:00
Nathan Froyd 2ebbd09068 Bug 1320752 - remove mozilla/Function.h; r=gerald
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Timothy Nikkel 3468111c94 Bug 1317559. Make image layer related functions that may be called during paint ask for async image notifications. r=aosmond 2016-11-24 23:48:04 -06:00
Matt Woodrow ce997d1ff2 Bug 1319626 - Part 5: Minimize visible region for border layers. r=mstange
--HG--
extra : rebase_source : 49d82764cd1d2f4ef4cf44b705889754bb081f8b
2016-11-24 18:11:30 +13:00
Matt Woodrow 45cec2ab70 Bug 1319626 - Part 4: Build BorderLayers if enabled. r=mstange
--HG--
extra : rebase_source : ed44e14cf38347bf9a18e69cb981f1187775a641
2016-11-24 18:11:30 +13:00
Matt Woodrow 8203047d48 Bug 1319626 - Part 3: Refactor nsCSSRendering border painting so callers can access the border renderer. r=mstange
--HG--
extra : rebase_source : 8ce157b743e13578a6ae06fc58f40e4b58c75241
2016-11-24 18:11:30 +13:00