Граф коммитов

6840 Коммитов

Автор SHA1 Сообщение Дата
Botond Ballo aa3610ce43 Bug 1367765 - Put apz scrollbar touch-dragging behind a pref. r=rhunt
The pref is enabled by default, but it allows the feature to be disabled
easily if necessary.

MozReview-Commit-ID: Iu1JmMKEQv9

--HG--
extra : rebase_source : 57c27ef5840d4932e28cda2eb2f6e921ccd11a71
2017-09-12 19:38:30 -04:00
Jean-Yves Avenard 66188b449c Bug 1352016 - P3. Check if NV12 rendering is usable when allocating D3D11 surface. r=mattwoodrow
MozReview-Commit-ID: EgA6lEeIyBj

--HG--
extra : rebase_source : cb3c4e5e864085fe76514096d6d9aa9b49d0a334
2017-09-10 17:54:31 +02:00
Sebastian Hengst be553422dd merge mozilla-central to autoland. r=merge a=merge 2017-09-13 11:30:55 +02:00
Alastor Wu 0eecc91949 Bug 1397141 - part2 : move resolution constraints to WMFVideoMFTManager r=jya
WMFDecoderModule should only focus on whether the mime type is supported or not.
Let WMFVideoMFTManager do the checking.

MozReview-Commit-ID: K6jPfrntu7s

--HG--
extra : rebase_source : f6ba055824c3a7ebac85666e3201fd6b79e8d815
2017-09-13 15:05:37 +08:00
Sebastian Hengst 483665f6a4 Backed out changeset 81a987374ac7 (bug 1397141) 2017-09-13 09:25:55 +02:00
Alastor Wu 8c01968e21 Bug 1397141 - part2 : move resolution constraints to WMFVideoMFTManager r=jya
WMFDecoderModule should only focus on whether the mime type is supported or not.
Let WMFVideoMFTManager do the checking.

MozReview-Commit-ID: K6jPfrntu7s

--HG--
extra : rebase_source : f6ba055824c3a7ebac85666e3201fd6b79e8d815
2017-09-13 15:05:37 +08:00
Wes Kocher 7a8b3e02a0 Backed out 4 changesets (bug 1352016) for gfx crashes in test_TelemetryEnvironment.js a=backout CLOSED TREE
Backed out changeset dd7342e18e67 (bug 1352016)
Backed out changeset ebc7c92e8dc0 (bug 1352016)
Backed out changeset e79e512f803f (bug 1352016)
Backed out changeset 9eed6a69298c (bug 1352016)

MozReview-Commit-ID: CYDuqu0Hmtb
2017-09-12 17:09:40 -07:00
Jean-Yves Avenard cf367ef0c5 Bug 1352016 - P2. Check if NV12 rendering is usable when allocating D3D11 surface. r=mattwoodrow
MozReview-Commit-ID: EgA6lEeIyBj

--HG--
extra : rebase_source : 7b8a8f1669d268a5e1512320b891b35722fe4c14
2017-09-10 17:54:31 +02:00
Myk Melez 917428e84b Bug 1375978 - enumerate fonts asynchronously; r=jfkthame,nhnt11 2017-09-12 11:05:37 -07:00
Jonathan Kew 162dd2e4e1 Bug 1395061 - patch 4 - Refactor checks in the gfxPlatformFontList::GetFontList loop to use a single virtual method call instead of three separate calls. r=jrmuizel 2017-09-11 19:24:01 +01:00
Jonathan Kew 82bdaf03b2 Bug 1395061 - patch 3 - Clean up vestigial code that existed to support setting the gfxFontEntry::mSymbolFont flag. r=jrmuizel 2017-09-11 19:23:30 +01:00
Jonathan Kew 379ddad597 Bug 1395061 - patch 2 - Implement default gfxFontFamily::IsSymbolFontFamily, and provide override for GDI font backend. r=jrmuizel 2017-09-11 19:22:57 +01:00
Myk Melez aa59a13010 Bug 1395061 - patch 1 - Refactor gfxFontEntry::SupportsLangGroup and MatchesGenericFamily into gfxFontFamily. r=jfkthame 2017-09-11 19:22:15 +01:00
Jonathan Kew 24e13c5d2e Bug 1398458 - Ensure we don't leave null gfxFontEntry records in a formerly 'simple' gfxFontFamily when adding extra faces. r=heycam 2017-09-10 08:49:09 +01:00
David Anderson b4357df64f Rename the Advanced Layers pref to indicate that it's stable. (bug 1385051 part 1, r=milan) 2017-09-08 10:21:18 -07:00
Jonathan Kew 4f28c7d6bb Bug 1394236 - For Apple fonts that include a 'kerx' table, prefer the Core Text shaping path so that we get kerning support. r=jrmuizel 2017-09-08 15:33:48 +01:00
Jonathan Kew b43771fc5f Bug 1397238 - Reset the mIsSimpleFamily flag whenever a face is added to a font family, to ensure we will re-check the available faces before making assumptions about face indexes in FindAllFontsForStyle. r=heycam 2017-09-08 10:32:08 +01:00
Jonathan Kew a0c6466aaa Bug 1397292 - Activate all fonts from the "Language Support" folder in a single batch instead of individually, to reduce font-list churn. r=jrmuizel 2017-09-06 17:05:26 +01:00
Sebastian Hengst b278f15c7f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-06 00:00:04 +02:00
Sebastian Hengst 01c1a3c741 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 17ViEoPyjPa
2017-09-05 23:55:39 +02:00
Jonathan Kew 20030ac275 Bug 1396453 - (speculative fix) - Remove the registered-fonts-changed notification observer when shutting down Mac font list, to avoid any risk of being called later during shutdown. r=jrmuizel 2017-09-05 20:45:26 +01:00
cku f1fd114ae6 Bug 1396489 - Part 3. Use gfxContext::GetClipExtents(false) when clipped rect in device space is needed. r=mstange
MozReview-Commit-ID: YO4JACFK9O

--HG--
extra : rebase_source : 068eb69d634cfc5150d7cb864c366e719a025859
2017-09-04 14:04:17 +08:00
cku 56e29f215c Bug 1396489 - Part 2. Make gfxContext::GetClipExtents can return clipped rect in either user space or device space. r=mstange
MozReview-Commit-ID: 8orKmq1vz8K

--HG--
extra : rebase_source : 4d9ef1bd6154f7bf4195e7aa51221d5cfa7e67f8
2017-09-04 12:32:03 +08:00
cku ed2ded9d29 Bug 1396489 - Part 1. Change gfxContext::GetClipExtents to a const function. r=mstange
MozReview-Commit-ID: ANFDAxeL5G0

--HG--
extra : rebase_source : 1ce7dec9ce121522caec3f316b71092634d5cdb0
2017-09-04 12:56:13 +08:00
Andrew Osmond 6afddd6d86 Bug 1370412 - Part 1. Add preference to control "factor of 2" mode for ImageSurfaceCache. r=tnikkel 2017-09-05 07:58:44 -04:00
Jonathan Kew 6ceb7d87f9 Bug 835204 - Accept styled font-family names as used in the legacy GDI model, for compatibility with content that assumes GDI-style font naming. r=heycam 2017-08-01 11:25:35 +01:00
Jeff Gilbert 8a890b29aa Bug 1322746 - Support PLANAR_YCBCR, GPU_VIDEO, and D3D11_YCBCR_IMAGE in GLBlitHelper. - r=jerry
MozReview-Commit-ID: FNsmq0RPvYB
2017-09-02 21:52:16 -07:00
Jean-Yves Avenard 4786e18bb6 Bug 1395858 - Use gfxPrefs to read AMD VP9 preference. r=padenot
MediaPrefs isn't initialised in the GPU process, so use gfxPrefs instead.

MozReview-Commit-ID: CgDSTtVo6GL

--HG--
extra : rebase_source : 7bac527573f8d85c0ea88334c8691d27e95ee53c
2017-09-01 17:05:47 +02:00
Jonathan Kew 6e66b92005 Bug 1393624 - Blacklist more invalid characters found in Apple's fonts. r=jrmuizel 2017-08-31 15:17:44 +01:00
Brian Birtles 670dfc03bf Bug 1395452 - Call HasAnimationController() before GetAnimationController(); r=hiro
nsDocument::GetAnimationController() will lazily create an animation controller
which, in some call sites, is unnecessary.

This patch first calls HasAnimationController() and only calls
GetAnimationController() if it returns true. This avoids creating an animation
controller in situations where one is not necessarily required.

MozReview-Commit-ID: 4cdpLRvMVJU

--HG--
extra : rebase_source : 125a59c0b0535d5df9a9964538b3784ddb1212c7
2017-08-31 15:00:39 +09:00
Kaku Kuo da586051ca Bug 1393392 P1 - a preference to ignore hw-decoding blacklist in gpu process; r=gerald,mattwoodrow
Gecko still finds out the current driver is blacklisted or not if we set "media.wmf.deblacklisting-for-telemetry-in-gpu-process" = true.
But this is only for telemetry usage.

MozReview-Commit-ID: 2Ydg527uQhe

--HG--
extra : rebase_source : d516f12674aa5532416635d6b95950786b74f6a2
extra : intermediate-source : ed0c0f7e47aca0ab962922f5e9ac58d6486ebc87
extra : source : b24c06b2b9854f68b60ba4a73755cf65c5266ae9
2017-08-24 19:02:06 +08:00
Botond Ballo 236b0fa4f4 Bug 1394926 - Add APZ autoscroll information to about:support. r=kats
MozReview-Commit-ID: FlZNdHuoirG

--HG--
extra : rebase_source : 1cc352dc9a19c4a15d5bf7e75370a68c13024dda
2017-08-29 16:27:19 -04:00
Kartikaya Gupta feac69c750 Bug 1393836 - Enable advanced table layers by default with WebRender. r=mtseng
MozReview-Commit-ID: 3urG2CInsoI

--HG--
extra : rebase_source : 965d7da0352a28c755728830bdf59d45c79369f7
2017-08-25 15:06:06 -04:00
Nazım Can Altınova b2b88364dd Bug 1355721 - stylo: Implement font feature values lookup r=emilio,xidorn
MozReview-Commit-ID: 7wgQ1NCn7vL

--HG--
extra : rebase_source : 6c774e87b8bd3f30d819302aba5a73a50047981a
2017-08-23 18:05:53 -07:00
Gregory Szorc 2a5e786286 Backed out changesets b749fc196a50, 2791eac8d760 (bug 1355721) for build bustage
CLOSED TREE

--HG--
extra : amend_source : 7618f27e1cf71347f12384935374d303d5c1ab23
extra : histedit_source : 1143d226673ace563bb5d9ff3c420ded33439791%2C9746a30097304bd2214a0072773dc00c767d31cd
2017-08-24 20:30:17 -07:00
Nazım Can Altınova 00f1cc4565 Bug 1355721 - stylo: Implement font feature values lookup r=emilio,xidorn
MozReview-Commit-ID: 7wgQ1NCn7vL

--HG--
extra : rebase_source : c104c2b09ebfbf5cdb98bc5638473cac1bfc40c9
2017-08-23 18:05:53 -07:00
Jonathan Kew 0ef13f6a7e Bug 1392659 - Activate fonts available in the macOS "Language Support" directory so that they are available in Gecko. r=jrmuizel 2017-08-24 09:33:38 +01:00
Jonathan Kew c8d112cc49 Bug 1393185 - Annotate gfxFT2LockedFace as a stack-based helper, and avoid touching the refcount of the font. r=lsalzman 2017-08-24 09:33:34 +01:00
Wes Kocher fb8abb94c7 Merge inbound to central, a=merge
MozReview-Commit-ID: 1mWKzfX4kl
2017-08-23 18:07:24 -07:00
Eric Rahm a33f11e0f5 Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj
We should not be declaring forward declarations for nsString classes directly,
instead we should use nsStringFwd.h. This will make changing the underlying
types easier.

--HG--
extra : rebase_source : b2c7554e8632f078167ff2f609392e63a136c299
2017-08-16 16:48:52 -07:00
Alexis Beingessner edd35f0255 Bug 1368120 - Enable webrender border handling by default. r=kats
We largely handle borders correctly except for two major classes of error:

* https://bugzilla.mozilla.org/show_bug.cgi?id=1363060 - gecko doesn't feed webrender transforms properly (major)
* https://github.com/servo/webrender/issues/1280 - webrender's 3D border colours are too naive (minor)

MozReview-Commit-ID: 42JtbLYzqKn
2017-08-23 12:00:57 -04:00
Nicolas Silva 9f6f1a7d88 Bug 1390840 - Add prefs to display the debugging view of webrender's texture cache and intermediate targets. r=jrmuizel 2017-08-23 12:00:37 +02:00
Kevin Chen 9fa0238d13 Bug 1362321 - Do not crash in gfxPlatform:Init if there is a TDR happening; r=bas
MozReview-Commit-ID: 9gJCErHosg1

--HG--
extra : rebase_source : 6fc0e95b18ee795f2571d82ca81f3a72970142b3
2017-08-09 18:00:01 +08:00
Nicholas Nethercote 8a72cf2251 Bug 1390428 (part 2, attempt 2) - Remove more nsXPIDLCString local variables. r=erahm.
--HG--
extra : rebase_source : 69d58b0cfb56efc6b03d8e2d7be2ce3c3e6cd843
2017-08-21 20:01:27 +10:00
Sebastian Hengst 441fc1a176 Backed out changeset b9c53ad8893b (bug 1390840) 2017-08-21 18:38:22 +02:00
Nicolas Silva 55bbef54aa Bug 1390840 - Add prefs to display the debugging view of webrender's texture cache and intermediate targets. r=jrmuizel 2017-08-21 18:22:56 +02:00
Kartikaya Gupta 7fe3b1b02c Bug 1391770 - Don't allow a faraway second tap to start a one-touch-pinch gesture. r=botond
This patch adds a new tolerance pref, which controls how far the second touchdown
is allowed to be from the first touchdown when detecting a multi-tap gesture
such as double-tap or one-touch-pinch. This stops the one-touch-pinch code
from inadvertently triggering when the user does a tap followed by a second tap
far away from the first.

The default value for the new pref is 5x the touch-start tolerance pref. This
seems to provide a reasonable behaviour for me, although this value could
probably be tuned.

MozReview-Commit-ID: 63aAyGCbvoN

--HG--
extra : rebase_source : 36e9bd66d165c8d746ea7b5d6c33e9cf2771194a
2017-08-19 08:50:55 -04:00
Wes Kocher b1fc5e008c Merge inbound to central, a=merge
MozReview-Commit-ID: 4cWGBbMEU2x
2017-08-18 15:53:07 -07:00
Eric Rahm 79e2533076 Bug 1389598 - Part 1: Remove gonk references from gfx/ r=jrmuizel
--HG--
extra : rebase_source : f53ae270c09892d65d9119a109a29317834f81b1
2017-08-11 17:45:50 -07:00
Kevin Hsieh 572c3c94d2 Bug 1369672 - Update OTS to support Graphite table sanitization. r=jfkthame
MozReview-Commit-ID: 4WU4nQcsQgt

--HG--
extra : rebase_source : 8a27c738aaccb5bd47bf057de181c4abe210ba93
2017-08-11 16:36:12 -07:00