[webkit-changes] [WebKit/WebKit] 813972: [Nicosia] Improve build guards in NicosiaGCGLANGLE...

Žan Doberšek noreply at github.com
Tue Sep 6 01:25:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 813972dfeabee821dfafdc3ffd7551b00dfec262
      https://github.com/WebKit/WebKit/commit/813972dfeabee821dfafdc3ffd7551b00dfec262
  Author: Žan Doberšek <zdobersek at igalia.com>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

  Changed paths:
    M Source/WebCore/platform/graphics/nicosia/texmap/NicosiaGCGLANGLELayer.cpp
    M Source/WebCore/platform/graphics/nicosia/texmap/NicosiaGCGLANGLELayer.h

  Log Message:
  -----------
  [Nicosia] Improve build guards in NicosiaGCGLANGLELayer
https://bugs.webkit.org/show_bug.cgi?id=244832

Reviewed by Adrian Perez de Castro.

Nicosia::GCGLANGLELayer files shouldn't be completely guarded by USE(LIBGBM).
Instead, this specific guard should only wrap the GraphicsContextGLGBM-related
constructor.

This should (in the future) allow libgbm-less builds of ANGLE functionality.

* Source/WebCore/platform/graphics/nicosia/texmap/NicosiaGCGLANGLELayer.cpp:
* Source/WebCore/platform/graphics/nicosia/texmap/NicosiaGCGLANGLELayer.h:

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




More information about the webkit-changes mailing list