Mike Hommey
f065aaf078
Bug 1537673 - Remove remaining useless CC_TYPE test. r=dmajor
...
Differential Revision: https://phabricator.services.mozilla.com/D24314
--HG--
extra : moz-landing-system : lando
2019-03-21 13:22:02 +00:00
Masatoshi Kimura
e59e3b3e20
Bug 1528651 - Fix some trivial warnings and re-enable warnings-as-errors on Windows in some directories. r=dmajor
...
--HG--
extra : source : 5ee9efeda9e67f6af0521be85266703763cc4c50
2019-02-19 20:42:11 +09:00
Makoto Kato
e9230ae06d
Bug 1526737 - Enable moz2d's NEON even if windows/aarch64. r=jrmuizel,dmajor
...
Bug 1516062
turns on NEON when using gcc and clang. But windows compiler uses
clang-cl, so I would like to turn on it even if windows.
Differential Revision: https://phabricator.services.mozilla.com/D19281
--HG--
extra : moz-landing-system : lando
2019-02-12 16:21:26 +00:00
Bas Schouten
5c3778d6dd
Bug 1519739: Attempt to create Direct2D paths on the paint thread. r=rhunt
...
Differential Revision: https://phabricator.services.mozilla.com/D16433
--HG--
extra : rebase_source : 98c1a0461d7498d2658de54ded796025c7a0beb6
2019-01-14 01:16:17 +01:00
Makoto Kato
2fe6d4569a
Bug 1516062
- Turn on NEON when using gcc or clang on aarch64 r=jrmuizel
...
Since we don't define BUILD_ARM_NEON on aarch64 due to bug 1303952, aarch64
doesn't turn on neon for moz2d.
Also, msvc don't have arm_neon.h [*1], so we should turn on neon on aarch64
excepting msvc.
*1 https://developercommunity.visualstudio.com/content/problem/201662/arm-neonh-doenst-support-arm64-compiler.html
Differential Revision: https://phabricator.services.mozilla.com/D15371
--HG--
extra : moz-landing-system : lando
2018-12-26 16:27:08 +00:00
Ryan Hunt
a71d0035ad
Bug 1478815 part 7 - Add a buffer unrotate operation to DrawTarget. r=bas
...
This commit adds a buffer unrotate operation to DrawTarget. It's
initially implemented with LockBits in DrawTarget. DrawTargetDual
overrides the implementation to pass on the operation to it's
DrawTargets.
No override is given for DrawTargetCapture as we intentionally
avoid this code path when async painting as it can fail.
This is needed so that RotatedBuffer can expose a single DrawTarget,
which can be a DrawTarget (for normal alpha), DrawTargetDual (for
component alpha), or DrawTargetCapture (when async painting).
MozReview-Commit-ID: csjjZ733hl
--HG--
rename : gfx/layers/BufferUnrotate.cpp => gfx/2d/BufferUnrotate.cpp
rename : gfx/layers/BufferUnrotate.h => gfx/2d/BufferUnrotate.h
extra : rebase_source : 5d96e2a5d36a01f2f9992adb37830e56436c7c35
extra : source : 64cb50b227e0ae604653f03ce2e892493126392e
2018-08-01 12:50:32 -05:00
Ryan Hunt
53537230f9
Bug 1478815 part 1 - Add a PadEdges operation to DrawTarget. r=bas
...
This commit adds an operation to perform 'edge padding' on a draw
target. By default this is performed using LockBits, but it's
overriden in DrawTargetTiled and DrawTargetCapture to propagate
the call so it functions correctly.
This helps TiledContentClient move from applying this operation
on a per texture client basis, to being able to do it on the
DrawTargetTiled after painting. This in turn helps move all
paint thread operations into DrawTargetCapture.
MozReview-Commit-ID: 2ncOTxGXQfk
--HG--
rename : gfx/layers/BufferEdgePad.cpp => gfx/2d/BufferEdgePad.cpp
rename : gfx/layers/BufferEdgePad.h => gfx/2d/BufferEdgePad.h
extra : rebase_source : a3315644fe31f2a432935dcbfdb9969c58b691e1
extra : source : 699c954992f87db7fc792f5562090de42a8162cb
2018-08-01 12:44:33 -05:00
Jeff Muizelaar
8715d55e01
Bug 1480620. Add DrawTargetOffset. r=bas
...
This adds a DrawTargetOffset which is basically a simplified
DrawTargetTiled that only supports one tile. It useful for situations
where Cairo's device offset was used previously.
This also replaces WebRender's use of DrawTargetTiled which was just trying to
apply offset.
MozReview-Commit-ID: I33PB6CnHh0
--HG--
extra : rebase_source : 9fa51a0180343231cfca41daa0e3fa53f1b7befe
2018-08-03 10:48:37 -04:00
Masatoshi Kimura
3b21b7868b
Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
...
--HG--
extra : rebase_source : c09366fb93e5b0f72abe1e99d3094e3d96a934fb
extra : intermediate-source : 5950c9d63c3b4fd63a25464a7b50944aaec7079f
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09: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
Botond Ballo
74cd005201
Bug 1442767 - Rename Box to RectAbsolute (Moz2D changes). r=bas
...
MozReview-Commit-ID: 7VOZs8pQgJ4
--HG--
rename : gfx/2d/Box.h => gfx/2d/RectAbsolute.h
extra : rebase_source : 46dc03f33d51f28729a56cf25055f4eb3e7dad6f
2018-03-05 16:35:35 -05:00
Jonathan Kew
8334108f71
Bug 1433060 - Support font variations in Moz2d recording stream on Windows, so printing with variation fonts works properly. r=lsalzman
...
--HG--
rename : gfx/thebes/dw-extra.h => gfx/2d/dw-extra.h
2018-02-26 21:21:01 +00:00
Botond Ballo
8cddf32578
Bug 1434250 - Add a bare-bones Box class. r=bas
...
A Box is like a Rect but represented as (x1, y1, x2, y2) instead of
(x, y, w, h).
The API is bare-bones at the moment; it can be extended as needed
by future users.
MozReview-Commit-ID: FWv69Y5hP6t
--HG--
extra : rebase_source : 1f717727bc724842a2f6adcba9e6cbbe50059436
2018-02-09 15:40:07 -05:00
Sylvestre Ledru
f8b1d9ab46
Bug 1278282 - update of the moz.build files to remove gtk2 references r=lsalzman
...
MozReview-Commit-ID: FO1wEHzOkuN
--HG--
extra : rebase_source : ac7e61cf47d013de882048740c889735a0a7cad8
2018-01-10 10:04:59 +01:00
Sylvestre Ledru
4591d82b23
Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: HbF5oT5HW6f
--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Bas Schouten
6050c91090
Bug 1422475: Create FilterNodes on the paint thread when using Direct2D. r=dvander
...
MozReview-Commit-ID: tt9pRshj6i
2017-12-07 03:21:49 +01:00
David Anderson
cf84c3f01d
Add SourceSurfaceCapture to avoid main-thread rasterization with temporary DrawTargetCaptures. (bug 1395478 part 6, r=rhunt)
...
--HG--
extra : rebase_source : 3a3841e5a54f9780720a543ee792f501b5150b02
2017-10-31 12:02:31 -07:00
David Anderson
f97ea2781d
Create a CaptureCommandList abstraction for DrawTargetCapture. (bug 1395478 part 4, r=mchang)
...
--HG--
extra : rebase_source : 527e364c50365a5b793dfe743cb502dffb3c6eef
2017-10-31 12:02:30 -07:00
Lee Salzman
062ca88ee0
Bug 1371689 - reuse Skia's SkConvolutionFilter1D instead of forked code from Chromium. r=jrmuizel
...
MozReview-Commit-ID: 5MFXOXqQvTw
2017-06-22 13:57:17 -04:00
Jeff Muizelaar
63724b1070
Bug 1369552. Split out DrawTargetWrapAndRecord and DrawTargetRecording. r=Bas
...
DrawTargetRecording will stop playing back durin recording.
--HG--
rename : gfx/2d/DrawTargetRecording.cpp => gfx/2d/DrawTargetWrapAndRecord.cpp
rename : gfx/2d/DrawTargetRecording.h => gfx/2d/DrawTargetWrapAndRecord.h
extra : rebase_source : fd41326974905946318489cc801929328331ae73
2017-06-12 16:52:29 -04:00
Jeff Muizelaar
cf6d4425f4
Bug 1359527. Fixup DrawTarget::IntoLuminance mismerge. r=mchang
...
This adds back the NEON code and fixes up a couple of other pieces
2017-06-09 10:57:44 -04:00
Jeff Muizelaar
ec4e044d9e
Bug 1360001. Add back some recording helpers. r=bobowen
...
These are only going to be used temporarily while we bring up blob images for
webrender.
2017-05-01 21:58:21 -04:00
Lee Salzman
bfa3b7a714
Bug 1355931 - move ScaledFont::VariationSetting into separate header for sharing with thebes. r=jrmuizel
...
MozReview-Commit-ID: 4UThWTMCuz9
2017-04-14 14:11:02 -04:00
Lee Salzman
28471864af
Bug 1355931 - move font serialization from ScaledFont to UnscaledFont. r=jrmuizel
...
MozReview-Commit-ID: 3d1XMoe2BKj
2017-04-14 14:11:00 -04:00
Bob Owen
3f14ad38c2
Bug 1347646 Part 1: Backout 4849ef8c9a34 for causing OOM issues when printing PDFs. r=jwatt, r=lsalzman, r=tobytailor
2017-04-08 22:47:51 +01:00
Lee Salzman
a168dcdbf3
Bug 1348980 - implement UnscaledFont API for Moz2D and thebes. r=jfkthame
2017-04-06 17:41:02 -04:00
Lee Salzman
7ffa1938b6
Bug 738343 - part 3 - Optimize Moz2d swizzles for ARM NEON. r=jrmuizel
2017-02-12 09:27:25 -05:00
Lee Salzman
11c75e1707
Bug 738343 - part 2 - Optimize Moz2d swizzles for SSE2. r=jrmuizel
2017-02-12 09:27:04 -05:00
Lee Salzman
e5d7fece2c
Bug 738343 - part 1 - Add Moz2d API for optimized swizzle/premultiply/unpremultiply. r=jrmuizel
2017-02-12 09:26:34 -05:00
Tobias Schneider
2722515c91
Bug 1311512 - Use recording draw target for mozPrintCallback canvases. r=jwatt
2016-12-22 11:11:15 -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
Mason Chang
bf9abf2c35
Bug 1320743 - Delete PathCG. r=lsalzman
2016-11-30 11:12:51 -08:00
Matt Woodrow
4d0b10822d
Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro
2016-10-27 13:17:10 +13: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
Mason Chang
cd84eadb22
Bug 1258751: Delete the CoreGraphics backend. r=mstange
2016-10-18 23:22:44 -04:00
Miko Mynttinen
7ecd75b61b
Bug 1286412 - Implement polygon clipping and triangulation. r=kip
...
MozReview-Commit-ID: 8TWHBIFUV6Q
--HG--
extra : rebase_source : c1861d68cec56a5031489c439bbe965db57e979f
2016-10-03 16:35:52 -07:00
Haik Aftandilian
e4b0bb24b7
Bug 1228022 - part 1 - Support replay of Mac print stream, adds NativeFontResourceMac, ScaledFontMac::GetCairoFontFace; r=jfkthame
...
Adds the necessary plumbing to allow Mac font creation and
referencing during replay of a remote print stream.
MozReview-Commit-ID: 18jpeImPwCI
--HG--
extra : transplant_source : %AE%3A%13%7B%E2VzMM%0F%AD%BF%A0%EC%BD%40%5E%281n
2016-09-15 14:13:57 -07:00
Makoto Kato
1ab5272de6
Bug 1298569 - Part 2. Replace -fpu=neon with CONFIG['NEON_FLAGS']. r=glandium
...
Use CONFIG['NEON_FLAGS'] on moz.build instead.
MozReview-Commit-ID: F6R532Hi5mg
--HG--
extra : rebase_source : 7243f316de3138c702f09b336f6d430e6c9c15b5
2016-09-14 18:34:19 +09:00
Miko Mynttinen
2123dc4b39
Bug 1292390 - Add Polygon data structure. r=jrmuizel, r=kip
...
MozReview-Commit-ID: HFgVFgLqB12
--HG--
extra : transplant_source : %5E-oo20%15%B3%D3%A3%AC%23%B9%19.%92%AE%2A%06%25
2016-08-09 11:24:18 -07:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Lee Salzman
1bc7c6bf66
Bug 1287552 - part 4 - add ScaledFontFontconfig to remember generating FcPattern. r=jrmuizel
...
MozReview-Commit-ID: AbWjvL5IWCN
--HG--
extra : rebase_source : 9ac07bee30de7b2cdcca84b31c1fb00d9f529c56
2016-07-20 15:07:11 -04:00
Lee Salzman
16ca3223d9
Bug 1286317 - part 1 - remove Qt widget usage from gfx. r=jrmuizel
2016-07-12 20:27:57 -04:00
David Anderson
4b55758fd2
Remove PreferenceAccess. (bug 1280822 part 3, r=milan)
2016-06-26 23:33:18 -07:00
Wes Kocher
1587b12aa9
Backed out 4 changesets (bug 1280822) for leaking nsTArray_base
...
Backed out changeset b9a0567cd7c1 (bug 1280822)
Backed out changeset 93d483583ffa (bug 1280822)
Backed out changeset 91715d8e468f (bug 1280822)
Backed out changeset 3db77f57cef4 (bug 1280822)
2016-06-24 14:43:41 -07:00
David Anderson
75b68d7a82
Remove PreferenceAccess. (bug 1280822 part 3, r=milan)
...
--HG--
extra : rebase_source : 0326ce94bd482d07fef664a26b2fa0b75706a0e5
2016-06-24 16:16:34 -07:00
Tooru Fujisawa
e59f1fba71
Bug 382721 - Part 4: Support dotted/dashed border-radiused corners. r=jrmuizel
2015-08-06 11:42:09 +09:00
Carsten "Tomcat" Book
8ec9dd1719
Backed out changeset 0863ce40d2f7 (bug 382721)
...
--HG--
extra : rebase_source : ee6aa275c7ee4291d87a051e92e2e28979b83d96
2016-06-10 15:38:37 +02:00