Lee Salzman
978a8e536b
Bug 1494291 - set number of variations when adding blob fonts. r=me
2018-09-26 16:33:01 -04:00
Matt Woodrow
098e38f96a
Bug 1490396. r=jrmuizel
...
--HG--
extra : rebase_source : e5addf44177f226e7280fe2df6ed4801cf85b20e
2018-09-19 20:12:07 +12:00
Jeff Muizelaar
9bcfb295a7
Bug 1490891. Support toggling paint flashing in blob images r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D5730
--HG--
extra : moz-landing-system : lando
2018-09-13 20:34:38 +00:00
Cosmin Sabou
5b41e41329
Backed out changeset 2f15d5f434d8 (bug 1490891) for reftests and crashtest failures. CLOSED TREE
2018-09-13 22:29:45 +03:00
Jeff Muizelaar
66aa4d36c4
Bug 1490891. Support toggling paint flashing in blob images r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D5730
--HG--
extra : moz-landing-system : lando
2018-09-13 17:08:43 +00:00
Jeff Muizelaar
d43f067572
Bug 1486198
. Be more accepting of empty blob images r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D5614
--HG--
extra : moz-landing-system : lando
2018-09-11 23:14:42 +00:00
Jeff Muizelaar
43af6ced9a
Bug 1489721. Use Reader to read the fonts. r=mattwoodrow
...
It gets rid of the unaligned accesses and is easier to reason about.
2018-09-10 15:06:33 -04:00
Jeff Muizelaar
ea679c5b6d
Bug 1489127. Properly namespace FontVariation to avoid generated bindings. r=lsalzman
...
We will generate a FontVariation type from the the bindings. This has the same name
as the type from 'gfx'. They're structurally the same but having them both around
confuses the compiler.
2018-09-07 10:00:04 -04:00
Lee Salzman
665d5160ca
Bug 1489170 - fix C linkage in Moz2DImageRender. r=me
2018-09-06 11:09:42 -04:00
Lee Salzman
de75729420
Bug 1480615 - reuse scaled fonts across blob image recordings. r=jrmuizel
2018-09-05 21:55:53 -04:00
Jeff Muizelaar
3fc60f7e6c
Bug 1473943. Make blob bounds checks safe. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D4038
--HG--
extra : moz-landing-system : lando
2018-08-23 19:53:21 +00:00
Jeff Muizelaar
955d35ed01
Bug 1480608. Skip over items that aren't in DrawTarget/DirtyRect. r=mstange
...
MozReview-Commit-ID: Kc9E1SUVUh3
--HG--
extra : rebase_source : d3ee33154622915bd444139bce639e4372fe8f43
2018-08-02 18:09:17 -04:00
Jeff Muizelaar
a61a3dece7
Bug 1480620. Replace WebRender's use of DrawTargetTiled.
...
This replaces WebRender's use of DrawTargetTiled which was just trying to
apply offset.
Differential Revision: https://phabricator.services.mozilla.com/D2906
--HG--
extra : moz-landing-system : lando
2018-08-08 02:55:23 +00:00
Narcis Beleuzu
5200364866
Backed out changeset 00ff83d23238 (bug 1480608) for build bustages on Moz2DImageRenderer.cpp. CLOSED TREE
2018-08-08 01:48:46 +03:00
Jeff Muizelaar
75d7e45d83
Bug 1480608. Skip over items that aren't in DrawTarget/DirtyRect. r=mstange
...
MozReview-Commit-ID: Kc9E1SUVUh3
--HG--
extra : rebase_source : aa6561d103b3ab40f9d6033008bdc2fef3d395f8
2018-08-02 18:09:17 -04:00
Jonathan Kew
7dbe882858
Bug 1457254 - Don't pass true for aIsDataFont when creating an UnscaledFontMac from AddNativeFontHandle, this is for installed fonts. r=lsalzman
2018-05-03 22:00:53 +01:00
Andrew Osmond
63d93fdc78
Bug 1425484 - Part 3. Integrate shared surfaces with the blob image recordings. r=jrmuizel
2018-04-26 19:00:16 -04:00
Lee Salzman
2942892fa9
Bug 1448703 - follow-up - disambiguate unknown font from cleared all. r=me
2018-04-26 11:58:49 -04:00
Andreea Pavel
b1e3552b06
Backed out changeset 81601f1ab879 (bug 1448703) for build bustages at builds/worker/workspace/build/src/gfx/webrender_bindings/Moz2DImageRenderer.cpp:108 on a CLOSED TREE
2018-04-26 18:52:48 +03:00
Lee Salzman
ff6c421be0
Bug 1448703 - follow-up - disambiguate unknown font from cleared all. r=me
2018-04-26 11:38:09 -04:00
Lee Salzman
47222b48e5
Bug 1448703 - clear blob image resources from clear_namespace hook. r=jrmuizel
2018-04-24 22:24:55 -04:00
Andreea Pavel
1d89ab6a3a
Backed out changeset 42781c597745 (bug 1448703) cpu process leakcchecks
2018-04-24 06:47:19 +03:00
Lee Salzman
d8e6c45ef2
Bug 1448703 - clear blob image resources from clear_namespace hook. r=jrmuizel
...
MozReview-Commit-ID: 8DinL2bE64O
2018-04-23 21:46:55 -04:00
Jeff Muizelaar
c9d72fab40
Bug 1453090. Don't PopClip on a different DT. r=jrmuizel
...
Make sure we PushClip on the same DT as we PopClip
--HG--
extra : rebase_source : 9ddc864f86582410597c82b36190827341c146a3
2018-04-11 10:27:12 -04:00
Lee Salzman
a90ccf8ea5
Bug 1448703 - log WR blob image font deletions for debugging. r=jrmuizel
...
MozReview-Commit-ID: FwpfhKjIpfm
2018-04-08 21:31:16 -04:00
Jeff Muizelaar
228407bcf0
Bug 1451761. Only paint the dirty rect. r=mstange
2018-04-05 15:00:47 -04:00
Jeff Muizelaar
4338f2052b
Bug 1388842. Add support for updating blob images. r=mstange
...
Currently, we use a simple merging algorithm, because the more
complicated ones didn't work.
This code won't actually be used until we do blob image invalidation
in a follow up.
MozReview-Commit-ID: Q2Em3QC195
2018-03-20 10:30:26 -04:00
Jeff Muizelaar
faae221e52
Bug 1391255. Crash earlier if recording playback fails. r=kats
...
This should help us narrow down what's going wrong a bit.
MozReview-Commit-ID: 2Ah0nMCwv55
--HG--
extra : rebase_source : fae57d36fe28b364fc652fb0e32abbbf8da43b0e
2018-02-23 13:14:39 -05:00
Masatoshi Kimura
b1b043af08
Bug 1442266 - Stop including unnecessary <iostream>. r=froydnj
...
MozReview-Commit-ID: B0JDqyBanFE
--HG--
extra : rebase_source : dec1e2678083e3fb2b9a6b89322d1fa747ed6d4a
2018-03-01 23:07:56 +09:00
Lee Salzman
7960a042d1
Bug 1431211 - clean up WR blob image renderer resources on API destruction. r=gankro
...
MozReview-Commit-ID: E7XuM7vpEXd
2018-01-18 06:28:09 -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
Lee Salzman
011e836339
Bug 1416607 - follow-up - typo fix in error message. r=me
2017-11-14 23:27:16 -05: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
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
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
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
Jeff Muizelaar
91f3b3ac1d
Bug 1380014. Fix up the webrender bindings. r=kats
...
The earlier patches in this bug were written before we had
sophisticated binding generation so the types didn't match very well.
This fixes all of that.
MozReview-Commit-ID: DpcblpB8vxW
2017-10-28 18:32:24 -04:00
Jeff Muizelaar
5052f0826f
Bug 1380014. Keep the unscaled font alive. r=lsalzman
...
This is the actual change the eliminates the font cache
churn as well as eliminating the jank that comes when
loading font for the first time.
2017-10-27 23:23:35 -04:00
Jeff Muizelaar
ed62b1d4a1
Bug 1380014. Share fonts with WebRender. r=lsalzman
...
This changes the serialization format a little bit.
We now have an index at the end of the blob. This
is currently used to store a list of the used font keys.
In the future we'll add rects and can use it for invalidation.
2017-10-27 18:21:27 -04:00
Jeff Muizelaar
1dcc5366ff
Bug 1387550 - Support tiled drawing of blob images in Gecko.
...
Tiling will be used when we need an image that's larger than
the max texture size.
2017-08-26 17:31:25 -04:00
Ryan Hunt
522bc76415
Bug 1382128 part 8 - Remove Wr prefix from some type aliases. r=kats
...
MozReview-Commit-ID: 5h7QobhcYc1
--HG--
extra : rebase_source : 34d6636b6c3726ccc21b105f05227e27f84e63c9
2017-07-19 03:28:58 -04:00
Ryan Hunt
9b7f455eef
Bug 1382128 part 3 - Rename WrByteSlice to ByteSlice. r=kats
...
MozReview-Commit-ID: 4jOsyvwxKrq
--HG--
extra : rebase_source : b40f6aac20087f805366f2f304fb8d45072b936a
2017-07-18 18:35:52 -04:00
Ryan Hunt
3f3cb0a954
Bug 1382128 part 1 - Use a namespace in webrender_bindings. r=kats
...
MozReview-Commit-ID: 3JTMa9Ix5S7
--HG--
extra : rebase_source : 0bea14d9e395cab260d2db5135b1f64e9f82b2e2
2017-06-27 19:20:36 -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
Lee Salzman
b138a8ec44
Bug 1365935 - add Moz2D Factory methods for making an FT_Library. r=jrmuizel
...
MozReview-Commit-ID: 7gQuVrl38aT
2017-05-18 13:16:06 -04:00
Lee Salzman
6648f1fbf8
Bug 1364628 - give each webrender blob image renderer thread its own thread-local FT_Library to work around unsafe FT_Face rasterization/metrics calls. r=jrmuizel
...
MozReview-Commit-ID: 5sJznRRV3bq
2017-05-17 21:56:58 -04:00
Jeff Muizelaar
8c32ac0090
Bug 1360001. Add WebRenderPaintedLayerBlob for painting with BlobImages. r=kats
...
This is a bit of a rough implementation but it works
enough to start.
2017-05-01 21:58:52 -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
Nicolas Silva
4a5a35a9a2
Bug 1347641 - Implement the BlobImageRenderer binding glue. r=jrmuizel
2017-03-27 13:44:52 +02:00