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
Ethan Lin
8a8904b1c0
Bug 1274692 - Remove CG limitation since the backend is skia. r=mstange
2016-10-20 02:14:00 +02:00
Carsten "Tomcat" Book
61849e269d
merge mozilla-inbound to mozilla-central a=merge
2016-11-24 16:41:59 +01:00
Matt Woodrow
e332db3aac
Bug 1317862 - Part 2: Add a way to query DT recordings for Glyphs. r=Bas
2016-11-24 18:11:29 +13:00
Matt Woodrow
b6a9ac8a28
Bug 1317862 - Part 1: Add TextLayer class and basic support for them. r=mstange
2016-11-24 18:11:29 +13:00
Ting-Yu Lin
cd7d086eb1
Bug 1317588 Part 5 - Change Side's operator++ from postfix to prefix. r=mats
...
The postfix operator++ was actually incorrectly implemented as a prefix
version. Since it's only used in NS_FOR_CSS_SIDES, let's changed it to
prefix version.
MozReview-Commit-ID: GbdB2ZC9KyW
--HG--
extra : rebase_source : a46deea148e07609ca32e6836738de7296090f95
2016-11-23 16:55:04 +08:00
Ting-Yu Lin
754b6c9659
Bug 1317588 Part 3 - Remove #define NS_SIDE_TOP/RIGHT/BOTTOM/LEFT. r=mats
...
This patch was written with the help of the following script. Also, manually
add mozilla qualifier to the enum values in nsStyleCoord.h, gfxRect.h, and
Types.h to make it build.
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "NS_SIDE_TOP" "eSideTop"
rename "NS_SIDE_RIGHT" "eSideRight"
rename "NS_SIDE_BOTTOM" "eSideBottom"
rename "NS_SIDE_LEFT" "eSideLeft"
MozReview-Commit-ID: 9T0ORsqM6nP
--HG--
extra : rebase_source : 884ad96104c6e9cf6c8b3145d2d3a071ecccfe6a
2016-11-18 18:12:25 +08:00
Ting-Yu Lin
c9cfd878cb
Bug 1317588 Part 2 - Remove mozilla::css::Side typedef. r=mats
...
This patch is written with the help of the following script.
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "css::Side" "Side"
MozReview-Commit-ID: DPV6vivpPUp
--HG--
extra : rebase_source : 9c4f66dc9d2b26c89a4517fba4ff9c5db413411b
2016-11-18 16:28:38 +08:00
Ting-Yu Lin
3a4c674931
Bug 1317588 Part 1 - Move NS_FOR_CSS_SIDES and operator++ to gfx/2d/Types.h. r=mats
...
Make them live with the definition of enum Side.
MozReview-Commit-ID: 5uJPxFPOj79
--HG--
extra : rebase_source : 566f1a680ae85b61b1af0f643f59a4d1ac7472d3
2016-11-18 15:25:33 +08:00
Carsten "Tomcat" Book
e0f46513b6
Merge mozilla-central to mozilla-inbound
2016-11-22 16:28:50 +01:00
Carsten "Tomcat" Book
8b27dda5d1
merge mozilla-inbound to mozilla-central a=merge
2016-11-22 15:53:05 +01:00
Bob Owen
58e9c2a82f
Bug 1279699: Use temporary files instead of shared memory to store the page recordings when printing via parent. r=bas, r=froydnj
2016-11-22 14:06:46 +00:00
Milan Sreckovic
4f7e0ff668
Bug 1318007: When the surface is already allocated, just check for non-positive dimensions. r=aosmond
...
MozReview-Commit-ID: C0Fkq1SVO3s
--HG--
extra : rebase_source : 9b927993272338b811c49746d64077fc265cbb85
2016-11-21 12:48:40 -05:00
Lee Salzman
58e976f33d
Bug 1250037 - part 3 - optimize the Moz2d fallback box blur implementation. r=bas
...
MozReview-Commit-ID: 70YnDEI20ow
2016-11-21 13:17:43 -05:00
Lee Salzman
2b779e5359
Bug 1250037 - part 2 - use DrawTarget::DrawSurfaceWithShadow to render box shadows on platforms that accelerate it. r=mchang
...
MozReview-Commit-ID: 5MERz8RmGUd
2016-11-21 13:17:09 -05:00
Lee Salzman
3d2a652e53
Bug 1250037 - part 1 - only blur one quadrant of a box-shadow and mirror it to the other quadrants. r=mchang
...
MozReview-Commit-ID: B4FSDmAMfXK
2016-11-21 13:16:59 -05:00
Andi-Bogdan Postelnicu
98ef2aa49c
Bug 1317637 - Use C++11's override and remove virtual where applicable in gfx/. r=jrmuizel
...
MozReview-Commit-ID: 2nzBWEAu2wt
--HG--
extra : rebase_source : 0fffd208a79f8d72bc36d77600ba925cbe254a7c
2016-11-15 11:16:29 +02:00
Andi-Bogdan Postelnicu
eb85517996
Bug 1317637 - Replace default bodies of special member functions with = default; in gfx/. r=jrmuizel
...
MozReview-Commit-ID: EWUpBvj5i6Z
--HG--
extra : rebase_source : 9639ddfbd21183870fe48bc946a6164a2d5ec530
2016-11-15 11:04:18 +02:00
Andi-Bogdan Postelnicu
f55eea3765
Bug 1317637 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in gfx/. r=jrmuizel
...
MozReview-Commit-ID: Dd6426wCbMg
--HG--
extra : rebase_source : 2bf01499dc6ac776004a098108e7ccb874968701
2016-11-15 11:00:08 +02:00
Andi-Bogdan Postelnicu
f93ddb39f5
Bug 1317637 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in gfx/. r=jrmuizel
...
MozReview-Commit-ID: Dd6426wCbMg
--HG--
extra : rebase_source : 9e849faba30642b273bc5a0e0a74355ba160173e
2016-11-15 10:55:49 +02:00
Wes Kocher
f9e9d69899
Merge inbound to m-c a=merge CLOSED TREE
2016-11-16 17:07:26 -08:00
Jonathan Watt
f798086e8e
Bug 1316750, part 2 - Add CairoContentToCairoFormat helper to HelpersCairo.h. r=edwin
2016-11-15 23:09:49 +00:00
Jonathan Watt
cc0fb19cc1
Bug 1316299 - Invert broken logic in DrawTargetSkia::CreateSimilarDrawTarget's warning. r=lsalzman
2016-11-15 23:01:46 +00:00
Milan Sreckovic
7bf73e0916
Bug 1313884: Part 2. Additional nullptr test and nightly/aurora crash if bad things happen. r=gw280
2016-11-15 12:56:16 -05:00
Bob Owen
7593d137fb
Bug 1315212: Allow for failed call to wrapped DrawTarget in DrawTargetRecording::CreateSimilarDrawTarget. r=bas
...
MozReview-Commit-ID: 4SMixY4Nook
2016-11-15 11:10:02 +00:00
Bob Owen
c4a371a6ce
Bug 1316783: Record mSamplingRect for PatternType::SURFACE when using DrawTargetRecording. r=mstange
...
MozReview-Commit-ID: 8JWzW2cOSXK
2016-11-15 11:09:51 +00:00
Wes Kocher
18cab513b1
Backed out 7 changesets (bug 1316750, bug 1317295, bug 1316299) for windows vm debug reftest failures a=backout
...
Backed out changeset c0d0caa11f5a (bug 1316750)
Backed out changeset e222819961af (bug 1316750)
Backed out changeset fb46a1dc34f9 (bug 1316750)
Backed out changeset 732a96ceaf9f (bug 1316750)
Backed out changeset 5b62b77eb236 (bug 1316299)
Backed out changeset ac5ea2dc6c60 (bug 1317295)
Backed out changeset 9508c116ecd7 (bug 1316750)
2016-11-14 16:44:52 -08:00
Jonathan Watt
6330bf5cb7
Bug 1316750, part 2 - Add CairoContentToCairoFormat helper to HelpersCairo.h. r=edwin
2016-11-14 17:32:17 +00:00
Jonathan Watt
64ba82b83c
Bug 1316299 - Invert broken logic in DrawTargetSkia::CreateSimilarDrawTarget's warning. r=lsalzman
2016-11-07 15:38:41 +00:00
Sylvestre Ledru
d6ef1e706d
Bug 1317430 - Avoid a unnecessary copy by passing a const & in gfx/ r=nical
...
MozReview-Commit-ID: 4AHG1queVe6
--HG--
extra : rebase_source : cd678e951710321c798b5ca617f39b18f82bea77
2016-11-14 23:16:18 +01:00
Jonathan Watt
de8450e0df
Bug 1316322 - Make Factory::CreateNativeFontResource work for Skia. r=lsalzman
2016-10-31 16:27:19 +00:00
Jonathan Watt
17906ea120
Bug 1316299 - Change assertion in DrawTargetSkia::CreateSimilarDrawTarget to a warning. r=lsalzman
2016-10-31 15:05:30 +00:00
Ethan Lin
68f7c140b8
Bug 1308394 - In CopyGlyphsToBuilder, use PathBuilder's backend instead of DrawTarget's. r=bas
...
--HG--
extra : rebase_source : 27d283fe8fecf613bdc4cc7c0492a0d3e97a3253
2016-10-26 19:46:00 +02:00
Phil Ringnalda
be66b650bb
Backed out changeset bb4879b87c17 (bug 1313884) because bad things happen @mozilla::dom::CanvasRenderingContext2D::DrawImage all the time
...
CLOSED TREE
2016-11-10 23:28:02 -08:00
Milan Sreckovic
09875b84c7
Bug 1313884 - Part 2: Additional nullptr test and nightly/aurora crash if bad things happen. r=gw280
...
--HG--
extra : rebase_source : 14ff98dde9eeccb1bbdeb0ccb9b6dcba75d5ebf2
2016-11-10 10:26:00 -05:00
Lee Salzman
8d53811f32
Bug 1309272, part 3 - Allow DrawTargetSkia to work without an SkSurface. r=mchang
...
MozReview-Commit-ID: JczfiM0eIct
--HG--
extra : rebase_source : 8f14d4a8c2cbbc349cf81b6c31859090a9511dcf
2016-10-26 13:41:07 -04:00
Jonathan Watt
734666ee13
Bug 1309272, part 2 - Support the creation of a DrawTargetSkia for an SkCanvas. r=lsalzman
...
--HG--
extra : rebase_source : 777593bf3f591445e79315bf6bb4154d1017a405
2016-10-26 19:23:07 +01:00
Wes Kocher
7aeeee11d0
Backed out 2 changesets (bug 1309200) for build bustage on a CLOSED TREE a=backout
...
Backed out changeset b5ad7d04ed43 (bug 1309200)
Backed out changeset 1563a66b64d8 (bug 1309200)
2016-10-28 10:22:47 -07:00
Nicolas Silva
9af48bd777
Bug 1309200 - Add gfx::Factory::GetDefaultSoftwareBackend. r=Bas
2016-10-28 18:27:37 +02:00
Matt Woodrow
4d0b10822d
Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro
2016-10-27 13:17:10 +13:00
Phil Ringnalda
8cf1367dd8
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: FnnOWQ3xKPi
2016-10-25 22:03:31 -07:00
Lee Salzman
926f3f5746
Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang
...
MozReview-Commit-ID: 8jRzOaS5vqy
2016-10-24 22:40:59 -04:00
Wes Kocher
951194ee45
Backed out 6 changesets (bug 1299435) for windows reftest failures a=backout
...
Backed out changeset 0d587a1cab8f (bug 1299435)
Backed out changeset 3ab9d3cb13aa (bug 1299435)
Backed out changeset 1ed742f88f49 (bug 1299435)
Backed out changeset 51ad497c7ac2 (bug 1299435)
Backed out changeset 06ca6acef0a2 (bug 1299435)
Backed out changeset ebd4625e101a (bug 1299435)
--HG--
rename : gfx/skia/skia/src/animator/SkCondensedDebug.inc => gfx/skia/skia/src/animator/SkCondensedDebug.cpp
rename : gfx/skia/skia/src/animator/SkCondensedRelease.inc => gfx/skia/skia/src/animator/SkCondensedRelease.cpp
2016-10-24 16:45:46 -07:00
Lee Salzman
ab9cf08d5a
Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang
...
MozReview-Commit-ID: 8jRzOaS5vqy
2016-10-24 15:22:20 -04:00
Boris Chiou
5e9077980f
Bug 1272549 - Part 7: Compute distance for matrix and matrix3d. r=birtles
...
Decompose the 2d/3d matrix and calculate the Euclidean distance of
translate, scale, skew, quaternion, and perspective vectors.
MozReview-Commit-ID: 5nX9EeqvZi9
--HG--
extra : rebase_source : a15f2e4350e5c097eee8856a76244a81d589427a
2016-10-04 18:32:20 +08:00
Mason Chang
cd84eadb22
Bug 1258751: Delete the CoreGraphics backend. r=mstange
2016-10-18 23:22:44 -04:00