[webkit-changes] [WebKit/WebKit] 6410ba: PlatformDisplay::eglExtensions() should initialize...

Žan Doberšek noreply at github.com
Mon Mar 6 01:59:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6410ba3f6f3bdc37e5bdc53803b8418a83e3c433
      https://github.com/WebKit/WebKit/commit/6410ba3f6f3bdc37e5bdc53803b8418a83e3c433
  Author: Žan Doberšek <zdobersek at igalia.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/PlatformDisplay.cpp
    M Source/WebCore/platform/graphics/PlatformDisplay.h

  Log Message:
  -----------
  PlatformDisplay::eglExtensions() should initialize EGL display if necessary
https://bugs.webkit.org/show_bug.cgi?id=253425

Reviewed by Carlos Garcia Campos.

The PlatformDisplay::eglExtensions() getter should initialize EGL display if not
yet initialized, like other similar getters on PlatformDisplay do. This
initialization process will also determine extension presence and mark the
relevant extensions accordingly on the EGLExtensions struct.

* Source/WebCore/platform/graphics/PlatformDisplay.cpp:
(WebCore::PlatformDisplay::eglExtensions const):
* Source/WebCore/platform/graphics/PlatformDisplay.h:
(WebCore::PlatformDisplay::eglExtensions const): Deleted.

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




More information about the webkit-changes mailing list