Commit Graph

68 Commits

Author SHA1 Message Date
Lee Salzman
cc97aeac73 Bug 1357952 - update WebRenderAPI to allow index in add_raw_font. r=jrmuizel 2017-04-21 11:50:21 -04: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
Kartikaya Gupta
7257f000ad Bug 1357065 - Add a PushClip/PopClip API to WebRenderAPI to more easily distinguish between scrolling clips and non-scrolling clips. r=jrmuizel
Note that in upstream WR the push_scroll_layer API has already been
renamed to push_clip_node, so conceptually the same API covers both
"scrolling clips" (aka scroll layers) and non-scrolling clips. So using
the same underlying API for two different WebRenderAPI.h functions makes
sense.

MozReview-Commit-ID: He7jBVqZuLn
2017-04-18 11:09:39 -04:00
Kartikaya Gupta
4448c4a32b Bug 1357065 - Rename the parameters to PushScrollLayer to be more correct. r=jrmuizel
This changes the parameters to be in line with the clipping documentation.

MozReview-Commit-ID: Fg3iviLTL0g
2017-04-18 11:09:29 -04:00
peter chang
9e2c04c453 Bug 1345017 - Update WebRenderAPIs to enable OMTA, r=kats
MozReview-Commit-ID: L8HSxvzoEJZ
2017-03-29 17:23:08 +08:00
Ryan Hunt
6d1911760b Bug 1355570 - Update bindings and WebRender display list building for gradient tiling r=jrmuizel
MozReview-Commit-ID: KwhCBc8XxCN
2017-04-12 14:20:52 -05:00
Kartikaya Gupta
c7ca608eff Bug 1355615 - Update wr_api_finalize_builder to take pointers on the C++ side to match the Rust side. r=jrmuizel
MozReview-Commit-ID: IskZgT17n42
2017-04-11 18:03:59 -04:00
Kartikaya Gupta
3cd9ae859b Bug 1355602 - Decouple pushing scroll layers from pushing stacking contexts. r=jrmuizel
This removes the call to push_scroll_layer in wr_push_stacking_context, so that
it's now possible to push a stacking context without necessarily pushing a
scroll layer. There is already a separate function to push a scroll layer so the
call sites can do that. This patch just changes all the call sites that were
pushing a stacking context to also push a scroll layer, so there should be no
functional change. Future patches can remove the spurious scroll layers.

MozReview-Commit-ID: FtCkc9JQd8l
2017-04-11 17:04:59 -04:00
Kartikaya Gupta
54c13996a3 Bug 1354946 - Add an explicit WrMatrix type for passing 4x4 matrices across the FFI boundary. r=rhunt
Right now we just cast from a float* on the C++ side to a LayoutTransform on
the Rust side, except the LayoutTransform isn't a repr(C) storage type, so
there's no guarantee that it will actually have the same layout. Adding an
explicit type and conversion code ensure that we are able to pass the matrix
across the boundary safely.

MozReview-Commit-ID: H3gK3g0K3xz
2017-04-11 08:33:58 -04:00
Kartikaya Gupta
4b146ed115 Merge m-c to graphics
MozReview-Commit-ID: ICVAgHmKVL4
2017-04-10 08:47:20 -04:00
Morris Tseng
feb2c3ef95 Bug 1347469 - Add bindings for gradient border. r=kats
MozReview-Commit-ID: H6OwWaeBYWY
2017-04-10 17:27:30 +08:00
Ethan Lin
c3bd8aa1bc Bug 1351242 - Add webrender support for nsDisplayBackgroundImage image type. r=mchang 2017-04-07 14:53:16 +08:00
Lee Salzman
6ca29fbb02 Bug 1348980 - use UnscaledFont to track WebRender font keys. r=jrmuizel 2017-04-06 17:41:24 -04:00
Sotaro Ikeda
7302ff8d44 Bug 1323612 (Part 2) - Add runtime fixups for WebRender on Android. r=kats
MozReview-Commit-ID: 2fWRPkRM52e
2017-04-05 10:12:11 -04:00
Ryan Hunt
5402853c16 Bug 1351480 - Update bindings for gradients. r=jrmuizel
MozReview-Commit-ID: 48bjXH4ZCBi
2017-03-31 19:18:44 -04:00
JerryShih
857444c0cf Bug 1347062 - P2: use WrImageDescriptor for wr_api_add_external_image_handle(). r=nical,sotaro
MozReview-Commit-ID: 1dNQRZGeKaA
2017-03-31 22:29:14 +08:00
Sotaro Ikeda
acabeeda91 Bug 1323316 - Use ANGLE for WebRender on Windows. r=jrmuizel,kats
MozReview-Commit-ID: Fg5GEWNRtIu
2017-03-29 10:14:19 -04:00
Wes Kocher
5066a5dc90 Merge autoland to central, a=merge
MozReview-Commit-ID: 4DDSNU4ABBB
2017-03-27 17:03:30 -07:00
Nicolas Silva
381af6a4d1 Bug 1347641 - Implement the BlobImageRenderer binding glue. r=jrmuizel 2017-03-27 13:44:52 +02:00
Nicolas Silva
3fba55933f Bug 1347641 - Add ByteSlice to pass constant u8 slices across ffi. r=jrmuizel 2017-03-27 13:44:22 +02:00
Sotaro Ikeda
2b12e25a7f Bug 1325911 - Update Gleam to v0.4. r=kats
MozReview-Commit-ID: 6QghwNrEC9V
2017-03-20 12:10:40 -04:00
Kartikaya Gupta
7dc4171ed2 Bug 1350986 - Add some gfxCriticalNote messages for WebRender startup failure codepaths. r=jrmuizel
MozReview-Commit-ID: 7VHA8QBMvJ8
2017-03-27 14:32:39 -04:00
Morris Tseng
02d2f424f0 Bug 1341156 - Modify webrender_ffi and add OpDPPushBorderImage. r=kats r=ethlin
MozReview-Commit-ID: Ct63gy6nk3q
2017-03-13 11:46:03 +08:00
Ryan Hunt
d7f00f1fa2 Bug 1345907 - Use clip region instead of clip rect r=kats 2017-03-09 11:57:06 -05:00
Ryan Hunt
4f412add62 Bug 1345907 - Add bindings for ClipRegion r=kats 2017-03-09 11:54:16 -05:00
sotaro
2ccb9fc5dd Bug 1345344 - Pass stride for ExternalImageBuffer r=nical 2017-03-09 11:10:09 +09: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
Jeff Muizelaar
fd22ad7eb4 Bug 1343019 - Call set_window_parameters as appropriate. r=kats
MozReview-Commit-ID: 14f4vetRM98
2017-03-06 17:41:51 -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
8b11d7d6f8 Bug 1342833 - WebRenderBridgeParent::ClearResources() does not clear DisplayList r=jrmuizel 2017-03-06 10:42:17 +09:00
sotaro
0c6930bf8f Bug 1343457 - Update external image adding api r=kats 2017-03-02 10:22:40 +09:00
Jeff Muizelaar
2eaee83cba Bug 1342558. Change SetRootDisplayList to consume built display lists. r=nical 2017-03-01 09:10:53 -05:00
JerryShih
fb96ad3886 Bug 1340997 - add external image callback in RendererOGL. r=sotaro
MozReview-Commit-ID: 8aCSe1iu44C
2017-03-01 17:08:56 +08:00
sotaro
68a497a1d6 Bug 1342380 - Enable VsyncScheduler again r=kats 2017-02-27 09:27:04 +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
Morris Tseng
1341cb2400 Bug 1340871 - Add CompositorUseANGLE info to TextureFactoryIdentifier. r=nical
MozReview-Commit-ID: GjlZS6T2i0p
2017-02-23 16:46:56 +08:00
Ryan Hunt
26ec0b48ef Bug 1340338 - Add WebRender bindings for linear and radial gradients r=nical 2017-02-16 19:51:32 -05:00
Mason Chang
17684162b7 Bug 1339661 - Create box shadow outer webrender display item. r=jmuizelaar 2017-02-16 10:23:22 -08:00
JerryShih
2ac2931959 Bug 1338285 - set WrExternalImageIdHandler to renderer. r=nical
The WrExternalImageIdHandler is used for external image resolving in WR.

MozReview-Commit-ID: BjVAwAerUfa
2017-02-16 14:01:04 +08:00
JerryShih
2fb6cc5eca Bug 1337821 - the comment for snapshot event passing. r=nical DONTBUILD
MozReview-Commit-ID: 28tpzIwmV4R
2017-02-16 11:32:34 +08:00
sotaro
00819487bf Bug 1339313 - Remove wr_gl_init() r=nical 2017-02-16 11:24:55 +09: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
Ethan Lin
0f165477d9 Bug 1337715 - Part2. Use WrColor as parameter for wr_push_rect. r=kats 2017-02-09 16:49:38 +08:00
Ethan Lin
b5caf118ab Bug 1337715 - Part1. Add WrBorderRadius for WebRenderBorderLayer. r=kats 2017-02-09 16:49:37 +08:00
sotaro
92f7e3f088 Bug 1337281 - Fix WebRenderAPI::Readback() r=nical 2017-02-08 10:28:37 +09: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
Nicolas Silva
5a9cbd6004 Bug 1333565 - Accidentally unapplied changes from the previous commit. r=jrmuizel 2017-01-27 16:08:17 -05:00
Jeff Muizelaar
0ac5d39f42 Bug 1333593. Add support for snapshotting with the RenderThread. r=nical 2017-01-24 23:29:34 -05:00