Commit Graph

326 Commits

Author SHA1 Message Date
Kartikaya Gupta
6027972e8b Bug 1379604 - Update webrender_bindings for API change in WR cset 6824b35. r=mrobinson
MozReview-Commit-ID: KM1kCDK1jvY

--HG--
extra : rebase_source : 1469f0459d2d83882b8d9001c18756f2c23ffe01
2017-07-13 10:28:53 -04:00
Kartikaya Gupta
104c0a782a Bug 1379604 - Update webrender_bindings for API change in WR cset d97598b. r=Gankro
MozReview-Commit-ID: dj0BJvAYXv

--HG--
extra : rebase_source : e9e42c2095e19d611694686a2b44610b5f22e325
2017-07-13 10:28:53 -04:00
Kartikaya Gupta
1faaf0568b Bug 1379604 - Update versions in Cargo.toml/Cargo.lock files. r=jrmuizel
MozReview-Commit-ID: 9PoNmkBFOhF

--HG--
extra : rebase_source : e50e1820e70ef3f4e3c0f8c8854ac45cc202677a
2017-07-13 10:27:44 -04:00
sotaro
3984156c9a Bug 1380578 - Change aHandle of NativeTextureToWrExternalImage() to uint32_t r=nical 2017-07-13 23:28:26 +09:00
Kartikaya Gupta
d17d2bb4c5 Bug 1374730 - Update webrender bindings for API changes in WR cset 5066a13. r=mrobinson
This change preserves the existing semantics of the webrender_bindings code,
although it may result in creating unnecessary clips. A follow-up bug will be
filed to make clip optional in the C++ interface, and avoid passing it in places
where it is not necessary.

MozReview-Commit-ID: KMeBumpgDXL

--HG--
extra : rebase_source : 9ec04e1e8f0b985532908460958f30ed42e220bd
2017-07-10 07:22:39 -04:00
Kartikaya Gupta
1e211e3fc4 Bug 1374730 - Update webrender bindings for API changes in WR cset dfd76c5. r=mrobinson
MozReview-Commit-ID: 4sOJ0ZXG411

--HG--
extra : rebase_source : 1c537ace90587e6ceec8e3d6a3092396be1598aa
2017-07-10 07:22:39 -04:00
Kartikaya Gupta
1c8a416cc1 Bug 1374730 - Update webrender_bindings for API changes in WR cset d8f0040. r=mrobinson
MozReview-Commit-ID: 8Sza9vj5tVg

--HG--
extra : rebase_source : 15e41f3d758a9ae1cdfd0ebbf02cd5e9822054e9
2017-07-10 07:22:39 -04:00
Kartikaya Gupta
3c97dec0f9 Bug 1374730 - Update for webrender_traits getting renamed to webrender_api in cset 5ebe3de. r=nical
MozReview-Commit-ID: 3q0LQyu82wh

--HG--
extra : rebase_source : c946fea386febc0e7ee0ce15cf27232b39fd01bc
2017-07-10 07:22:39 -04:00
Kartikaya Gupta
7fe2c84b1e Bug 1374730 - Update for clip API change in WR cset 0bf6655. r=mrobinson
MozReview-Commit-ID: dEe7yDDZPk

--HG--
extra : rebase_source : 09a1f858a347bdc95baa8015db9fa156b119334a
2017-07-10 07:22:39 -04:00
Kartikaya Gupta
ca68cf1d4a Bug 1374730 - Update for ImageBorder API change in WR cset 9b8ee0c. r=kvark
MozReview-Commit-ID: L2xKwd3eu6Q

--HG--
extra : rebase_source : 9af45c8d29fe90c91a171898763b8be9abd38a2d
2017-07-10 07:22:38 -04:00
Kartikaya Gupta
43d050abae Bug 1374730 - Update webrender_bindings Cargo.toml and cbindgen.toml files. r=jrmuizel
MozReview-Commit-ID: 1rOw37FoHo8

--HG--
extra : rebase_source : ec04551e16d44f6157a379c58ad44253d833f657
2017-07-10 07:19:51 -04:00
sotaro
be208a7200 Bug 1377688 - Remove RenderThread::NewScrollFrameReady() r=kats
WebRenderBridgeParent::CompositeToTarget() calls WebRenderAPI::GenerateFrame() if it is necessary to trigger UpdateAndRender(). It is not necessary to trigger UpdateAndRender() by new_scroll_frame_ready
2017-07-10 10:46:41 +09:00
Ryan Hunt
81eda4a130 Bug 1378543 - Update webrender_bindings for cbindgen:0.1.13. r=kats
MozReview-Commit-ID: LB1LLzBUWd2

--HG--
extra : rebase_source : 0f4486fc7248a4b4e9a33f9d8a0855c6ac034324
extra : amend_source : e510f9bf238975229fabe15475eb6ed6e9e0a7ab
2017-07-05 18:16:44 -04:00
Jeff Muizelaar
1b3f0224fd Bug 1377362. Make InlineTranslator::TranslateRecording() take data instead of a stream. r=lsalzman
This gives us a big improvement to deserialization speed.
2017-07-06 07:15:45 -04:00
sotaro
983800adec Bug 1376527 - Do not call NotifyDidRender when RendererOGL::Render() returned false r=nical 2017-07-04 19:25:24 +09:00
vincentliu
5eb2117b57 Bug 1371546 - Sync with the render thread when ShutDown() was called in main thread. r=nical, jerry 2017-07-03 20:08:22 +08:00
sotaro
178043d1da Bug 1357734 - Change argument of DisplayListBuilder::PushBorder() to bypass compiler bug r=jrmuizel
Visual Studio 2015 Update 3 has a bug that PGO build generates movaps to unaligned address. The patch just bypasses the compiler bu
2017-06-30 16:22:25 -07:00
Mats Palmgren
20e56bd3a7 Bug 1376464 - Use nsRefPtrHashtable for mRenderTextures then use Remove instead of Get+Remove. Replace Get().get() with GetWeak() in assertions. r=froydnj
MozReview-Commit-ID: 6tKFSrPLAW4
2017-06-28 01:03:16 +02:00
Carsten "Tomcat" Book
4e00eff077 merge mozilla-inbound to mozilla-central a=merge 2017-06-27 10:56:41 +02:00
Bill McCloskey
f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Kartikaya Gupta
34903d0ba6 Bug 1376215 - Stop exposing the WrClipRegionToken in WebRenderAPI.h APIs. r=jrmuizel
No functional changes intended in this patch. It merely simplifies the
additional patch that we'll need to update gecko past WR cset 0bf6655,
and saves some potential manual rebasing work.

MozReview-Commit-ID: Km8dBotP3NQ

--HG--
extra : rebase_source : 77c34ec1cbbc1c0fe4d1971feb131d30c97f0d66
2017-06-26 07:49:52 -04:00
Carsten "Tomcat" Book
c2622cfcd0 Backed out changeset 504e5b1de987 (bug 1376215) for bustage 2017-06-26 13:07:09 +02:00
Kartikaya Gupta
b459b56298 Bug 1376215 - Stop exposing the WrClipRegionToken in WebRenderAPI.h APIs. r=jrmuizel
No functional changes intended in this patch. It merely simplifies the
additional patch that we'll need to update gecko past WR cset 0bf6655,
and saves some potential manual rebasing work.

MozReview-Commit-ID: AgMyNapY2Og

--HG--
extra : rebase_source : d8522d8e806522a4a0e8b2cd1669db0374bd5e63
2017-06-25 14:45:54 -04:00
Markus Stange
99dd420f6b Bug 1368846 - Display the window buttons when webrender is used. r=kats,mattwoodrow
MozReview-Commit-ID: Ki4ONGxtzyO

--HG--
extra : rebase_source : b4b223ad64a117cee60fc19819833855b871f95a
2017-06-21 18:58:41 -04:00
Jeff Muizelaar
0de540ca2e Bug 1375534 - Add bindings for setting transform style to PushStackingContext. r=kats 2017-06-22 17:30:27 -04:00
Jeff Muizelaar
29a6af3f3d Bug 1375515 - Add the ability to convert RoundedRects to the WebRender form r=kats 2017-06-22 12:34:48 -04:00
Jeff Muizelaar
e16b0717ca Bug 1373861. Pass a built display list to PushBuiltDisplayList by reference instead of value. r=Ganrko
Previously we needed to pass by value and that was causing us to clear out our
prebuilt display list when we actually wanted to keep it around.

The rust code ended up doing a bit of a silly dance but that's better than copying the display list around.
2017-06-21 18:40:13 -04:00
Carsten "Tomcat" Book
8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Kartikaya Gupta
df9b856f24 Bug 1373381 - Update for NestingIndex change in WR cset 229cf3a. r=mrobinson
MozReview-Commit-ID: CK2andK4v6I

--HG--
extra : rebase_source : 44f9511d97fb80a8f5c8928e31199fb02f405977
2017-06-20 09:38:51 -04:00
Kartikaya Gupta
aed52fd94e Bug 1373381 - Update RGBA8 to BGRA8 since it was renamed in WR cset 264d53d. r=jrmuizel,kvark
MozReview-Commit-ID: 9iGffjS0sKs

--HG--
extra : rebase_source : b2698c9445a4299324615e76b5f50cff91d48796
2017-06-20 09:38:14 -04:00
Kartikaya Gupta
e49c2ac396 Bug 1373381 - Update call to push_built_display_list due to API change in WR cset 4eea6ae. r=jrmuizel,mrobinson
MozReview-Commit-ID: 4WCVnEbf22m

--HG--
extra : rebase_source : 6ad40f37d54d5b461ca02a0c685d86be447bb780
2017-06-20 09:38:05 -04:00
Kartikaya Gupta
40bd0b7997 Bug 1373381 - Update webrender_bindings version numbers and generated header. r=jrmuizel
MozReview-Commit-ID: IVHRPGJedSq

--HG--
extra : rebase_source : 3e03175c117fd1e458e2dfa9a92f0acec267723a
2017-06-20 09:37:08 -04:00
Kartikaya Gupta
beb80358ab Bug 1373378 - Do a better job tracking the ancestor scrollids in DisplayListBuilder. r=jrmuizel
In some cases we need to know the ancestor scrollid of a scrollid that we had
previously pushed onto the stack and then subsequently popped off. Since that
scrollid is no longer actually on the stack at the time of the query, we would
return Nothing(). Instead, this patch adds a map to "remember" previously
encountered scrollids and their ancestors, so that these queries can be correctly
handled.

MozReview-Commit-ID: BrtEv88ZysX

--HG--
extra : rebase_source : a14d72cd535c5cf7f57691b7d8be9aaf26303709
2017-06-16 15:12:24 -04:00
Sebastian Hengst
d70c8aa98b merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-16 09:52:22 +02:00
sotaro
61c0f84377 Bug 1372512 - Fix webrender Key leaks of WebRenderBridgeParent on abnormal shutdown r=kats
This bug handles abnormal client shut down case and Tab move between different windows.

Abnormal client shut down case, WebRenderBridgeParent does not receive IPC messages that are sent during WebRenderLayerManager and WebRenderBridgeChild destruction. In this case, webrender keys except keys of external images are not removed from webrender. Abnormal shut down could happen when content process was crashed or content process was killed by ContentParent if shutdown takes too long time.

In the tab move case, the WebRenderBridgeParent will need to be re-bound to a different CompositorBridgeParent and webrender, and so will need to clear all its related keys from the old webrender. This will happen in a future patch.
2017-06-16 15:31:01 +09:00
Nicolas Silva
f209188047 bug 1373135 - Mark wr_thread_pool_delete destructor-safe. r=kats 2017-06-15 14:20:12 +02:00
Sebastian Hengst
1b26da1b2f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-15 11:17:07 +02:00
JerryShih
6175226606 Bug 1372803 - Remove the unnecessary AsMacIOSurfaceTextureHostOGL() interface in RenderTextureHostOGL. r=sotaro
This function is not necessary in our current implementation.

MozReview-Commit-ID: IyfzLTs3uQ6
2017-06-15 17:07:46 +08:00
Bobby Holley
edc99fdc0c Bug 1341102 - Cherry-pick 0.8 rayon bump for in-tree webrender. r=kats
MozReview-Commit-ID: HZmoxOQzHrk
2017-06-14 20:21:38 -07:00
Wes Kocher
c2afdb09bd Backed out changeset 5df8f9f0a5b9 (bug 1370430) to see if it unbreaks builds a=backout CLOSED TREE
MozReview-Commit-ID: G2snPHLTZg5

--HG--
rename : third_party/rust/euclid-0.13.0/src/matrix2d.rs => third_party/rust/euclid/src/matrix2d.rs
rename : third_party/rust/euclid-0.13.0/src/matrix4d.rs => third_party/rust/euclid/src/matrix4d.rs
extra : amend_source : 796c79ec645c0d1d357d052585ef9da24ec887fe
2017-06-13 19:16:09 -07:00
Wes Kocher
09a205279b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7AS5EEH6buZ
2017-06-13 18:36:04 -07:00
Wes Kocher
1af6d5cf57 Merge inbound to central, a=merge
UPGRADE_NSS_RELEASE
MozReview-Commit-ID: CBIFPwA5aNp

--HG--
extra : amend_source : 035a5be59d0046a643d0f836a95195e8c4ade4a6
2017-06-13 18:27:10 -07:00
Kartikaya Gupta
594d9df8f5 Bug 1370430 - Update webrender to cset 6752684fcc7402b0a5480e0b9f73152b2f9ed1e5. r=jrmuizel
In addition to update webrender/ and webrender_traits/, this updates
the webrender_bindings dependency on euclid to euclid-0.14.4. It also
updates some webrender_bindings code for this dependency update, and
for the BlobImageRenderer API change in WR cset 36a9117.

MozReview-Commit-ID: JlmTHrFdfUM

--HG--
rename : third_party/rust/euclid/src/matrix2d.rs => third_party/rust/euclid-0.13.0/src/matrix2d.rs
rename : third_party/rust/euclid/src/matrix4d.rs => third_party/rust/euclid-0.13.0/src/matrix4d.rs
2017-06-13 11:10:14 -04:00
Kartikaya Gupta
e5fa0b8e06 Bug 1372321 - Log the mask rect when passing a WrImageMask to WR. r=jrmuizel
MozReview-Commit-ID: 3CdjfiwzZiJ

--HG--
extra : rebase_source : d3a6aac4042412d82aa1c3a5f47a40230d5297eb
2017-06-13 08:42:39 -04:00
Kartikaya Gupta
34ddac837f Bug 1372321 - When pushing a clip item, ensure the clip rect and mask rect are relative to the content rect. r=mrobinson+572841
MozReview-Commit-ID: BGnsq9qoinV

--HG--
extra : rebase_source : 1899a2b27e78c7552effc7ac2d4c1703a9ebbe30
2017-06-13 08:42:37 -04:00
Kartikaya Gupta
1e6ddf03d5 Bug 1372912 - Make the clip id more strongly typed. r=jrmuizel,mrobinson
This patch is not really needed, but it avoids accidental conversion
between FrameMetrics::ViewID (which represents a scrolling clip) and a
uint64_t id for a non-scrolling clip.

MozReview-Commit-ID: JriIfpECHe7

--HG--
extra : rebase_source : a7af8465c9c62a60856c190da64667439233f4b0
2017-06-15 17:02:20 -04:00
Sebastian Hengst
8d132d70e6 Backed out changeset 8176859f8b70 (bug 1372912) 2017-06-15 22:58:57 +02:00
Kartikaya Gupta
f910c3f66e Bug 1372912 - Make the clip id more strongly typed. r=jrmuizel,mrobinson
This patch is not really needed, but it avoids accidental conversion
between FrameMetrics::ViewID (which represents a scrolling clip) and a
uint64_t id for a non-scrolling clip.

MozReview-Commit-ID: BU7p4WNocXa

--HG--
extra : rebase_source : 0cf69ca0a7b716bd9ad5c3cef114a3b99ec00e1b
2017-06-15 09:41:46 -04:00
peter chang
c09bd44dec Bug 1371114 - Add gecko profiler labels for WebRender, r=kats
MozReview-Commit-ID: 4TRZgV8X1Ml

--HG--
extra : rebase_source : 1152c3a1d3444ebf91d55b2e2de4f123e1139a7f
2017-06-09 11:56:13 +08:00