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

255 Коммитов

Автор SHA1 Сообщение Дата
Jeff Muizelaar cd45a0430c Bug 1517077. Remove Cairo D2D backend. r=lsalzman
We don't use this anymore. Let's get rid of it.

Differential Revision: https://phabricator.services.mozilla.com/D15557
2019-01-01 21:55:39 -05:00
sotaro 757062cdf2 Bug 1513308 - Lazily initialize DirectX devices for WebRender r=mattwoodrow 2018-12-18 14:54:28 +09:00
Tooru Fujisawa 7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jeff Muizelaar a59d3605be Bug 1509358. Replace DCFromDrawTarget with DCForMetrics. r=jfkthame
The GDI font code path is very rarely used, further when it used we
don't ever seem to get any DrawTarget that's not Skia and so never try
to pull the DC out of the DrawTarget anyways. I tested this by forcing
on GDI fonts, running the browser and printing, with and without e10s.
However, Jonathan Kew was able to trigger this path. I'm not sure why.

Making this change will let us rip out a bunch of code that threads the
DrawTarget through the text code.

Differential Revision: https://phabricator.services.mozilla.com/D12689

--HG--
extra : moz-landing-system : lando
2018-11-26 16:01:19 +00:00
Andrew Osmond 44a3847f77 Bug 1490942 - Ignore UPS batteries for WebRender qualified purposes. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D8255
2018-10-23 13:08:40 -04:00
sotaro 05f073e8e4 Bug 1462555 - Remove gfxWindowsPlatform::mFeatureLevels r=jrmuizel 2018-05-21 10:11:52 +09:00
Ryan Hunt 5516d12e7b Bug 1457007 - Add about:support information on if tiling is used in the content process. r=nical
MozReview-Commit-ID: 1JewsArgmZz

--HG--
extra : rebase_source : 85e8e1101ca852baee9e1448267e59b19c9d84e1
2018-04-30 15:05:19 -05:00
Jonathan Kew 5e9926e820 Bug 1457505 - Fix the check for variation-font support in gfxWindowsPlatform: cannot depend on checking mUsingDirectWrite, as the fontlist is not yet set up. r=lsalzman 2018-04-28 09:17:47 +01:00
Jonathan Kew c66fb1e660 Bug 1451296 - Make enabling of font-variation-settings and font-optical-sizing properties dependent on adequate platform support at runtime. r=lsalzman 2018-04-05 18:53:56 +01:00
sotaro 57a55d1c2d Bug 1411481- Enable SkiaGL canvas usage on Mac r=jrmuizel 2018-03-21 08:59:38 +09:00
sotaro 0cc1972d14 Bug 1432039 - Improve assumption of content process's back-end prefs r=jrmuizel 2018-03-15 14:48:54 +09:00
Andrew Osmond d41a50c664 Bug 1421818 - Disable D2D backend if WebRender is enabled. r=jrmuizel 2018-03-02 13:16:26 -05:00
sotaro 9ee2dd9629 Bug 1422288 - Disable d2d for canvas when ANGLE is disable with WebRender r=nical 2018-01-24 13:16:35 +09:00
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
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
Kevin Chen 91dc0db35c Bug 1364563 - Add a path for content process only device reset. r=dvander 2017-07-18 23:09:00 -04:00
Carsten "Tomcat" Book 260b5f956f merge mozilla-inbound to mozilla-central a=merge 2017-07-13 16:35:22 +02: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
David Anderson de0153ddb7 Move AL configuration code to a separate function. (bug 1377866 part 1, r=jrmuizel) 2017-07-06 18:31:23 -07:00
Carsten "Tomcat" Book fbc9f302f1 Backed out changeset d09fb3a5cedf (bug 1376026) 2017-07-06 08:11:48 +02:00
Carsten "Tomcat" Book cd6ff28835 Backed out changeset 581652145f1b (bug 1376026) 2017-07-06 08:11:47 +02:00
Lee Salzman 068bbf5940 Bug 1376026 - fix DWriteEnabled usage. r=me 2017-07-06 00:03:58 -04:00
Lee Salzman edc6db4195 Bug 1376026 - fix plumbing of DWrite parameters for Skia fonts to not depend on gfxPlatform. r=jrmuizel 2017-06-30 14:09:05 -04: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
David Anderson 8082fe14ae Remove references to the Direct3D9 compositor. (bug 1318558 part 1, r=mattwoodrow) 2017-03-08 00:17:36 -08:00
Masatoshi Kimura 28ee0edbb2 Bug 1334860 - Remove WinXP-only ClearType prefs. r=jfkthame
MozReview-Commit-ID: 1LOrMmR6WHy

--HG--
extra : rebase_source : 92097c501b689b550007a1abc6f82064a48342ec
2017-01-29 11:46:24 +09:00
Ting-Yu Chou 3b76c1d27b Bug 1322465 part 5 - Use explicit/MOZ_IMPLICIT for the unary constructors in gfx/. r=Ehsan
MozReview-Commit-ID: 5sdclirTQCV

--HG--
extra : rebase_source : 65b8fe4357ee19e858d3ee406495a1c2c3046c90
2016-12-16 15:54:32 +08:00
David Anderson d7f8e40664 Move device reset detection from gfxPlatform to DeviceManagerDx. (bug 1316690 part 1, r=rhunt)
--HG--
extra : rebase_source : 0b950fb1fe798e5a6ec8ef2163759a5eedce62fc
2016-11-11 11:57:06 -08:00
David Anderson 3cd2f0c9ea Only use the GPU process when we expect a working Direct3D 11 compositor. (bug 1297822, r=mattwoodrow) 2016-10-27 19:21:34 -07:00
Sotaro Ikeda 1ff245b181 Bug 1259571 - Reduce tearing with basic layers on Windows r=dvander
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-23 15:18:55 -07:00
David Anderson 2b23d07c29 Move the DeviceManagerD3D9 singleton out of gfxPlatform. (bug 1297182 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 2ddbac1ce59cad17b9074a85d7ab11862d9b805d
2016-08-22 17:23:38 -07:00
David Anderson 2e46480cbf Communicate GPU process device information across processes. (bug 1294988 part 5, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
David Anderson 396d5d1191 Refactor cross-process acceleration controls. (bug 1294988 part 4, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
Carsten "Tomcat" Book 90f6c2d3fd Backed out changeset 02d76f158f3d (bug 1259571) for talos xperf regressions
--HG--
rename : gfx/thebes/DeviceManagerDx.cpp => gfx/thebes/DeviceManagerD3D11.cpp
rename : gfx/thebes/DeviceManagerDx.h => gfx/thebes/DeviceManagerD3D11.h
2016-08-08 11:53:51 +02:00
Sotaro Ikeda 41a9daf725 Bug 1259571 - Try tearing-free drawing with GDI r=dvander,mattwoodrow
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-07 23:54:12 -07:00
David Anderson 21cab137bc Move D3D11 device creation out of gfxWindowsPlatform. (bug 1282364 part 3, r=mattwoodrow)
--HG--
extra : rebase_source : 2eadd72cf0c101c61fc3b2ab35d958fb3d540562
2016-07-26 13:22:13 -07:00
David Anderson b7855c4ee9 Add DeviceManagerD3D11 as a wrapper around gfxWindowsPlatform. (bug 1282364 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 3ea710ffdaabf737374958e80f6235c1c8861237
2016-07-26 12:50:30 -07:00
Carsten "Tomcat" Book 89fdaae960 Backed out changeset fccc189b56d8 (bug 1284672) for Reftest failures
--HG--
extra : rebase_source : dd38242cd1769b980a11eb7d7f9fe269a0221ef5
2016-07-18 09:35:42 +02:00
Matt Woodrow 3a779cbddf Bug 1284672 - Only use a single D3D11 device for compositing and video decoding. r=jrmuizel 2016-07-18 15:41:11 +12:00
Benoit Girard e415083929 Bug 1274046 - Add FailureId to gfxConfig (FeatureState). r=dvander
MozReview-Commit-ID: Cig23OR7tWi

--HG--
extra : rebase_source : 908c5469bcf1211bcced8542835570836b8a7e8a
2016-06-03 14:54:56 -04:00
Milan Sreckovic 25d63511b6 Bug 1273946: Get more information on the cause of the device reset. Remove unused UpdateRenderModeIfDeviceReset method. r=dvander
MozReview-Commit-ID: 6NxKTBEKOvs

--HG--
extra : rebase_source : d70d7d8c9ae6a503fd4f4c8ed6e31135cbcefac1
2016-06-01 12:53:25 -04:00
Benoit Girard d1a26c1e94 Backout d9111a0d9a44(bug 1274046) for windows bustage on a CLOSED TREE
MozReview-Commit-ID: 3qdijVGuw3O
2016-06-02 01:56:58 -04:00
Benoit Girard 80d61a794a Bug 1274046 - Add FailureId to gfxConfig (FeatureState). r=dvander
MozReview-Commit-ID: FOITlJIMM0Z

--HG--
extra : rebase_source : d76a50e368b2df5f348f6d34136854f2be6166d8
2016-05-26 18:14:35 -04:00
Nicholas Nethercote c4c868a370 Bug 1139252 - Fix D3D texture memory reporters. r=jrmuizel.
This patch makes the names and reporter paths more consistent. It also removes
sD3D9MemoryUsed, which was unused.

--HG--
extra : rebase_source : f209636a938630e464d529078cfa116eb06339ba
2016-05-18 17:10:37 +10:00
Edwin Flores 662e4f47a3 Bug 1272277 - Force content process device reset when the compositor is updated - r=nical 2016-05-16 12:55:02 +01:00