Lee Salzman
e81dcd530e
Bug 1329296 - don't use ExtractSubset on null SkImage when accessing surface pattern fails. r=mchang
...
MozReview-Commit-ID: I9K07esTA0W
2017-01-06 15:23:17 -05:00
Jonathan Kew
b64c9129e3
Bug 1321031
pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel
2017-01-06 16:35:12 +00:00
Jonathan Kew
010cc9631f
Bug 1321031
pt 2 - Preserve variations settings in ScaledFontMac when creating a new CTFont. r=jrmuizel
2017-01-06 16:35:11 +00:00
Ryan VanderMeulen
e897fba434
Backed out 6 changesets (bug 1321031
) for bustage.
...
Backed out changeset e0be4f5390fb (bug 1321031
)
Backed out changeset ba071046f8ab (bug 1321031
)
Backed out changeset 7cb4242dc636 (bug 1321031
)
Backed out changeset bc58e479eb58 (bug 1321031
)
Backed out changeset c551913ae892 (bug 1321031
)
Backed out changeset f4ae57d5358f (bug 1321031
)
CLOSED TREE
2017-01-06 12:46:27 -05:00
Jonathan Kew
7199a26387
Bug 1321031
pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel
2017-01-06 16:35:12 +00:00
Jonathan Kew
3adad63030
Bug 1321031
pt 2 - Preserve variations settings in ScaledFontMac when creating a new CTFont. r=jrmuizel
2017-01-06 16:35:11 +00:00
Ting-Yu Lin
e857e2115f
Bug 1320014 Part 15 - Replace RectCorner with Corner. r=mats
...
Rewrite RectCornerRadii::operator==() and RectCornerRadii::AreRadiiSame() by
explicitly expand all the comparisons, and rewrite other explicit for-loops
with NS_FOR_CSS_FULL_CORNERS.
MozReview-Commit-ID: BLBJHla8kyk
--HG--
extra : rebase_source : 464d8973eae6fa58e6931cc65d61900605926b85
2017-01-05 17:07:07 +08:00
Ting-Yu Lin
53633b1c42
Bug 1320014 Part 14 - Convert NS_SIDE_TO_HALF_CORNER to a constexpr function. r=mats
...
MozReview-Commit-ID: 4MQu8omCdcg
--HG--
extra : rebase_source : 0bce3eb380c2bacd5a4576e1a57c96afb8b57160
2017-01-05 16:23:16 +08:00
Ting-Yu Lin
9a76c43bf0
Bug 1320014 Part 13 - Convert NS_SIDE_TO_FULL_CORNER to a constexpr function. r=mats
...
MozReview-Commit-ID: 4r4jEN2LklH
--HG--
extra : rebase_source : 8a60bbb322f586af1a859b9408b10685169913e7
2017-01-05 16:13:34 +08:00
Ting-Yu Lin
78cc3f541d
Bug 1320014 Part 12 - Convert NS_SIDE_IS_VERTICAL to a constexpr function. r=mats
...
MozReview-Commit-ID: GFdigJKppuR
--HG--
extra : rebase_source : d3a66d22d99d2988d5c3c44bc1da51e30efa8d1a
2017-01-05 16:07:02 +08:00
Ting-Yu Lin
160ed71c4e
Bug 1320014 Part 11 - Convert NS_FULL_TO_HALF_CORNER to a constexpr function. r=mats
...
Because the new function checks types, we need to change the fullCorner type
in nsComputedDOMStyle::GetEllipseRadii() and
StyleAnimationValue::ExtractComputedValue() from uint8_t to |Corner| to fix
build error.
MozReview-Commit-ID: 5NuFE3yA2QD
--HG--
extra : rebase_source : 8f94209b24bd909839358cd502f462edb9ce3116
2017-01-05 14:59:17 +08:00
Ting-Yu Lin
cf828e1584
Bug 1320014 Part 10 - Convert NS_HALF_TO_FULL_CORNER to a constexpr function. r=mats
...
MozReview-Commit-ID: 1PECc7hm249
--HG--
extra : rebase_source : 7784720bb9ae061689cba0b30c0aebc779d818b1
2017-01-05 14:39:58 +08:00
Ting-Yu Lin
229d433359
Bug 1320014 Part 9 - Convert NS_HALF_CORNER_IS_X to a constexpr function. r=mats
...
MozReview-Commit-ID: 3d2opSIjAUc
--HG--
extra : rebase_source : 03e55f0458dd305fa782ca1e46c32069045e86e9
2017-01-05 14:30:14 +08:00
Ting-Yu Lin
df030594f6
Bug 1320014 Part 8 - Move NS_FOR_CSS_HALF_CORNERS to Types.h and rewrite it. r=mats
...
MozReview-Commit-ID: 5UkZUSe5stP
--HG--
extra : rebase_source : e8c33473a39088d9bd807920630500b31ac6228f
2017-01-05 12:03:23 +08:00
Ting-Yu Lin
797609894a
Bug 1320014 Part 7 - Convert half corner indices #define to an enum. r=mats
...
MozReview-Commit-ID: 8lNtjV14WTN
--HG--
extra : rebase_source : dbfa992a2ee3cab2f639fb5a68463a673410ade6
2017-01-05 11:31:38 +08:00
Ting-Yu Lin
2dada2d6e0
Bug 1320014 Part 6 - Remove #define NS_CORNER_[TOP_LEFT/TOP_RIGHT/BOTTOM_RIGHT/BOTTOM_LEFT] r=mats
...
MozReview-Commit-ID: ERAwdxKZPf7
--HG--
extra : rebase_source : 53eb8d15ecd0d9d8fd0c7b88872b210b54104725
2017-01-04 18:15:30 +08:00
Ting-Yu Lin
5c9728b639
Bug 1320014 Part 5 - Remove NS_FOR_CSS_CORNERS. r=mats
...
Remove NS_FOR_CSS_FULL_CORNERS implementation, and rename NS_FOR_CSS_CORNERS
to NS_FOR_CSS_FULL_CORNERS.
MozReview-Commit-ID: 2kmPUZDz3bj
--HG--
extra : rebase_source : a8374d10c9f398b0593d7338be210a1fde25bdc4
2017-01-04 17:52:43 +08:00
Ting-Yu Lin
f3987ac8db
Bug 1320014 Part 4 - Remove eNumCorners and rewrite NS_FOR_CSS_CORNERS. r=mats
...
Also, change Corner's operator++ from postfix to prefix version.
MozReview-Commit-ID: CpBXOZmQtJ9
--HG--
extra : rebase_source : c8bacec1de52109a17a9cb18687094cef56387c0
2017-01-04 17:41:49 +08:00
Ting-Yu Lin
7577c40539
Bug 1320014 Part 3 - Move Corner from namespace mozilla::css into mozilla. r=mats
...
For those cpp files, it's sufficient to use Corner to refer to
mozilla::Corner.
MozReview-Commit-ID: JmDEJ3gGm8K
--HG--
extra : rebase_source : 79d7fc74fdb827894dd9ea17d6bb382eb75e81e8
2017-01-04 17:18:49 +08:00
Ting-Yu Lin
8871f2bf54
Bug 1320014 Part 1 - Move Corner's definition and NS_FOR_CSS_CORNERS to gfx/2d/Types.h. r=mats
...
The only change is that NS_PRECONDITION is replaced by MOZ_ASSERT to prevent
Types.h depends on nsDebug.h.
MozReview-Commit-ID: FI6LGOedKQ9
--HG--
extra : rebase_source : c31bdd527635e2abc306ddd5bd249e9ca2e81c0b
2017-01-04 16:19:20 +08:00
Lee Salzman
3cff1c818b
Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame
...
MozReview-Commit-ID: 94XcLKgwTPq
2017-01-04 14:01:12 -05:00
Lee Salzman
d5f91aa244
Bug 1309205 - part 1 - allow querying FT_Library from gfxPlatform so that Moz2d Factory can use it. r=jfkthame
...
MozReview-Commit-ID: 7kxseOOVvWi
2017-01-04 14:00:17 -05:00
Jonathan Watt
a03162818c
Bug 1316654 - Fix the DrawTargetSkia::CreateSimilarDrawTarget check for non-raster backed SkCanvas to avoid false positives. r=lsalzman
2016-12-22 01:35:22 +00:00
Lee Salzman
37e1e73a58
Bug 1328337 - fix implicit conversion of glyph size from float to uint32_t in NativeFontResource::CreateScaledFont. r=bobowen
...
MozReview-Commit-ID: 9JcrfRYJ3ca
2017-01-03 14:20:16 -05:00
Ting-Yu Chou
3b76c1d27b
Bug 1322465 part 5 - Use explicit/MOZ_IMPLICIT for the unary constructors in gfx/. r=Ehsan
...
MozReview-Commit-ID: 5sdclirTQCV
--HG--
extra : rebase_source : 65b8fe4357ee19e858d3ee406495a1c2c3046c90
2016-12-16 15:54:32 +08:00
Wes Kocher
b5f33578be
Merge m-c to inbound, a=merge
2016-12-20 11:47:17 -08:00
Wes Kocher
584a2f0f62
Merge inbound to central, a=merge
...
MozReview-Commit-ID: Cr9L1dhIzP2
2016-12-20 11:41:57 -08:00
Lee Salzman
d9d2ea27be
Bug 1323821 - only replace texture-backed SkImage on success in SourceSurfaceSkia::GetData. r=jrmuizel
...
MozReview-Commit-ID: FbySOGcLhwt
2016-12-20 12:37:19 -05:00
peter chang
ea69eeb193
Bug 1323837 - Draw nothing if there are no color stops for gradient effect, r=bas
...
MozReview-Commit-ID: BnZlh2NhdHX
--HG--
extra : rebase_source : e221cebdb64e55926c63fd105df0a55635b28e19
2016-12-16 13:55:22 +08:00
Lee Salzman
731702eb1c
Bug 1324422 - initialize mPermitSubpixelAA for all tiles in DrawTargetTiled. r=sotaro
...
MozReview-Commit-ID: AM0OxyhLrzJ
2016-12-19 21:12:07 -05:00
Milan Sreckovic
6fcbf9169d
Bug 1323625: The callers are using Factory::CheckSurfaceSize to guard against zero sized surfaces, so we'll remove the warning. r=rhunt
...
MozReview-Commit-ID: DzFUjTlXfeT
--HG--
extra : rebase_source : 683250aecffa1e738e5f4963c677b4e169debdfd
2016-12-15 10:32:10 -05:00
Lee Salzman
90fe07ab69
Bug 1322729 - fix DrawTargetSkia::BorrowCGContext to work with PushLayer. r=mchang
...
MozReview-Commit-ID: Hl2t9gxIdYI
2016-12-16 11:02:04 -05:00
Lee Salzman
a3ecdc5084
Bug 1322729 - fix DrawTargetTiled to forward SetPermitSubpixelAA. r=mchang
...
MozReview-Commit-ID: 7aicn9Crru9
2016-12-16 11:02:04 -05:00
Lee Salzman
a55eee6d3f
Bug 1322729 - fix DrawTargetTiled::PushLayer to properly handle clipping. r=mchang
...
MozReview-Commit-ID: 2otVOl9J4pZ
2016-12-16 11:02:04 -05:00
George Wright
424157b16b
Bug 1318845 - Ensure we support DWrite fonts in the parent process when the GPU process is enabled r=Bas
2016-12-15 17:24:58 -05:00
Carsten "Tomcat" Book
4a9a623faf
Merge mozilla-central to mozilla-inbound
2016-12-15 14:24:41 +01:00
Bob Owen
ca714c62ab
Bug 1321522: Add null check and logging on fontResource in RecordedScaledFontCreation::PlayEvent. r=milan
...
MozReview-Commit-ID: 3nM28xgGLPO
2016-12-15 10:55:10 +00:00
Botond Ballo
315932fa35
Bug 1321412 - Add an operator<< to BaseSize. r=kats
...
MozReview-Commit-ID: 4zVkyafxtfG
--HG--
extra : rebase_source : 4a5a3f09ab0008d7e736cedb817505e6e45b054c
2016-11-25 20:46:58 -05:00
Botond Ballo
ea351be0c0
Bug 1321412 - Add Min() and Max() functions to BaseSize. r=kats
...
MozReview-Commit-ID: 6GTzkpwwDNu
--HG--
extra : rebase_source : 1d8e888649c10f8f044f475095cb592538992946
2016-11-23 19:27:27 -05:00
Botond Ballo
7a4cb0cf48
Bug 1321412 - Fix a bug in the definition of SizeTyped. r=kats
...
A second template parameter 'F' was previously added to SizeTyped, but was
not correspondingly added to the argument passed for the 'Sub' parameter
of BaseSize.
MozReview-Commit-ID: 2pRQXeWMJpP
--HG--
extra : rebase_source : c1e71b18fdb303f9684d0c9c26dca2462fa0f62d
2016-11-23 19:26:55 -05:00
Miko Mynttinen
d8d0459a98
Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 2: Rename Polygon3D to Polygon, and use 4D points for all calculations r=kip
...
MozReview-Commit-ID: I6DB8xldpjO
--HG--
extra : rebase_source : c881f68722404e0d749a00424eb17d284a7383d2
2016-12-04 17:49:32 +01:00
Miko Mynttinen
93c8550e72
Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 1: Add Point4D construction/conversion from/to Point3D r=bas
...
MozReview-Commit-ID: 2zvXkYcVV1A
--HG--
extra : rebase_source : 1a2aab40bfb17573fd1290484d9463fe5bf43d1e
2016-11-21 19:50:33 +01:00
Bob Owen
7e63f54abd
Bug 1319456: Hold DrawEventRecorders in the correct structure in PathRecording. r=bas
...
MozReview-Commit-ID: 1bJxJnKXzVc
2016-12-09 02:25:50 +00:00
Bob Owen
8565d5695d
Bug 1279699: Use temporary files instead of shared memory to store the page recordings when printing via parent. r=bas, r=froydnj, r=jimm
2016-11-22 14:06:46 +00:00
Ryan VanderMeulen
21ece8d83a
Backed out changeset a4b0052954d2 (bug 1279699) for causing various crash regressions.
...
--HG--
extra : rebase_source : bf9223381149f34a7b3513eda05fe197ae2db876
2016-12-01 15:25:25 -05:00
Mason Chang
bf9abf2c35
Bug 1320743 - Delete PathCG. r=lsalzman
2016-11-30 11:12:51 -08:00
Mason Chang
0337770c6a
Bug 1319374. Fix --disable-skia builds. r=lsalzman
2016-11-30 10:13:54 -08:00
Milan Sreckovic
33daa90e3c
Bug 1313212 - Show the pointer value, not the string behind it in the debug statement. r=mchang
...
--HG--
extra : rebase_source : b0aac53f09708ba3b771991d510a0b7463a4cebb
2016-11-29 17:04:59 -05:00
Mason Chang
793727bf2c
Bug 1315568 Use Force GDI information from SkTypeface for GDI rendering modes in skia. r=lsalzman
2016-11-29 08:03:33 -08:00
Nathan Froyd
2ebbd09068
Bug 1320752 - remove mozilla/Function.h; r=gerald
...
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00