Commit Graph

151 Commits

Author SHA1 Message Date
Lee Salzman
a21ad6d19e Bug 1385029 - require implementation of gfxFont::GetScaledFont and remove unnecessary gfxPlatform::GetScaledFontForFont. r=jfkthame
MozReview-Commit-ID: GP1Aekecb0s
2017-08-07 16:20:44 -04:00
Lee Salzman
79f42cf9ec Bug 1385029 - get rid of gfxFontconfigUtils.h since gfxFontconfigFontBase is unnecessary. r=jfkthame
MozReview-Commit-ID: FTXjgmRYBxI
2017-08-07 16:20:37 -04:00
Sebastian Hengst
367f0ac5a2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IWRTFZdtzaE
2017-07-21 12:56:44 +02:00
Jonathan Kew
10934e3b01 Bug 1381471 - Refactor gfxPlatform::IsFontFormatSupported implementations to put all the cross-platform behavior in the base class and remove most overrides. r=heycam 2017-07-20 09:57:00 +01:00
Samael Wang
c9d2b57f92 Bug 1350643 - Part 1: Rename gfxPlatformGtk::GetDPI/GetDPIScale to GetFontScaleDPI/GetFontScaleFactor to better distinguish from nsIWidget::GetDPI. r=karlt
MozReview-Commit-ID: 4fxMG1FBlM8

--HG--
extra : rebase_source : 767780c828b2a9914b5f3af3c2749568099bece1
2017-06-14 16:54:21 +08:00
Cameron McCormack
c770a5a921 Bug 1376964 - Part 7: Remove unused nsIURI argument from gfxPlatform::IsFontFormatSupported. r=jfkthame
MozReview-Commit-ID: LJ6nnZEGz7D

--HG--
extra : rebase_source : 9f47d839aa4572ed2fc2d15a4986c8bc30d3f2ca
2017-07-08 14:17:23 +08:00
Carsten "Tomcat" Book
a269ba0e44 Backed out changeset aafb719b4379 (bug 1376964) 2017-07-12 12:41:29 +02:00
Cameron McCormack
ab22ddb3c6 Bug 1376964 - Part 7: Remove unused nsIURI argument from gfxPlatform::IsFontFormatSupported. r=jfkthame
MozReview-Commit-ID: LJ6nnZEGz7D

--HG--
extra : rebase_source : a12c270beb85467955c044c9c068d22de5db8f45
2017-07-12 16:36:15 +08:00
Carsten "Tomcat" Book
3a6a347356 Backed out changeset a60731cb1a7f (bug 1376964) 2017-07-12 10:32:15 +02:00
Cameron McCormack
c4d27f68a0 Bug 1376964 - Part 7: Remove unused nsIURI argument from gfxPlatform::IsFontFormatSupported. r=jfkthame
MozReview-Commit-ID: LJ6nnZEGz7D

--HG--
extra : rebase_source : 1636e695ca025e6fbcade8258746ffb38adc5b26
2017-07-12 13:03:35 +08:00
Bill McCloskey
f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Jeff Muizelaar
5fae3040ce Bug 1369490. Remove some backend type checks that aren't needed. r=lsalzman
This checks won't work with the forthcoming recording backend and don't
seem to really be accomplishing anything.
2017-06-01 16:58: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
Brendan Dahl
a1f2e12af8 Bug 1338004 - Add headless browser mode. r=jrmuizel, r=ted
Supports creating a windowless browser on Linux without an X server. Most of the
changes are just adding branches to avoid calls in to GTK which calls
into X. Some of the bigger additions were adding a separate headless widget
which implements just enough to render a page. A headless look and
feel were also added since there are many calls into GTK in the platform
specific one.
2017-04-04 10:22:00 -04:00
Jeff Muizelaar
49eb5ba0b6 Bug 1285533. Remove non-fontconfig platform fontlist codepath. r=lsalzman
This has been disabled for two years. It's time for it to die.
2017-03-22 14:58:19 -04:00
Jeff Gilbert
a0ef36e101 Bug 1347679 - Determine ContextProfile from driver and simplify version parsing. - r=daoshengmu
MozReview-Commit-ID: 4mBdJmsxQvD
2017-03-17 17:02:01 -07:00
Jeff Gilbert
f6e6e9870e Bug 1347289 - Remove GL context sharing support except on EAGL - r=snorp
MozReview-Commit-ID: FUGSsQ9r7Bd
2017-03-14 19:59:10 -07:00
Kartikaya Gupta
e98f75a57a Bug 1282306 - More correctly describe APZ touch support in about:support. r=botond
Instead of just reporting the value of the pref, also make sure that about:support
incorporates the runtime check of whether or not a touch device was discovered
in the widget code. The code to do this already exists in TouchEvent::PrefEnabled,
so we can just reuse that.

MozReview-Commit-ID: DN7FSlsDwD1

--HG--
extra : rebase_source : efb3d66e1669f8f2b038888ef2b1c8bb83f1c710
2017-03-10 15:18:48 -05:00
Jeff Gilbert
af80cd9f27 Bug 1344433 - Use WRAP() macros. - r=daoshengmu
MozReview-Commit-ID: 9C6tlOTNhrg
2017-03-06 15:39:36 -08:00
Sylvestre Ledru
6d3ed37df9 Bug 1338086 - Remove useless else blocks in order to reduce complexity in gfx/ r=nical
MozReview-Commit-ID: H9zZd19V4Ww

--HG--
extra : rebase_source : e0d736b23d81a9ae511fc230f01103ea772f651a
2017-02-09 13:39:27 +01:00
Kartikaya Gupta
6580d884b2 Merge m-c to graphics
MozReview-Commit-ID: uU8MPphFqj
2017-02-02 13:38:51 -05:00
Alex Henrie
0b79fec9ef Bug 1335465 - Default devPixelsPerPx to 1.5 for DPIs between 133 and 167 on GTK. r=karl
--HG--
extra : rebase_source : 4b778695d11340b485c1a0cfdf51104f79ca238e
2017-01-31 09:50:49 -07:00
Kartikaya Gupta
ae11d416ec Bug 1326421 - Update GL context creation code to use compositor-specific WebRender flag instead of a global pref. r=dvander
MozReview-Commit-ID: DQkGHCAxu3I
2017-01-13 15:16:52 -05:00
Kartikaya Gupta
1f97dac250 Back out 4 csets from bug 1326421 because of various test failures. r=backout 2017-01-13 17:07:59 -05:00
Kartikaya Gupta
a1fc730a16 Bug 1326421 - Update GL context creation code to use compositor-specific WebRender flag instead of a global pref. r=dvander
MozReview-Commit-ID: DQkGHCAxu3I
2017-01-13 15:16:52 -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
Milan Sreckovic
e13a243ec1 Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas 2016-09-15 10:36:21 -04:00
Wes Kocher
647b0985cc Backed out 2 changesets (bug 1299164) for win vm bc4 bustage a=backout
Backed out changeset 53dc795121e1 (bug 1299164)
Backed out changeset c39ec15e7e21 (bug 1299164)
2016-09-02 11:38:22 -07:00
Milan Sreckovic
cd425fcdf7 Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas
MozReview-Commit-ID: FLBV5Aex3ga

--HG--
extra : rebase_source : 739a0c5052eaae4ed7f9d21cbbbe465dd10cb94a
2016-09-01 15:31:16 -04:00
Andrew Comminos
68b11e8613 Bug 1296911 - Use a separate X display on the GLX VSync thread. r=lsalzman
This reverts commit cce8e136869d313e999fdd0b98c88dfa3603c3de.

--HG--
extra : rebase_source : 4ef007395dc7eeae2287ef6ab119cadc3e896f20
2016-08-22 14:44:54 -04:00
David Anderson
27679a9d30 Move UseXRender from gfxPlatformGtk to gfxVars. (bug 1288259 part 5, r=jrmuizel)
--HG--
extra : rebase_source : e2f8337fe9063ba4bd316c5ae4cb6b475f70d36f
2016-08-04 11:33:44 -07:00
Andrew Comminos
b8d09bb817 Bug 1291845 - Use the compositor X display on the GLX VSync thread. r=lsalzman
MozReview-Commit-ID: ZC5MJd0BUJ

--HG--
extra : rebase_source : a8c035a02355c2dfa24a28ba125ddb4b13304e3a
2016-08-03 15:59:15 -04:00
Lee Salzman
bd57e359b9 Bug 1269960 - only enable Skia as an available backend when it is compiled in. r=mchang
MozReview-Commit-ID: 9W2ba5cd1cX
2016-07-25 20:42:09 -04: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
Andrew Comminos
4ecad4a8e4 Bug 1195359 - Use a new display on the compositor thread when using GLX and the GL compositor. r=lsalzman
MozReview-Commit-ID: G4Yd0p9R1fh
2016-07-12 14:05:17 -04:00
Andi-Bogdan Postelnicu
7360a7816b Bug 1283092 - initialise member variable |mXDisplay|. r=jrmuizel
MozReview-Commit-ID: 9fXD6EI1ivT

--HG--
extra : rebase_source : 46b2f1e482b6d25d21f2ec5e98e513ab6f79983e
2016-06-29 16:43:50 +03:00
Andrew Comminos
7ff309ea95 Bug 1281105 - Disable GLX vsync when using the basic compositor. r=jrmuizel
MozReview-Commit-ID: HNvcCUbleMw

--HG--
extra : rebase_source : 335caeb57b9c05115156f4d56fe23c373335a30c
2016-06-21 15:51:34 -04:00
Raulie Raulerson
6ab940e68e Bug 1276994 - Implemented SupportsApzTouchInput function in gfxPlatformGtk.cpp. r=kats
MozReview-Commit-ID: I57wJAgcmXM
2016-06-26 12:31:07 -04:00
Jeff Gilbert
774abaa5e4 Bug 1278403 - Spread CreateContextFlags to GLContext::ctor. - r=jrmuizel
MozReview-Commit-ID: 4rPitIpn60l
2016-06-21 13:47:30 -07:00
Timothy Guan-tin Chien
9ed4429e08 Bug 1231701 - Ship our own variant of EmojiOne on Windows and Linux, r=glandium, r=dolske, r=jfkthame, r=gerv
This patch bundles a color font named "EmojiOne Mozilla", and turn on
the necessary code for including the bundled font, on Linux and Windows.
With that, users of Linux and Windows <=8.0 is able to see color Emoji
on Firefox without support from System.

The font bundled is the v0.2.1 version, generated from the project repo
in

https://github.com/mozilla/emojione-colr

with artwork from the original EmojiOne font and Twemoji,
under CC BY 4.0 license.

Test files, about:license page, and the packager instruction are
modified accordingly.

MozReview-Commit-ID: 2mmxnA0vS3u
2016-06-15 21:58:49 +01:00
Andrew Comminos
1a2c265bd6 Bug 1279744 - Improve fallback handling for glXWaitVideoSync. r=lsalzman
MozReview-Commit-ID: JXy6yupyd3v
2016-06-16 04:13:03 +01:00
Andrew Comminos
e4acfac598 Bug 1279664 - Handle GL context creation failing in the GLX vsync provider. r=me
MozReview-Commit-ID: XaQU1nQnNB
2016-06-11 01:28:29 -04:00
Andrew Comminos
3f0a5e8c60 Bug 1197954 - Implement Linux hardware vsync using GLX_SGI_video_sync. r=mchang,lsalzman
MozReview-Commit-ID: DPeqxPl0NSh
2016-06-08 16:26:37 -04:00
Karl Tomlinson
294a905269 bug 1271893 add a 1.5 pixel-scaling step r=acomminos
The only change in behaviour introduced here is that dpi values in the
range [144,168) will now use pixel scaling of 1.5 instead of 2.

MozReview-Commit-ID: JD6FcZGLYtI

--HG--
extra : rebase_source : ebddf46ba6e9b8a478fb2fffabc7cf1ca8ed8c81
2016-05-11 09:21:13 +12:00
Jonathan Kew
c60f6a1ae4 Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki 2016-04-21 18:58:59 +01:00
Andrew Comminos
682424c13d Revert "Bug 1197954 - Implement Linux hardware vsync using GLX_SGI_video_sync. r=mchang,lsalzman"
This reverts commit a2b6bf8704ff05a4571a812009c343042921d505.
2016-03-03 21:20:19 -08:00