Commit Graph

471 Commits

Author SHA1 Message Date
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
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
Nicolas Silva
fdb7ab259e Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas 2016-09-08 18:26:03 +02:00
Brian Birtles
cf51ad1c35 Bug 1300045 part 2 - Split KeyframeEffect.cpp into KeyframeEffect{ReadOnly}.cpp r=hiro,smaug
MozReview-Commit-ID: DdBEicunApv
2016-09-04 16:34:21 +09:00
Randall Barker
3a5ff2bf21 Bug 1294857 - Compositor uses page's background color to clear in Fennec r=kats 2016-08-18 14:03:26 -07:00
Kearwood (Kip) Gilbert
f9fd286412 Bug 1250244 - Part 2: Remove old VR rendering paths,r=gw280
MozReview-Commit-ID: 8H7spQggI2w
2016-05-27 13:49:04 -07:00
Nicolas Silva
fff99d452b Bug 1284837 - Add conversions methods from Point and Size to IntPoint and IntSize for consistency. r=botond 2016-07-26 16:48:34 +02:00
Matt Woodrow
2efcb49f2e Bug 1275694 - Use the local visible region to decide when to cull a layer in CalculateScissorRect(). r=kats
We still take care not to cull a layer if we need to draw a checkerboarding
background for it.

MozReview-Commit-ID: 3EuXEFB2wF9
2016-06-09 16:36:12 +12:00
Nicolas Silva
84cb9d96a7 Bug 1167235 - Part 1 - Render canvas2D into TextureClient directly. r=Bas 2016-07-01 10:58:06 +02:00
Matt Woodrow
68b363e689 Bug 1269321: Part 3 - Create a wrapper layer for masking when we can't support it on the normal layer. r=thinker 2016-06-30 18:10:25 +02:00
Kartikaya Gupta
e847d39ed5 Bug 1283176 - Dump XMost and YMost values instead of width and height for sticky layers. r=nical
MozReview-Commit-ID: C9fJA03RamJ
2016-06-29 12:15:23 -04:00
Carsten "Tomcat" Book
1ca49612e3 Backed out changeset 1b8e6e22a983 (bug 1275694) for test failures in checkerboard-3.html 2016-06-09 08:54:34 +02:00