Botond Ballo
eed69a71e3
Bug 1352863 - Implement support for slider.snapMultiplier during APZ dragging. r=kats
...
MozReview-Commit-ID: EbmjdNLVsq7
--HG--
extra : rebase_source : 47e5b69976226f2e94545c19d4cce75f1b0b97e1
2017-05-19 20:15:44 -04:00
Mason Chang
844f99874d
Bug 1361787. Don't use the minimum box shadow when printing box shadows. r=lsalzman
2017-05-11 09:56:15 -07:00
Lee Salzman
373ded04b3
Bug 1340627 - part 4 - fix thebes for Skia m59. r=mchang
...
MozReview-Commit-ID: JDlSyKeT389
2017-05-09 22:31:07 -04:00
Carsten "Tomcat" Book
52cc9e6849
Backed out changeset 7134018d3724 (bug 1340627)
2017-05-11 12:51:56 +02:00
Lee Salzman
8c776dd5bc
Bug 1340627 - part 4 - fix thebes for Skia m59. r=mchang
...
MozReview-Commit-ID: JDlSyKeT389
2017-05-09 22:31:07 -04:00
Ryan VanderMeulen
5da6eebcc8
Bug 1364433 - Add MOZ_CRASHREPORTER ifdefs to DeviceManagerDx.cpp to fix --disable-crashreporter bustage. r=dvander
2017-05-14 15:54:53 -04:00
Sebastian Hengst
484d2b7f51
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Botond Ballo
2c52e58651
Bug 1349750 - Put async initiation of scrollbar drags behind a pref. r=kats
...
This allows the feature to ride the trains later than async scrollbar
dragging itself, if desired.
MozReview-Commit-ID: 73ZlCqM5hMN
--HG--
extra : rebase_source : dabc4a4b72210133d8b62256510213183312f18f
2017-05-10 17:57:54 -04:00
Kartikaya Gupta
06d6b428cc
Bug 1342488 - Allow enabling webrender with an environment variable. r=rhunt
...
This simplifies plumbing it through mozharness for automated testing, because
mozharness doesn't already have the ability to set prefs for all the different
kinds of test suites. It can set environment variables though.
MozReview-Commit-ID: BdsH09WTqO4
2017-05-13 07:47:40 -04:00
Morris Tseng
fa0c122cf9
Bug 1365185 - Clear extents cache after pref "gfx.font_rendering.opentype_svg.enabled" is changed. r=jfkthame
...
MozReview-Commit-ID: E1whRwmuMGu
--HG--
extra : rebase_source : 40d36395cbb32d55200a884971974bb787dc4e45
2017-05-16 13:30:15 +08:00
Kartikaya Gupta
643cd662e4
Bug 1364987 - Remove the pref to allow APZ with webrender. r=rhunt
...
People seem to be turning on this pref in the wild and generating crash reports
which are wasting time and energy of people who have better things to do.
MozReview-Commit-ID: 5VfjKaDluYJ
--HG--
extra : rebase_source : fa2237835d842ddb118c6ba6096f6b703aef9d81
2017-05-16 09:43:36 -04:00
Daosheng Mu
a839377259
Bug 1343730 - Part 1: Support submitFrame and encode the frame as a base64 image in VRPuppet; r=kip
...
MozReview-Commit-ID: jHKHSoNo6X
--HG--
extra : rebase_source : df5050a488e19af81ebd240c5fb5fdfd30b46907
2017-05-23 16:55:30 +08:00
Wes Kocher
24a327994e
Backed out 9 changesets (bug 1340627) for graphical glitches a=backout
...
Backed out changeset 0b1371055c7f (bug 1340627)
Backed out changeset f152be1fadb7 (bug 1340627)
Backed out changeset c691e2ab6a0c (bug 1340627)
Backed out changeset 3cb4bceb8d79 (bug 1340627)
Backed out changeset 026aadd76d06 (bug 1340627)
Backed out changeset fdbd5d281287 (bug 1340627)
Backed out changeset 75fb0d9858a9 (bug 1340627)
Backed out changeset 0d4ec7d38a00 (bug 1340627)
Backed out changeset af6f19870b2a (bug 1340627)
MozReview-Commit-ID: 9dHr7xMZezY
--HG--
rename : gfx/skia/skia/src/core/SkBlitRow.h => gfx/skia/skia/include/core/SkBlitRow.h
rename : gfx/skia/skia/src/effects/SkGaussianEdgeShader.h => gfx/skia/skia/include/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/xml/SkXMLParser.h => gfx/skia/skia/include/xml/SkXMLParser.h
rename : gfx/skia/skia/include/private/SkMessageBus.h => gfx/skia/skia/src/core/SkMessageBus.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/private/GrGLSL_impl.h => gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h
2017-05-10 10:01:18 -07:00
Lee Salzman
b5a87d9006
Bug 1267909 - fix line heights to properly scale to requested size for color-bitmapped SFNTs. r=jfkthame
...
MozReview-Commit-ID: KJ0ixEj7ZiV
2017-05-10 11:26:43 -04:00
Carsten "Tomcat" Book
d66b9f27d5
merge mozilla-inbound to mozilla-central a=merge
2017-05-10 15:07:28 +02:00
Lee Salzman
5587d89b74
Bug 1340627 - part 4 - fix thebes for Skia m59. r=mchang
...
MozReview-Commit-ID: JDlSyKeT389
2017-05-09 22:31:07 -04:00
Wes Kocher
e2902f93a3
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: Fp2oBAcru51
2017-05-09 14:34:34 -07:00
Lee Salzman
8b90fc84ee
Bug 1357692
- only accelerate gfxAlphaBoxBlur when blur area is large enough to balance resource creation costs. r=mchang
...
MozReview-Commit-ID: HcRahaq8ORa
2017-05-09 12:59:08 -04:00
Gerald Squelart
bc7b6779e4
Bug 1356138 - Backout bug 1337063 (Msg_GetGraphicsDeviceInitData opt) for Talos regression - r=dvander
...
MozReview-Commit-ID: LS1Gg1HRwKo
--HG--
extra : rebase_source : 8b20bc37b20feac4c0b590c8b286a9ee834646e2
2017-05-09 14:40:11 +12:00
Lee Salzman
990319cb3a
Bug 1364007 - clip drawing of native Cocoa widgets in gfxQuartzNativeDrawing. r=mstange
...
MozReview-Commit-ID: 4XhP6Q4PTc4
2017-05-12 11:59:22 -04:00
Kartikaya Gupta
5d5cdc518c
Merge m-c to graphics
...
MozReview-Commit-ID: 2cIoGVmLEuA
2017-05-08 10:50:52 -04:00
Kartikaya Gupta
eac87bc2bf
Merge m-c to graphics
...
MozReview-Commit-ID: 9HO5vhW5fyh
2017-05-04 09:05:26 -04:00
Kartikaya Gupta
b6b23a1376
Merge m-c to graphics
...
MozReview-Commit-ID: DVUE3Wys3HV
2017-05-03 08:52:43 -04:00
Kartikaya Gupta
7259e787f4
Merge m-c to graphics
...
MozReview-Commit-ID: 9XwZUWIhGir
2017-05-02 09:45:11 -04:00
peter chang
3ba22de014
Bug 1358437 - Correct the way to use override pref for WebRender OMTA, r=me
...
MozReview-Commit-ID: JGrt3GVU0yo
2017-05-02 11:41:52 +08:00
peter chang
45183ad68d
Bug 1358437 - enable WebRender OMTA by default, r?kats
...
MozReview-Commit-ID: DG2eK8lMTBi
2017-05-02 10:38:31 +08:00
Jeff Muizelaar
8c32ac0090
Bug 1360001. Add WebRenderPaintedLayerBlob for painting with BlobImages. r=kats
...
This is a bit of a rough implementation but it works
enough to start.
2017-05-01 21:58:52 -04:00
Jim Chen
a4925f9438
Bug 1357873 - Fix format warning in gfx; r=heycam
...
Use printf macros to accommodate AArch64 types.
2017-05-01 14:46:01 -04:00
Nicholas Nethercote
273ec65c56
Bug 1123754 (part 1) - Rename ProfilerMarkers.{h,cpp} as ProfilerMarkerPayload.{h,cpp}. r=mstange.
...
Because ProfilerMarkerPayload is the main type defined in these files, and
because the next patch is going to introduce ProfilerMarker.{h,cpp}, which
would be confusingly similar to the old names.
--HG--
rename : tools/profiler/core/ProfilerMarkers.cpp => tools/profiler/core/ProfilerMarkerPayload.cpp
rename : tools/profiler/public/ProfilerMarkers.h => tools/profiler/public/ProfilerMarkerPayload.h
extra : rebase_source : df22a2ab3867650348ae78fe959ff0366aff230b
2017-04-27 07:36:19 +10:00
David Anderson
413ea1b941
Pre-initialize DeviceAttachmentsD3D11 on the compositor thread, immediately after the GPU process initializes. (bug 1360766
part 3, r=bas)
2017-04-30 11:38:59 -07:00
David Anderson
dab415165b
Store DeviceAttachmentsD3D11 on DeviceManagerDx instead of ID3D11Device. (bug 1360766
part 2, r=bas)
2017-04-30 11:38:59 -07:00
Sebastian Hengst
42fd33ff9c
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: ELENTh08Be7
2017-04-29 11:10:31 +02:00
Jonathan Kew
afaf811234
Bug 1360620 - Optimize GlyphRun storage strategy in gfxTextRun, to reduce the overall size of the gfxTextRun object. r=jrmuizel
2017-05-02 11:14:53 +01:00
Lee Salzman
7afaed3c92
Bug 1360862 - use FC_OUTLINE instead of FC_SCALABLE with Fontconfig to check if a font is scalable. r=jfkthame
...
MozReview-Commit-ID: 1omWCJz5IK6
2017-05-03 20:45:39 -04:00
Wes Kocher
21203b47b5
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00
Bas Schouten
76892628f3
Bug 1348320: Use UpdateSubResource on crashy intel device/OS version combinations. r=jrmuizel
...
MozReview-Commit-ID: EdDn4qy1ajP
--HG--
extra : rebase_source : fadec88a9586bc40e44d2f91aae5c9c5f8f59a5c
2017-05-01 01:11:24 +00:00
Jonathan Kew
4c35432a3a
Bug 1360309 - Work around some broken Apple fonts. r=jrmuizel
2017-05-03 09:03:18 +01:00
Jonathan Kew
25183dff43
Bug 1353000 - Respect the round-to-pixels flags when caching shaped-word data. r=jrmuizel
2017-04-12 14:55:13 +01:00
Wes Kocher
be34ade6b6
Merge autoland to central, a=merge
...
MozReview-Commit-ID: 2pgVZdnDKno
2017-04-27 12:44:03 -07:00
Kartikaya Gupta
c77714e7cd
Merge m-c to graphics
...
MozReview-Commit-ID: EdvTPLc8PCy
2017-04-27 13:03:06 -04:00
Kartikaya Gupta
e37b4e9289
Merge m-c to graphics
...
MozReview-Commit-ID: 6UBB4TW6an5
2017-04-27 09:31:17 -04:00
Kartikaya Gupta
b21511b7c0
Merge m-c to graphics
...
MozReview-Commit-ID: GdyXEYZsVuX
2017-04-25 08:32:48 -04:00
Jamie Nicol
5f1bd7050d
Bug 1352034 - Part 1 Turn on layers.advanced.solid-color-layers r=mchang
2017-04-24 15:35:17 -04:00
Ethan Lin
e7c48eaf73
Bug 1357003 - Keep original layer state for basic layer manager when enabling advanced layer. r=mattwoodrow
...
--HG--
extra : rebase_source : 75540e18973d788e4e076aa3bdfa8a26036b2269
2017-04-21 23:11:38 +08:00
Kartikaya Gupta
2e1380aecf
Merge m-c to graphics
...
MozReview-Commit-ID: 5zsIClrx1FB
2017-04-21 10:01:47 -04:00
Carsten "Tomcat" Book
975e251aff
merge mozilla-inbound to mozilla-central a=merge
2017-04-21 10:57:02 +02:00
peter chang
4cf27c49b8
Bug 1345017 - Disable OMTA with webrender by default, r=kats
...
MozReview-Commit-ID: 4cA8n8XYall
2017-04-17 22:22:47 +08:00
Nicholas Nethercote
bc1d6a21a2
Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto.
...
TimeStamp::ProcessCreations()'s aIsInconsistent outparam is ignored by the
majority of its caller. This patch makes it optional. Notably, this makes
ProcessCreation() easier to use in a constructor's initializer list.
2017-04-26 14:55:54 +10:00
Carsten "Tomcat" Book
e1e203f1f5
Merge mozilla-central to autoland
2017-04-27 16:36:41 +02:00
Jonathan Watt
d8c9421010
Bug 1359155, part 4 - Remove gfxASurface::FormatStrideForWidth. r=mstange
...
MozReview-Commit-ID: KmFvlWgmq8f
2017-03-30 15:58:31 +01:00
Daosheng Mu
b4fb3b9c83
Bug 1353523
- Add adjustable threshold value for VR controller trigger inputs; r=kip
...
MozReview-Commit-ID: KQMccZeE2IK
--HG--
extra : rebase_source : b8c60e59c7f9678fdb15f3dcc6770198ec35b82a
2017-04-19 13:14:13 +08:00
Wes Kocher
226702fd85
Merge m-c to autoland a=merge
...
MozReview-Commit-ID: LOGgOErcV9L
2017-04-26 17:43:38 -07:00
Sebastian Hengst
aa97b436a2
Backed out changeset 03a3ed5fbce1 (bug 1331915) for telemetry bustage. r=backout
2017-04-27 01:05:03 +02:00
Tom Ritter
96b2a2c6e3
Bug 1331915 Add Telemetry probe to Graphite library usage r=jfkthame
...
MozReview-Commit-ID: 1aU5ddQoLnV
--HG--
extra : rebase_source : f4237dba387d977f0f6036f7bc5fc15822ea2bf4
2017-04-21 14:09:53 -05:00
Kartikaya Gupta
c9e542c4d7
Bug 1359061 - Report WR state via ScopedGfxFeatureReporter in all processes. r=dvander
...
We were only reporting the WR feature state in crash reports from the parent
process. However, it would be useful to have in GPU and content process crash
reports as well, so use the ScopedGfxFeatureReporter in those processes as well.
MozReview-Commit-ID: Em37uLVPboK
--HG--
extra : rebase_source : c5bae376d084b7579308dcf1f5fb6186a231a868
2017-04-24 10:06:06 -04:00
Kartikaya Gupta
7a4b7a370e
Bug 1356695 - Ensure gfxPrefs is initialized if gfxPlatform::AsyncPanZoomEnabled is called early in startup. r=milan
...
MozReview-Commit-ID: CnHHcuZRPTc
2017-04-17 11:56:26 -04:00
Jeff Muizelaar
67e82cd2a7
Bug 1356689. Add pref to highlight painted layers. r=mchang
...
This is valuable for looking at pages to see where we're still using
painted layers.
2017-04-17 11:10:02 -04:00
vincentliu
3b05828b37
Bug 1350677
- Add Labeling for gfxFontCache. r=jfkthame
...
From cef7c4838ae3efa519e4d20953cac7dbe40d1aca Mon Sep 17 00:00:00 2001
2017-04-13 09:59:05 +08:00
Sebastian Hengst
8bd051237a
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Jay Harris
6ce213e795
Bug 1338011 - Adds an intermediate fallback when the GPU process crashes - r=gerald
...
MozReview-Commit-ID: 9x1ckaWagcE
--HG--
extra : rebase_source : 2962f8572dd36b2dfecb7bb30ba515fc7c6323c9
2017-04-15 09:34:01 +12:00
Hiroyuki Ikezoe
c8b56985f8
Bug 1354876 - Add variables for represents 'normal' value for font-variant-{alternates, east-asian, numeric, ligatures}. r=heycam
...
MozReview-Commit-ID: 2ofk4h8fN6Z
--HG--
extra : rebase_source : d99bef63145b92d70815a3f8b40bc752df79f546
2017-04-14 10:41:21 +09:00
Hiroyuki Ikezoe
23622d782f
Bug 1354876 - Use literal numbers to shift bit for macros of font-variant-{alternates, east-asian, numeric, ligatures}. r=heycam
...
rust-bindgen does not support this kind of constants macro.
MozReview-Commit-ID: DxR65I08N53
--HG--
extra : rebase_source : dc7d16ce6eb1855595e5fdadb201939b75a4d919
2017-04-14 10:41:21 +09:00
Wes Kocher
514e230373
Merge inbound to central, a=merge
2017-04-13 17:24:01 -07:00
Wes Kocher
4fab232444
Merge autoland to central, a=merge
2017-04-13 13:03:43 -07:00
Jeff Gilbert
326703ec04
Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
...
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-13 09:14:34 -07:00
Kartikaya Gupta
b4341d2689
Merge m-c to graphics
...
MozReview-Commit-ID: EGaA6e4loBM
2017-04-13 11:08:02 -04:00
Wes Kocher
25d50f2c30
Merge inbound to central, a=merge
2017-04-12 14:39:09 -07:00
Wes Kocher
1196244596
Backed out 3 changesets (bug 1353000) for devtools failures a=backout CLOSED TREE
...
Backed out changeset 7ef3333cedf5 (bug 1353000)
Backed out changeset bd127ce305c7 (bug 1353000)
Backed out changeset 10e777bb90dc (bug 1353000)
--HG--
extra : amend_source : 8db7e67b22347962be0fdb055df1bb2c1853ab67
2017-04-12 10:59:12 -07:00
Jonathan Kew
c336bff796
Bug 1353000 - Respect the round-to-pixels flags when caching shaped-word data. r=jrmuizel
2017-04-12 14:55:13 +01:00
Ethan Lin
44273be6f1
Bug 1355417 - Enable "layers.advanced.button-foreground-layers" by default. r=mchang
2017-04-12 16:47:21 +08:00
Milan Sreckovic
2a121b2491
Bug 1356091: Allow the compositor process with the software compositor. r=dvander
...
MozReview-Commit-ID: Ljt73heC0k4
--HG--
extra : rebase_source : 17e4d6300a0dcb39e1cbea2fa01aed4c50377b3a
2017-04-13 00:08:09 -04:00
Jonathan Kew
21b1570eb8
Bug 1352977 - Factor out helpers to construct the names for generic- and language-dependent font/font-list preferences. r=masayuki
2017-04-12 11:32:19 +01:00
Jonathan Kew
6f0d451756
Bug 1352528 - Hoist call to GetRoundOffsetsToPixels out of the inner loop of text shaping. r=jrmuizel
2017-04-03 17:49:17 +01:00
Manish Goregaokar
91da4afd2b
Bug 1341102 - Fix stylo bustage ; r=bustage
...
MozReview-Commit-ID: 381FV2GDvWu
2017-04-10 17:27:16 +08:00
Manish Goregaokar
6be22491bd
Bug 1341724 - Part 4: stylo: Make font metrics usage threadsafe; r=heycam
...
MozReview-Commit-ID: 3EqpUy09UuI
2017-04-10 17:06:19 +08:00
Iris Hsiao
bf9a6182a2
Backed out changeset f97fd860c168 (bug 1355763)
2017-04-13 14:46:43 +08:00
Jeff Gilbert
95c5ba8077
Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
...
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-12 22:03:43 -07:00
peter chang
82b62cfc18
Bug 1344079 - Convert ColumnRule to WebRenderDisplayItemLayer, r=mattwoodrow
...
MozReview-Commit-ID: AmAVYi4P7nl
--HG--
extra : rebase_source : a2c7196cca088ed44e3c1dadd7ba599348ffbd29
2017-03-24 17:35:35 +08:00
Kearwood Gilbert
9466b8b744
Bug 1350076 - Add a preference to allow proximity sensor triggering of vrdisplayactivate and vrdisplaydeactivate r=daoshengmu
...
MozReview-Commit-ID: CIPwXAofYhD
--HG--
extra : rebase_source : ed592a84b721fdba407175ada1abf831eb785357
2017-04-04 11:28:56 -07:00
Wes Kocher
7da1f4c235
Merge m-c to inbound a=merge
2017-04-06 15:30:43 -07:00
Wes Kocher
0c3144c6f6
Merge inbound to central, a=merge
2017-04-06 15:01:34 -07:00
Lee Salzman
22fb7629b8
Bug 1348980 - use UnscaledFont to track WebRender font keys. r=jrmuizel
2017-04-06 17:41:24 -04:00
Lee Salzman
a168dcdbf3
Bug 1348980 - implement UnscaledFont API for Moz2D and thebes. r=jfkthame
2017-04-06 17:41:02 -04:00
Jonathan Watt
00f3a6ca88
Bug 828240, part 1 - Add an IsRectilinear method to gfxMatrix. r=longsonr
...
For parity with mozilla::gfx::Matrix
2017-03-15 16:59:32 +00:00
Kearwood Gilbert
8cedccb89e
Bug 1341423 - Integrate OpenVR binding library r=daoshengmu
...
MozReview-Commit-ID: GaUnfbXgh9L
--HG--
rename : gfx/vr/openvr/openvr.h => gfx/vr/openvr/headers/openvr.h
extra : rebase_source : e7a0983371c1ed381ddf431e2d5a814c510d4967
2017-02-27 16:59:30 -08:00
Gerald Squelart
63dbe37188
Bug 1337063 - Transfer child's initial ContentDeviceData with SendSetXPCOMProcessAttributes - r=dvander
...
MozReview-Commit-ID: IWCgL9aCusW
--HG--
extra : rebase_source : 31d901f99105224ac7445b487813b010fd643bb9
2017-04-12 09:37:35 +12:00
Tom Ritter
124e75c660
Bug 1331915 Add Telemetry probe to Graphite library usage r=jfkthame
...
MozReview-Commit-ID: 1aU5ddQoLnV
--HG--
extra : rebase_source : 0a23e5a49508d931b4401f20f7a9454bb12e260e
2017-04-28 01:33:04 -05:00
Randall Barker
a606cd8b60
Bug 1335895 - Android GeckoView Dynamic Toolbar Version 3 r=botond,dvander,jchen,kats
...
This version of the Dynamic Toolbar moves the animation of the toolbar
from the Android UI thread to the compositor thread. All animation for
showing and hiding the toolbar are done with the compositor and a static
snapshot of the real toolbar.
MozReview-Commit-ID: BCe8zpbkWQt
2017-04-20 15:15:14 -07:00
Kearwood Gilbert
f12b0d6228
Bug 1353481 - When vrdisplayactivate is triggered by link traversal, VRDisplay.requestPresent should relax the user gesture requirement r=daoshengmu
...
MozReview-Commit-ID: 8viFBiY8A6m
--HG--
extra : rebase_source : 67ad50e7c6389d2fa6406aef4a979a50fc744c8d
2017-04-04 11:27:14 -07:00
Kartikaya Gupta
c32c70abe2
Merge m-c to graphics
...
MozReview-Commit-ID: JgUpOHlFfrP
2017-04-05 09:41:01 -04:00
Kartikaya Gupta
8335081baa
Merge m-c to graphics
...
MozReview-Commit-ID: DenuOx3ztpy
2017-04-04 22:47:56 -04:00
Kartikaya Gupta
acefdfbab2
Merge m-c to graphics
...
MozReview-Commit-ID: Gmms6PhTr8U
2017-03-31 10:37:00 -04:00
Mason Chang
96cc223a05
Bug 1347727 - Enable outer box shadows by default in WR. r=rhunt
2017-03-27 16:32:55 -07:00
Kartikaya Gupta
618a729ba9
Merge m-c to graphics
...
MozReview-Commit-ID: IhFmzYDQJte
2017-03-30 08:55:36 -04:00
Paul Bignier
bc0c1045c5
Bug 1352848 - Fix spelling of 'settings' in comment. r=MattN
...
MozReview-Commit-ID: J6PjvNRKhEm
--HG--
extra : rebase_source : 09e4d07f42767e63a604015d18871ae1fb92bac7
2017-04-03 15:24:46 -07:00
Wes Kocher
53dde6a1d2
Merge inbound to central, a=merge
2017-04-03 14:50:18 -07:00
Jonathan Kew
3e217c19d1
Bug 1349308 - Ensure we get glyph metrics via Core Text for variation fonts such as faces of SFNSText/Display. r=jrmuizel
2017-04-03 15:45:52 +01:00
Masayuki Nakano
59a906fb1a
Bug 1344990 part.3 Implement nsIFontEnumerator::GetDefaultFont() as returning first available font in font.name-list.* r=jfkthame
...
nsIFontEnumerator::GetDefaultFont() returns always nullptr. However, it's used in font setting UI at creating drop down list of available fonts. So, if we implement this as returning first available font of "font.name-list.*", it's what is the necessary UI for "default" font when "font.name.*" is empty string.
So, with this patch, the top item of font list becomes "Default (%s)" if there is available font.
MozReview-Commit-ID: cRU8gixgdF
--HG--
extra : rebase_source : beca7b7d2d423f08d35358fc84b731e817724835
2017-04-03 21:00:14 +09:00
Masayuki Nakano
28770793c6
Bug 1344990 part.1 gfx and layout should refer "font.name-list.*" when "font.name.*" is empty r=jfkthame
...
When "font.name.*" is empty, it means "default", i.e., use the first font of "font.name-list.*".
In most cases, we don't need to change existing "font.name.*" handlers which refer "font.name-list.*". However, handlers which refer only "font.name.*", we need to add the code to refer "font.name-list.*" too.
MozReview-Commit-ID: B37y1Ld9Azg
--HG--
extra : rebase_source : f944893ff38d5f2072b5014dccf455045ddafd19
2017-03-29 23:21:47 +09:00
Masayuki Nakano
99a1135919
Bug 1351332 gfxDWriteFontList and gfxGDIFontList should ignore italic face of Meiryo for using synthetic italic style r=jfkthame
...
Meiryo has same glyph for both normal style and italic/oblique style. Therefore, if we will use it as default Japanese font, italic/oblique style won't be used in Japanese text. It's too bad for <em>, <i> and backward compatibility with MS PGothic.
This patch makes gfxDWriteFontList and gfxGDIFontList ignore italic style face(s) of Meiryo at creating Meiryo's font face list.
Note that in GDI mode, font names are localized. Therefore, we need to compare with both English name and Japanese name. However, in DirectWrite mode, face names are not localized. Therefore, it's enough to compare only with English face names.
MozReview-Commit-ID: 60tFxB0jcd
--HG--
extra : rebase_source : 45eb61403f97cd765de1b81c290c29632d8174e5
2017-03-29 18:38:41 +09:00