Commit Graph

86 Commits

Author SHA1 Message Date
Kartikaya Gupta
6de178fbc1 Bug 1359748 - Extract a WebRenderLayer.{h,cpp} from WebRenderLayerManager.{h,cpp}. r=jrmuizel
Other than moving the code into new files, this just cleans up includes
in the modified and dependent files.

MozReview-Commit-ID: JpJ8rwOkfOO
2017-04-27 11:28:31 -04:00
sotaro
d55898f8b9 Bug 1358014 - Allocate PipelineId with IPC MozPromise r=nical 2017-04-26 19:18:06 -07:00
Ethan Lin
7e585b9063 Bug 1359314 - Apply mask layer transform when building webrender mask layer. r=mchang 2017-04-26 15:34:14 +08:00
Sotaro Ikeda
db5728f564 Backout Bug 1358014 2017-04-25 12:13:32 -07:00
Sotaro Ikeda
771c5a7696 Bug 1358014 - Add a capability to allocate PipelineId with IPC MozPromise r=nical 2017-04-25 10:39:56 -07:00
sotaro
b2e26d2de6 Bug 1346143 - Forget the widget pointer in WebRenderLayerManager::Destroy() r=nical 2017-04-21 18:31:52 +09:00
Kartikaya Gupta
b873db8033 Bug 1357754 - Record the isFirstPaint flag in the WebRenderScrollData. r=jrmuizel
MozReview-Commit-ID: KKiRBLRTfEj
2017-04-20 10:38:06 -04:00
Kartikaya Gupta
e5361ecae8 Bug 1357754 - Add a mechanism to send scroll data to APZ over PWebRenderBridge. r=jrmuizel
This adds a WebRenderScrollData class (which contains a list of
WebRenderLayerScrollData objects, among other things), and adds it to
the DPEnd/DPSyncEnd messages sent across PWebRenderBridge. These classes are
skeletons for now (more stuff will be added to them in future patches).

MozReview-Commit-ID: 9duxwlUpdu7
2017-04-20 10:38:04 -04:00
Mason Chang
4f30424b82 Bug 1337761 - Part 2: Don't send external images to the parent side if a transaction is incomplete. r=nical 2017-04-19 15:39:46 -07:00
Mason Chang
8e86b7e81b Bug 1337761 - Implement WebRenderLayerManager::EndEmptyTransaction. r=mattwoodrow 2017-04-19 15:39:44 -07:00
sotaro
2f88c289f9 Bug 1357644 - Use wr::ExternalImageId instead of uint64_t for external image id r=nical 2017-04-19 18:59:53 +09:00
sotaro
90e4a10adb Bug 1355702 - Reduce WrImageKey allocation for ExternalImages on sync ImageContainer 2017-04-19 11:08:35 +09:00
peter chang
6a13a09f50 Bug 1345017 - Discard compositor animations on the next layer transaction, r=kats
Animations in content side could be removed easily by changing CSS, but the
CompositorAnimationStorage in parent side doesn't get updated. Therefore,
we store the layer's CompositorAnimationsId before layer is destroyed in
WebRenderLayerManager and then send out these discarded ids to parent on
the next layer transaction.

MozReview-Commit-ID: D4kbYsgLl4P
2017-04-14 11:58:42 +08: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
Ethan Lin
ea8636c2c0 Bug 1349500 - Add webrender support for BulletFrame path type. r=mchang 2017-04-18 14:26:41 +08:00
Ethan Lin
637a373447 Bug 1355012 - Add mask layer support for WebRenderDisplayItemLayer. r=kats 2017-04-13 15:13:51 +08:00
Jamie Nicol
995825774c Bug 1355045 - Transform bounds before making relative to parent in GetWrRelBounds. r=ethlin
MozReview-Commit-ID: 7xLzPM1lmz0
2017-04-07 15:13:50 +01:00
Kartikaya Gupta
7b632a18ec Bug 1355193 - Stop looking for a parent stacking context in the scroll metadata. r=mchang
MozReview-Commit-ID: A2VjaUohUxh
2017-04-10 18:49:12 -04:00
Kartikaya Gupta
4b146ed115 Merge m-c to graphics
MozReview-Commit-ID: ICVAgHmKVL4
2017-04-10 08:47:20 -04:00
Ethan Lin
4d4150d87a Bug 1354464 - Fix the size of webrender mask layer. r=mchang 2017-04-10 17:10:37 +08:00
sotaro
3ef75db7a1 Bug 1354474 - Add FlushRendering() and Composite() support to WebRenderLayerManager r=mattwoodrow 2017-04-10 15:58:29 +09:00
Lee Salzman
6ca29fbb02 Bug 1348980 - use UnscaledFont to track WebRender font keys. r=jrmuizel 2017-04-06 17:41:24 -04:00
Mason Chang
02db758087 Bug 1351114 Properly track display item layers in layer managers. r=mattwoodrow 2017-03-28 22:37:11 -07:00
Mason Chang
d4e4aaaf9f Bug 1346451 - Delete WebRenderBorderLayer. r=ethlin 2017-03-11 10:04:26 -08:00
Ethan Lin
2cbaf58fd5 Bug 1341565 - Use external image to handle mask layer. r=jrmuizel 2017-03-10 17:51:47 +08:00
Ryan Hunt
6ecc4704b8 Bug 1345975 - Clean up WebRenderLayer code r=kats
MozReview-Commit-ID: DWlAaJwuxlD
2017-03-09 12:35:33 -05:00
Mason Chang
01aeb6725a Bug 1345523 - Clean up duplicated WebRenderLayer code. r=kats 2017-03-08 10:32:53 -08:00
sotaro
e4aa155f04 Bug 1343764 - Add ExternalBuffer handling r=nical 2017-03-07 19:37:28 +09:00
Jeff Muizelaar
677ccdea94 Bug 1344396. Build the display lists directly. r=kats
This is a largely uninteresting patch that just uses the DisplayListBuilder
directly. A wonderful cleanup patch will come after this. One of the more
interesting pieces is the use of PushBuiltDisplayList. This is needed for
handling empty transactions. See https://github.com/servo/webrender/pull/934
for more info.
2017-03-06 23:16:30 -05:00
Kartikaya Gupta
4eecd7ad12 Bug 1343019 - Update webrender to cset 178a65d098afcda7de0298d80d423bc80c6426ba. r=jrmuizel
In addition to updating webrender and the third-party deps, this includes:
- Marking some more reftests as passing with the new version of webrender.
- Updating webrender bindings code to go with changes to push_stacking_context.
- Passing the window dimensions to the Renderer::new function.

MozReview-Commit-ID: 6dRHvAmIQ40
2017-03-06 18:46:30 -05:00
sotaro
4d822b6679 Bug 1342754 - Make WebRenderBridgeChild::mIdNamespace unique r=jrmuizel 2017-02-27 12:16:11 +09:00
Jeff Muizelaar
e421e711ab Bug 1342246. Generate resource ids on the client side. r=lsalzman 2017-02-23 17:52:38 -05:00
Jeff Muizelaar
6c17be53a5 Bug 1341878. Separate out finishing the display list from sending it. r=sotaro
This adds the size to the DPEnd command so that we can use it in
SetRootDisplayList instead of storing it in WrState.
2017-02-23 16:12:40 -05:00
Ryan Hunt
2c877fa601 Bug 1340908 - Include LayersLogging.h not WebRenderLayersLogging.h r=kats 2017-02-19 14:00:41 -05:00
Morris Tseng
d9254ac8a5 Bug 1339683 - Add CreateWebRenderCommands for nsDisplayBullet. r=mattwoodrow
MozReview-Commit-ID: 6IhKxRCJvZd
2017-02-20 10:22:58 +08:00
Kartikaya Gupta
4979fd659f Merge m-c to graphics
MozReview-Commit-ID: IN2hMCjMHLL
2017-02-17 23:33:24 -05:00
Ethan Lin
63ff68e219 Bug 1332688 - Pass transform to webrender stacking context. r=jrmuizel 2017-02-17 14:57:43 +08:00
Mason Chang
9b2651f438 Bug 1337130. Add WebRenderDisplayItemLayer build bustage. r=me 2017-02-14 15:47:55 -08:00
Mason Chang
b0ec19f09d Bug 1337130. Add a WebRenderDisplayItemLayer. r=mattwoodrow 2017-02-14 15:06:50 -08:00
Nicolas Silva
1819922f47 Bug 1335799 - Update WR layers and FFI/bindings code for the webrender update. r=jrmuizel
MozReview-Commit-ID: Hv3MwSr97Op
2017-02-14 13:34:15 -05:00
Jeff Muizelaar
59df4c7ab7 Bug 1335799 - Disable now-incorrect WrScrollFrameStackingContextGenerator code. r=kats
MozReview-Commit-ID: DdfOtYkrZWZ
2017-02-14 13:34:15 -05:00
Ryan Hunt
dfd65a890e Bug 1337387 - Fix unified build bustage r=kats? 2017-02-07 09:37:57 +00:00
Ethan Lin
9f2cf9d3c3 Bug 1330945 - Part1. Apply opacity to webrender stacking context as an opacity filter. r=jrmuizel 2017-02-02 15:09:09 +08:00
Ryan Hunt
b41e456e1e Bug 1335123 - Clean up layers logging for WebRenderLayers. r=kats 2017-01-30 12:48:01 -06:00
Kartikaya Gupta
5c508e0b98 Merge m-c to graphics
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
Ryan Hunt
e7c01364c4 Bug 1329739 - Specify a WrMixBlendMode for WebRenderLayer r=kats 2017-01-19 17:57:18 -06:00
peter chang
241bc68f10 Bug 1325022 - Pass layers::Animation data to WebRenderBridgeParent, r=gfx?
MozReview-Commit-ID: 7M3aXiEGCfL
2017-01-19 10:38:14 +08:00
Nicolas Silva
c8346f4055 Bug 1331515 - Replace the usage of some of the WebRender ffi types by their strongly typed equivalents. r=gfx? 2017-01-17 15:13:41 -05:00
Nicolas Silva
67c7d94680 Bug 1331515 - More WR to Wr prefix conversion. r=gfx? 2017-01-17 10:17:38 -05:00
Nicolas Silva
71ce50e60a Bug 1331515 - WR to Wr prefix conversion for more ffi types. r=gfx? 2017-01-17 09:53:57 -05:00