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

210 Коммитов

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