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

181 Коммитов

Автор SHA1 Сообщение Дата
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