Ryan Hunt
0401ad902b
Bug 1414389 - Add thread safety assertions in capture command list. r=bas
...
--HG--
extra : rebase_source : 0def858a2cce7ac6ef73fd8caa1e0e0b64b03ef6
2018-06-29 15:45:17 -05:00
Ryan Hunt
ab5640b5e6
Bug 1471761 - Virtualize mType to reduce DrawingCommand size. r=bas
...
MozReview-Commit-ID: EFcVLZ6amNr
--HG--
extra : rebase_source : 0111dea6e377dff75b70a8b0e6d25f670e57d297
extra : histedit_source : 5bc07620340f71731918a99dcd95dcb3ee3b99c9
2018-06-27 18:26:38 -05:00
Ryan Hunt
5233d2ccc5
Bug 1471761 - Drop unused GetAffectedRect and fix virtual styling. r=bas
...
MozReview-Commit-ID: 9Gra35FVeQY
--HG--
extra : rebase_source : bf45336df86147657d2e851fadff6c25672d6288
extra : histedit_source : 517be1662712adb718f459f6f2c3a3fe6972e67b
2018-06-27 18:11:38 -05:00
Ryan Hunt
533d5ab90b
Bug 1471761 - Remove unused ContainsOnlyColoredGlyphs. r=mattwoodrow
...
MozReview-Commit-ID: JQlkVnV2sz8
--HG--
extra : rebase_source : 1b424f810c19b68f7552032614bce57ed329daf0
extra : histedit_source : d15bde33953b20469fd205f3a0c720f8cae0c08d
2018-06-27 18:11:06 -05:00
Ryan Hunt
6497093aa2
Bug 1471261 - Add global locking around FT_Load_Glyph to work around postscript hinter global data. r=lsalzman
...
MozReview-Commit-ID: 9ohfqUnPxMc
--HG--
extra : rebase_source : b4a0e02cd0685a1623cc2bd0ffdc34429f3b8729
2018-06-26 11:30:13 -04:00
Lee Salzman
9e14da3f5a
Bug 1470515 - refactor ScaledFontFreeType for Android WR. r=rhunt
...
--HG--
rename : gfx/2d/NativeFontResourceFontconfig.cpp => gfx/2d/NativeFontResourceFreeType.cpp
rename : gfx/2d/NativeFontResourceFontconfig.h => gfx/2d/NativeFontResourceFreeType.h
rename : gfx/2d/ScaledFontCairo.cpp => gfx/2d/ScaledFontFreeType.cpp
rename : gfx/2d/ScaledFontCairo.h => gfx/2d/ScaledFontFreeType.h
2018-06-14 16:42:56 -07:00
Miko Mynttinen
4c85ef17cc
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
arthur.iakab
7e765f798b
Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
...
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen
8d9dc85cd4
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00
Emilio Cobos Álvarez
1e9c395548
Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj
...
Same approach as the other bug, mostly replacing automatically by removing
'using mozilla::Forward;' and then:
s/mozilla::Forward/std::forward/
s/Forward</std::forward</
The only file that required manual fixup was TestTreeTraversal.cpp, which had
a class called TestNodeForward with template parameters :)
MozReview-Commit-ID: A88qFG5AccP
2018-06-02 09:33:26 +02:00
Lee Salzman
5cf4237333
Bug 1464094 - follow-up - check that dlsym succeeded in ApplyVariations. r=me
...
MozReview-Commit-ID: 5lrrnFVKMS0
2018-06-01 15:39:50 -04:00
Lee Salzman
6069a3aae9
Bug 1464094 - follow-up - check that dlsym succeeded. r=me
...
MozReview-Commit-ID: L6jOU6C9CHS
2018-06-01 15:32:33 -04:00
Lee Salzman
50e6372cf9
Bug 1464094 - print font variations as paths for PDF/PS output. r=jfkthame
...
MozReview-Commit-ID: 3sPKD4pNwdy
2018-06-01 13:08:57 -04:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Andrew Osmond
d76ab26901
Bug 1462355 - Part 8. Avoid allocating on the heap in DrawableFrameRef. r=tnikkel
...
We can easily use Maybe<DataSourceSurface::ScopedMap> instead of
allocated the map on the heap. This does require some minor changes to
ScopedMap to properly support moves, but should be much more efficient.
2018-05-29 08:36:13 -04:00
jmuizelaar@mozilla.com
e6ddc950f8
Bug 1452375 - sse3-scaler: make sure iter->x/y is representable. r=sotaro
2018-05-29 14:27:09 +09:00
jmuizelaar@mozilla.com
fc530ca316
Bug 1452375 - ssse3-scaler: handle init failure r=sotaro
2018-05-29 14:26:38 +09:00
Kartikaya Gupta
8e203673f1
Bug 1463416 - use new WR subpixel positioning API from WR PR 2738. r=Gankro
...
Patch originally developed on bug 1458921 but needs to land with the WR update.
MozReview-Commit-ID: 82BYyNWBAfn
--HG--
extra : rebase_source : e6bca2f446c019fd41a37c2c28db73bbe1cfc216
2018-05-26 11:09:21 -04:00
Hiroyuki Ikezoe
5c588a8653
Bug 1464627 - Fix the spec link to 3D rotation matrix. r=emilio DONTBUILD
...
MozReview-Commit-ID: F5P4pCvD0Ww
--HG--
extra : rebase_source : 8c97814986517b81affa39c3be06e18427d1e4e8
2018-05-27 09:55:06 +09:00
Bas Schouten
2c20988af9
Bug 1457110: Restore behavior of maintaining width/height when one of the two is exactly zero. r=jrmuizel
...
MozReview-Commit-ID: 5OpjfTnJQxe
2018-05-25 18:16:52 +02:00
Lee Salzman
2f14d46de8
Bug 1463244 - cleanup of swizzle stride calculations. r=rhunt
...
MozReview-Commit-ID: GMXRKnu8zHB
2018-05-25 00:56:22 -04:00
Bob Owen
8a6b8bfbbf
Bug 1462049: Fix MemStream allocation to only allocate its capacity. r=jrmuizel
2018-05-16 18:26:24 +01:00
Ryan Hunt
2f01e497c3
Bug 1454978 - Move MOZ_ASSERT(mIsMapped) into mChangeMutex. r=bas
...
We must check mIsMapped inside mChangeMutex or else we could run into a race condition where
the source surface is subsequently mapped again before the function terminates. This was
being hit on try.
MozReview-Commit-ID: 1eot3DVW8VD
--HG--
extra : rebase_source : 19f2514d9e2412ee5fe7c99844b7f64f78a7425e
2018-04-25 12:44:58 -05:00
Bas Schouten
2c2327c372
Bug 1427063: Have D2D interpret colors in premultiplied space. As it says is its default. r=rhunt
...
MozReview-Commit-ID: 5OWjHW1CqjN
2018-04-23 19:27:48 +02: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
Bas Schouten
8338ab994b
Bug 1387399: Add SIMD optimizations for methods used frequently in nsRect. r=jrmuizel
...
This improves the DisplayList Mutate Talos test by about 5% on windows, as well as numerous smaller improvements on DisplayList heavy tasks.
MozReview-Commit-ID: tlEtPjqWI4
2018-04-19 15:56:29 +02:00
Jonathan Watt
156c4af1ec
Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt
...
Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>
MozReview-Commit-ID: 7ONYtICeAqb
2018-04-23 18:22:05 +02:00
Jonathan Kew
4b2b2d4c9f
Bug 1455569 - Handle variation settings of system-installed variation fonts when creating CTFont from CGFont on High Sierra. r=lsalzman
2018-04-20 17:18:03 +01:00
Cosmin Sabou
b9a82af44a
Backed out 2 changesets (bug 1387399) for OSX reftests permafailures on attachment-local-positioning-2.html. a=backout
...
Backed out changeset b78a225fa8c9 (bug 1387399)
Backed out changeset 4beeacb75bf5 (bug 1387399)
2018-04-20 06:47:41 +03:00
Bas Schouten
0dee5c2745
Bug 1387399: Add SIMD optimizations for methods used frequently in nsRect. r=jrmuizel
...
This improves the DisplayList Mutate Talos test by about 5% on windows, as well as numerous smaller improvements on DisplayList heavy tasks.
MozReview-Commit-ID: tlEtPjqWI4
2018-04-19 15:56:29 +02:00
Jonathan Kew
8cc9d24a4f
Bug 1454094 - Explicitly copy font variation settings from CGFont when creating a CTFont only on macOS Sierra; on HighSierra, rely on Core Text to automatically propagate the required settings. r=lsalzman
2018-04-18 22:08:41 +01:00
Jonathan Kew
94238d9823
Bug 1452973 - Update NS_FONT_STRETCH_* constants to values based on the percentage definitions in css fonts 4. r=jwatt
2018-04-16 10:00:57 +01:00
Miko Mynttinen
0b8872867b
Bug 1393367 - Change MOZ_ASSERT to MOZ_RELEASE_ASSERT. r=mstange, r=fbraun
2018-04-12 14:18:03 +02:00
Jonathan Watt
1e7f76576a
Bug 1436048 part 1 - Use a user defined type for font weight everywhere. r=jfkthame,emilio
...
--HG--
extra : rebase_source : 2e267ff99de6f52484e34ac15c39e5ca8b473394
2018-04-13 20:34:37 +01:00
Andrew Osmond
f17c1700f1
Bug 1452467 - Make native font resource memory allocations fallible. r=lsalzman
2018-04-13 13:33:15 -04:00
Andrew Osmond
74807c64ae
Backed out changeset e5336e51b77f (bug 1452467) for Windows static analysis build bustage on a CLOSED TREE. r=aosmond
2018-04-13 10:14:12 -04:00
Andrew Osmond
117614d724
Bug 1452467 - Make native font resource memory allocations fallible. r=lsalzman
2018-04-13 09:41:29 -04:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Lee Salzman
dc3fc2506c
Bug 1450814 - generic implementation of DrawTarget::Blur using LockBits. r=rhunt
...
MozReview-Commit-ID: 2jROASoiPQd
2018-04-10 16:46:32 -04:00
Robert Longson
36466d75ed
Bug 1451066 - One t in detach r=jmuizelaar
...
--HG--
extra : rebase_source : 00669d1975e41963a2dc030d76c7edf78fcd1593
2018-04-03 10:54:00 +03:00
Lee Salzman
3ffd2fdb72
Bug 1451845 - use SkCanvas layer clip image for DrawTargetSkia::PushLayer mask. r=jrmuizel
...
MozReview-Commit-ID: BwkwiorvmVY
2018-04-05 14:57:11 -04:00
Lee Salzman
ff2a78845b
Bug 1448667 - use ColorMatrix effect instead of LuminanceToAlpha effect for DrawTargetD2D1::IntoLuminanceSource. r=bas
...
MozReview-Commit-ID: LHbSiFBx6HK
2018-04-05 14:07:18 -04:00
Ryan Hunt
c371c4f33a
Check if FilterNodeCapture was able to successfully validate (bug 1447428, r=bas)
...
--HG--
extra : rebase_source : e236b64a6733cddfb43caf83373dc8e874bcfb42
2018-03-26 12:48:57 -05:00
David Major
2c5d006825
Bug 1298383: Add default cases to appease clang-cl's -Wswitch. r=Bas
2018-03-28 09:56:30 -04:00
Jeff Muizelaar
d07c300116
Bug 1388842. Add blob invalidation. r=mstange
...
MozReview-Commit-ID: 5xwqlULUbZe
2018-03-27 17:31:04 -04:00
Jeff Muizelaar
fe9267ddda
Bug 1449029. Moz2D Recording: Make Finish() return if any items. r=lsalzman
...
Blob image invalidation will use will use this to avoid sending empty recordings.
MozReview-Commit-ID: BlP5kqCbBys
2018-03-27 17:31:03 -04:00
Ryan Hunt
12792a2bc5
Add GuaranteePersistence to PushLayer in DrawTargetCapture. (bug 1447144, r=bas)
...
--HG--
extra : amend_source : 4492b72ad9e306aeefadddd970b0e997de386239
2018-03-19 13:32:12 -05: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
e81d471371
Bug 1440702. Add equality operators to Matrix4x4Flagged. r=Bas
...
This adds a naive implementation of equality. We can do better
in the future by looking at the flags.
MozReview-Commit-ID: K4xdfCmvvb9
2018-03-16 16:42:03 -04:00