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

246 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert 449098b7b4 Bug 1668144 - Add blocklisting for OOP WebGL. r=mattwoodrow
* Add FEATURE_THREADSAFE_GL and FEATURE_ALLOW_WEBGL_OUT_OF_PROCESS
* Add gfxVars::AllowWebglOop()
* Blocklist THREADSAFE_GL on mesa/nouveau

Differential Revision: https://phabricator.services.mozilla.com/D91879
2020-10-01 08:14:12 +00:00
Jeff Gilbert fe9cac8ce8 Bug 1664905 - Use gfxVars instead of GfxInfo in WebGL code. r=mattwoodrow
GfxInfo generally wants to be main-thread, so WebGL (especially
out-of-process) runs into problems sometimes.

Also rename to UNUSED_FEATURE_WEBGL_MSAA, pending removal.

Differential Revision: https://phabricator.services.mozilla.com/D91208
2020-09-27 22:18:23 +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
Csoregi Natalia fd1e86b487 Backed out changeset 3dcacf3ae5a1 (bug 1664905) for assertion failures on GfxInfoBase.cpp. CLOSED TREE 2020-09-25 09:33:40 +03:00
Jeff Gilbert 3fd329a969 Bug 1664905 - Use gfxVars instead of GfxInfo in WebGL code. r=mattwoodrow
GfxInfo generally wants to be main-thread, so WebGL (especially
out-of-process) runs into problems sometimes.

Also remove obsolete FEATURE_WEBGL_MSAA.

Differential Revision: https://phabricator.services.mozilla.com/D91208
2020-09-25 05:43:24 +00:00
Razvan Maries 92ac0ffaa7 Backed out changeset 3ea0c63fe8b8 (bug 1664905) for build bustages on ClientWebGLContext.cpp. CLOSED TREE 2020-09-25 03:26:17 +03:00
Jeff Gilbert 98e2fea926 Bug 1664905 - Use gfxVars instead of GfxInfo in WebGL code. r=mattwoodrow
GfxInfo generally wants to be main-thread, so WebGL (especially
out-of-process) runs into problems sometimes.

Also remove obsolete FEATURE_WEBGL_MSAA.

Differential Revision: https://phabricator.services.mozilla.com/D91208
2020-09-24 23:46:12 +00:00
Andrew Osmond 92a899be07 Bug 1666272 - Use the HW ANGLE failure ID when disabled WebRender due to it. r=jrmuizel
We don't collect telemetry stats on why users don't get HW ANGLE,
however we can just share failure IDs with HW ANGLE when we disable
WebRender with UnavailableNoAngle.

Differential Revision: https://phabricator.services.mozilla.com/D90867
2020-09-21 20:43:20 +00:00
Andrew Osmond fe2bf67e1b Bug 1654271 - Ship WebRender on < OSX 10.16 and Intel Gen 6 GT2 and Gen 7 to release. r=nical
Also ship to release if the Intel driver is 21.20.16.4550 or later.

Add Intel Gen 6 GT1 (Sandybridge) and allow it to ride to early beta.

Differential Revision: https://phabricator.services.mozilla.com/D89613
2020-09-09 15:54:18 +00:00
Sylvestre Ledru c320561565 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D89392
2020-09-08 04:32:00 +00:00
Nathan Froyd 3b58be4ab2 Bug 1662809 - don't copy entire blocklist entries during blocklist parsing; r=aosmond
Like an earlier patch in the series, this uses `Split()` to return dependent
substrings into the blocklist string, rather than copying each individual
entry out for parsing.  We also, in passing, eliminate a copy from the
converted UTF8 string into an entirely separate string.

Depends on D89169

Differential Revision: https://phabricator.services.mozilla.com/D89170
2020-09-02 17:04:51 +00:00
Nathan Froyd b1a57a4701 Bug 1662809 - don't copy key-value pairs from blocklist entries during parsing; r=aosmond
Instead of splitting the entire entry into an `nsTArray`, we can use
`nsTSubstring::Split` to provide dependent strings into the entry.  We copy
the actual keys and values later, so this should be perfectly safe.

Depends on D89168

Differential Revision: https://phabricator.services.mozilla.com/D89169
2020-09-02 16:58:33 +00:00
Nathan Froyd 61491490cb Bug 1662809 - don't copy split values when parsing gfx blocklists; r=aosmond
There's a lot of string splitting here, which needlessly copies, and then
there's a lot of copies out of the split arrays.  This patch at least
addresses the latter by using references where possible.

Differential Revision: https://phabricator.services.mozilla.com/D89168
2020-09-02 16:58:10 +00:00
Jed Davis dc948b0c6a Bug 1654957 - Enable the GfxInfo component in the GPU process on Linux. r=jgilbert
Out-of-process WebGL needs GfxInfo to exist in the composition
process (which is the GPU process if it exists and the parent process
otherwise).  This patch enables the Linux version of that component in
the GPU process; the IPC currently used to give content processes copies
of the parent's GPU info is extended to also send it to the GPU process.

Differential Revision: https://phabricator.services.mozilla.com/D85443
2020-08-07 21:31:53 +00:00
Jed Davis 38615bc134 Bug 1654957 - Don't leak GfxInfoBase::sFeatureStatus even if GfxInfo is never created. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D86117
2020-08-07 21:38:18 +00:00
Jed Davis 0e7115ba35 Bug 1654957 - Prelude: move GfxInfoFeatureStatus from dom to gfx. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D85488
2020-08-07 21:31:48 +00:00
Mihai Alexandru Michis 9fa46e7850 Backed out 2 changesets (bug 1654957) for causing leaks.
CLOSED TREE

Backed out changeset 14761127f6bb (bug 1654957)
Backed out changeset 49a529a1cc20 (bug 1654957)
2020-08-04 19:31:06 +03:00
Jed Davis 24b6995b46 Bug 1654957 - Enable the GfxInfo component in the GPU process on Linux. r=jgilbert
Out-of-process WebGL needs GfxInfo to exist in the composition
process (which is the GPU process if it exists and the parent process
otherwise).  This patch enables the Linux version of that component in
the GPU process; the IPC currently used to give content processes copies
of the parent's GPU info is extended to also send it to the GPU process.

Differential Revision: https://phabricator.services.mozilla.com/D85443
2020-07-30 22:08:15 +00:00
Jed Davis e0230397f6 Bug 1654957 - Prelude: move GfxInfoFeatureStatus from dom to gfx. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D85488
2020-07-30 22:07:24 +00:00
Sylvestre Ledru caf785c695 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D82178
2020-07-04 09:38:43 +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
Jeff Muizelaar 718859233a Bug 1649215 - Expose OpenGL Compositing status. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D81573
2020-06-29 21:21:40 +00:00
Jeff Muizelaar a177765070 Bug 1648579 - Add failure id for Disabled instead of Denied. r=aosmond
Denied is always the result of the allow list.

Differential Revision: https://phabricator.services.mozilla.com/D81172
2020-06-25 20:49:04 +00:00
Jeff Muizelaar 9dd8f51e82 Bug 1648304 - Record WebRender compositor status in telemetry. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D80994
2020-06-25 00:59:29 +00:00
Kartikaya Gupta d61fdfeed8 Bug 1647225 - Change some failure IDs and strings. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80450
2020-06-23 15:23:11 +00:00
Kartikaya Gupta 11ab3b57b8 Bug 1647225 - Rename some local functions and variables. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80448
2020-06-23 15:20:33 +00:00
Kartikaya Gupta f7b1476df6 Bug 1647225 - Rename a define and removed another unused define. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80447
2020-06-23 15:14:04 +00:00
Kartikaya Gupta 837a027ab6 Bug 1647225 - Consistently use blocklist terminology for gfxFeature. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80425
2020-06-23 15:13:57 +00:00
Narcis Beleuzu 1f50773a6e Backed out 8 changesets (bug 1647225) for xpcshell failures on test_gfxBlacklist_Version.js CLOSED TREE
Backed out changeset b6f88195da61 (bug 1647225)
Backed out changeset a5b3f54cb5f2 (bug 1647225)
Backed out changeset 6a1025189b0e (bug 1647225)
Backed out changeset b95de94b444e (bug 1647225)
Backed out changeset ed2c7dfd8373 (bug 1647225)
Backed out changeset 1adc99494bcb (bug 1647225)
Backed out changeset 5d0cf22c335a (bug 1647225)
Backed out changeset 956b43a8636f (bug 1647225)
2020-06-23 04:34:12 +03:00
Kartikaya Gupta 347a55ff38 Bug 1647225 - Change some failure IDs and strings. r=jrmuizel
Depends on D80449

Differential Revision: https://phabricator.services.mozilla.com/D80450
2020-06-22 14:06:18 +00:00
Kartikaya Gupta 9f9b7f960e Bug 1647225 - Rename some local functions and variables. r=jrmuizel
Depends on D80447

Differential Revision: https://phabricator.services.mozilla.com/D80448
2020-06-22 14:07:05 +00:00
Kartikaya Gupta f288c05f05 Bug 1647225 - Rename a define and removed another unused define. r=jrmuizel
Depends on D80425

Differential Revision: https://phabricator.services.mozilla.com/D80447
2020-06-22 14:07:33 +00:00
Kartikaya Gupta 793dc7ec5d Bug 1647225 - Consistently use blocklist terminology for gfxFeature. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80425
2020-06-22 14:04:38 +00:00
Jeff Muizelaar 6814c06aae Bug 1645518 - Also gather failure status for 'denied'. r=aosmond
This will help with understanding basic compositor usage.

Differential Revision: https://phabricator.services.mozilla.com/D79562
2020-06-15 11:12:09 +00:00
Dzmitry Malyshau 59b6551dd5 Bug 1638672 - Use shaders to clear texture cache regions r=geckoview-reviewers,gw,snorp
This is a suggested workaround for an interesting visual bug that we see on
some platforms with Intel Broadwell GPUs.

Also reverts https://phabricator.services.mozilla.com/D57100

Differential Revision: https://phabricator.services.mozilla.com/D78705
2020-06-08 21:05:03 +00:00
Sylvestre Ledru 63be8d152d Bug 1519636 - Reformat recent changes to the Google coding style r=necko-reviewers,dragana
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D77580
2020-05-30 09:55:27 +00:00
Jeff Muizelaar 9a078db557 Bug 1642014 - Expose HW_COMPOSITING feature to telemetry. r=aosmond
FEATURE_FAILURE_D3D11_NEED_HWCOMP is one of the main reasons
people get the basic compositor. This will let us dig into
why we get FEATURE_FAILURE_D3D11_NEED_HWCOMP.

Differential Revision: https://phabricator.services.mozilla.com/D77554
2020-05-29 22:35:13 +00:00
Emilio Cobos Álvarez 54fd961a29 Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin
There's no use case for stateful comparators, so they can be just plain
function pointers.

This is used in some hot places like CSS selector matching.

Differential Revision: https://phabricator.services.mozilla.com/D77084
2020-05-27 18:11:12 +00:00
Jeff Muizelaar 3cd235964d Bug 1640412 - Include failure id for status=unavailable/blocked too. r=aosmond
We get a fair amount of this on modern hardware.
It would be good to know why.

Differential Revision: https://phabricator.services.mozilla.com/D76605
2020-05-25 12:42:12 +00:00
Simon Giesecke 49eb05a114 Bug 1626570 - Improve handling of copying arrays in widget/. r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D72321
2020-04-30 09:38:38 +00:00
Jeff Muizelaar 264a9feb12 Bug 1629602 - Include reason for failure when describing features. r=aosmond
This should give us more information in telemetry.

Differential Revision: https://phabricator.services.mozilla.com/D70706
2020-04-15 22:11:19 +00:00
Bogdan Tara f3495bfe11 Backed out changeset 575503d55ccd (bug 1629602) for gfx/tests/marionette/test_pref_rollout_workaround.py failures CLOSED TREE 2020-04-14 19:58:02 +03:00
Jeff Muizelaar 793f4a1198 Bug 1629602 - Include reason for failure when describing features. r=aosmond
This should give us more information in telemetry.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 14:57:07 +00:00
Bogdan Tara e2defa3249 Backed out changeset 34c45b73c707 (bug 1629602) by jrmuizel's request CLOSED TREE 2020-04-14 16:49:05 +03:00
Jeff Muizelaar 97cedcd665 Bug 1629602 - Include reason for failure when describing features. r=aosmond
This should give us more information in telemetry.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:54:42 +00:00
Narcis Beleuzu f4695206da Backed out changeset 502e83464c91 (bug 1629602) for bustages on GfxInfoBase.h . CLOSED TREE 2020-04-14 03:51:15 +03:00
Jeff Muizelaar df9f30b0b8 Bug 1629602 - Include reason for failure when describing features. r=aosmond
This should give us more information in telemetry.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:05:30 +00:00
Andrew Osmond 8aa78032a6 Bug 1624858 - Fix graphics blocklist not recent Windows 10 comparison check. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D68200

--HG--
extra : moz-landing-system : lando
2020-03-25 14:12:56 +00:00
Simon Giesecke cb0734d274 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in widget. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D66012

--HG--
extra : moz-landing-system : lando
2020-03-16 10:56:57 +00:00
Bogdan Tara c60fd3fdd2 Backed out 4 changesets (bug 1613985) for causing build bustages CLOSED TREE
Backed out changeset fba0caac746c (bug 1613985)
Backed out changeset 8605d7a19107 (bug 1613985)
Backed out changeset 41e858fbf235 (bug 1613985)
Backed out changeset 847433cf1e0a (bug 1613985)
2020-03-16 12:41:41 +02:00