JerryShih
51510de95b
Bug 1359738 - Add push_yuv_image() in WR binding.
...
Please check [1] for webrender_ffi_generated.h updates.
[1]
https://dxr.mozilla.org/mozilla-central/rev/f229b7e5d91eb70d23d3e31db7caff9d69a2ef04/gfx/webrender_bindings/webrender_ffi_generated.h#7
MozReview-Commit-ID: 3PolFzfQB0l
2017-04-27 15:08:20 +08:00
Kartikaya Gupta
86403106c8
Bug 1358156 - Update webrender to 1437cc124696ecc95b726dffa17f918bb6ea5af1. r=jrmuizel
...
In addition to updating the Cargo.toml/Cargo.lock files and generated FFI header,
this patch also:
- Updates a couple of field names in the IPC serialization code as a result
of webrender cset 8ca10a8
- Removes z-index related goop, since it's no longer needed as of webrender
cset c872232
2017-04-26 10:33:14 -04:00
Kartikaya Gupta
5490a9c0ff
Bug 1359462 - Ensure we don't pass a nullptr to slice::from_raw_parts. r=rhunt
...
Apparently passing a nullptr to slice::from_raw_parts is unsafe. So we
wrap those calls into a helper function that returns an empty slice
instead.
MozReview-Commit-ID: EAp90FKb8cQ
2017-04-25 15:17:01 -04:00
Sotaro Ikeda
cbe34ab9f7
Bug 1359295 - Call MakeCurrent() before destroying webrender renderer r=nical
2017-04-25 08:39:33 -07:00
Lee Salzman
ea130e2494
Bug 1357952 - update WebRenderAPI to allow index in add_raw_font. r=jrmuizel
2017-04-21 11:50:21 -04:00
Kartikaya Gupta
b3a7bb5ca2
Bug 1357392 - Update webrender to f3fa3481aac63ac93c6ccbe805379875e24e5b77. r=jrmuizel,jerry,lsalzman
...
In addition to regenerating the FFI header and re-vendoring third-party rust
dependencies, this includes the following changes to webrender_bindings code:
- removal of release callback function as a result of changes in 86d4255
- update callback functions for new parameter added in d733af2
- update calls to add_raw_font for API change in 21f2946
2017-04-21 09:58:56 -04:00
Kartikaya Gupta
47ca6562cc
Merge m-c to graphics
...
MozReview-Commit-ID: 3l2zmVoMgdl
2017-04-20 08:47:24 -04:00
sotaro
e39bdc681a
Bug 1356944 - Fix external image id allocation of WebRenderTextureHost r=nical
2017-04-20 10:24:13 +09: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
Ryan Hunt
6eca7a5745
Bug 1357543 - Add rustfmt.toml and run rustfmt on webrender_bindings r=kats
...
The new rustfmt.toml is based off servo/rustfmt.toml with some
tweaks to match the existing code in webrender_bindings
MozReview-Commit-ID: 7LbXC6qyjan
--HG--
extra : amend_source : 436e49dbd3d3fd72aab0f1791cf6e0d3fcc348b4
2017-04-18 16:20:53 -04:00
Ryan Hunt
2d446d69ea
Bug 1357335 - Use Into<T> for webrender bindings conversions r=kats
...
Types also implement Copy, Clone now to make this easier.
MozReview-Commit-ID: GEVsCEw2o6K
--HG--
extra : rebase_source : b42ddaab3b7ab0a31006e78aff45ddb6e4160845
extra : amend_source : 82a7e1d272b397c8ab1d0346fd5a708117b897a3
2017-04-18 04:18:35 -04:00
Kartikaya Gupta
76ded9a0bf
Bug 1355475 - Update webrender to 07b6c6a1f93b5d8af1dd9ae825906dcf5c310810. r=jrmuizel
...
This also includes changes to webrender_bindings:
- push_scroll_layer was renamed to push_clip_node in eb4a04b
- Update call to push_text for API change in f040e81.
MozReview-Commit-ID: ILHylvSkco2
2017-04-18 11:18:02 -04:00
Kartikaya Gupta
e972cba381
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
8a3a856227
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
Kartikaya Gupta
fc1d59434f
Bug 1357643 - Annotate wr_api_delete so that it can be called in a destructor in non-webrender builds. r=me
...
MozReview-Commit-ID: 4JrLFCRwxxO
2017-04-19 11:42:27 -04:00
Nicolas Silva
fb9bd819a5
Bug 1357643 - Annotate wr_state_delete so that it can be called in a destructor in non-webrender builds. r=kats
2017-04-19 15:20:23 +02:00
peter chang
e238a80556
Bug 1345017 - Add animation sampling for WR, r=kats
...
MozReview-Commit-ID: AR2vajUf2o0
2017-04-12 16:40:48 +08:00
peter chang
b9d10e90b5
Bug 1345017 - Update WebRenderAPIs to enable OMTA, r=kats
...
MozReview-Commit-ID: L8HSxvzoEJZ
2017-03-29 17:23:08 +08:00
Ryan Hunt
444067a435
Bug 1356371 - Use cbindgen for WebRender bindings generation r=kats
...
This commit adds some directives to help cbindgen generate correct
structs and functions, removes some old FFI code that isn't needed
anymore, and regenerates webrender_ffi_generated.h
MozReview-Commit-ID: KZSEZEN671A
--HG--
extra : rebase_source : 23a07dd11037943156983d9facc039bb7af51c95
2017-04-13 15:45:51 -04:00
Ryan Hunt
422ca37abb
Bug 1356371 - Create a WrExternalImageId because ExternalImageId is not repr(C) r=kats
...
This is only temporary as ExternalImageId has been made repr(C) upstream.
MozReview-Commit-ID: 1On7fRbNI4o
--HG--
extra : rebase_source : 91cb93829de5ccf0a6f0a05ed0d2169268b6c18c
2017-04-13 15:31:09 -04:00
Ryan Hunt
d2799c4902
Bug 1356371 - Create a WrRenderedEpochs struct r=kats
...
This helps cbindgen know to generate a opaque struct for WrRenderedEpochs.
MozReview-Commit-ID: 7moOEBjjbOO
--HG--
extra : rebase_source : 49b3887ae21f659ac353b861f3566cc2817103b0
2017-04-13 15:03:44 -04:00
Ryan Hunt
070551c13f
Bug 1352657 - Add a comment about webrender binary recording r=jrmuizel
2017-04-13 14:32:04 -04:00
Ryan Hunt
6aa2c5a2aa
Bug 1356057 - Add a WrGlyphInstance struct r=kats
...
MozReview-Commit-ID: ApIOZyS4VV7
--HG--
extra : rebase_source : cffc119aee9ddf030bc99317667805278295a5ac
extra : histedit_source : 29ce59257222377ffbadf0987ebbe85f1d736a8e
2017-04-12 23:28:40 -04:00
Ryan Hunt
98343720ca
Bug 1356057 - Make bindings.rs euclid conversions generic r=kats
...
MozReview-Commit-ID: 5FLg5UD6IlN
--HG--
extra : rebase_source : d071ed1aaf7bc3a1c40c90c454296b3799e6ad88
extra : histedit_source : ae48b57065eef16dad172cc33fbf2c43026f2dfc
2017-04-12 23:41:02 -04:00
sotaro
79b1971bae
Bug 1356088 - Fix ImageKey removals of ExternalImages r=jrmuizel
2017-04-13 20:53:21 +09:00
Ryan Hunt
bfa4ee5cb2
Bug 1355570 - Update bindings and WebRender display list building for gradient tiling r=jrmuizel
...
MozReview-Commit-ID: KwhCBc8XxCN
--HG--
extra : rebase_source : a5608b3388528ae1bd39be5f2fd9b2094193d46c
extra : source : c244293944bc163a742ef1b6f4225a751db5f796
extra : histedit_source : 860c2dc0fd3f8a5f35aea9b1ca15218d64208b65%2C803c9c5d3e85ee73fda2e3ccf504426b4798aecb
2017-04-12 14:20:52 -05:00
Kartikaya Gupta
4ae17c3c9c
Bug 1354944 - Plug in the generated FFI header. r=jrmuizel
...
MozReview-Commit-ID: E6qlCffKH1s
2017-04-11 22:17:18 -04:00
Kartikaya Gupta
851b246da0
Bug 1354950 - Add a destructor_safe doc attribute as a hint to the binding generator. r=rhunt
...
MozReview-Commit-ID: 3N1JsRsB01g
2017-04-11 22:17:10 -04:00
Kartikaya Gupta
8318f4c805
Bug 1355590 - Fix WrClipRegion/WrRect mismatch in a couple of Rust FFI functions. r=mtseng
...
MozReview-Commit-ID: 4gUyk4cRTAo
2017-04-11 22:17:02 -04:00
Kartikaya Gupta
23053869fc
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
ee6ed70bc5
Bug 1355614 - Update wr_dp_push_text to take an immutable pointer to match the C++ side. r=jrmuizel
...
MozReview-Commit-ID: GjHo8RBt3wX
2017-04-11 18:01:04 -04:00
Kartikaya Gupta
db665d693b
Bug 1355612 - Make WrGlyphInstance hold a Point2D instead of raw x/y to match the Rust side. r=jrmuizel
...
MozReview-Commit-ID: 7OtctQ4gWyv
2017-04-11 18:00:50 -04:00
Kartikaya Gupta
8050498fed
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
728e0fbb28
Bug 1355578 - Update push_scroll_layer's signature on the Rust side to match that on the C++ side. r=jrmuizel
...
MozReview-Commit-ID: 9ouWihnNkbR
2017-04-11 16:13:58 -04:00
Kartikaya Gupta
1880bd37a5
Bug 1355577 - Make the pointer in WrByteSlice const on the C++ side to match the Rust side. r=jrmuizel
...
MozReview-Commit-ID: FWCzZt8RAMj
2017-04-11 16:13:44 -04:00
Kartikaya Gupta
59dd9e78bc
Bug 1353484 - Update webrender to 3dd68f54e12bd5abf8ef41de4d4ec851620f7e4e. r=jrmuizel,kvark,rhunt
...
This includes:
- updating calls to push_scroll_layer for API change in 7253e2f.
- updating calls to push_stacking_context for API change in be249f6.
- updating for changes to gradient APIs in 05c4293.
2017-04-11 10:00:41 -04:00
Kartikaya Gupta
de71f88ab4
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
6f05b1f766
Bug 1355187 - Update some of the ExternalImage data types to be more similar in Rust and C++. r=rhunt
...
The WrExternalImageId is currently a struct wrapping a uint64_t on the C++ side,
which is unnecessary as we can just typedef it directly to a uint64_t. On the
Rust side it's a tuple of (u64).
Also the WrExternalImageIdType enum should be WrExternalImageType for consistency.
MozReview-Commit-ID: DgOf4xfY9h3
2017-04-10 17:38:02 -04:00
Kartikaya Gupta
1358415529
Bug 1355187 - Rename some struct fields so that the Rust/C++ names are the same. r=rhunt
...
The binding generator just takes the Rust field names and uses that in the
generated C++ structs. So installing the autogenerated bindings is easier if
we make sure the names are the same ahead of time.
MozReview-Commit-ID: 6cuzmtI5Qqw
2017-04-10 17:38:02 -04:00
Kartikaya Gupta
2e1233a137
Bug 1355187 - Add type aliases for instantiations of WrSideOffsets. r=rhunt
...
The binding generator needs this in order to deal with the generic-ness of the
WrSideOffsets type.
MozReview-Commit-ID: GetmNIpqf7O
2017-04-10 17:38:01 -04:00
Kartikaya Gupta
61b80a8602
Bug 1355187 - Update Rust FFI function signatures to use types with Wr prefix. r=rhunt
...
This patch:
- adds a type alias for ExternalImageId and updates uses.
- renames WrExternalImageStruct to drop the "Struct" suffix which is redundant
and not present in the corresponding C++ struct.
- updates the delete-font function to use aliases I added previously.
MozReview-Commit-ID: ILsFihkMlIw
2017-04-10 17:38:01 -04:00
Kartikaya Gupta
48eb1475b5
Bug 1355183 - Mark WrExternalImageType as repr(u32) instead of repr(C). r=rhunt
...
On the C++ side the enum extends from uint32_t, like all the other enums across
the WR FFI boundary. So the Rust side they should be repr(u32).
MozReview-Commit-ID: JOf44I154ea
2017-04-10 17:38:01 -04:00
Kartikaya Gupta
8c1aeb1cb3
Bug 1354951 - Add some typedefs in bindings.rs to make the rust function signatures better match the signatures in webrender_ffi.h. r=rhunt
...
MozReview-Commit-ID: 8JZDNMwLDpN
2017-04-10 10:28:45 -04:00
Kartikaya Gupta
18bf4caba2
Merge m-c to graphics
...
MozReview-Commit-ID: ICVAgHmKVL4
2017-04-10 08:47:20 -04:00
Morris Tseng
d4a7aaf673
Bug 1347469 - Add bindings for gradient border. r=kats
...
MozReview-Commit-ID: H6OwWaeBYWY
2017-04-10 17:27:30 +08:00
Ethan Lin
0834f181db
Bug 1351242 - Add webrender support for nsDisplayBackgroundImage image type. r=mchang
2017-04-07 14:53:16 +08:00
Lee Salzman
22fb7629b8
Bug 1348980 - use UnscaledFont to track WebRender font keys. r=jrmuizel
2017-04-06 17:41:24 -04:00
Kartikaya Gupta
dc8c89efa4
Bug 1353735 - Fix repr(C) on enums to repr(u32). r=jrmuizel
...
MozReview-Commit-ID: FQ6U48xMiRe
2017-04-05 11:19:00 -04:00
Kartikaya Gupta
452cd0c0a2
Bug 1353735 - Fix return value of binding function. r=jrmuizel
...
MozReview-Commit-ID: 3COc4L4J5Y2
2017-04-05 11:18:52 -04:00
Kartikaya Gupta
ebd34c8deb
Bug 1353735 - Fix missing ABI declaration. r=jrmuizel
...
MozReview-Commit-ID: IZkitQliVma
2017-04-05 11:18:43 -04:00
Sotaro Ikeda
fe30e9db69
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
7ab0cb366b
Bug 1351480 - Update bindings for gradients. r=jrmuizel
...
MozReview-Commit-ID: 48bjXH4ZCBi
2017-03-31 19:18:44 -04:00
Kartikaya Gupta
7490c35078
Bug 1351480 - Update calls to add_image to include the ImageData::External wrapper. r=Jerry
...
MozReview-Commit-ID: 7C1qXLtqCbG
2017-04-04 22:46:31 -04:00
Kartikaya Gupta
7ef76c0e9d
Bug 1351480 - Update webrender to 7463ae5908ca1d4065763a8753af5d72a6f78b85. r=jrmuizel
...
In addition to updating gfx/webrender and gfx/webrender_traits, as well as the
Cargo.toml/Cargo.lock files and third-party rust dependencies, this updates
webrender_bindings for the following API changes:
- Update call to update_image for change in 086f912ea86d053d95e5f4eec00cae0d82ee5dba
- Update request_blob_image for new parameter added in 086f912ea86d053d95e5f4eec00cae0d82ee5dba.
- set_root_display_list got renamed to set_display_list, so update call sites.
2017-04-04 22:46:17 -04:00
JerryShih
15fde99d2c
Bug 1347062 - P5: use texture handle directly with webrender. r=nical,sotaro
...
MozReview-Commit-ID: 1XLiFcpFEeu
2017-03-31 22:29:15 +08:00
JerryShih
b0ffca2f70
Bug 1347062 - P4: create RenderBufferTextureHost and RenderMacIOSurfaceTextureHostOGL. r=nical,sotaro
...
1) make RenderTextureHost into a abstract base class for all RenderXXXTextureHost.
2) create a base class RenderTextureHostOGL for all texture handle base texture.
3) create RenderBufferTextureHost for buffer texture at render thread.
4) create RenderMacIOSurfaceTextureHostOGL for MacIOSurface at render thread.
--HG--
rename : gfx/webrender_bindings/RenderBufferTextureHost.h => gfx/webrender_bindings/RenderTextureHost.h
2017-03-31 22:29:14 +08:00
JerryShih
f8987906e1
Bug 1347062 - P3: rename from RenderTextureHost to RenderBufferTextureHost for further updating. r=sotaro
...
We will have a class RenderTextureHost as the base-class and its sub-class RenderBufferTextureHost in next patch. Use "rename" to preserve the file history.
MozReview-Commit-ID: KiqaO616AHc
--HG--
rename : gfx/webrender_bindings/RenderTextureHost.cpp => gfx/webrender_bindings/RenderBufferTextureHost.cpp
rename : gfx/webrender_bindings/RenderTextureHost.h => gfx/webrender_bindings/RenderBufferTextureHost.h
2017-03-31 22:29:14 +08:00
JerryShih
9e90247f7f
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
JerryShih
55f4c680b1
Bug 1347062 - P1: add WrExternalImage binding utility function. r=nical,sotaro
...
MozReview-Commit-ID: 4oJvybXRuTX
2017-03-31 22:29:14 +08:00
Kartikaya Gupta
f480fd6ca6
Bug 1352393 - Bulk import everything in webrender_traits. r=jrmuizel
...
MozReview-Commit-ID: 6LKDcPvIrBz
2017-03-31 09:43:18 -04:00
Kartikaya Gupta
317d304694
Merge m-c to graphics
...
MozReview-Commit-ID: 9kxCUtDZT9J
2017-03-29 10:24:15 -04:00
Sotaro Ikeda
d4d0425579
Bug 1323316 - Use ANGLE for WebRender on Windows. r=jrmuizel,kats
...
MozReview-Commit-ID: Fg5GEWNRtIu
2017-03-29 10:14:19 -04:00
Jeff Muizelaar
d4b306abb2
Bug 1351506. Remove display list copy from wr_api_finalize_builder. r=nical
...
The takes advantage of some new webrender api to eliminate a copy of the
displaylist
2017-03-29 09:07:07 -04:00
Kartikaya Gupta
25748395e5
Bug 1349692 - Update webrender to dafe3579e8dc886e6584116dc52a9362b543c169. r=jrmuizel
...
In addition to updating gfx/webrender and gfx/webrender_traits, this updates
gfx/webrender_bindings for:
- API changes to update_image and push_stacking_context.
- Version bumps needed in Cargo.toml
Also, since offscreen_gl_context is no longer a dependency, this patch removes
that crate and various other crates it depends on.
2017-03-28 17:49:11 -04:00
Wes Kocher
ed79d988f0
Merge autoland to central, a=merge
...
MozReview-Commit-ID: 4DDSNU4ABBB
2017-03-27 17:03:30 -07:00
Nicolas Silva
4a5a35a9a2
Bug 1347641 - Implement the BlobImageRenderer binding glue. r=jrmuizel
2017-03-27 13:44:52 +02:00
Nicolas Silva
96f05a89cc
Bug 1347641 - Add MutByteSlice to pass mutable u8 slices across ffi. r=jrmuizel
2017-03-27 13:44:43 +02:00
Nicolas Silva
c95461e37f
Bug 1347641 - Add ByteSlice to pass constant u8 slices across ffi. r=jrmuizel
2017-03-27 13:44:22 +02:00
Kartikaya Gupta
2f4b68419d
Bug 1349643 - Loosen thread assertion slightly. r=nical
...
When changing the webrender profiler enabled/disabled state, the change propagates
to webrender via the main thread. This violates a thread assertion. However,
the thread assertion is mostly for documentation, so we can loosen it a little
to allow for this scenario.
MozReview-Commit-ID: FWfAchQUEUq
2017-03-24 10:07:00 -04:00
Kartikaya Gupta
0fee7584e7
Merge m-c to graphics
...
MozReview-Commit-ID: 1rTRVEHequ9
2017-03-23 10:01:31 -04:00
Mason Chang
b8ac3c92fc
Bug 1348913 - Update webrender to 0794911f97cae92496fca992d7430da696fa24eb. r=kats
2017-03-22 14:26:52 -07:00
sotaro
8d50f9ae87
Bug 1348209 - Make wr_renderer_readback() as to handle both GL and GLES r=kats
2017-03-21 11:27:27 +09:00
Sotaro Ikeda
ece294bef8
Bug 1325911 - Update Gleam to v0.4. r=kats
...
MozReview-Commit-ID: 6QghwNrEC9V
2017-03-20 12:10:40 -04:00
Kartikaya Gupta
3a0ad46db3
Bug 1350986 - Add some gfxCriticalNote messages for WebRender startup failure codepaths. r=jrmuizel
...
MozReview-Commit-ID: 7VHA8QBMvJ8
--HG--
extra : rebase_source : e90a2a9f5d89e417e02b1a6cc67fcc3e6973c115
2017-03-27 14:32:39 -04:00
Mason Chang
f47b17cdff
Bug 1347727. Detect box shadow outer cases that WR doesn't support and don't enable a layer for it in WR. r=rhunt
2017-03-17 15:06:57 -07:00
Martin Robinson
0b2914c22c
Bug 1347155 - WebRender clips should not share ServoScrollRootIds. r=jrmuizel
...
MozReview-Commit-ID: JVqe0IWqpJs
2017-03-14 15:26:10 +01:00
Kartikaya Gupta
ca0d33d72c
Bug 1344947 - Update webrender to e30fb2914928c0e596d8632ed234647c0fd1492e. r=jrmuizel
...
This also updates calls to push_scroll_layer in webrender_bindings to go with
a change in the API.
2017-03-13 13:03:06 -04:00
Morris Tseng
11f13fedeb
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
c929394332
Bug 1345975 - Run WebRender bindings through rustfmt r=kats
...
MozReview-Commit-ID: 6v8MLG9WsDE
--HG--
extra : rebase_source : 051f220bcf499c3b53ac721c2fb01e822ca750ed
extra : histedit_source : 6a1550bc1f2e70cc29a18343f9893041f0a255bf
2017-03-09 17:54:17 -05:00
Ryan Hunt
ce3aaba06a
Bug 1345975 - Use some enums with repr(u32) directly r=kats
...
MozReview-Commit-ID: Hbr2aNTUhDA
--HG--
extra : rebase_source : 538894f620a4523d6968055a775b0cbcfc57c7ac
extra : histedit_source : 1ff190b22dbe3b5d16c487c210e82c5de352b6a9
2017-03-09 17:39:40 -05:00
Ryan Hunt
602d7e6e42
Bug 1345975 - Sort WebRender binding definitions r=kats
...
MozReview-Commit-ID: B1Z5IcAq8Qm
--HG--
extra : rebase_source : 2fd5eef5295c3191b07a52164f40aada5bcc41ca
extra : histedit_source : 93c2cdaf1b9310b0a2218a9f255fe4d2ecae6499
2017-03-09 17:39:19 -05: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
Ryan Hunt
4450cd3bae
Bug 1345907 - Use clip region instead of clip rect r=kats
...
--HG--
extra : rebase_source : 23506430d8aa7b2097de208a3415d8597a1e13cd
2017-03-09 11:57:06 -05:00
Ryan Hunt
f940d903d8
Bug 1345907 - Add bindings for ClipRegion r=kats
...
--HG--
extra : rebase_source : ef7e188eee29e2d2abc069940c84e4e3769948ed
2017-03-09 11:54:16 -05:00
sotaro
6a06e56c91
Bug 1345344 - Pass stride for ExternalImageBuffer r=nical
2017-03-09 11:10:09 +09:00
Ryan Hunt
cfc9025674
Bug 1341101 part 3 - Support building WR gradients in nsCSSGradientRenderer r=mattwoodrow
...
MozReview-Commit-ID: HLSmseHj5Si
--HG--
extra : rebase_source : b8e39ba51c6ab28a2c9ed7b694e5098e50bf022c
2017-03-15 03:20:02 -04:00
sotaro
1d710a54ef
Bug 1343764 - Add ExternalBuffer handling r=nical
2017-03-07 19:37:28 +09:00
Jeff Muizelaar
900393a0dc
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
724ef940ac
Bug 1343019 - Call set_window_parameters as appropriate. r=kats
...
MozReview-Commit-ID: 14f4vetRM98
2017-03-06 17:41:51 -05:00
Kartikaya Gupta
cc2056e901
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
--HG--
rename : third_party/rust/servo-dwrote/.gitignore => third_party/rust/dwrote/.gitignore
rename : third_party/rust/servo-dwrote/README.md => third_party/rust/dwrote/README.md
rename : third_party/rust/servo-dwrote/src/bitmap_render_target.rs => third_party/rust/dwrote/src/bitmap_render_target.rs
rename : third_party/rust/servo-dwrote/src/com_helpers.rs => third_party/rust/dwrote/src/com_helpers.rs
rename : third_party/rust/servo-dwrote/src/comptr.rs => third_party/rust/dwrote/src/comptr.rs
rename : third_party/rust/servo-dwrote/src/font.rs => third_party/rust/dwrote/src/font.rs
rename : third_party/rust/servo-dwrote/src/font_collection.rs => third_party/rust/dwrote/src/font_collection.rs
rename : third_party/rust/servo-dwrote/src/font_face.rs => third_party/rust/dwrote/src/font_face.rs
rename : third_party/rust/servo-dwrote/src/font_family.rs => third_party/rust/dwrote/src/font_family.rs
rename : third_party/rust/servo-dwrote/src/font_file.rs => third_party/rust/dwrote/src/font_file.rs
rename : third_party/rust/servo-dwrote/src/font_file_loader_impl.rs => third_party/rust/dwrote/src/font_file_loader_impl.rs
rename : third_party/rust/servo-dwrote/src/gdi_interop.rs => third_party/rust/dwrote/src/gdi_interop.rs
rename : third_party/rust/servo-dwrote/src/glyph_run_analysis.rs => third_party/rust/dwrote/src/glyph_run_analysis.rs
rename : third_party/rust/servo-dwrote/src/helpers.rs => third_party/rust/dwrote/src/helpers.rs
rename : third_party/rust/servo-dwrote/src/rendering_params.rs => third_party/rust/dwrote/src/rendering_params.rs
rename : third_party/rust/servo-dwrote/src/test.rs => third_party/rust/dwrote/src/test.rs
rename : third_party/rust/servo-dwrote/src/types.rs => third_party/rust/dwrote/src/types.rs
2017-03-06 18:46:30 -05:00
sotaro
99e7d5243f
Bug 1342833 - WebRenderBridgeParent::ClearResources() does not clear DisplayList r=jrmuizel
2017-03-06 10:42:17 +09:00
Kartikaya Gupta
da21c649df
Bug 1343984 - Turn on warnings-as-errors for webrender_bindings. r=jrmuizel
...
MozReview-Commit-ID: C8r1IwbQP7g
2017-03-02 16:26:27 -05:00
Kartikaya Gupta
0b39a30695
Bug 1343984 - Comment out the unused WrExternalImageIdType stuff as it produces hard-to-remove webrender_bindings warnings. r=jrmuizel
...
MozReview-Commit-ID: 3CGCGPAVBNn
2017-03-02 16:26:17 -05:00
Kartikaya Gupta
59016d2bf3
Bug 1343984 - Fix trivial webrender_bindings warnings. r=jrmuizel
...
MozReview-Commit-ID: 4jJu1ERRIz6
2017-03-02 16:26:07 -05:00
Mason Chang
bc8f4ec5ff
Bug 1343253 - Enable AA and Subpixel AA in Webrender. r=milan
2017-03-02 08:37:59 -08:00
Jeff Muizelaar
6baef7cadb
Bug 1341064. Send child side built display lists over gecko ipc to compositor.
2017-03-01 20:37:59 -05:00
sotaro
2fef961bd1
Bug 1343457 - Update external image adding api r=kats
2017-03-02 10:22:40 +09:00
Jeff Muizelaar
f854a142b9
Bug 1342558. Change SetRootDisplayList to consume built display lists. r=nical
2017-03-01 09:10:53 -05:00
JerryShih
cf4e2ef241
Bug 1340997
- add external image callback in RendererOGL. r=sotaro
...
MozReview-Commit-ID: 8aCSe1iu44C
2017-03-01 17:08:56 +08:00
JerryShih
72f82dbc84
Bug 1340997
- rename the external image related structure in webrender_ffi. r=sotaro
...
The name of "WrExternalImageIdId" is a little bit strange.
MozReview-Commit-ID: 8pfWxg5XuYS
2017-03-01 17:08:56 +08:00
Kartikaya Gupta
a9e3ac0760
Bug 1343089 - Remove unnecessary crate dependencies from webrender_bindings. r=rhunt
2017-02-28 09:08:58 -05:00
Kartikaya Gupta
00385fa6ae
Bug 1341968
- Update webrender to commit 501e3d79c8a3019762bd8bd2d00eecf7811a84de. r=jrmuizel
...
This also updates webrender_bindings for a few API changes:
- new offset field in ImageDescriptor
- new tiling argument to add_image
- change in set_root_display_list
MozReview-Commit-ID: JUgPviRdekc
2017-02-27 10:36:49 -05:00
sotaro
d489fa0451
Bug 1342380 - Enable VsyncScheduler again r=kats
2017-02-27 09:27:04 +09:00
sotaro
0d90fdd46a
Bug 1341524 - Fix NotifyDidComposite() and WebRender epoch r=nical
2017-02-24 12:22:59 +09:00
Jeff Muizelaar
6296f9be71
Bug 1342246. Generate resource ids on the client side. r=lsalzman
2017-02-23 17:52:38 -05:00
Jeff Muizelaar
f8d31e3f34
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
33d74b040e
Bug 1340871 - Add CompositorUseANGLE info to TextureFactoryIdentifier. r=nical
...
MozReview-Commit-ID: GjlZS6T2i0p
2017-02-23 16:46:56 +08:00
Kartikaya Gupta
90419861cd
Bug 1340270 - Update webrender and webrender_traits to cset edc74274d28b1fa1229a1d1ea05027f57172b992. r=jrmuizel
...
This also:
1) Updates the webrender_bindings Cargo.toml file to use the latest version
numbers of webrender and webrender_traits
2) Updates the webrender_bindings Cargo.toml file to use the same version of
other dependencies (euclid, etc.) as webrender itself does
3) Updates the webrender_bindings glue code for API changes in push_border,
add_image, and add_raw_font.
--HG--
rename : third_party/rust/dwrote/.gitignore => third_party/rust/servo-dwrote/.gitignore
rename : third_party/rust/dwrote/README.md => third_party/rust/servo-dwrote/README.md
rename : third_party/rust/dwrote/build.rs => third_party/rust/servo-dwrote/build.rs
rename : third_party/rust/dwrote/src/bitmap_render_target.rs => third_party/rust/servo-dwrote/src/bitmap_render_target.rs
rename : third_party/rust/dwrote/src/com_helpers.rs => third_party/rust/servo-dwrote/src/com_helpers.rs
rename : third_party/rust/dwrote/src/comptr.rs => third_party/rust/servo-dwrote/src/comptr.rs
rename : third_party/rust/dwrote/src/font.rs => third_party/rust/servo-dwrote/src/font.rs
rename : third_party/rust/dwrote/src/font_collection.rs => third_party/rust/servo-dwrote/src/font_collection.rs
rename : third_party/rust/dwrote/src/font_face.rs => third_party/rust/servo-dwrote/src/font_face.rs
rename : third_party/rust/dwrote/src/font_family.rs => third_party/rust/servo-dwrote/src/font_family.rs
rename : third_party/rust/dwrote/src/font_file.rs => third_party/rust/servo-dwrote/src/font_file.rs
rename : third_party/rust/dwrote/src/font_file_loader_impl.rs => third_party/rust/servo-dwrote/src/font_file_loader_impl.rs
rename : third_party/rust/dwrote/src/gdi_interop.rs => third_party/rust/servo-dwrote/src/gdi_interop.rs
rename : third_party/rust/dwrote/src/glyph_run_analysis.rs => third_party/rust/servo-dwrote/src/glyph_run_analysis.rs
rename : third_party/rust/dwrote/src/helpers.rs => third_party/rust/servo-dwrote/src/helpers.rs
rename : third_party/rust/dwrote/src/rendering_params.rs => third_party/rust/servo-dwrote/src/rendering_params.rs
rename : third_party/rust/dwrote/src/test.rs => third_party/rust/servo-dwrote/src/test.rs
rename : third_party/rust/dwrote/src/types.rs => third_party/rust/servo-dwrote/src/types.rs
2017-02-22 23:07:59 -05:00
Kartikaya Gupta
c9291524ea
Bug 1341362 - Use default values for RendererOptions instead of explicitly specifying each one. r=jrmuizel
...
MozReview-Commit-ID: 275n8D1KfOK
2017-02-22 15:15:05 -05:00
Kartikaya Gupta
b215cfd1e1
Bug 1342450 - Rename MOZ_ENABLE_WEBRENDER to MOZ_BUILD_WEBRENDER. r=rhunt
...
MozReview-Commit-ID: 3GkmCJJq8et
2017-03-22 17:36:25 -04:00
Mason Chang
b4d5056da5
Bug 1340317 - Support box shadow outer offset and spread radius in WebRender box shadows. r=lsalzman
2017-02-16 15:05:34 -08:00
Mason Chang
0ea905c944
Bug 1339661. Declare WrBoxShadowClipMode a uint32_t. r=me
2017-02-17 09:08:59 -08:00
Ryan Hunt
aa1ca51b5a
Bug 1340338 - Fix non enable-webrender build bustage r=me
2017-02-17 10:36:48 -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
JerryShih
90f69d6a99
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
1b865cca31
Bug 1337821 - the comment for snapshot event passing. r=nical DONTBUILD
...
MozReview-Commit-ID: 28tpzIwmV4R
2017-02-16 11:32:34 +08:00
sotaro
84913d68db
Bug 1339313 - Remove wr_gl_init() r=nical
2017-02-16 11:24:55 +09:00
Ryan Hunt
d06562175e
Bug 1339907 - Make sure WebRender windows record into different files r=jrmuizel
...
--HG--
extra : amend_source : cfd58276cde8f518b72a292bf509767627c2be03
2017-02-15 14:41:02 -05:00
Ryan Hunt
5f7662d029
Bug 1339657 - Make recording for wrench a static bool r=jrmuizel
...
--HG--
extra : rebase_source : 9cbf796c1e218de781ba7dffe1df9e701354dc05
extra : amend_source : 9ffe2fe78f409de5cf0fcaef0bfb444a97b53397
2017-02-14 19:29:51 -05: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
JerryShih
6b121b94c7
Bug 1338274 - remove MOZ_USE_RENDER_THREAD def. r=nical
...
MozReview-Commit-ID: 8UrioLOq37Z
2017-02-10 10:16:47 -05:00
JerryShih
972b7db4ff
Bug 1338274 - clean up webrender_binding. r=nical
...
MozReview-Commit-ID: 4TdnTXjzo52
2017-02-10 10:16:47 -05:00
JerryShih
3b7a69366c
Bug 1338274 - remove the usage of WrWindowState, Compositor and GLContext in WebRenderBridgeParent. r=nical
...
MozReview-Commit-ID: CKK9cBLlYnh
2017-02-10 10:16:47 -05:00
Ethan Lin
ca5a5c5ca8
Bug 1337291
- Part2. Pass border style to webrender. r=mattwoodrow
2017-02-10 15:44:59 +08:00
JerryShih
9b4dcd043d
Bug 1337803 - turn on renderer thread. r=nical
...
MozReview-Commit-ID: KV4KOGvAOlj
2017-02-09 09:05:19 -05:00
JerryShih
4e5cb8f21b
Bug 1337803 - fix pipeline_id calculation error. r=nical
...
MozReview-Commit-ID: ZpRd1FmskC
2017-02-09 09:05:19 -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
sotaro
b16d879362
Bug 1337281 - Fix WebRenderAPI::Readback() r=nical
2017-02-08 10:28:37 +09: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
Nicolas Silva
c49c387b31
Bug 1333565
- Accidentally unapplied changes from the previous commit. r=jrmuizel
2017-01-27 16:08:17 -05:00
Nicolas Silva
a106148e0e
Bug 1333565
- Fix the epoch/transactionId plumbing when the render thread is enabled. r=jrmuizel
2017-01-27 15:30:18 -05:00
Jeff Muizelaar
e56c66022e
Bug 1333923. Update webrender bcf3c371086894f5e1d098ee60f0592abf01f6b3. r=gfx?
2017-01-25 17:31:23 -05:00
Jeff Muizelaar
eb0b758e56
Bug 1333593. Add support for snapshotting with the RenderThread. r=nical
2017-01-24 23:29:34 -05:00
Kartikaya Gupta
6297f79dd0
Bug 1333505 - Some minor code cleanup. r=nical
...
MozReview-Commit-ID: 3qaIxt9To5j
2017-01-24 16:20:54 -05:00
Kartikaya Gupta
29dfe5930f
Bug 1333505 - Some cosmetic cleanup (comments/whitespace/alpha-sorting). r=nical
...
MozReview-Commit-ID: 2DYABsBzSrs
2017-01-24 16:06:17 -05:00
Kartikaya Gupta
bba4386e2f
Bug 1333397 - Rename WRGlyphInstance to WrGlyphInstance for naming consistency. r=gfx?
...
MozReview-Commit-ID: K6Y5H7WOe87
2017-01-24 08:44:23 -05:00
Kartikaya Gupta
4aa491b578
Bug 1331792 - Stop using MOZ_MAKE_COMPILER_ASSUME_IS_UNREACHABLE in functions called from destructors to better work around VC++ compiler warnings. r=gfx?
...
MozReview-Commit-ID: Jh0OooS3ijl
2017-01-20 14:46:58 -05:00
Kartikaya Gupta
70fdf5ecb8
Bug 1331792 - Group things by type in webrender_ffi.h and fix up formatting to conform to Mozilla style. r=gfx?
...
MozReview-Commit-ID: 4AFSDRPYNI2
2017-01-20 14:44:26 -05:00
Kartikaya Gupta
34d50a426b
Bug 1325627 - Ensure all serialized Wr* enums have sentinel values and are consistently defined as |enum class|. r=gfx?
...
MozReview-Commit-ID: 5Yfzg9T1W1q
2017-01-20 14:15:55 -05: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
Jeff Muizelaar
568cd6614e
Bug 1332465. Update webrender to 6c15d14bb6b786cad979407e6ed7b86949b4ae48 r=gfx?
2017-01-19 22:33:10 -05:00
Kartikaya Gupta
48a6c2c8d7
Bug 1328602 - Fix incorrect return type in ffi signature. r=gfx?
...
MozReview-Commit-ID: hbkWlWYkDP
2017-01-19 11:17:12 -05: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
Nicolas Silva
2eb8dbabc9
Bug 1328602 - Begin making it possible to not have a Compositor object. r=gfx?
2017-01-18 14:50:00 -05:00
sotaro
ee359c1f8b
Bug 1331828 - Fix ffi inconsistency of wr_readback_into_buffer() r=gfx?
2017-01-18 15:51:39 +09:00
Nicolas Silva
597e71680d
Bug 1328602 - WError fix on Windows. r=kats?
2017-01-17 16:18:34 -05:00
Nicolas Silva
795ddcbcc7
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
95c53d99a6
Bug 1328602 - Fix the image format conversion and some stylistic changes. r=jrmuizel?
2017-01-17 14:48:00 -05:00
Nicolas Silva
b637815c6d
Bug 1328602 - Implement forwarding events to the render thread through the render backend. r=gfx?
2017-01-17 14:46:31 -05:00
Nicolas Silva
d8d26d90cf
Bug 1331515 - More WR to Wr prefix conversion. r=gfx?
2017-01-17 10:17:38 -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
3dbccd2998
Bug 1331515 - Rename WRState into WrState. r=gfx?
2017-01-17 09:32:25 -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
sotaro
1676904e38
Bug 1331541 - Replace gl::GetString() with gl::get_string() r=gfx?
2017-01-17 12:30:34 +09: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
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
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
JerryShih
0c9d622bc9
Bug 1329574 - update WR binding for external image life-time updates. r=nical?
...
MozReview-Commit-ID: e5SZ345Rf2
2017-01-13 20:02:19 +08:00
JerryShih
1833411d22
Bug 1329574 - update webrender_bindings for Renderer options changes. r=gfx?
2017-01-13 20:02:19 +08:00
Nicolas Silva
c95874efc9
Bug 1328602 - Start replacing wrstate with DisplayListBuilder. r=gfx?
2017-01-13 11:25:07 +01: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
Nicolas Silva
b963768154
Bug 1328602 - Begin implementing creating/destroying WebRenderAPI objects. r=gfx?
2017-01-11 13:51:27 +01:00
Kartikaya Gupta
cbabf2480f
Bug 1329666 - Follow-up with small refactoring. r=jrmuizel?
...
MozReview-Commit-ID: HkW73OGgVAU
2017-01-10 14:35:18 -05: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
Nicolas Silva
d4effb9bcb
Bug 1328602 - Expose some more WebRender initialization functions through the C bindings. r=gfx?
2017-01-06 19:10:08 +01:00
Nicolas Silva
c349796b77
Bug 1328602 - Expose Renderer through the c bindings. r=gfx?
2017-01-06 19:10:03 +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
Jeff Muizelaar
8c9b481358
Bug 1329652. wr-bindings: Build the clip region explicitly. r=gfx?
...
We'll want this when adding mask support.
2017-01-09 10:03:34 -05:00
Mason Chang
3a26207249
Bug 1329316. Enable AA and Subpixel AA for WR render options. r=gfx?
2017-01-06 22:40:59 -08: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
Kartikaya Gupta
e90faa1dbd
Bug 1328602 - Follow-up to fix build bustage. r=gfx?
...
MozReview-Commit-ID: 3rOwR4gw8IO
2017-01-06 13:29:56 -05:00
Nicolas Silva
665b09377c
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
5c440ad7ad
Bug 1328602 - Start implementing the render thread. r=gfx?
2017-01-06 19:10:15 +01:00
Nicolas Silva
4ff68fd879
Bug 1328602 - Expose some more WebRender initialization functions through the C bindings. r=gfx?
2017-01-06 19:10:08 +01:00
Nicolas Silva
a9829d0c64
Bug 1328602 - Expose Renderer through the c bindings. r=gfx?
2017-01-06 19:10:03 +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
Jeff Muizelaar
0d16784b61
Bug 1328951. Rename root_dl_builder to dl_builder. r=gfx?
...
Now that we only have one dl_builder let's just call it that.
2017-01-05 13:58:28 -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
a207b5db23
Bug 1325646 - Fix some warnings when building webrender_bindings. r=gfx?
...
MozReview-Commit-ID: 6Fw0j6p8HsI
2016-12-23 12:05:30 -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
JerryShih
d3ed6a3313
Bug 1321144 - add some operators for WRExternalImageId and WRImageKey. r=gfx?
...
MozReview-Commit-ID: 441DP6hn2G5
2016-12-22 17:22:37 +08:00
JerryShih
d5cc4bb246
Bug 1323143 - update WR binding for external image life-time updates. r=nical?
...
MozReview-Commit-ID: e5SZ345Rf2
2016-12-22 13:08:10 +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
Kartikaya Gupta
e51489a7fa
Bug 1324472 - Update webrender_bindings to use LayoutRect instead of LayerRect. r=nical?
...
MozReview-Commit-ID: 1nt9NzR8mpm
2016-12-20 11:14:18 -05:00
Ethan Lin
0e70c8aa34
Bug 1324679 - Fix overflow area for wr_pop_dl_builder. r=nical?
2016-12-20 15:41:24 +08:00
Kartikaya Gupta
40ec6a29b5
Bug 1324472 - Add typed units and missing options in webrender_bindings to go with webrender update. r=gfx?
...
MozReview-Commit-ID: 2Kf4VHsQTrn
2016-12-19 14:29:47 -05:00
sotaro
03919c6190
Bug 1322956 - Fix wr_pop_dl_builder() break r=nical?
2016-12-12 15:12:30 +09:00
JerryShih
42ca26e278
Bug 1320320 - remove the missed-epoch-checking panic in wait_for_epoch() WR bindings. r=mchang?
...
If render_backend hasn't process any display_list yet, there will no epoch data in renderer. So, current_epoch() call will return None in that case.
MozReview-Commit-ID: CDJ2UJ8AHhT
2016-12-07 13:01:29 -10: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
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
Mason Chang
32df29a172
Bug 1319170 - Fix build failure
2016-12-04 12:52:54 -08: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
Mason Chang
c8ef7e4a47
Bug 1321654 - Assert which thread bindings.rs executes in. r=gfx?
2016-12-01 14:10:10 -08:00
Nicolas Silva
0e7017847a
Bug 1321587 - WebRender update. r=gfx?
...
--HG--
rename : third_party/rust/rand/.gitignore => third_party/rust/threadpool/.gitignore
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/threadpool/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/threadpool/LICENSE-MIT
2016-12-01 18:09:55 +01:00
Jerry Shih
a496200d27
Backed out changeset 2d3e477fd282
...
The flush function is removed by Bug 1321417.
2016-12-01 15:28:20 +08:00
JerryShih
8f601bd2c2
Bug 1320320 - flush and wait the last frame's data before webrender render() call. r=jmuizelaar?
...
MozReview-Commit-ID: 4wdvsrWeCsQ
2016-12-01 11:57:46 +08:00
Morris Tseng
1565dfd024
Merge 3c3cd985155f9a0c016b2087fce7a41482dfda5f to graphics.
2016-12-01 10:25:55 +08:00
Mason Chang
976884f26a
Bug 1321417 - Use Epochs to wait for reftests to finish rendering. r=sotaro?
2016-11-30 15:59:47 -08:00
Mason Chang
06b15d89e0
Bug 1321095
Add an epoch for each frame in webrender. r=hshih?
2016-11-29 14:08:32 -08:00
JerryShih
3ba2bba5f2
Bug 1319284 - create a WR imageKey from an external texture. r=nical?
...
add wr_add_external_image_texture() func to create a WR imageKey from an external texture.
MozReview-Commit-ID: DJUsd15EKlw
2016-11-29 11:56:18 +08: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
Jerry Shih
b73b0b4d0e
Merge 8a3e765c52b2 to graphics.
...
--HG--
extra : amend_source : 3d41fc6e0bff2cad4fa71f3912d5a98077785dbc
2016-11-25 18:10:42 +08:00
Morris Tseng
2deb064663
Backed out changeset 2622d62d1f08
2016-11-24 10:55:16 +08: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
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
Kartikaya Gupta
59eaa36242
Bug 1319199 - Update webrender_bindings to opt-out of freetype. r=gfx?
...
Since webrender now re-exports the servo-freetype-sys option as a feature,
we can opt out of having that in webrender_bindings and use the webrender as
unmodified.
This patch also updates the README as the in-tree webrender is now exactly
the same as upstream webrender, which simplifies future updates to webrender.
MozReview-Commit-ID: 6JBtgjWIcn2
2016-11-22 09:52:56 -05:00
sotaro
81b6df55cb
Bug 1317893 - Add CompositorVsyncScheduler to WebRenderBridgeParent r=kats
2016-11-22 11:56:38 +09:00
JerryShih
ace55ba3b3
Bug 1319284 - check WR external image handler is valid before use. r=nical?
...
MozReview-Commit-ID: H8nLTrajRoN
2016-11-22 10:24:00 +08:00
JerryShih
9db97c3c96
Bug 1319284 - WR external image binding. r=nical?
...
MozReview-Commit-ID: 3CHWK6a8C17
2016-11-22 10:13:59 +08: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
5919ed4c3b
Bug 1318100 - Add support for reftests in webrender. r=mstange
2016-11-18 16:10:53 -08:00
Mason Chang
1b2487ad39
Bug 1318761 - Followup cleanup of bindings.rs from kats and vlad. r=kats?
2016-11-18 13:58:49 -08:00
Mason Chang
0769c05c24
Bug 1318761 - Properly create nested stacking contexts in bindings.rs. r=kats?
2016-11-18 12:19:43 -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