Bug 1818992 - Ship X11 EGL on Mesa 17+ to match WebRender. r=webdriver-reviewers,gfx-reviewers,whimboo,lsalzman

When we initially shipped X11 EGL on Mesa 21+, it was chosen
specifically to avoid CI issues. These appear to have mostly been
resolved with minimal annotations required to enable EGL on release.
This will allow the majority of Linux Mesa users to switch away from
GLX.

With this patch, we will match shipping X11 EGL on where we chose to
ship WebRender. Specifically that is Mesa 17+ in general, and 18.2+ for
Nouveau.

Differential Revision: https://phabricator.services.mozilla.com/D171089
This commit is contained in:
Andrew Osmond 2023-02-27 21:33:24 +00:00
Родитель d1df6bfde4
Коммит 14eac2383e
4 изменённых файлов: 11 добавлений и 5 удалений

Просмотреть файл

@ -7661,7 +7661,6 @@ subsuite = webgl2-core
skip-if = 1
[generated/test_2_conformance2__transform_feedback__transform_feedback.html]
subsuite = webgl2-core
fail-if = (os == 'linux')
skip-if = (os == 'linux' && debug) || (os == 'android' && debug)
[generated/test_2_conformance2__transform_feedback__two-unreferenced-varyings.html]
subsuite = webgl2-core

Просмотреть файл

@ -59,8 +59,6 @@ fail-if = (os == 'linux')
# multisampling-depth-resolve: outer pixels should be red
fail-if = (os == 'linux')
[generated/test_2_conformance2__transform_feedback__transform_feedback.html]
# getError expected: NO_ERROR. Was INVALID_OPERATION : Switching program while transform feedback is active and paused should succeed
fail-if = (os == 'linux')
# Linux: Assertion failure: [GFX1]: void mozilla::gl::GLContext::fTransformFeedbackVaryings(GLuint, GLsizei, const GLchar *const *, GLenum): Generated unexpected GL_INVALID_OPERATION error
# Android: void mozilla::gl::GLContext::fDeleteTransformFeedbacks(GLsizei, const GLuint *): Generated unexpected GL_INVALID_OPERATION error.
skip-if = (os == 'linux' && debug) || (os == 'android' && debug)

Просмотреть файл

@ -53,6 +53,8 @@ expected = fail
[test_window_close_chrome.py]
[test_window_close_content.py]
[test_window_rect.py]
# Bug 1709584
skip-if = (os == 'linux') && os_version == '18.04' && !swgl
[test_window_maximize.py]
[test_window_status_content.py]

Просмотреть файл

@ -719,8 +719,15 @@ const nsTArray<GfxDriverInfo>& GfxInfo::GetGfxDriverInfo() {
OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,
WindowProtocol::All, DriverVendor::MesaAll, DeviceFamily::All,
nsIGfxInfo::FEATURE_X11_EGL, nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION,
DRIVER_LESS_THAN, V(21, 0, 0, 0), "FEATURE_ROLLOUT_X11_EGL_MESA",
"Mesa 21.0.0.0");
DRIVER_LESS_THAN, V(17, 0, 0, 0), "FEATURE_X11_EGL_OLD_MESA",
"Mesa 17.0.0.0");
APPEND_TO_DRIVER_BLOCKLIST_EXT(
OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,
WindowProtocol::All, DriverVendor::MesaAll, DeviceFamily::NvidiaAll,
nsIGfxInfo::FEATURE_X11_EGL, nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION,
DRIVER_LESS_THAN, V(18, 2, 0, 0), "FEATURE_X11_EGL_OLD_MESA_NOUVEAU",
"Mesa 18.2.0.0");
APPEND_TO_DRIVER_BLOCKLIST_EXT(
OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,