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

552 Коммитов

Автор SHA1 Сообщение Дата
sotaro dff4491cb4 Bug 1391159 - Handle WebRender ProgramBinary usage r=nical 2017-11-24 20:58:24 +09:00
arthur.iakab 63f0034937 Merge mozilla central to inbound r=merge a=merge on a CLOSED TREE 2017-11-24 12:07:48 +02:00
sotaro cfdcc07b34 Bug 1419307 - Make WebRenderAPI::~WebRenderAPI() fast r=nical 2017-11-24 18:34:50 +09:00
Kartikaya Gupta e9fd0f40fe Bug 1419440 - Update for API change in WR PR 2082. r=mstange
MozReview-Commit-ID: LA846SceCWX

--HG--
extra : rebase_source : 897b45d30d374be3df7d6ea025a2d27edad9776f
2017-11-23 09:40:00 -05:00
Dzmitry Malyshau f32ca3183a Bug 1419440 - Update for API changes in WR PR 2050. r=kats
MozReview-Commit-ID: 4TFZB8XpY6l

--HG--
extra : rebase_source : 31be31fa926dd9144378146fe8c1a3e47cb389aa
2017-11-23 09:39:42 -05:00
Kartikaya Gupta 230457d0d2 Bug 1419440 - Update webrender to commit b7b07562fda338fcb2faff66ce01aafb6235fbcf. r=mstange
MozReview-Commit-ID: F1WeQbL6Bhg

--HG--
extra : rebase_source : a92afa0d5268d23eb3b10ec378ac242afe1b7ad9
2017-11-23 09:38:38 -05:00
Kartikaya Gupta f3a3381969 Bug 1420218 - Fix copy/paste error. r=mstange
MozReview-Commit-ID: BVwciN6L8wq

--HG--
extra : rebase_source : a4d4ade504ee1d4dd9778a7d1528c6b62517225a
2017-11-23 12:13:28 -05:00
Kartikaya Gupta 886598770a Bug 1418374 - Follow-up to ensure cbindgen generates the != operator for ImageKey. r=me and DONTBUILD
MozReview-Commit-ID: G2OygQ4wdSE
2017-11-22 09:16:57 -05:00
Ethan Lin e5621be884 Bug 1418374 - Discard blob image key when we create another new one. r=kats
MozReview-Commit-ID: FOa25SkYmdK

--HG--
extra : rebase_source : a04e8739df23c325d7026bfff714a9bddaea5b19
2017-11-21 11:49:42 +08:00
Lee Salzman c24cda1bc5 Bug 1418315 - Use foreign_types to access CGFontRef from mac NativeFontHandle. r=kats
MozReview-Commit-ID: K9hyixeTAsz

--HG--
extra : rebase_source : d99315c4b19e23194469a824bb1904a377f62b7b
2017-11-20 16:33:38 -05:00
Kartikaya Gupta 7b9d5f0d04 Bug 1418315 - Update webrender to commit 81cfbcf0763205f25329adb9b2ff75d1cd56e3f1. r=nical
MozReview-Commit-ID: 8eGY2WPahzB

--HG--
extra : rebase_source : d22c8a51ef7b55d99e7213c218cecb407ede11c8
2017-11-21 10:40:43 -05:00
Lee Salzman 001e79ef65 Bug 1416542 - lock access to the blob image font data table. r=nical
MozReview-Commit-ID: 30dwLt74L38
2017-11-20 11:34:36 -05:00
Kartikaya Gupta 81e67cd608 Bug 1417519 - Hook up APZ to use the hit-testing API. r=botond,mstange
This adds the code that APZ needs to use the WR hit-testing API. For now
(if the pref is enabled) it just does the hit-test and compares the
result to the regular hit-test, printing out discrepancies. It also
doesn't yet get the scrollbar result.

MozReview-Commit-ID: 3pjYSWDGeDr

--HG--
extra : rebase_source : 9766fe3e77dd85f130ce155041cec7c0daae67ec
2017-11-17 20:28:44 -05:00
Kartikaya Gupta 970ae8d67f Bug 1417062 - Update for API change in WR PR 2043. r=nical
MozReview-Commit-ID: 1tkg8G6BT2Q

--HG--
extra : rebase_source : c12aedca9dc1f558a89172478b16a16aa039f059
2017-11-17 08:43:49 -05:00
Kartikaya Gupta 6b90531555 Bug 1417062 - Update webrender to commit d490a74c438d987122c600afca6bb2247ab38637. r=nical
MozReview-Commit-ID: 4i2RKAFTAMd

--HG--
extra : rebase_source : df9734e5475a2d0e133553dbb10b07f417d5b985
2017-11-17 08:42:23 -05:00
Kartikaya Gupta a02e29e13b Bug 1389149 - Add WR bindings for setting hit-test info and doing hit-tests. r=mstange
This exposes some functions on wr::DisplayListBuilder to set hit-test
info and to do hit-tests.

The mechanism to set hit-test info is made a little more generic than is
actually used in this patchset, because doing it this way allows for
more optimization possibilities.
Specifically, the API allows setting some hit-testing state which is then
applied to all display items that are created until that state is
updated or cleared. An alternative would be to specify the hit-testing
state explicitly when creating particular display items; however doing
that would force the call sites that create the display items to compute
or obtain the hit-testing state, which would make the code less
encapsulated and harder to refactor/optimize.

MozReview-Commit-ID: EJoCFv83iu8

--HG--
extra : rebase_source : d2a117a52144f76dcc312de2a4047298e78135cb
2017-11-15 11:39:44 -05:00
peter chang 8d32c73914 Bug 1410334 - Create correct animation properties based on WrAnimationProperty info, r=kats
MozReview-Commit-ID: 6LNbwQd9IfX

--HG--
extra : rebase_source : 2b53786ae996237bef7bf8100087b3f48667d718
2017-11-15 16:09:21 +08:00
peter chang a90de5cb7d Bug 1410334 - Add new WrAnimationProperty, r=kats
Store the animation id and the animation effect type

MozReview-Commit-ID: 10Zxy5vJV1X

--HG--
extra : rebase_source : 3e6b9d347d2404edfc80c3e7cc2250456902ab72
2017-11-15 16:03:10 +08:00
Noemi Erli f24a75f9b7 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-15 12:15:40 +02:00
Noemi Erli 550148ab69 Merge inbound to mozilla-central r=merge a=merge 2017-11-15 11:57:12 +02:00
Lee Salzman 29099d481c Bug 1416607 - error when Moz2DImageRenderer fails to create a NativeFontResource or UnscaledFont. r=jrmuizel
MozReview-Commit-ID: Jool723LUFX
2017-11-14 23:15:31 -05:00
Lee Salzman 011e836339 Bug 1416607 - follow-up - typo fix in error message. r=me 2017-11-14 23:27:16 -05:00
Kartikaya Gupta 9e0fc459e6 Bug 1416258 - Update webrender to commit 8a39cf24f493e894a66c2465dd310a2b2923e558. r=jrmuizel
MozReview-Commit-ID: IjTJa62Op9b

--HG--
extra : rebase_source : 2de0202e76d7ffd58b01ad9f90b8a9660a2022cf
2017-11-14 09:19:11 -05:00
Morris Tseng 78bddf84f9 Bug 1342762 - Remove pipeline in RemovePipelineIdForCompositable. r=nical
MozReview-Commit-ID: 29NrWHCGR5V

--HG--
extra : rebase_source : 25a4fc2f1abef15dbf5515516a45a34079acc8dd
2017-11-13 17:32:23 +08:00
JerryShih c061f3959d Bug 1371838 - set the window_id as renderer_id to WR. r=jrmuizel
MozReview-Commit-ID: 7YbQNzTNpmE
2017-11-11 18:57:31 +08:00
JerryShih 4eb77c1992 Bug 1371838 - add a custom thread listener to WR. r=jrmuizel
MozReview-Commit-ID: yyFwBr21F3
2017-11-11 18:57:31 +08:00
JerryShih 56d6261465 Bug 1371838 - register the WR thread pool's thread to gecko profiler. r=jrmuizel
MozReview-Commit-ID: BUyTq2vz3cO
2017-11-11 18:57:31 +08:00
JerryShih 8b031732c0 Bug 1371838 - export the gecko profiler registering function to WR. r=jrmuizel
MozReview-Commit-ID: 2gVAmU2xomP
2017-11-11 18:57:31 +08:00
Milan Sreckovic 639eb384ce Bug 1416306 - Make the function argument a const& instead of passing by value. r=mstange 2017-11-10 10:29:00 -05:00
sotaro 03a781381b Bug 1416594 - Add SurfaceFormat::R8G8B8A8 handling to SurfaceFormatToImageFormat() r=nical 2017-11-15 07:15:11 +09:00
JerryShih 7fa50ff43a Bug 1415816 - integrate gfxCriticalNote/gfxCriticalError for WebRender in gpu process. r=kats
MozReview-Commit-ID: 3Mey7XRYRn6
2017-11-10 07:30:53 -05:00
Narcis Beleuzu 218e1676cb Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
Margareta Eliza Balazs 130574a8e2 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-08 00:09:29 +02:00
Lee Salzman 62496c6987 Bug 1412545 - avoid race condition when setting Cairo ft font user data. r=jrmuizel
MozReview-Commit-ID: 4aqfj2xlCc2
2017-11-07 14:10:31 -05:00
Kartikaya Gupta 185e484e8c Bug 1414271 - Update for API change in WR PR 1977. r=jrmuizel
MozReview-Commit-ID: Hcnlj0uFHN3

--HG--
extra : rebase_source : 99c14d374bc84cba3cd57ab7bfd40623516791f4
2017-11-07 08:32:07 -05:00
Kartikaya Gupta 8ce461077b Bug 1414271 - Update webrender to commit 34f1e8ed19a19cb950deef89ee31c1cf3d442d22. r=jrmuizel
Also includes regenerated FFI header.

MozReview-Commit-ID: BwH36DHIvrc

--HG--
extra : rebase_source : c672b765e5b56e60d158d492cfbe4ee86b5ce223
2017-11-07 08:31:57 -05:00
Lee Salzman 135158086d Bug 1403198 - support WR native font handles in blob image. r=jrmuizel
MozReview-Commit-ID: 1n0z2xNZDxp
2017-11-06 20:21:25 -05:00
Lee Salzman 826eee8b2a Bug 1403198 - support WR font descriptors on Mac. r=jrmuizel
MozReview-Commit-ID: BqN51yY88oJ
2017-11-06 20:21:06 -05:00
Lee Salzman 3e6f5e1180 Bug 1403198 - support WR font descriptors with DWrite. r=jrmuizel
MozReview-Commit-ID: 8u3kYoKYOuC
2017-11-06 20:20:43 -05:00
Lee Salzman b70e5bcc71 Bug 1403198 - support WR font descriptors with Fontconfig. r=jrmuizel
MozReview-Commit-ID: L52PYBwEqNw
2017-11-06 20:20:11 -05:00
Lee Salzman f11218633f Bug 1403198 - send font descriptors to WR instead of raw fonts where possible. r=jrmuizel
MozReview-Commit-ID: DYcaO3fE1fc
2017-11-06 20:19:46 -05:00
Markus Stange 9d74ba14bd Bug 1413178 - Initialize the new field that was added in webrender commit 479d43ab4f245c42b33e12f9b6f050045ec84ab3. r=lsalzman
MozReview-Commit-ID: 3oFtSjbnBsI

--HG--
extra : rebase_source : b3d792787a9226265d02eaff027e0919aca1d17d
2017-11-03 00:37:20 -04:00
Kartikaya Gupta 69f8f61109 Bug 1413178 - Re-generate FFI header. r=lsalzman
MozReview-Commit-ID: 53SneuKAusl

--HG--
extra : rebase_source : 9ace105caaf16c9fc2a844cd82a483e84d5ceb53
2017-11-03 10:59:33 -04:00
sotaro 9bdbc201fd Bug 1408421 - Improving throttling GenerateFrame() r=jrmuizel 2017-11-03 11:22:28 +09:00
Kartikaya Gupta c832839650 Bug 1411627 - Send the applied offset for sticky frames to WR. r=mstange
There are cases where we do a main-thread paint at a scroll position
where sticky offsets have been applied in order to keep sticky items
visually unmoving. From that paint, it's possible to do an async-scroll
in the direction that reduces the sticky offset. In order for WR to
handle this case properly we need to tell WR how much of a sticky offset
was already applied on the main thread.

MozReview-Commit-ID: 79DsfPpsIfA

--HG--
extra : rebase_source : e39316702cff3bd4ee6721c7503a1a9267734cd8
2017-11-07 10:16:48 -05:00
Markus Stange e691e26bec Bug 1386162 - Implement nsDisplayClearBackground using push_clear_rect. r=kats
MozReview-Commit-ID: DlGA7KuZzm0

--HG--
extra : rebase_source : 2c2b402c7f9f2df8cc7cc5e80aa591f3aae946ef
extra : source : 4003a8f5c3c8bf0146183eca287c7ee162bd3d57
2017-10-31 11:31:00 -04:00
Kartikaya Gupta 3a399cf5e5 Bug 1412280 - Update sticky code for API change in WR PR 1940. r=jrmuizel
MozReview-Commit-ID: 2I8wpe3Bt1y

--HG--
extra : rebase_source : 5056aee8978c9bd5c51724ec909125de318f04ad
2017-10-31 09:17:22 -04:00
Kartikaya Gupta 197f2cc1ec Bug 1412280 - Remove unused bincode dependency. r=jrmuizel
MozReview-Commit-ID: JPy0COAMZfp

--HG--
extra : rebase_source : 23268ba42cde3f42d78f600c5ecf09a91761ae9e
2017-10-31 09:08:39 -04:00
Jeff Muizelaar a1e7521959 Bug 1412565. Release the vec before deleting the item. r=lsalzman
I think I caught and fixed this earlier but somehow lost the change.
Oh well.
2017-10-30 22:38:38 -04:00
Sebastian Hengst f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00