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
Nicolas Silva
e66ff49a44
Bug 1331515 - Move webrender wrappers to the webrender_bindings directory. r=gfx?
...
--HG--
rename : gfx/layers/wr/RenderThread.cpp => gfx/webrender_bindings/RenderThread.cpp
rename : gfx/layers/wr/RenderThread.h => gfx/webrender_bindings/RenderThread.h
rename : gfx/layers/wr/RendererOGL.cpp => gfx/webrender_bindings/RendererOGL.cpp
rename : gfx/layers/wr/RendererOGL.h => gfx/webrender_bindings/RendererOGL.h
rename : gfx/layers/wr/WebRenderAPI.cpp => gfx/webrender_bindings/WebRenderAPI.cpp
rename : gfx/layers/wr/WebRenderAPI.h => gfx/webrender_bindings/WebRenderAPI.h
rename : gfx/layers/wr/WebRenderTypes.h => gfx/webrender_bindings/WebRenderTypes.h
2017-01-16 19:21:43 -05:00
Nicolas Silva
4fbb39e069
Bug 1328602 - Implement more WebRenderAPI methods. r=gfx?
2017-01-16 15:22:47 +01:00
Ethan Lin
1c169233fd
Bug 1322504 - Part2. Fix bound/format problem after using ContentClient. r=sotaro
2017-01-15 06:32:01 +08:00
Ethan Lin
52ffc592e5
Bug 1322504 - Part1. Use ContentClient in WebRenderPaintedLayer. r=sotaro
2017-01-15 06:32:01 +08:00
Jeff Muizelaar
22f5d35381
Bug 1313735. Add mask layer support. r=gfx?
2017-01-13 22:12:15 -05: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
Ethan Lin
7e0247dbdd
Bug 1330921. Fix the coordinates of WebRenderColorLayer. r=kats
...
This adds a stacking context like the layer types.
2017-01-13 15:24:05 -05:00
Jeff Muizelaar
c6a63ff91b
Bug 1330921. Actually backout 6699d31aaa45 because I forgot the bug number
2017-01-13 15:23:28 -05:00
Ethan Lin
1417e1a7ab
Fix the coordinates of WebRenderColorLayer. r=kats
...
This adds a stacking context like the layer types.
2017-01-13 15:14:54 -05:00
Nicolas Silva
c95874efc9
Bug 1328602 - Start replacing wrstate with DisplayListBuilder. r=gfx?
2017-01-13 11:25:07 +01:00
Ethan Lin
59efc29d19
Bug 1330574 - Part1. Correct WebRenderContainerLayer overflow rect. r=kats
2017-01-13 17:28:00 +08: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
Nicolas Silva
e2d1fd765a
Bug 1328602 - Provide alternative bindings that don't depend on WrWindowState. r=gfx?
2017-01-12 15:31:31 +01:00
Ethan Lin
68d615c0bd
Bug 1322504 - Part2. Fix bound/format problem after using ContentClient. r=sotaro
2017-01-12 16:09:07 +08:00
Ethan Lin
46b6b9aa6c
Bug 1322504 - Part1. Use ContentClient in WebRenderPaintedLayer. r=sotaro
2017-01-12 16:09:07 +08:00
Ryan Hunt
1a87bd676d
Bug 1330511 - Don't draw WebRenderLayers with IsBackfaceHidden r=gfx?
2017-01-11 22:13:55 -06:00
Ryan Hunt
a22cc65694
Bug 1330480 - Move toWr* functions into WebRenderTypes.h r=gfx?
...
--HG--
extra : rebase_source : 0472304b55019e349557da93c1df841c494576f6
extra : amend_source : 51dfebb93b7887a4dcfd05770f08f233e5459f6f
2017-01-11 19:53:28 -06:00
Ryan Hunt
e029fec93f
Bug 1330368 - Add a WebRenderMessageUtils.h for WR IPC::ParamTraits r=gfx?
...
--HG--
extra : rebase_source : 9855ef13557a6fededf3369dc7302d8a77291a22
extra : amend_source : f56994df93eecb1e97fa35ec27a6863b497933bc
2017-01-10 23:49:44 -06:00
Kartikaya Gupta
e5210e191e
Bug 1328702 - Follow-up for the graphics branch. r=milan?
...
MozReview-Commit-ID: 2JCrXnskHip
2017-01-11 10:45:51 -05:00
Nicolas Silva
b963768154
Bug 1328602 - Begin implementing creating/destroying WebRenderAPI objects. r=gfx?
2017-01-11 13:51:27 +01:00
Nicolas Silva
12bd4e1039
Bug 1328602 - Have RendererOGL talk to CompositorBridgeParentBase instead of WebRenderBridgeParent. r=gfx?
2017-01-11 13:49:02 +01:00
Nicolas Silva
0bb4f9ab08
Bug 1328602 - Fix unified build bustage. r=gfx?
2017-01-10 14:19:19 +01:00
Nicolas Silva
a069e3b6e6
Bug 1328602 - Begin implementing a C++ wrapper around WebRender's RenderApi. r=gfx?
2017-01-10 10:17:30 +01:00
Nicolas Silva
9f6448ef59
Bug 1328602 - Add a few comments explaining where some of the pieces are meant to fit. r=gfx?
2017-01-06 19:10:20 +01:00
Nicolas Silva
f1b93535c4
Bug 1328602 - Start implementing the render thread. r=gfx?
2017-01-06 19:10:15 +01: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
Kartikaya Gupta
63534890af
Bug 1321031
- Follow-up to fix build bustage on the graphics branch. r=jrmuizel?
...
MozReview-Commit-ID: JZlmFgfaWVM
2017-01-09 10:19:59 -05:00
Mason Chang
5e1c34af71
Bug 1329314 - Add support for nsDisplayText webrender display item. r=jrmuizel?
2017-01-06 11:50:53 -08:00
Kartikaya Gupta
e747fadcd2
Back out bug 1328602 (5 csets) for build bustage and test failures. r=bustage
2017-01-06 13:49:32 -05:00
Nicolas Silva
5c440ad7ad
Bug 1328602 - Start implementing the render thread. r=gfx?
2017-01-06 19:10:15 +01: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
Kartikaya Gupta
82b9d54a4c
Bug 1322079 - Fix non-unified build errors. r=ethlin?
...
MozReview-Commit-ID: GuuZ04U9CN3
2017-01-05 10:03:06 -05:00
Kartikaya Gupta
9aa336ed9c
Bug 1326048 - Factor out a helper function to address review comments. r=milan?
...
MozReview-Commit-ID: 8QmU34JQNKG
2016-12-29 16:51:32 -05:00
Morris Tseng
e6802f8a0d
Bug 1322500 - Using CanvasClient for WebRenderCanvasLayer. r=sotaro?
...
MozReview-Commit-ID: 78zbLjZMXFv
2016-12-29 18:27:00 +08:00
Kartikaya Gupta
5312605f59
Bug 1325945 - Guard against possible null pointer dereference. r=sotaro?
...
MozReview-Commit-ID: V7xizXL2wb
2016-12-28 15:09:53 -05:00
Kartikaya Gupta
b8a24c350f
Bug 1326048 - Refactor to avoid duplicated code. r=gfx?
...
MozReview-Commit-ID: 81Xe7S1CBpk
2016-12-28 10:28:36 -05:00
Kartikaya Gupta
013f54e5c6
Bug 1325678 - Have WebRenderContainerLayer release child layers on destruction to avoid leaking them. r=gfx?
...
MozReview-Commit-ID: 2AO70JuCt6H
2016-12-27 09:18:09 -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
Ethan Lin
f0225346c8
Bug 1322079 - Add WebRenderBorderLayer. r=mattwoodrow
...
MozReview-Commit-ID: E6wHBxXX7Zp
2016-12-27 14:12:01 +08: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
JerryShih
fb8cae4417
Bug 1321144 - fix unified-build build break for WebRenderPaintedLayer. r=sotaro?
...
MozReview-Commit-ID: EXKFxBVKwbC
2016-12-22 18:02:51 +08:00
JerryShih
949593c2b2
Bug 1321144 - use ImageClient in WebRenderPaintedLayer. r=sotaro?
...
MozReview-Commit-ID: GLtXYBuYXWo
2016-12-22 17:22:37 +08:00
JerryShih
49b8676d1d
Bug 1321144 - update WR external image interface usage in WebRenderImageLayer. r=sotaro?
...
MozReview-Commit-ID: 8BKzariSYHj
2016-12-22 17:22:37 +08:00
JerryShih
7cbd93c85f
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
JerryShih
b0a62ca8ed
Bug 1321144 - handle WR external image callback functions in WebRenderCompositorOGL. r=sotaro?
...
Create GetExternalImageHandler() to return the callbacks for WR.
Register the callbacks in wr_init_window()
Return TextureImageTextureSourceWebRenderOGL for CreateDataTextureSource() which will be used for GL texture uploading.
MozReview-Commit-ID: 9INNsxgbGrw
2016-12-22 17:22:37 +08:00
JerryShih
b1e2dfd641
Bug 1321144 - add WebRender TextureHost related classes. r=sotaro?
...
Add TextureSourceWebRenderOGL for WR GL composition.
Use BindTextureSource/UnbindTextureSource() to provide the TextureSource for WR external image rendering. Currently,only ImageHost supports these functions.
MozReview-Commit-ID: d5EvPUmlpq
2016-12-22 17:22:37 +08: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
4dbcec85a4
Bug 1324648 - Use GLContext to get GL functions pointers for webrender r=nical
2016-12-21 13:22:04 +09:00
sotaro
0a7bc1014c
Bug 1324355 - Make ResumeComposition work r=nical
2016-12-21 11:13:57 +09:00
sotaro
3fb288b281
Bug 1324345 - Add calls of DrawWindowUnderlay and DrawWindowOverlay r=nical?
2016-12-19 16:05:36 +09:00
Kartikaya Gupta
4d035c9209
Fix build bustage from merging bug 1274673. r=jrmuizel?
...
MozReview-Commit-ID: 6qEERRYak3F
2016-12-15 10:44:34 -05:00
Mason Chang
311590e46d
Bug 1322796. Correctly flip surface pattern for reftests. r=kats?
2016-12-12 13:41:15 -08:00
sotaro
03919c6190
Bug 1322956 - Fix wr_pop_dl_builder() break r=nical?
2016-12-12 15:12:30 +09:00
Kartikaya Gupta
cf12ad5585
Bug 1322796 - Don't assume the snapshot area is the same as the buffer. r=mchang?
...
MozReview-Commit-ID: G999P66By7V
2016-12-10 04:30:49 -05:00
Sotaro Ikeda
153ca5d306
Bug 1322474 - Implement ClearCachedResources() in WebRenderLayer r=nical?
2016-12-08 09:12:38 -08:00
Sotaro Ikeda
87b9e2031f
Bug 1322388 - OpDPPushExternalImageId message to PWebRenderBridge r=nical?
2016-12-07 17:52:24 -08:00
JerryShih
48f010e6b3
Bug 1320320 - wait epochs ready before WR render() call. r=mchang?
...
wait for root_pipeline_id's and iframe's epochs ready before render() call.
MozReview-Commit-ID: AFVOmlaBmPp
2016-12-07 08:04:49 -10:00
JerryShih
5de4daa857
Bug 1320320 - handle pipeline epoch in WR binding. r=mchang?
...
move the epoch counting from gecko to WR binding
MozReview-Commit-ID: 8bc6Cy4HDYS
2016-12-07 08:04:49 -10:00
Sotaro Ikeda
e0f89688a5
Bug 1322086 - Handle texture recycling in WebRenderImageLayer r=nical?
2016-12-07 02:02:04 -08:00
Jerry Shih
9e0a134399
Backed out changeset cd238a069da7
...
miss the Cargo update changeset.
2016-12-05 01:22:51 -10:00
JerryShih
9b40d2f3f6
Bug 1320320 - handle pipeline epoch in WR binding. r=mchang?
...
move the epoch counting from gecko to WR binding
MozReview-Commit-ID: IqHbOchFJIc
2016-12-05 01:16:03 -10: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
sotaro
51d18e5b8b
Bug 1319170 - Fix build failure r=mchang
2016-12-04 17:53:28 +09:00
sotaro
5d91e48b89
Bug 1321728 - Update nsDOMWindowUtils::GetLayerManagerRemote() r=nical
2016-12-04 17:35:33 +09:00
Mason Chang
8225e91629
Bug 1319170. Readback gpu directly into shared texture buffer for reftests. r=sotaro?
2016-12-02 10:39:40 -08:00
Ethan Lin
9aef6b1cb9
Bug 1321231 - Apply transform for canvas rect. r=nical
2016-12-02 10:41:36 +08:00
Mason Chang
c8ef7e4a47
Bug 1321654 - Assert which thread bindings.rs executes in. r=gfx?
2016-12-01 14:10:10 -08:00
sotaro
c93351af96
Bug 1320864 - Add DidComposite handling r=nical
2016-12-01 13:36:41 +09:00
Ethan Lin
4cdcae01af
Bug 1321231 - Fix the overflow rect of WebRenderLayer. r=nical
2016-12-01 11:22:41 +08:00
sotaro
af7a090b59
Bug 1321183 - Deliver TextureFactoryIdentifier r=nical
2016-12-01 12:02:37 +09:00
Morris Tseng
1565dfd024
Merge 3c3cd985155f9a0c016b2087fce7a41482dfda5f to graphics.
2016-12-01 10:25:55 +08:00
Mason Chang
780eca450f
Bug 1321141. Delete WebrenderBridgeParent refcount declaration for build bustage
2016-11-30 17:05:43 -08:00
Mason Chang
1bc8e321c1
Bug 1321141. Fix missing override for Destroy for build bustage.
2016-11-30 16:03:36 -08: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
sotaro
f8cd0915ea
Bug 1320628 - Fix background tab crash when e10s is enabled r=nical?
2016-11-30 11:59:14 +09:00
Mason Chang
06b15d89e0
Bug 1321095
Add an epoch for each frame in webrender. r=hshih?
2016-11-29 14:08:32 -08:00
sotaro
35165cdf37
Bug 1320023 - Fix warnings r=nical?
2016-11-29 11:08:08 +09:00
Morris Tseng
133d7a894f
Bug 1319646 - Toggle webrender profiler by preferences. r=kats?
...
MozReview-Commit-ID: DneWqzP34ux
2016-11-29 10:06:25 +08:00
sotaro
2e201c0635
Bug 1320623 - Fix build failure r=nical?
2016-11-29 10:13:37 +09:00
sotaro
1ce56fdb80
Bug 1320623 - TextureHost recycling handling for ImageBridge r=nical
2016-11-29 09:58:23 +09:00
Mason Chang
21654d15a3
Bug 1320742 - Use Skia to draw webrender snapshot data. r=sotaro?
2016-11-28 10:39:52 -08:00
Morris Tseng
941bb17f52
Fix build break after merging m-c to graphics. r=gfx?
2016-11-28 16:58:20 +08:00
sotaro
753708476e
Bug 1318113 - Use BufferTexture to return the reftest snapshot r=nical?
2016-11-28 11:39:42 +09:00
sotaro
0a3554cf97
Bug 1320277 - Add WebRenderBridgeParent::Destroy() r=nical
2016-11-28 10:21:33 +09:00
sotaro
9964d31d24
Bug 1320023 - Make WebRenderBridgeChild destroy simiar to LayerTransactionChild r=nical
2016-11-25 10:36:37 +09:00
sotaro
74aa867663
Bug 1317935 - Move external image ids clean up to ClearResources() r=nical?
2016-11-24 17:53:17 +09:00
sotaro
a450a2754f
Bug 1317935 - Use GetCompositeUntilTime() to trigger next composition r=nical?
2016-11-24 15:48:01 +09:00
Morris Tseng
2deb064663
Backed out changeset 2622d62d1f08
2016-11-24 10:55:16 +08:00
Kartikaya Gupta
74fcc325fd
Bug 1319521 - Send PWebRenderBridge::Destroy earlier. r=gfx?
...
Instead of waiting until the WebRenderLayerManager destructor runs, we can
send the destroy message a little earlier, when it is Destroy()'d. Also add
a guard to prevent double-destruction, just in case.
MozReview-Commit-ID: 8pCRwH7Xecw
2016-11-23 10:43:33 -05:00
Morris Tseng
094e75bdee
Bug 1319646 - Add a preference to enable/disable webrender profiler. r=jrmuizel?
...
MozReview-Commit-ID: 31349AWgDr9
2016-11-23 11:40:00 +08:00
Kartikaya Gupta
ec06640571
Bug 1319510 - Guard against using a null mCompositorScheduler. r=sotaro?
...
MozReview-Commit-ID: LAwFEx39CaS
2016-11-22 14:35:41 -05:00
Kartikaya Gupta
f801c5b483
Bug 1319199 - Update gfx code to work with new webrender version. r=gfx?
...
The updated webrender doesn't take scroll IDs as part of the stacking context.
Instead, it has dedicated operations to push/pop scrolling layers. Since APZ
is currently disabled we don't really need this functionality. We will use it
in the future but for now we can remove the relevant code.
MozReview-Commit-ID: 9NpXvvgYSah
2016-11-22 09:53:55 -05:00
sotaro
febbec07e2
Bug 1319303 - Add WebRenderBridgeParent::ClearResources() r=kats
2016-11-22 23:22:54 +09:00
sotaro
81b6df55cb
Bug 1317893 - Add CompositorVsyncScheduler to WebRenderBridgeParent r=kats
2016-11-22 11:56:38 +09:00
Kartikaya Gupta
0bf678e8d3
Bug 1318100 - Minor cosmetic cleanup. r=mchang?
...
MozReview-Commit-ID: BuypOmNxpUJ
2016-11-21 10:16:11 -05:00
Mason Chang
76e1d722de
Bug 1318100. Follow up clean up of WebrenderBridgeChild
2016-11-18 16:29:05 -08:00