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

32 Коммитов

Автор SHA1 Сообщение Дата
Jamie Nicol 3f25321970 Bug 1687312 - Expose gfx.feature.webrender probe to geckoview_streaming telemetry. r=jrmuizel,aosmond
We have noticed that a sizeable number of Fenix users are not getting
webrender when they should be. On desktop the existing
gfx.feature.webrender telemetry probe is used to determine why
webrender is not enabled. Expose this to geckoview_streaming telemetry
so we can tell the same for Fenix users.

Differential Revision: https://phabricator.services.mozilla.com/D102213
2021-01-18 22:39:24 +00:00
Andrew Osmond 754baa9793 Bug 1667380 - Grant each gfx feature instance level its own failure ID. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D91432
2020-09-25 14:11:52 +00:00
Andrew Osmond 9804b7b693 Bug 1661531 - Ensure we always update the gfx feature failure reason. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D88454
2020-08-27 17:04:27 +00:00
Simon Giesecke cd8b8939b9 Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Andrew Osmond f5baf0eea6 Bug 1632259 - Refactor WebRender configuration logic in gfxPlatform to be testable. r=jrmuizel
We have encountered issues when rolling out WebRender because the
configuration logic is quite complicated. It would serve us well to have
it in a form that we can easily test. This patch does said refactor, as
well as adds an initial set of tests.

Differential Revision: https://phabricator.services.mozilla.com/D72027
2020-05-04 01:01:53 +00: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
Nicholas Nethercote f553c82da0 Bug 1416638 - Add a PrefValueKind arg to Preferences::Get*(), and remove Preferences::GetDefault*(). r=glandium
MozReview-Commit-ID: LgnZAf1pAl1

--HG--
extra : rebase_source : 8ba7c4bfb331f70fd41c2ae1d428e4cb9058d069
2017-11-14 19:06:01 +11:00
Daniel Holbert 126bd9e1a4 Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py

For every file that is modified in this patch, the changes are as follows:
 (1) The patch changes the file to use the exact C++ mode lines from the
     Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

 (2) The patch deletes any blank lines between the mode line & the MPL
     boilerplate comment.

 (3) If the file previously had the mode lines and MPL boilerplate in a
     single contiguous C++ comment, then the patch splits them into
     separate C++ comments, to match the boilerplate in the coding style.

MozReview-Commit-ID: 77D61xpSmIl

--HG--
extra : rebase_source : c6162fa3cf539a07177a19838324bf368faa162b
2017-10-27 16:10:06 -07:00
Daniel Holbert 76d8e6a7d5 Bug 1412427 part 3: Replace 10 gfx usages of a particular non-standard emacs mode line with our standard mode line. r=jrmuizel
This patch was mostly[1] automatically generated. I found the files to be fixed
in this patch with the following command:
grep -r "C++; indent-tabs-mode:" gfx

...and then I modified each of these files with the following script
(where $1 is the filename to be modified):
###
old="/\* -\*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 4 -\*- \*/"
new="/\* -\*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -\*- \*/"

sed -i s%"^$old"%"$new"% $1
###

[1] NOTE: Nearly all of these files use 2-space indentation, so it's correct
(from a consistency perspective and a reflecting-reality perspective) that
we're reducing their "c-basic-offset: 4" down to "c-basic-offset: 2" here.  The
one exception is nsDeviceContext.h, which *does* actually use 4-space
indentation right now -- so I'm leaving that file with "c-basic-offset: 4" in
its mode line.  This manual change (reverting 1 character from the automated
process) is the only piece of this patch that isn't automated.

MozReview-Commit-ID: L4MbyeYSbfY

--HG--
extra : rebase_source : 8ddbe422471bfd8b0060e96fb1c8cd062f10f290
2017-10-27 15:55:37 -07:00
Kartikaya Gupta cf9ed9dbea Bug 1342520 - Make sure when setting the default feature state to disabled, it's set to an actual failure status. r=dvander
MozReview-Commit-ID: 3KxC5oQg1wL

--HG--
extra : rebase_source : a4ee0a3a50770de6a8dc1829d42a5e46da9b40ff
2017-02-24 15:43:33 -05: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
David Anderson 7df82d4b70 Enable Direct3D 11 in the GPU process. (bug 1294988 part 3, r=mattwoodrow) 2016-08-20 20:59:10 -07:00
Chris Peterson 4e032df4b1 Bug 1295083 - Replace PR_snprintf and s[n]printf calls with SprintfLiteral in gfx/. r=Bas 2016-08-16 15:41:12 -07: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
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
David Anderson 8c3ca46ed3 Allow gfxConfig::IsEnabled on uninitialized features. (bug 1272169, r=jrmuizel) 2016-05-12 10:30:54 -07:00
David Anderson bfbc7d0ba3 Use gfxConfig for D3D9 preferences. (bug 1270650, r=jrmuizel) 2016-05-06 19:01:58 -07:00
David Anderson c293f2124b Add gfxConfig to nsIGfxInfo, for about:support access. (bug 1254899 part 11, r=jrmuizel) 2016-04-28 21:52:56 -07:00
David Anderson e1b55a7e41 Replace gfxWindowsPlatform::mD2D1Status with gfxConfig. (bug 1254899 part 10, r=milan) 2016-04-28 21:52:56 -07:00
David Anderson a4bd3b332b Replace gfxWindowsPlatform::mD3D11Status with gfxConfig. (bug 1254899 part 9, r=jrmuizel) 2016-04-28 21:52:55 -07:00
David Anderson 802cde670e Give FeatureState a public interface. (bug 1254899 part 8, r=milan) 2016-04-28 21:52:55 -07:00
David Anderson c1838c00ba Add another feature state for blacklisting and environment decisions. (bug 1254899 part 7, r=milan) 2016-04-28 21:52:55 -07:00
David Anderson b7528e9778 Introduce gfxConfig, a manager for graphics feature settings. (bug 1254899 part 3, r=milan) 2016-04-28 21:52:54 -07:00
Sebastian Hengst cab1c27b22 Backed out 13 changesets (bug 1254899) for test failure in browser_Troubleshoot.js. r=backout
Backed out changeset f749ee384012 (bug 1254899)
Backed out changeset 1d7eeee5a5c5 (bug 1254899)
Backed out changeset b5ab83af342c (bug 1254899)
Backed out changeset 993906e53329 (bug 1254899)
Backed out changeset e8abac801a51 (bug 1254899)
Backed out changeset e9c311c68e4a (bug 1254899)
Backed out changeset f8f3ae8c5cef (bug 1254899)
Backed out changeset d17f98a9918a (bug 1254899)
Backed out changeset 21c8a7ea2b93 (bug 1254899)
Backed out changeset 64e58f9625eb (bug 1254899)
Backed out changeset 2de214d5d1e0 (bug 1254899)
Backed out changeset f2056259d227 (bug 1254899)
Backed out changeset b805df0c8296 (bug 1254899)
2016-04-28 10:32:25 +02:00
David Anderson aeb2cf5f44 Add gfxConfig to nsIGfxInfo, for about:support access. (bug 1254899 part 11, r=jrmuizel) 2016-04-27 22:54:27 -07:00
David Anderson dc666cc4d1 Replace gfxWindowsPlatform::mD2D1Status with gfxConfig. (bug 1254899 part 10, r=milan) 2016-04-27 22:54:26 -07:00
David Anderson 80d9b8c4ce Replace gfxWindowsPlatform::mD3D11Status with gfxConfig. (bug 1254899 part 9, r=jrmuizel) 2016-04-27 22:54:26 -07:00
David Anderson d639372189 Give FeatureState a public interface. (bug 1254899 part 8, r=milan) 2016-04-27 22:54:26 -07:00
David Anderson c5ec073736 Add another feature state for blacklisting and environment decisions. (bug 1254899 part 7, r=milan) 2016-04-27 22:54:26 -07:00
David Anderson 98f11088fc Introduce gfxConfig, a manager for graphics feature settings. (bug 1254899 part 3, r=milan) 2016-04-27 22:54:25 -07:00