Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 60edce63d360a6bbccc0976a1dc71c25cc1f5076
      
https://github.com/WebKit/WebKit/commit/60edce63d360a6bbccc0976a1dc71c25cc1f5076
  Author: Patrick Griffis <[email protected]>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp
    M 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphicsGLib.cpp
    M Source/WebKit/WebProcess/glib/WebProcessGLib.cpp

  Log Message:
  -----------
  [WPE] Don't initialize EGL Display when hardware acceleration disabled
https://bugs.webkit.org/show_bug.cgi?id=325220

Reviewed by Carlos Garcia Campos.

With WPEPlatform, the web process created its EGL display when it started,
so it loaded the GL driver when hardware acceleration is disabled. Create it
when hardware acceleration is enabled or a WebGL context is created, as GTK
does. The libwpe backend still sets its display at startup.

* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::createGraphicsContextGL const):
* 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphicsGLib.cpp:
(WebKit::DrawingAreaCoordinatedGraphics::updatePreferences):
* Source/WebKit/WebProcess/glib/WebProcessGLib.cpp:
(WebKit::WebProcess::platformInitializeWebProcess):

Canonical link: https://commits.webkit.org/321901@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to