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

47 Коммитов

Автор SHA1 Сообщение Дата
peter chang 8f5fde5b20 Bug 1358437 - pass layer's transform/opacity to compositor, r?kats
Need to pass the default transform/opacity to compositor if animations
exist because it is possible that gecko fails to get animated value
after animation sampling, like an animation with delay.

MozReview-Commit-ID: IK06hWvaSPf
2017-05-02 10:38:22 +08:00
peter chang 320e68f0dd Bug 1357320 - Deal with the lifetime of compositor animations, r?kats
First, hook the Layer's ClearAnimation API to delete unnecessary
animations in next layer transaction. Second, add another async
DeleteCompositorAnimations API to delete animations on the compositor,
especially calling this API before WebRenderLayerManager got destroyed.

MozReview-Commit-ID: 4mbj5IgsXYa
2017-05-02 10:26:13 +08:00
Kartikaya Gupta 1be864c6ad Merge m-c to graphics
MozReview-Commit-ID: 8Oqr9Nbqsn0
2017-04-19 07:02:32 -04:00
sotaro d85c0f08e4 Bug 1357644 - Use wr::ExternalImageId instead of uint64_t for external image id r=nical 2017-04-19 18:59:53 +09:00
Jeff Muizelaar 16c9099e7d Bug 1357549. Remove unused includes. r=kats
There are left over from when we built display lists on the parent side.
2017-04-18 17:03:39 -04:00
peter chang 59102e0ad9 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 2fdfc8c722 Bug 1345017 - pass animation data from content to WebRenderBridgeParent, r=kats
MozReview-Commit-ID: 7p5ocyr1ywV
2017-03-28 17:11:03 +08:00
Ryan Hunt 4b5a38195a Bug 1345975 - Rename WrLayoutSize to WrSize r=kats
MozReview-Commit-ID: JY9YyoypFym

--HG--
extra : rebase_source : c98514af0e2ed1deb5a7a7c9dc74dd77bb536d3e
extra : histedit_source : 748ca189b70aece54cabd179877ec3852042e355
2017-03-09 16:58:33 -05:00
Jeff Muizelaar f55b504a1b Bug 1345140. Remove unused WebRenderCommand infrastructure. r=kats 2017-03-07 15:50:55 -05:00
Jeff Muizelaar 033a5b26a9 Bug 1343770. Separate out Parent commands from Child commands. r=kats
This basically just splits the enum in two and does the necessary plumbing. The
worst part is that now DisplayItemLayers need to have two arrays of commands.
Fortunately, this will be going away in the future.

This makes it so we don't send the child side commands to the parent.
2017-03-02 16:33:25 -05:00
Ethan Lin 8b7fb662c7 Bug 1342356 - Remove validBufferRegion from OpAddExternalImage. r=sotaro 2017-03-01 14:11:13 +08:00
Jeff Muizelaar 6296f9be71 Bug 1342246. Generate resource ids on the client side. r=lsalzman 2017-02-23 17:52:38 -05:00
Ryan Hunt 9e2d6c82f4 Bug 1340338 - Add WebRender bindings for linear and radial gradients r=nical
--HG--
extra : rebase_source : 322347fb1a55432ef5a85196a5c4f7e847c4fe7b
extra : histedit_source : 2173a02c440fd949469f06039e4ad3ee720dca43
2017-02-16 19:51:32 -05:00
Mason Chang 0b59f5711a Bug 1339661 - Create box shadow outer webrender display item. r=jmuizelaar 2017-02-16 10:23:22 -08:00
Nicolas Silva f7a266bd62 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
Ethan Lin 6f11a2d0f5 Bug 1337715 - Part2. Use WrColor as parameter for wr_push_rect. r=kats 2017-02-09 16:49:38 +08:00
Ethan Lin 7082b3dff4 Bug 1337715 - Part1. Add WrBorderRadius for WebRenderBorderLayer. r=kats 2017-02-09 16:49:37 +08:00
Ethan Lin b4d6b03c03 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 b66f280583 Bug 1329739 - Specify a WrMixBlendMode for WebRenderLayer r=kats
--HG--
extra : amend_source : bfa6ad8ee9cc13ab292958040ccd0f8dded15e5f
extra : histedit_source : c33cb15304d3e5806b90f04f690e000d42a5f933
2017-01-19 17:57:18 -06:00
peter chang 3af2e6fed0 Bug 1325022 - Pass layers::Animation data to WebRenderBridgeParent, r=gfx?
MozReview-Commit-ID: 7M3aXiEGCfL
2017-01-19 10:38:14 +08:00
Nicolas Silva ee383fa898 Bug 1328602 - Make it possible to enable the work-in-progress render thread code using MOZ_USE_RENDER_THREAD and ugly branching, hopefully temporarily. r=gfx? 2017-01-18 18:46:21 -05:00
Kartikaya Gupta c8008e5222 Bug 1323957 - Follow-up to remove PCompositable entrails in the graphics branch. r=mattwoodrow?
MozReview-Commit-ID: 2wZlT33ty86
2017-01-18 13:47:27 -05:00
Nicolas Silva a2579a7676 Bug 1331515 - WR to Wr prefix conversion for more ffi types. r=gfx? 2017-01-17 09:53:57 -05:00
Nicolas Silva 0ece8a0f07 Bug 1331515 - Rename WRColor into WrColor. r=gfx? 2017-01-17 09:44:07 -05:00
Nicolas Silva bf5fc449f0 Bug 1331515 - Rename WRLayoutSize into WrLayoutSize. r=gfx? 2017-01-17 09:32:20 -05:00
Nicolas Silva 41c7fc068a Bug 1331515 - Rename WRRect into WrRect. r=gfx? 2017-01-17 09:32:16 -05:00
Nicolas Silva 83339f9131 Bug 1331515 - Move some types to the mozilla::wr namespace. r=gfx? 2017-01-16 19:22:09 -05:00
Nicolas Silva c993a8f2b0 Bug 1331515 - Move webrender_bindings/src/webrender.h to webrender_bindings/webrender_ffi.h. r=gfx?
--HG--
rename : gfx/webrender_bindings/src/webrender.h => gfx/webrender_bindings/webrender_ffi.h
2017-01-16 19:22:01 -05:00
Nicolas Silva db18d11b92 Bug 1331515 - mozilla/webrender include path. r=gfx? 2017-01-16 19:21:52 -05:00
Ethan Lin 1c169233fd Bug 1322504 - Part2. Fix bound/format problem after using ContentClient. r=sotaro 2017-01-15 06:32:01 +08:00
Ryan Hunt 5d82b6b00b Bug 1328893 - Specify an ImageRendering for some WebRenderLayers r=kats
--HG--
extra : rebase_source : 7f5cc7445e156b47c2210d36d1db8eb35c8b1a44
extra : amend_source : 2d418c013850f2fff88596599bc2622a5eb82b2c
2017-01-13 11:59:07 -06:00
Kartikaya Gupta 5068b330bb Back out 4 csets from bug 1322504 for introducing or exposing an intermittent debug reftest-e10s-4 failure. r=backout 2017-01-12 12:33:49 -05:00
Ethan Lin 68d615c0bd Bug 1322504 - Part2. Fix bound/format problem after using ContentClient. r=sotaro 2017-01-12 16:09:07 +08:00
Jeff Muizelaar 7e23dc7608 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
Mason Chang 5e1c34af71 Bug 1329314 - Add support for nsDisplayText webrender display item. r=jrmuizel? 2017-01-06 11:50:53 -08:00
Jeff Muizelaar 78ce9e5c93 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 7aa28bb943 Bug 1325784 - Follow-up changes for the graphics branch. r=nical?
MozReview-Commit-ID: AagWmH4jLF7
2017-01-05 10:03:17 -05:00
Ethan Lin 45ad9d0db8 Bug 1322079 - Convert WebRenderBorderLayer to webrender border display item. r=kats
MozReview-Commit-ID: Aq8idTWGj5d
2016-12-27 14:12:01 +08:00
Kartikaya Gupta f1a1168ed3 Bug 1323539 - Followup for graphics branch to remove PLayer leftover bits. r=me
MozReview-Commit-ID: DwwpL16jSZD

--HG--
extra : amend_source : 0c01168b5f4bc298c49b83593c2e5224811b3143
2016-12-23 10:17:36 -05:00
Jeff Muizelaar 85ef280be5 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 53a1603866 Revert tree back to commit 8a362f5c65fb. r=fix-messy-tree
MozReview-Commit-ID: 8ewcbgQsay9
2016-12-22 10:38:58 -05:00
Jeff Muizelaar 34eabc2d62 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
Sotaro Ikeda 87b9e2031f Bug 1322388 - OpDPPushExternalImageId message to PWebRenderBridge r=nical? 2016-12-07 17:52:24 -08:00
sotaro 40d8316588 Bug 1322043 - Use ImageClient/Host in WebRenderImageLayer without using external image id r=nical? 2016-12-05 13:15:02 +09:00
JerryShih 44cd1a91cb Bug 1321141 - make PWebRenderBridge manage PCompositable. r=sotaro?
Update PWebRenderBridge.ipdl to manage PCompositable.
Let WebRenderBridgeChild/Parent to implement CompositableForwarder and CompositableParentManager for compositable-op message.

MozReview-Commit-ID: 4m5jmDSL8xo
2016-11-30 18:57:26 +08:00
Morris Tseng c258b15697 Bug 1316223 - Moving binding to separate folder. r=jrmuizel,kats
MozReview-Commit-ID: FLqSGebdGcH

--HG--
rename : gfx/webrender/src/bindings.rs => gfx/webrender_bindings/src/bindings.rs
rename : gfx/webrender/webrender.h => gfx/webrender_bindings/src/webrender.h
2016-11-18 13:02:05 -05:00
Morris Tseng 0afb45f905 Bug 1316903 - Merged many webrender commands to single transaction. r=kats
MozReview-Commit-ID: 4iOxYJ6x4ZL
2016-11-18 16:07:02 +08:00