[Webkit-unassigned] [Bug 277930] New: REGRESSION(281640 at main): [GTK] Build broken on non-Linux

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 11 05:17:48 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=277930

            Bug ID: 277930
           Summary: REGRESSION(281640 at main): [GTK] Build broken on
                    non-Linux
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jmason at ibinx.com
                CC: bugs-noreply at webkitgtk.org

This commit modifies:

    Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp

to include references to WebCore::GLFence::createExportable(), importFD(), and exportFD().  These methods are conditionally compiled in GLFence only for OS(LINUX).

As a result, compilation fails on non-Linux.  Compiler output follows below.

Expected:  AcceleratedSurfaceDMABuf.cpp should guard references these methods.



/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:119:44: error: no member named 'createExportable' in 'WebCore::GLFence'
  119 |         if (auto fence = WebCore::GLFence::createExportable())
      |                          ~~~~~~~~~~~~~~~~~~^
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:141:40: error: no member named 'importFD' in 'WebCore::GLFence'
  141 |     if (auto fence = WebCore::GLFence::importFD(WTFMove(m_releaseFenceFD)))
      |                      ~~~~~~~~~~~~~~~~~~^
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:649:33: error: no member named 'exportFD' in 'WebCore::GLFence'
  649 |         renderingFence = fence->exportFD();
      |                          ~~~~~~~^
3 errors generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240811/6721f975/attachment.htm>


More information about the webkit-unassigned mailing list