Commit Graph

2681 Commits

Author SHA1 Message Date
Ryan Hunt
cd62ea4955 Bug 1330368 - Add a WebRenderMessageUtils.h for WR IPC::ParamTraits r=gfx? 2017-01-10 23:49:44 -06:00
Nicolas Silva
77d5550aaa Bug 1328602 - Begin implementing creating/destroying WebRenderAPI objects. r=gfx? 2017-01-11 13:51:27 +01:00
Kartikaya Gupta
e9b63afd08 Bug 1331389 - Add some documentation for various protocols. r=dvander
MozReview-Commit-ID: J6NRYQLiy3q
2017-01-16 10:51:43 -05:00
Kartikaya Gupta
a2a492cb06 Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
MozReview-Commit-ID: 5yt3O4Hoois
2017-01-25 14:51:34 -05:00
sotaro
b6defa3c50 Bug 1329432 - Add ImageContainerListener r=nical 2017-01-14 07:51:40 +09:00
David Anderson
f601d4f1a3 Don't double-copy the Edit list when forwarding transactions. (bug 1330531, r=mattwoodrow) 2017-01-12 09:49:30 -08:00
David Anderson
d337ea29c3 Fix ImageBridgeChild memory tracking errors on shutdown. (bug 1323957 part 6, r=mattwoodrow) 2017-01-17 18:47:07 -08:00
David Anderson
02848eb570 Remove PCompositable. (bug 1323957 part 5, r=mattwoodrow) 2017-01-17 18:47:07 -08:00
David Anderson
b1ad9c7a26 Link Compositables via IDs instead of actors. (bug 1323957 part 4, r=mattwoodrow) 2017-01-17 18:47:06 -08:00
David Anderson
01d296df20 Use CompositableHandle in ImageNotification. (bug 1323957 part 3, r=mattwoodrow) 2017-01-17 18:47:06 -08:00
David Anderson
2f41c61483 Move EditReply handling from ClientLayerManager to ShadowLayerForwarder. (bug 1323957 part 2, r=mattwoodrow) 2017-01-17 18:47:05 -08:00
David Anderson
31ae23d1eb Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow) 2017-01-17 18:47:05 -08:00
Kartikaya Gupta
6813d1843d Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander
MozReview-Commit-ID: DFeeo2WNmhZ
2017-01-12 17:29:42 -05:00
Kartikaya Gupta
7fad4e88c5 Bug 1330037 - Propagate the CompositorOptions over to TabChild and keep a copy there. r=dvander
MozReview-Commit-ID: IQSm5cHkW4z
2017-01-12 17:29:41 -05:00
Kartikaya Gupta
16afba45ec Bug 1330037 - Provide the CompositorBridgeParent with a CompositorOptions during construction that it holds for eternity. r=dvander
MozReview-Commit-ID: JnvNHUCF0AX
2017-01-12 17:29:41 -05:00
Kartikaya Gupta
e3df5ca2fe Bug 1330037 - Introduce a CompositorOptions struct that holds options on a per-compositor basis. r=dvander
MozReview-Commit-ID: Kja7zpCDmp3
2017-01-12 17:29:41 -05:00
Jeff Muizelaar
c0120b1582 Bug 1329666. Add an ImageMask parameter to push_stacking_context(). r=gfx?
This will be used for implementing mask layers.
2017-01-09 10:48:45 -05:00
Kartikaya Gupta
2d075dbfbe Merge m-c to graphics
MozReview-Commit-ID: 5ovnMmSOiZX
2017-01-09 10:18:37 -05:00
Mason Chang
f7152a1f5b Bug 1329314 - Add support for nsDisplayText webrender display item. r=jrmuizel? 2017-01-06 11:50:53 -08:00
Jeff Muizelaar
d37e8c942d Bug 1328973. Rename OpPushDLBuilder to OpDPPushStackingContext etc. r=gfx?
Rename these things to better match the webrender api
2017-01-05 14:49:15 -05:00
Kartikaya Gupta
247b856713 Bug 1325784 - Follow-up changes for the graphics branch. r=nical?
MozReview-Commit-ID: AagWmH4jLF7
2017-01-05 10:03:17 -05:00
Kartikaya Gupta
9bd5398b27 Merge m-c to graphics
MozReview-Commit-ID: 74RpKOFNVx4
2017-01-05 09:28:19 -05:00
David Anderson
57b434983c Simplify calling SendUpdate/SendUpdateNoSwap. (bug 1325993, r=nical) 2017-01-04 12:58:58 -05:00
Morris Tseng
565444eb81 Merge m-c to graphics. 2016-12-29 18:26:24 +08:00
Kartikaya Gupta
10b17b0728 Merge m-c to graphics
MozReview-Commit-ID: EVRgJB0urSI
2016-12-27 09:33:52 -05:00
Ethan Lin
16f8e965dc Bug 1322079 - Convert WebRenderBorderLayer to webrender border display item. r=kats
MozReview-Commit-ID: Aq8idTWGj5d
2016-12-27 14:12:01 +08:00
Phil Ringnalda
335ff86998 Merge m-i to m-c, a=merge 2016-12-24 16:51:17 -08:00
Kartikaya Gupta
665cbc0dec Bug 1323539 - Followup for graphics branch to remove PLayer leftover bits. r=me
MozReview-Commit-ID: DwwpL16jSZD
2016-12-23 10:17:36 -05:00
Kartikaya Gupta
3050106083 Merge m-c to graphics
MozReview-Commit-ID: 6XqNGxF5EiQ
2016-12-23 10:14:44 -05:00
Jeff Muizelaar
733c6d9e10 Bug 1324965. Remove nested DisplayListBuilders. r=mchang?
This simplifies the logic around displaylist builders and
makes us push immediately instead of deferring it. The data
we used to pass to pop() is now passed to push().

This is also closer to what Servo does.

In a follow up I'll rename some of the methods to closer
align with the webrender names.

MozReview-Commit-ID: AfkwT7DzJ8o
2016-12-21 13:36:31 -05:00
Kartikaya Gupta
322331c6cd Revert tree back to commit 8a362f5c65fb. r=fix-messy-tree
MozReview-Commit-ID: 8ewcbgQsay9
2016-12-22 10:38:58 -05:00
JerryShih
56ef8bf5d6 Bug 1321144 - update AddExternalImageId/AddExternalImageIdForCompositable interface. r=sotaro?
add width, height and format arguments in AddExternalImageId/AddExternalImageIdForCompositable()
turn to use AddExternalImageId() for TOpDPPushExternalImageId op.
send the Image/ExternalImages removing messages just after DPEnd()

MozReview-Commit-ID: KkjzB6ibKas
2016-12-22 17:22:37 +08:00
Jerry Shih
82ed6f6adb merge 326862:8a362f5c65fb 2016-12-22 13:28:57 +08:00
Jeff Muizelaar
1be3112cb7 Bug 1324965. Remove nested DisplayListBuilders. r=mchang?
This simplifies the logic around displaylist builders and
makes us push immediately instead of deferring it. The data
we used to pass to pop() is now passed to push().

This is also closer to what Servo does.

In a follow up I'll rename some of the methods to closer
align with the webrender names.
2016-12-21 13:38:43 -05:00
Kartikaya Gupta
26f427122c Merge m-c to graphics
MozReview-Commit-ID: E0Sr26LKcZx
2016-12-21 10:16:15 -05:00
sotaro
af71733827 Bug 1324355 - Make ResumeComposition work r=nical 2016-12-21 11:13:57 +09:00
Nicholas Nethercote
d2434a7cc6 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium. 2017-01-24 14:15:12 +11: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
ede0640985 Move OpSetLayerAttributes out of the Edit vector. (bug 1332567 part 4, r=mattwoodrow) 2017-01-24 16:41:18 -08:00
David Anderson
ad69deadf5 Lump Paint operations separately from Edit operations. (bug 1332567 part 3, r=mattwoodrow) 2017-01-24 16:41:17 -08:00
David Anderson
0125ec33f2 Don't use TransformMatrix in CommonLayerAttributes. (bug 1332567 part 2, r=mattwoodrow) 2017-01-24 16:41:17 -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
Kartikaya Gupta
bfbb25e09a Bug 1333503 - Remove some dead code relating to overfill calculation. r=mchang,mrbkap
MozReview-Commit-ID: HiT0jJynpyC
2017-01-25 14:03:36 -05:00
David Anderson
1983f0e723 Don't retain a ref to ImageContainers in ImageBridgeChild. (bug 1325784 part 6, r=nical) 2017-01-04 10:19:31 -05:00
David Anderson
d9b1a128e3 Remove PImageContainer. (bug 1325784 part 5, r=nical) 2017-01-04 10:19:30 -05:00
David Anderson
dff9aea4b9 Use async compositable IDs for image composite notifications. (bug 1325784 part 4, r=nical) 2017-01-04 10:19:30 -05:00
David Anderson
db74a9d60f Move async compositable ID allocation to ImageBridgeChild. (bug 1325784 part 3, r=nical) 2017-01-04 10:19:29 -05:00
David Anderson
ea90e1e9d4 Move CompositableMap into ImageBridge. (bug 1325784 part 2, r=nical) 2017-01-04 10:19:29 -05:00
Nicholas Nethercote
d3809ce662 Bug 1325234 (part 3) - Streamline nsIWidget::Show(). r=mstange.
This patch changes it from |NS_IMETHOD| to |virtual void|. The return value was
only checked in one low-value assertion and one other place where the check had
no useful effect (in nsCocoaWindow::HideWindowChrome()).
2016-12-21 11:12:54 +11:00
Nicholas Nethercote
dc2aa85dd7 Bug 1325234 (part 2) - Streamline nsIWidget::Invalidate(). r=jimm.
This patch changes it from |NS_IMETHOD| to |virtual void|. The return value was
only checked in one low-value assertion so I decided it wasn't needed.
2016-12-20 09:55:32 +11:00