Commit Graph

481 Commits

Author SHA1 Message Date
Kartikaya Gupta
f8bacc7c52 Merge m-c to graphics
MozReview-Commit-ID: 3s6ISsQ3jG9
2017-04-24 09:17:28 -04:00
Kartikaya Gupta
3af8d29cef Merge m-c to graphics
MozReview-Commit-ID: 5zsIClrx1FB
2017-04-21 10:01:47 -04:00
peter chang
f11c1bde12 Bug 1345017 - Add animation sampling for WR, r=kats
MozReview-Commit-ID: AR2vajUf2o0
2017-04-12 16:40:48 +08:00
Sebastian Hengst
036a7b0984 Backed out changeset 435e638babd1 (bug 1349418) for failing checkerboard-{1,2,3}.html on Android 4.3. r=backout a=backout
MozReview-Commit-ID: Au7FbypQNvf
2017-04-21 18:01:24 +02:00
Wes Kocher
e18b7d684a Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
Miko Mynttinen
17eafa1c69 Bug 1351426 - Part 3: Refactor BSPTree to use list instead of deque and use arena for memory allocations r=kip
MozReview-Commit-ID: F4ezRzbGihI
2017-04-10 16:35:56 +02:00
Ehsan Akhgari
1052e966ba Bug 1354412 - Remove nsIDOMWindowUtils.beginTabSwitch(); r=jrmuizel 2017-04-12 23:31:39 -04:00
Markus Stange
f07c1773ab Bug 1349418 - Remove checkerboarding code and just use an opaque background color behind root scroll frames. r=kats 2017-04-21 14:02:15 +12:00
Chris Peterson
ff33c00f6a Bug 1356843 - Fix -Wcomma warnings in gfx/layers/Layers.cpp. r=mchang
clang's -Wcomma warning warns about suspicious use of the comma operator such as between two statements.

gfx/layers/Layers.cpp:1944:33 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1945:33 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1946:33 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1949:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1950:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1951:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1952:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1953:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1954:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1955:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1956:37 [-Wcomma] possible misuse of comma operator here

MozReview-Commit-ID: 9lMJZrPRtTV
2017-03-27 21:29:42 -07:00
Iris Hsiao
f58321a2b0 Backed out changeset 3910de7acce3 (bug 1349418) 2017-04-10 14:42:38 +08:00
Markus Stange
f510a8a0ad Bug 1349418 - Remove checkerboarding code and just use an opaque background color behind root scroll frames. r=kats 2017-04-10 17:01:53 +12:00
Sebastian Hengst
9ecf8b7651 Backed out changeset 2c56897d9ed1 (bug 1351426) 2017-04-11 20:02:40 +02:00
Miko Mynttinen
13293ab251 Bug 1351426 - Part 3: Refactor BSPTree to use list instead of deque and use arena for memory allocations r=kip
MozReview-Commit-ID: F4ezRzbGihI
2017-04-10 16:35:56 +02:00
Carsten "Tomcat" Book
ab13fda3b9 Backed out changeset a6c0e4789330 (bug 1351426) 2017-04-10 15:15:21 +02:00
Miko Mynttinen
392d7e6bd7 Bug 1351426 - Part 3: Refactor BSPTree to use list instead of deque r=kip
MozReview-Commit-ID: F4ezRzbGihI
2017-04-05 20:12:35 +02:00
Mason Chang
02db758087 Bug 1351114 Properly track display item layers in layer managers. r=mattwoodrow 2017-03-28 22:37:11 -07:00
peter chang
12f701a514 Bug 1337889 - Add CompositorAnimationsId for layer animations, r=hiro
MozReview-Commit-ID: 4r9VhF4Vp2l
2017-02-08 14:31:45 -05:00
Miko Mynttinen
677f3e434e Bug 1338997 - Ensure that the transformation matrices are invertible r=mattwoodrow
MozReview-Commit-ID: A5nHNcnkrNN
2017-02-23 20:42:10 +01:00
Kartikaya Gupta
4979fd659f Merge m-c to graphics
MozReview-Commit-ID: IN2hMCjMHLL
2017-02-17 23:33:24 -05:00
Mason Chang
e98ed22835 Bug 1337130 - Create a DisplayItemLayer type. r=mattwoodrow 2017-02-14 13:49:27 -08:00
Tom Tromey
e90d95a3f9 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L
2016-12-14 09:32:21 -07:00
peter chang
0ec7b5f26c Bug 1332211 - Move Layer::SetAnimation into AnimationHelper, r=hiro
MozReview-Commit-ID: JQMAJt8lvYo
2017-01-25 10:51:30 +08:00
David Anderson
d570007deb Fix missing mutation when changing SimpleLayerAttributes. (bug 1334715, r=mattwoodrow) 2017-01-30 21:36:23 -08:00
David Anderson
3b07e8a48a Send SimpleLayerAttributes separately from CommonLayerAttributes. (bug 1332567 part 6, r=mattwoodrow) 2017-01-24 16:41:18 -08:00
David Anderson
6353c6e1a0 Factor POD attributes of Layers into a SimpleLayerAttributes class. (bug 1332567 part 5, r=mattwoodrow) 2017-01-24 16:41:18 -08:00
David Anderson
d46521f0e5 Move ScrollDirection to LayersTypes.h and make it a proper enum. (bug 1332567 part 1, r=kats) 2017-01-24 16:41:17 -08:00
Sylvestre Ledru
62c6242f05 Bug 1338086 - Remove useless else blocks in order to reduce complexity in gfx/ r=nical
MozReview-Commit-ID: H9zZd19V4Ww
2017-02-09 13:39:27 +01:00
Milan Sreckovic
3ab9239a2b Bug 1328702: ContainerLayer::RemoveAllChildren implementation. r=kats,mattwoodrow
MozReview-Commit-ID: 6zC3v8dQcWD
2017-01-05 13:41:10 -05:00
Hiroyuki Ikezoe
a2416ba517 Bug 1311620 - Part 3: Incorporate null_t in Animatable. r=birtles
We couldn't tell the difference between a null StyleAnimationValue and
transform:none on the compositor. This was not a problem before, since we didn't
need the null StyleAnimationValue on the compositor, because the null
StyleAnimationValue have to be passed with composite:add flag, and in the case of
composite:add we just used the underlying value, i.e. we didn't use the null
value at all.
But for normal additive animations, we have to check the null StyleAnimationValue
to tell whether we are processing a missing keyframe or not.
So in this patch, Animatable can be null_t to represent the null
StyleAnimationValue, and as a result of this change, we can drop
BaseAnimationStyle.

MozReview-Commit-ID: Au41ujHgPpU
2016-12-24 17:27:18 +09:00
Botond Ballo
2627edc4ea Bug 1321885 - Show the number of OMT animations on a layer in the layer dump. r=kats
MozReview-Commit-ID: KmG0TKEKZRR
2016-07-20 14:53:38 -04:00
Miko Mynttinen
45fcf4cf9c Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 3: Use BSPTree for layer sorting r=jrmuizel,mattwoodrow
MozReview-Commit-ID: 3Hy4IRDFgaP
2016-12-06 13:39:01 -10:00
Andrew McCreight
209d4ee048 Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd
f2d50c26f4 Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight
2f93d6e48d Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Hiroyuki Ikezoe
aadb5bff24 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
d8041fa2b6 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
Matt Woodrow
26fae296aa Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange 2016-11-24 18:11:30 +13:00
Carsten "Tomcat" Book
c5a85de12f Backed out changeset 4909935f8081 (bug 1319626) 2016-11-24 17:02:32 +01:00
Matt Woodrow
ce171e59c7 Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange 2016-11-24 18:11:30 +13:00
Matt Woodrow
268a08de7a Bug 1317862 - Part 1: Add TextLayer class and basic support for them. r=mstange 2016-11-24 18:11:29 +13:00
Bas Schouten
cd0155b68f Bug 1317843 - Split LayerManagerComposite into two classes. r=jrmuizel 2016-11-24 18:11:27 +13:00
Andi-Bogdan Postelnicu
de37127f5b Bug 1317637 - Replace string literals containing escaped characters with raw string literals in gfx/. r=jrmuizel
MozReview-Commit-ID: FUtmGyTWcwB
2016-11-15 11:08:18 +02:00
Andi-Bogdan Postelnicu
a97f610bf7 Bug 1317637 - Replace default bodies of special member functions with = default; in gfx/. r=jrmuizel
MozReview-Commit-ID: EWUpBvj5i6Z
2016-11-15 11:04:18 +02:00
Thinker K.F. Li
20018aa3f7 Bug 1306107 - Stop calling ProjectTo2D() for leaf basic layers. r=mattwoodrow 2016-11-07 01:45:00 -05:00
Hiroyuki Ikezoe
37d542d4a0 Bug 1311196 - Part 3: Adjust fill mode to fill forwards for all animations on the compositor. r=birtles
MozReview-Commit-ID: DsIrWoxci0X
2016-10-26 17:19:38 +09:00
Kartikaya Gupta
88d479e33e Bug 1311030 - Remove more code unused since the deletion of JPZ. r=snorp
MozReview-Commit-ID: 1p8aWShTrQf
2016-10-18 12:34:25 -04:00
Kevin Wern
0249c4fc96 Bug 1227233: Increase scope of TreeTraversal.h to by-value traversal r=botond
MozReview-Commit-ID: LOw1k792T10
2016-09-22 12:31:26 -04:00
Sebastian Hengst
8aeb7b82f6 Backed out changeset e0d755ab4cbd (bug 1302380) for timeouts reftest with e10s invariable-declaration-XX.html on Linux 32 bit. r=backout 2016-09-16 18:55:44 +02:00
Nicolas Silva
1ff5cca5f9 Bug 1284837 - Disallow implicit conversions from float to integer when creating. r=botond 2016-09-16 17:49:39 +02:00
Nicolas Silva
7decc7e609 Bug 1302380 - Report canvas memory usage through the buffer provider. r=gw280 2016-09-16 10:13:19 +02:00